当前页面:
在线文档首页 >
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
org.openide.util.SharedClassObject
org.openide.util.actions.SystemAction
org.openide.util.actions.CallableSystemAction
org.openide.util.actions.NodeAction
org.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
Methods inherited from class org.openide.util.SharedClassObject |
addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removePropertyChangeListener, reset, writeExternal, writeReplace |
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
AbstractCommandAction
public AbstractCommandAction()
- Deprecated.
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.