APStudio.models.commands
Class CreateCommand
java.lang.Object
|
+--org.eclipse.gef.commands.Command
|
+--APStudio.models.commands.CreateCommand
- public class CreateCommand
- extends org.eclipse.gef.commands.Command
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateCommand
public CreateCommand()
execute
public void execute()
- Overrides:
execute
in class org.eclipse.gef.commands.Command
getParent
public ClassGraphModel getParent()
redo
public void redo()
- Overrides:
redo
in class org.eclipse.gef.commands.Command
setChild
public void setChild(BasicSubpart subpart)
setIndex
public void setIndex(int index)
setLocation
public void setLocation(org.eclipse.draw2d.geometry.Rectangle r)
setParent
public void setParent(ClassGraphModel newParent)
undo
public void undo()
- Overrides:
undo
in class org.eclipse.gef.commands.Command