public class OpenWithEncodingAction extends Action
Constructor and Description |
---|
OpenWithEncodingAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Creates a new project.
|
javax.swing.JComponent |
getMenuItem()
Returns the menu item that triggers this action.
|
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 openable nodes.
|
public java.lang.String getText()
public javax.swing.JComponent getMenuItem()
Action
getMenuItem
in class Action
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.