projectviewer.action
Class ReimportAction

java.lang.Object
  extended byprojectviewer.action.Action
      extended byprojectviewer.action.ReimportAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener

public class ReimportAction
extends Action

Removes all the files below the root from a project, and then calls the initial project importer.

Version:
$Id: ReimportAction.java 6333 2005-02-10 06:31:59Z vanza $
Author:
Marcelo Vanzin

Field Summary
 
Fields inherited from class projectviewer.action.Action
action, cmItem, tbButton, viewer
 
Constructor Summary
ReimportAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          Reimports files below the project root.
 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.
 
Methods inherited from class projectviewer.action.Action
clone, getButton, getIcon, getMenuItem, setViewer
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReimportAction

public ReimportAction()
Method Detail

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

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Reimports files below the project root.


prepareForNode

public void prepareForNode(VPTNode node)
Enable action only for the root node.

Overrides:
prepareForNode in class Action
Parameters:
node - The selected node, or "null" if multiple nodes are selected.