uci.gef
Class CmdDelete

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--uci.gef.Cmd
              |
              +--uci.gef.CmdDelete

public class CmdDelete
extends Cmd

Cmd to delete Figs from view. This command does not do anything to any underlying Net or other model, it is strictly a manipulation of graphical objects. Normally CmdDispose is the command users will want to execute.

See Also:
Fig, CmdDispose, Editor, LayerDiagram, Serialized Form

Fields inherited from class uci.gef.Cmd
_args, HAS_ICON, NO_ICON
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
CmdDelete()
           
 
Method Summary
 void doIt()
          Tell the selected Figs to remove themselves from the the diagram it is in (and thus all editors).
 void undoIt()
           
 
Methods inherited from class uci.gef.Cmd
about, actionPerformed, cmdAtIndex, containsArg, getArg, getArg, getName, register, registeredCmds, setArg, setName, shouldBeEnabled, updateEnabled
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdDelete

public CmdDelete()
Method Detail

doIt

public void doIt()
Tell the selected Figs to remove themselves from the the diagram it is in (and thus all editors).
Overrides:
doIt in class Cmd

undoIt

public void undoIt()
Overrides:
undoIt in class Cmd