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()
ActiongetMenuItem in class Actionpublic 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.