Package com.im.ijc.core.api.actions
Class DeleteSelectedDataAction
- java.lang.Object
-
- org.openide.util.SharedClassObject
-
- org.openide.util.actions.SystemAction
-
- org.openide.util.actions.CallableSystemAction
-
- org.openide.util.actions.NodeAction
-
- org.openide.util.actions.CookieAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Externalizable
,java.io.Serializable
,java.util.EventListener
,javax.swing.Action
,org.openide.util.actions.Presenter
,org.openide.util.actions.Presenter.Menu
,org.openide.util.actions.Presenter.Popup
,org.openide.util.actions.Presenter.Toolbar
,org.openide.util.ContextAwareAction
,org.openide.util.HelpCtx.Provider
public class DeleteSelectedDataAction extends AbstractBrowseFieldSelectionAwareAction
Action which deletes currently selected area (selected fields ⨉ selected rows).- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.im.ijc.core.api.actions.AbstractToolbarCookieAction
AbstractToolbarCookieAction.ToolBarAction
-
-
Field Summary
-
Fields inherited from class com.im.ijc.core.api.actions.AbstractIJCAction
ALL_ICONS_PREFIX
-
-
Constructor Summary
Constructors Constructor Description DeleteSelectedDataAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent ev)
boolean
enableAccordingToCurrentSelection(IJCWidget widget)
boolean
enableAccordingToCurrentSelection(IJCWidget widget, boolean enableWhenRequired)
protected boolean
enableWhenNoRows()
java.lang.String
getName()
void
performAction(org.openide.nodes.Node[] activatedNodes)
-
Methods inherited from class com.im.ijc.core.api.actions.AbstractFieldSelectionAwareAction
addListenerTo, enableForFieldsFromDifferntVertexStates, findFields, isEventInteresting, removeListenerFrom
-
Methods inherited from class com.im.ijc.core.api.actions.AbstractIJCWidgetCookieAction
cookieClasses, enableAccordingTo, mode
-
Methods inherited from class com.im.ijc.core.api.actions.AbstractIJCAction
asynchronous, enable, enableAccordingToBasic, enableOnlyInBrowseMode, enableWhenNoResultSet, enableWhenNotBound, findVS, findWidget, getHelpCtx, getSelectedIds, getSelectedIdsSafely, getSelectedIdsSafely, getSelection, handleHookEvent, updateEnabledState
-
Methods inherited from class com.im.ijc.core.api.actions.AbstractToolbarCookieAction
findEntity, getToolbarPresenter
-
Methods inherited from class org.openide.util.actions.NodeAction
addNotify, getActivatedNodes, initialize, isEnabled, performAction, removeNotify, setEnabled, surviveFocusChange
-
Methods inherited from class org.openide.util.actions.CallableSystemAction
getMenuPresenter, getPopupPresenter
-
Methods inherited from class org.openide.util.actions.SystemAction
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, 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
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in classorg.openide.util.actions.SystemAction
-
performAction
public void performAction(org.openide.nodes.Node[] activatedNodes)
- Specified by:
performAction
in classorg.openide.util.actions.NodeAction
-
enableWhenNoRows
protected boolean enableWhenNoRows()
- Overrides:
enableWhenNoRows
in classAbstractIJCAction
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classorg.openide.util.actions.NodeAction
-
enableAccordingToCurrentSelection
public boolean enableAccordingToCurrentSelection(IJCWidget widget)
- Overrides:
enableAccordingToCurrentSelection
in classAbstractBrowseFieldSelectionAwareAction
-
enableAccordingToCurrentSelection
public boolean enableAccordingToCurrentSelection(IJCWidget widget, boolean enableWhenRequired)
-
-