| Constructor and Description |
|---|
NodeRemoverAction(boolean delete)
Cretes a new node remover actions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Try to remove nodes from the project, asking when necessary.
|
java.lang.String |
getText()
Returns the text to be shown on the button and/or menu item.
|
void |
prepareForNode(VPTNode node)
Enable action only for non-root nodes.
|
public NodeRemoverAction(boolean delete)
public java.lang.String getText()
public void actionPerformed(java.awt.event.ActionEvent e)
public void prepareForNode(VPTNode node)
prepareForNode in class Actionnode - The selected node, or null if multiple
nodes are selected.