uci.gef
Class CmdDispose

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

public class CmdDispose
extends Cmd

Cmd to delete the Figs selected in the current editor, and dispose any underlying Net stuctures. This differs from CmdDelete in that when an underlying NetNode is disposed, it should delete all views on it, not just the selected one.

See Also:
NetPrimitive#dispose, CmdDelete, 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
CmdDispose()
           
 
Method Summary
 void doIt()
           
 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

CmdDispose

public CmdDispose()
Method Detail

doIt

public void doIt()
Overrides:
doIt in class Cmd

undoIt

public void undoIt()
Overrides:
undoIt in class Cmd