org.eclipse.gmt.umlx.editor.command
Class DeferredReconnectCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.gmt.umlx.editor.command.DeferredCommand
org.eclipse.gmt.umlx.editor.command.DeferredReconnectCommand
- All Implemented Interfaces:
- ILinkRegimeEnums
public class DeferredReconnectCommand
- extends DeferredCommand
- implements ILinkRegimeEnums
A DeferredReconnectCommand delays the creation of a ReconnectCommand 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 |
DeferredReconnectCommand
public DeferredReconnectCommand()
cannotSetContext
public <LM extends GLinkElement> IErrorMessage cannotSetContext(ILinkRegimeCo0<?,LM,?,?> regime,
GNodeElement gSource,
GLinkElement link,
GNodeElement gTarget,
org.eclipse.emf.ecore.EModelElement connection,
boolean coShift)
getDeferredCommand
public IAbstractCommand getDeferredCommand(ISheetEditor sheetEditor)
- Specified by:
getDeferredCommand
in class DeferredCommand