dundas.view.CommandService Class

 

Inheritance Hierarchy

 
Class
   dundas.Component
      dundas.Service
         dundas.view.CommandService
 

Constructors

 
  Name Description
init
 
 

Properties

 
  Name Description
eventsManager Inherited from dundas.Service.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.Component.
isExecutionInProgress Gets the value to indicate whether or not an action is being executed.
site Gets or sets the site that this component is a part of. Inherited from dundas.Component.
uniqueId Gets or sets the unique ID of this component within the site. Inherited from dundas.Component.
 
 

Methods

 
  Name Description
bind Subscribe a handler for an event. Inherited from dundas.Service.
createDelegate Helper for creating delegate functions. Inherited from dundas.Component.
createTimeout Creates a timeout. Inherited from dundas.Component.
dispatch Dispatches a call by creating a delegate and running it right away on a timer. Inherited from dundas.Component.
dispose Inherited from dundas.Component.
executeCommand Executes the command.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getService Gets the requested service. Inherited from dundas.Component.
onLoaded Called when the service is loaded. Inherited from dundas.Service.
peekStack Peek at the redo undo stack.
popAction Remove the toppest command.
pushAsyncContext Register a deferred as the context of the command service, so that sub-sequent queued commands will execute right away without waiting on the deferred provided.
redo Redo the most recent undone command.
reset Reset the undo stack.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.Service.
subscribeExecutionProgressChanged Subscribe a handler for the executionProgressChanged Event.
subscribeOnce Subscribe a one time handler for an event. Inherited from dundas.Service.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Triggers an event. Inherited from dundas.Service.
unbind Unsubscribe an event. Inherited from dundas.Service.
undo Undo the most recent command.