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

Quick Search    Search Deep

allensoft.javacvs.client.ui.swing
Class AddAction  view AddAction download AddAction.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.CVSFilesAction
                  extended byallensoft.javacvs.client.ui.swing.DefaultClientFunctionality.FilesAction
                      extended byallensoft.javacvs.client.ui.swing.AddAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.lang.Runnable, java.io.Serializable

public class AddAction
extends DefaultClientFunctionality.FilesAction


Nested Class Summary
 
Nested classes inherited from class allensoft.javacvs.client.ui.swing.CVSFilesAction
 
Field Summary
 
Fields inherited from class allensoft.javacvs.client.ui.swing.DefaultClientFunctionality.FilesAction
 
Fields inherited from class allensoft.javacvs.client.ui.swing.CVSFilesAction
 
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
AddAction(DefaultClientFunctionality functionality)
           
 
Method Summary
protected  boolean canOperateOnFile(java.io.File file)
          Determines if this action can be operate on the specified file.
 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.DefaultClientFunctionality.FilesAction
getFunctionality
 
Methods inherited from class allensoft.javacvs.client.ui.swing.CVSFilesAction
dispose, getActionEvent, getClient, getFileEntryFilter, getFilesToOperateOn, setFilesToOperateOn, updateEnabled
 
Methods inherited from class allensoft.javacvs.client.ui.swing.CVSAction
actionPerformed, askQuestion, displayError, displayInformation, getParentFrameForDialog, getSourceComponent, getSourceWindow, setRunInNewThread
 
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
 

Constructor Detail

AddAction

public AddAction(DefaultClientFunctionality functionality)
Method Detail

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.


canOperateOnFile

protected boolean canOperateOnFile(java.io.File file)
Description copied from class: CVSFilesAction
Determines if this action can be operate on the specified file. If file is a directory then it checks if the directory has files matching the file entry filter. If it is a file then it checks if the file is accepted by the file entry filter.

Overrides:
canOperateOnFile in class CVSFilesAction