Package com.im.ijc.core.api.actions
Class AbstractIJCWidgetCookieAction
- 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
-
- com.im.ijc.core.api.actions.AbstractToolbarCookieAction
-
- com.im.ijc.core.api.actions.AbstractIJCAction
-
- com.im.ijc.core.api.actions.AbstractIJCWidgetCookieAction
-
- 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
- Direct Known Subclasses:
AbstractFieldSelectionAwareAction
,AbstractRGroupDecompositionAction
,BindFieldToWidgetAction
,MarkushEnumAction
,ReloadWidgetURLAction
,ShowRGroupAction
public abstract class AbstractIJCWidgetCookieAction extends AbstractIJCAction
- 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 AbstractIJCWidgetCookieAction()
Constructor for listening only onIJCWidget
changes.AbstractIJCWidgetCookieAction(boolean listenOnWidget, boolean listenOnVertexState)
Constructor by which subclass might convey in what changes it is interested.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<?>[]
cookieClasses()
protected boolean
enableAccordingTo(com.im.df.api.dml.DFResultSet.VertexState vs, IJCWidget widget)
protected boolean
enableAccordingToCurrentSelection(IJCWidget widget)
protected int
mode()
-
Methods inherited from class com.im.ijc.core.api.actions.AbstractIJCAction
addListenerTo, asynchronous, enable, enableAccordingToBasic, enableOnlyInBrowseMode, enableWhenNoResultSet, enableWhenNoRows, enableWhenNotBound, findVS, findWidget, getHelpCtx, getSelectedIds, getSelectedIdsSafely, getSelectedIdsSafely, getSelection, handleHookEvent, isEventInteresting, removeListenerFrom, updateEnabledState
-
Methods inherited from class com.im.ijc.core.api.actions.AbstractToolbarCookieAction
findEntity, getToolbarPresenter
-
Methods inherited from class org.openide.util.actions.NodeAction
actionPerformed, addNotify, getActivatedNodes, initialize, isEnabled, performAction, 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, getName, 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
-
-
-
-
Constructor Detail
-
AbstractIJCWidgetCookieAction
public AbstractIJCWidgetCookieAction(boolean listenOnWidget, boolean listenOnVertexState)
Constructor by which subclass might convey in what changes it is interested.- Parameters:
listenOnWidget
- whether action should listen onwidget
changedlistenOnVertexState
- whether action should listen onDFResultSet.VertexState
changes- Since:
- 15.7.27
-
AbstractIJCWidgetCookieAction
public AbstractIJCWidgetCookieAction()
Constructor for listening only onIJCWidget
changes.
-
-
Method Detail
-
mode
protected int mode()
- Overrides:
mode
in classAbstractIJCAction
-
cookieClasses
protected java.lang.Class<?>[] cookieClasses()
- Overrides:
cookieClasses
in classAbstractIJCAction
-
enableAccordingTo
protected boolean enableAccordingTo(com.im.df.api.dml.DFResultSet.VertexState vs, IJCWidget widget)
- Overrides:
enableAccordingTo
in classAbstractIJCAction
-
enableAccordingToCurrentSelection
protected boolean enableAccordingToCurrentSelection(IJCWidget widget)
-
-