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
|
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 |
CmdDelete
public CmdDelete()
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