com.im.ijc.core.api.actions
Class CommonDeleteAction
java.lang.Object
org.openide.util.SharedClassObject
org.openide.util.actions.SystemAction
org.openide.util.actions.CallableSystemAction
org.openide.util.actions.NodeAction
com.im.ijc.core.api.actions.CommonDeleteAction
- All Implemented Interfaces:
- ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, ContextAwareAction, HelpCtx.Provider
public class CommonDeleteAction
- extends NodeAction
This is a common Delete action which delegates to selected Nodes of the
TopComponent that implement the DFItemOperationProvider cookie.
- See Also:
- Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class org.openide.util.SharedClassObject |
addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removePropertyChangeListener, reset, writeExternal, writeReplace |
COMMAND
public static final String COMMAND
- See Also:
- Constant Field Values
CommonDeleteAction
public CommonDeleteAction()
performAction
protected void performAction(Node[] nodes)
- Specified by:
performAction in class NodeAction
iconResource
protected String iconResource()
- Overrides:
iconResource in class SystemAction
asynchronous
protected boolean asynchronous()
- Overrides:
asynchronous in class CallableSystemAction
enable
protected boolean enable(Node[] nodes)
- Specified by:
enable in class NodeAction
getName
public String getName()
- Specified by:
getName in class SystemAction
getHelpCtx
public HelpCtx getHelpCtx()
- Specified by:
getHelpCtx in interface HelpCtx.Provider- Specified by:
getHelpCtx in class SystemAction