Class GefCommandWrapper
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.graphiti.ui.internal.command.GefCommandWrapper
public class GefCommandWrapper
extends org.eclipse.gef.commands.Command
-
Constructor Summary
ConstructorDescriptionGefCommandWrapper
(ICommand command, org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain) -
Method Summary
Methods inherited from class org.eclipse.gef.commands.Command
canRedo, chain, dispose, getDebugLabel, setDebugLabel, setLabel
-
Constructor Details
-
GefCommandWrapper
public GefCommandWrapper(ICommand command, org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
-
-
Method Details
-
canExecute
public boolean canExecute()- Overrides:
canExecute
in classorg.eclipse.gef.commands.Command
-
canUndo
public boolean canUndo()- Overrides:
canUndo
in classorg.eclipse.gef.commands.Command
-
execute
public void execute()- Overrides:
execute
in classorg.eclipse.gef.commands.Command
-
getLabel
- Overrides:
getLabel
in classorg.eclipse.gef.commands.Command
-
undo
public void undo()- Overrides:
undo
in classorg.eclipse.gef.commands.Command
-
getCommand
-
redo
public void redo()- Overrides:
redo
in classorg.eclipse.gef.commands.Command
-