public class EditProjectAction extends Action
AddProjectAction
.Constructor and Description |
---|
EditProjectAction()
Default constructor.
|
EditProjectAction(java.lang.String startupPane)
The constructor accepting startupPane, edit only.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Edits existing project's properties.
|
static VPTProject |
editProject(VPTProject proj,
java.lang.String startupPane)
Opens project properties for a given 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 EditProjectAction()
public EditProjectAction(java.lang.String startupPane)
public java.lang.String getText()
public static VPTProject editProject(VPTProject proj, java.lang.String startupPane)
This method should not be called from outside Project Viewer.
For external api see are similar methods in
PVActions
.
null
if user cancelled the dialog.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.