projectviewer.action
Class UpdateVCSStatusAction

java.lang.Object
  extended by projectviewer.action.Action
      extended by projectviewer.action.UpdateVCSStatusAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.lang.Cloneable, java.lang.Comparable<Action>, java.util.EventListener

public class UpdateVCSStatusAction
extends Action

Action that causes the current version control system to update the status of the node.


Field Summary
 
Fields inherited from class projectviewer.action.Action
action, cmItem, viewer
 
Constructor Summary
UpdateVCSStatusAction()
           
 
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 project nodes only and only for projects with a version control system set.
 
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

UpdateVCSStatusAction

public UpdateVCSStatusAction()
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 e)

prepareForNode

public void prepareForNode(VPTNode node)
Enable action for project nodes only and only for projects with a version control system set.

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