dsto.dfc.swing.tree
Class CmdDelete
java.lang.Object
dsto.dfc.swing.commands.AbstractCommand
dsto.dfc.swing.commands.AbstractMutableCommand
dsto.dfc.swing.commands.AbstractSelectionBasedCommand
dsto.dfc.swing.commands.BasicDeleteCommand
dsto.dfc.swing.tree.CmdDelete
- All Implemented Interfaces:
- Command, SelectionListener, Iconic, Copyable, Disposable, PropertyEventSource, ActionListener, Cloneable, EventListener
public class CmdDelete
- extends BasicDeleteCommand
Delete currently selected node and all children.
- Version:
- $Revision$
CmdDelete
public CmdDelete(DfcTree tree)
execute
public void execute()
- Description copied from interface:
Command
- Execute the command.
- Specified by:
execute
in interface Command
- Overrides:
execute
in class BasicDeleteCommand
getDescription
public String getDescription()
- Description copied from interface:
Command
- A short description of the command, suitable for a tooltip or use
in a status panel.
- Specified by:
getDescription
in interface Command
- Overrides:
getDescription
in class BasicDeleteCommand
selectionChanged
public void selectionChanged(SelectionEvent e)
- Description copied from class:
AbstractSelectionBasedCommand
- SelectionListener interface implementation: does nothing.
- Specified by:
selectionChanged
in interface SelectionListener
- Overrides:
selectionChanged
in class AbstractSelectionBasedCommand
updateEnabled
protected void updateEnabled()
Copyright © 2008 Commonwealth of Australia