|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
be.ac.vub.cocompose.eclipse.commands.DeleteCommand
Delete command for CoCompose elements.
Constructor Summary | |
DeleteCommand()
Creates a DeleteCommand. |
Method Summary | |
void |
execute()
|
ModelElement |
getElement()
Gets the element to be deleted. |
protected void |
primExecute()
Execute implementation. |
void |
redo()
|
void |
setElement(ModelElement element)
Sets the element to be deleted. |
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DeleteCommand()
Method Detail |
public void execute()
Command.execute()
public void redo()
Command.redo()
public void undo()
Command.undo()
public ModelElement getElement()
public void setElement(ModelElement element)
element
- - the element to be deleted.protected void primExecute()
Command.execute()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |