Javascript for Episerver 7.5 cms

EditImage (constructor)

Location

epi-cms/command/EditImage

Extends

Properties

_attrPairNames

Used across all instances a hash to cache attribute names and their getter and setter names.

_modelChangeWatcher

_segmentIdSeperator

Default id seperator string.

canExecute

Flag which indicates whether this command is able to be executed.

category

dialogParams

dialogPath

iconClass

The icon class of the command to be used in visual elements.

isAvailable

label

model

order

raiseCloseEvent

routeParams

selection

tooltip

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _execute ( )


public inherited method _get ( name , names )

Private function that does a get based off a hash of names

Parameters

public inherited method _getSelectionData ( )


protected method _getTarget ( )

Returns the target for the file operation from the current selection.


protected method _onModelChange ( )

Updates canExecute after the model has been updated.


public inherited method _selectionDataGetter ( )


public inherited method _selectionTypeGetter ( )


public inherited method destroy ( )


public inherited method execute ( )


public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public inherited method getContentReference ( withVersion )

Returns a content reference used when assembling the route parameters.

Parameters

public inherited method getDialogParams ( )

Override to supply custom parameters to to the dialog.


public method getRouteParams ( )

Gets the parameters for creating a route to the legacy content.


public inherited method onRefreshSelection ( )


public inherited method postscript ( )


public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public inherited method unwatchModelChange ( )


public inherited method unwatchSelectionChange ( )


public inherited method watch ( name , callback )

Watches a property for changes

Parameters

public inherited method watchModelChange ( )


public inherited method watchSelectionChange ( )