edu.stanford.hci.dtools.deviceeditor.components.commands
Class IOComponentAndTransitionDeleteCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.eclipse.gef.commands.CompoundCommand
          extended by edu.stanford.hci.dtools.deviceeditor.components.commands.IOComponentAndTransitionDeleteCommand

public class IOComponentAndTransitionDeleteCommand
extends org.eclipse.gef.commands.CompoundCommand

This software is distributed under the BSD License.

Author:
Bjoern Hartmann ( bjoern(AT)stanford.edu )

Constructor Summary
IOComponentAndTransitionDeleteCommand(DeviceDiagramModel parent, IOComponent component)
           
 
Method Summary
 void execute()
          We need to make sure the transition data gets to the delete command
 
Methods inherited from class org.eclipse.gef.commands.CompoundCommand
add, canExecute, canUndo, dispose, getChildren, getCommands, getLabel, isEmpty, redo, size, undo, unwrap
 
Methods inherited from class org.eclipse.gef.commands.Command
chain, getDebugLabel, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOComponentAndTransitionDeleteCommand

public IOComponentAndTransitionDeleteCommand(DeviceDiagramModel parent,
                                             IOComponent component)
Method Detail

execute

public void execute()
We need to make sure the transition data gets to the delete command

Overrides:
execute in class org.eclipse.gef.commands.CompoundCommand