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

Quick Search    Search Deep

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

public class EditAction
extends DefaultClientFunctionality.FilesAction

Action that performs a log request


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
EditAction(DefaultClientFunctionality client)
           
 
Method Summary
protected  allensoft.javacvs.client.FileEntryFilter getFileEntryFilter()
          Gets the FileEntryFilter that determines which files this action can operate on.
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
protected  boolean shouldBeEnabled(java.io.File[] files)
          Determines if the action should be enabled for the specified files.
 
Methods inherited from class allensoft.javacvs.client.ui.swing.DefaultClientFunctionality.FilesAction
getFunctionality
 
Methods inherited from class allensoft.javacvs.client.ui.swing.CVSFilesAction
canOperateOnFile, dispose, getActionEvent, getClient, 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

EditAction

public EditAction(DefaultClientFunctionality client)
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.


shouldBeEnabled

protected boolean shouldBeEnabled(java.io.File[] files)
Description copied from class: CVSFilesAction
Determines if the action should be enabled for the specified files. The default is to enable the action if files is not null and contains at least one file and all the files can be run with this action.


getFileEntryFilter

protected allensoft.javacvs.client.FileEntryFilter getFileEntryFilter()
Description copied from class: CVSFilesAction
Gets the FileEntryFilter that determines which files this action can operate on.

Overrides:
getFileEntryFilter in class CVSFilesAction