org.eclipse.gmt.umlx.editor.command
Class DeferredReparentCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.gmt.umlx.editor.command.DeferredCommand
org.eclipse.gmt.umlx.editor.command.DeferredReparentCommand
public class DeferredReparentCommand
- extends DeferredCommand
A DeferredReparentCommand delays the creation of a ReparentCommand 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 |
DeferredReparentCommand
public DeferredReparentCommand()
getDeferredCommand
public IAbstractCommand getDeferredCommand(ISheetEditor sheetEditor)
- Specified by:
getDeferredCommand
in class DeferredCommand
couldNotSetContext
public IErrorMessage couldNotSetContext(ISheetEditor sheetEditor,
java.lang.Object target,
java.util.List<java.lang.Object> sources,
org.eclipse.draw2d.geometry.Point location)
couldNotSetRequestContext
public IErrorMessage couldNotSetRequestContext(org.eclipse.gef.GraphicalEditPart targetEditPart,
org.eclipse.gef.requests.ChangeBoundsRequest changeRequest)