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


Constructor Summary
CreateCommand()
           
 
Method Summary
 void execute()
           
 ClassGraphModel getParent()
           
 void redo()
           
 void setChild(BasicSubpart subpart)
           
 void setIndex(int index)
           
 void setLocation(org.eclipse.draw2d.geometry.Rectangle r)
           
 void setParent(ClassGraphModel newParent)
           
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateCommand

public CreateCommand()
Method Detail

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