|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprojectviewer.action.Action
projectviewer.action.NewFileAction
public class NewFileAction
Action that when executed creates a new file under the current node.
| Field Summary |
|---|
| Fields inherited from class projectviewer.action.Action |
|---|
action, cmItem, viewer |
| Constructor Summary | |
|---|---|
NewFileAction()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
java.lang.String |
getText()
Returns the text to be shown on the button and/or menu item. |
void |
prepareForNode(VPTNode node)
Enable action for all nodes except the root and groups. |
| Methods inherited from class projectviewer.action.Action |
|---|
clone, compareTo, equals, getMenuItem, setViewer |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewFileAction()
| Method Detail |
|---|
public java.lang.String getText()
getText 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||