APStudio.models.commands
Class OrphanChildCommand

java.lang.Object
  |
  +--org.eclipse.gef.commands.Command
        |
        +--APStudio.models.commands.OrphanChildCommand

public class OrphanChildCommand
extends org.eclipse.gef.commands.Command


Constructor Summary
OrphanChildCommand()
           
 
Method Summary
 void execute()
           
 void redo()
           
 void setChild(BasicSubpart child)
           
 void setParent(ClassGraphModel parent)
           
 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

OrphanChildCommand

public OrphanChildCommand()
Method Detail

execute

public void execute()
Overrides:
execute in class org.eclipse.gef.commands.Command

redo

public void redo()
Overrides:
redo in class org.eclipse.gef.commands.Command

setChild

public void setChild(BasicSubpart child)

setParent

public void setParent(ClassGraphModel parent)

undo

public void undo()
Overrides:
undo in class org.eclipse.gef.commands.Command