org.eclipse.gmt.umlx.editor.command
Class DeferredCreateFromOutlineCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.gmt.umlx.editor.command.DeferredCommand
org.eclipse.gmt.umlx.editor.command.DeferredCreateFromOutlineCommand
public class DeferredCreateFromOutlineCommand
- extends DeferredCommand
A DeferredCreateFromOutlineCommand delays the creation of a CreateCommand per required
element until the command is ready to be executed. This avoids thrashing 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 |
DeferredCreateFromOutlineCommand
public DeferredCreateFromOutlineCommand(java.util.List<java.lang.Object> coModels)
couldNotSetContext
public IErrorMessage couldNotSetContext(ISheetEditor sheetEditor,
java.lang.Object model,
org.eclipse.draw2d.geometry.Point location)
getDeferredCommand
public IAbstractCommand getDeferredCommand(ISheetEditor sheetEditor)
- Specified by:
getDeferredCommand
in class DeferredCommand
getModels
public java.util.List<java.lang.Object> getModels()