public class GefCommandWrapper
extends org.eclipse.gef.commands.Command
| Constructor and Description |
|---|
GefCommandWrapper(ICommand command,
org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute() |
boolean |
canUndo() |
void |
execute() |
ICommand |
getCommand() |
java.lang.String |
getLabel() |
void |
redo() |
void |
undo() |
public GefCommandWrapper(ICommand command, org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
public boolean canExecute()
canExecute in class org.eclipse.gef.commands.Commandpublic boolean canUndo()
canUndo in class org.eclipse.gef.commands.Commandpublic void execute()
execute in class org.eclipse.gef.commands.Commandpublic java.lang.String getLabel()
getLabel in class org.eclipse.gef.commands.Commandpublic void undo()
undo in class org.eclipse.gef.commands.Commandpublic ICommand getCommand()
public void redo()
redo in class org.eclipse.gef.commands.Command