- hasContext
Returns whether the operation has a matching context for the specified context.
This method may b
- addContext
Add the specified context to the operation. If a context equal to the specified
context is already
- canUndo
Returns whether the operation can be undone in its current state.
Note: The computation for this
- getLabel
Return the label that should be used to show the name of the operation to the
user. This label is ty
- removeContext
Remove the specified context from the operation. This method has no effect if
the context is not equ
- execute
Execute the operation. This method should only be called the first time that an
operation is execute
- canRedo
Returns whether the operation can be redone in its current state.
Note: The computation for this
- dispose
Dispose of the operation. This method is used when the operation is no longer
kept in the history. I
- getContexts
Returns the array of contexts that have been assigned to the operation.
This method may be called
- undo
Undo the operation. This method should only be called after an operation has
been executed.
- redo
Redo the operation. This method should only be called after an operation has
been undone.