Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

allensoft.javacvs.client.ui.swing
Class AddFavouriteDirectoryAction  view AddFavouriteDirectoryAction download AddFavouriteDirectoryAction.java

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byallensoft.gui.LocalizedAction
          extended byallensoft.javacvs.client.ui.swing.CVSAction
              extended byallensoft.javacvs.client.ui.swing.AddFavouriteDirectoryAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.lang.Runnable, java.io.Serializable

public class AddFavouriteDirectoryAction
extends CVSAction

Action which adds a new favourite directory to the user's list of favourites.


Field Summary
private static AddFavouriteDirectoryAction g_Instance
           
 
Fields inherited from class allensoft.javacvs.client.ui.swing.CVSAction
m_Event
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
private AddFavouriteDirectoryAction()
          Creates a new AddFavouriteDirectoryAction.
 
Method Summary
static AddFavouriteDirectoryAction getInstance()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class allensoft.javacvs.client.ui.swing.CVSAction
actionPerformed, askQuestion, displayError, displayInformation, dispose, getParentFrameForDialog, getSourceComponent, getSourceWindow, setRunInNewThread, updateEnabled
 
Methods inherited from class allensoft.gui.LocalizedAction
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

g_Instance

private static AddFavouriteDirectoryAction g_Instance
Constructor Detail

AddFavouriteDirectoryAction

private AddFavouriteDirectoryAction()
Creates a new AddFavouriteDirectoryAction.

Method Detail

getInstance

public static AddFavouriteDirectoryAction getInstance()

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.