public class LaunchBrowserAction extends Action
| Modifier and Type | Class and Description |
|---|---|
static class |
LaunchBrowserAction.Helper
Class to hold references to classes that may not be available, so this
class can behave well when called from a BeanShell script.
|
| Constructor and Description |
|---|
LaunchBrowserAction()
Default constructor.
|
LaunchBrowserAction(VPTFile file)
Instantiates a launcher for the given file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Creates a new project.
|
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 LaunchBrowserAction()
public LaunchBrowserAction(VPTFile file)
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.