projectviewer.action
Class OldStyleAddFileAction
java.lang.Object
projectviewer.action.Action
projectviewer.action.OldStyleAddFileAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener
- public class OldStyleAddFileAction
- extends Action
Imports files in the style of the old version of the plugin. For more
details, see the importer class. This is a toolbar action, so prepareNode()
is not overridden.
- Version:
- $Id: OldStyleAddFileAction.java 6113 2003-03-02 21:35:38Z vanza $
- Author:
- Marcelo Vanzin
- See Also:
OldStyleFileImporter
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Creates a new project. |
javax.swing.Icon |
getIcon()
Returns the icon to be shown. |
java.lang.String |
getText()
Returns the text to be shown on the button and/or menu item. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OldStyleAddFileAction
public OldStyleAddFileAction()
getText
public java.lang.String getText()
- Returns the text to be shown on the button and/or menu item.
- Specified by:
getText
in class Action
getIcon
public javax.swing.Icon getIcon()
- Returns the icon to be shown.
- Overrides:
getIcon
in class Action
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Creates a new project.