Modifier and Type | Class and Description |
---|---|
static class |
SearchAction.NodeFileSet
Implements a SearchFileSet representing files that are children of a given
node and its children.
|
Constructor and Description |
---|
SearchAction() |
SearchAction(VPTNode node) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Opens the search dialog according to the current context.
|
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 the root node.
|
public SearchAction()
public SearchAction(VPTNode node)
public java.lang.String getText()
public void actionPerformed(java.awt.event.ActionEvent e)
public void prepareForNode(VPTNode node)
prepareForNode
in class Action
node
- The selected node, or null
if multiple
nodes are selected.