com.im.ijc.core/1 5.9.4

com.im.ijc.core.api.actions
Class CommonDeleteAction

java.lang.Object
  extended by org.openide.util.SharedClassObject
      extended by org.openide.util.actions.SystemAction
          extended by org.openide.util.actions.CallableSystemAction
              extended by org.openide.util.actions.NodeAction
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Field Summary
static String COMMAND
           
 
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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
CommonDeleteAction()
           
 
Method Summary
protected  boolean asynchronous()
           
protected  boolean enable(Node[] nodes)
           
 HelpCtx getHelpCtx()
           
 String getName()
           
protected  String iconResource()
           
protected  void performAction(Node[] nodes)
           
 
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
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

COMMAND

public static final String COMMAND
See Also:
Constant Field Values
Constructor Detail

CommonDeleteAction

public CommonDeleteAction()
Method Detail

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

com.im.ijc.core/1 5.9.4