Package com.im.ijc.core.api.actions
Class ConditionalFormattingAction
- 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
-
- com.im.ijc.core.api.actions.AbstractFieldSelectionAwareAction
-
- com.im.ijc.core.api.actions.ConditionalFormattingAction
-
- 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 ConditionalFormattingAction extends AbstractFieldSelectionAwareAction
- 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 ConditionalFormattingAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
enable(org.openide.nodes.Node[] activatedNodes)
boolean
enableAccordingToCurrentSelection(IJCWidget widget)
protected boolean
enableWhenNoResultSet()
protected boolean
enableWhenNotBound()
java.lang.String
getName()
protected java.lang.String
iconResource()
protected 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, enableAccordingToBasic, enableOnlyInBrowseMode, enableWhenNoRows, 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
actionPerformed, 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, 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
-
performAction
protected void performAction(org.openide.nodes.Node[] activatedNodes)
- Specified by:
performAction
in classorg.openide.util.actions.NodeAction
-
enableAccordingToCurrentSelection
public boolean enableAccordingToCurrentSelection(IJCWidget widget)
- Overrides:
enableAccordingToCurrentSelection
in classAbstractIJCWidgetCookieAction
-
getName
public java.lang.String getName()
- Specified by:
getName
in classorg.openide.util.actions.SystemAction
-
iconResource
protected java.lang.String iconResource()
- Overrides:
iconResource
in classorg.openide.util.actions.SystemAction
-
enableWhenNotBound
protected boolean enableWhenNotBound()
- Overrides:
enableWhenNotBound
in classAbstractIJCAction
- Returns:
- whether action should be enabled when current activated widget is unbound, by default
false
-
enableWhenNoResultSet
protected boolean enableWhenNoResultSet()
- Overrides:
enableWhenNoResultSet
in classAbstractIJCAction
-
enable
public boolean enable(org.openide.nodes.Node[] activatedNodes)
- Overrides:
enable
in classAbstractIJCAction
-
-