org.eclipse.gmt.umlx.editor.command
Class DeferredCreateNodeCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.gmt.umlx.editor.command.DeferredCommand
org.eclipse.gmt.umlx.editor.command.DeferredCreateNodeCommand
public class DeferredCreateNodeCommand
- extends DeferredCommand
A DeferredCreateNodeCommand delays the creation of a node CreateCommand until it is
ready to be executed, thereby avoiding the thrashing of commands to suit the
prevailing cursor context.
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, canUndo, chain, dispose, execute, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeferredCreateNodeCommand
public DeferredCreateNodeCommand(IRegimeCo0<?,?> regime)
getDeferredCommand
public IAbstractCommand getDeferredCommand(ISheetEditor sheetEditor)
throws PreparationFailureException
- Specified by:
getDeferredCommand
in class DeferredCommand
- Throws:
PreparationFailureException
setContext
public void setContext(GModelElement parent,
org.eclipse.draw2d.geometry.Point location)