public class GefOnEmfCommand
extends org.eclipse.gef.commands.Command
| Constructor and Description |
|---|
GefOnEmfCommand(org.eclipse.emf.common.command.Command emfCommand) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute() |
boolean |
canUndo() |
org.eclipse.gef.commands.Command |
chain(org.eclipse.gef.commands.Command command) |
void |
dispose() |
boolean |
equals(java.lang.Object obj) |
void |
execute() |
org.eclipse.emf.common.command.Command |
getEmfCommand() |
java.lang.String |
getLabel() |
int |
hashCode() |
void |
redo() |
void |
setLabel(java.lang.String label) |
void |
undo() |
public GefOnEmfCommand(org.eclipse.emf.common.command.Command emfCommand)
public boolean canExecute()
canExecute in class org.eclipse.gef.commands.Commandpublic boolean canUndo()
canUndo in class org.eclipse.gef.commands.Commandpublic org.eclipse.gef.commands.Command chain(org.eclipse.gef.commands.Command command)
chain in class org.eclipse.gef.commands.Commandpublic void dispose()
dispose in class org.eclipse.gef.commands.Commandpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void execute()
execute in class org.eclipse.gef.commands.Commandpublic java.lang.String getLabel()
getLabel in class org.eclipse.gef.commands.Commandpublic int hashCode()
hashCode in class java.lang.Objectpublic void redo()
redo in class org.eclipse.gef.commands.Commandpublic void setLabel(java.lang.String label)
setLabel in class org.eclipse.gef.commands.Commandpublic void undo()
undo in class org.eclipse.gef.commands.Commandpublic org.eclipse.emf.common.command.Command getEmfCommand()