站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

AbstractCommandAction (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.actions
Class AbstractCommandAction

java.lang.Object
  extended byorg.openide.util.SharedClassObject
      extended byorg.openide.util.actions.SystemAction
          extended byorg.openide.util.actions.CallableSystemAction
              extended byorg.openide.util.actions.NodeAction
                  extended byorg.netbeans.modules.vcscore.actions.AbstractCommandAction
All Implemented Interfaces:
Action, ActionListener, ContextAwareAction, EventListener, Externalizable, HelpCtx.Provider, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, Serializable

Deprecated. It's here only for backward compatibility.. I guess it can be removed..

public class AbstractCommandAction
extends NodeAction

Action that keeps a list of vcs supported activated nodes, subclasses can delegate the recognition of such nodes to this class to achieve performance improvement. (splits the nodes to fileobjects) Vcs Enabled fileobjects are recognized by the fileobject attribute named "VcsActionAttributeCookie", which value should be an instance of the CommandActionSupporter class.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Field Summary
static String GROUP_DESCRIPTION_PROP
          Deprecated.  
static String GROUP_NAME_PROP
          Deprecated.  
static String VCS_ACTION_ATTRIBUTE
          Deprecated.  
 
Fields inherited from class org.openide.util.actions.SystemAction
PROP_ENABLED, PROP_ICON
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
AbstractCommandAction()
          Deprecated.  
 
Method Summary
protected  boolean enable(Node[] nodes)
          Deprecated.  
 HelpCtx getHelpCtx()
          Deprecated.  
 String getName()
          Deprecated.  
protected  String iconResource()
          Deprecated.  
protected  void performAction(Node[] nodes)
          Deprecated.  
 
Methods inherited from class org.openide.util.actions.NodeAction
actionPerformed, addNotify, createContextAwareInstance, getActivatedNodes, initialize, isEnabled, performAction, removeNotify, setEnabled, surviveFocusChange
 
Methods inherited from class org.openide.util.actions.CallableSystemAction
asynchronous, getMenuPresenter, getPopupPresenter, getToolbarPresenter
 
Methods inherited from class org.openide.util.actions.SystemAction
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, linkActions, putValue, setIcon
 
Methods inherited from class org.openide.util.SharedClassObject
addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removePropertyChangeListener, reset, writeExternal, writeReplace
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, putValue, removePropertyChangeListener
 

Field Detail

VCS_ACTION_ATTRIBUTE

public static final String VCS_ACTION_ATTRIBUTE
Deprecated.  

Name of a FileObject attribute. Needs to be set on primary file of a node(dataobject) in order to trigger the GeneralCommandAction and it's suclasses. The value of the attribute is the

See Also:
Constant Field Values

GROUP_DESCRIPTION_PROP

public static final String GROUP_DESCRIPTION_PROP
Deprecated.  

a property accessible via the getValue() method. for VcsGroup nodes it holds the description of the group. Otherwise null. Can be used within the CommandActionSupporters in the modules.

See Also:
Constant Field Values

GROUP_NAME_PROP

public static final String GROUP_NAME_PROP
Deprecated.  

a property accessible via the getValue() method. for VcsGroup nodes it holds the display name of the group. Otherwise null. Can be used within the CommandActionSupporters in the modules. eg. for commit message.

See Also:
Constant Field Values
Constructor Detail

AbstractCommandAction

public AbstractCommandAction()
Deprecated. 
Method Detail

enable

protected boolean enable(Node[] nodes)
Deprecated. 

performAction

protected void performAction(Node[] nodes)
Deprecated. 

getHelpCtx

public HelpCtx getHelpCtx()
Deprecated. 

getName

public String getName()
Deprecated. 

iconResource

protected String iconResource()
Deprecated. 

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.