Package com.im.ijc.core.api.actions
Class ShowRGroupAction
- 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.ShowRGroupAction
-
- 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 ShowRGroupAction extends AbstractIJCWidgetCookieAction implements org.openide.util.actions.Presenter.Menu
Show R-Groups for markush structure.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShowRGroupAction.ShowRGroup
Type of RGRoup filter.-
Nested classes/interfaces inherited from class com.im.ijc.core.api.actions.AbstractToolbarCookieAction
AbstractToolbarCookieAction.ToolBarAction
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_RGROUP_VISIBLE
Property indicating whether at least some R-Groups should be displayed.-
Fields inherited from class com.im.ijc.core.api.actions.AbstractIJCAction
ALL_ICONS_PREFIX
-
-
Constructor Summary
Constructors Constructor Description ShowRGroupAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addListenerTo(IJCWidget widget, java.beans.PropertyChangeListener selectionListener)
protected boolean
enableAccordingToCurrentSelection(IJCWidget widget)
protected boolean
enableWhenNoResultSet()
protected boolean
enableWhenNotBound()
javax.swing.JMenuItem
getMenuPresenter()
java.lang.String
getName()
java.awt.Component
getToolbarPresenter()
protected java.lang.String
iconResource()
protected boolean
isEventInteresting(java.beans.PropertyChangeEvent evt)
protected void
performAction(org.openide.nodes.Node[] nodes)
protected void
removeListenerFrom(IJCWidget widget, java.beans.PropertyChangeListener selectionListener)
-
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, enableWhenNoRows, findVS, findWidget, getHelpCtx, getSelectedIds, getSelectedIdsSafely, getSelectedIdsSafely, getSelection, handleHookEvent, updateEnabledState
-
Methods inherited from class com.im.ijc.core.api.actions.AbstractToolbarCookieAction
findEntity
-
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.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
-
-
-
-
Field Detail
-
PROP_RGROUP_VISIBLE
public static final java.lang.String PROP_RGROUP_VISIBLE
Property indicating whether at least some R-Groups should be displayed.- See Also:
- Constant Field Values
-
-
Method Detail
-
getMenuPresenter
public javax.swing.JMenuItem getMenuPresenter()
- Specified by:
getMenuPresenter
in interfaceorg.openide.util.actions.Presenter.Menu
- Overrides:
getMenuPresenter
in classorg.openide.util.actions.CallableSystemAction
-
getToolbarPresenter
public java.awt.Component getToolbarPresenter()
- Specified by:
getToolbarPresenter
in interfaceorg.openide.util.actions.Presenter.Toolbar
- Overrides:
getToolbarPresenter
in classAbstractToolbarCookieAction
-
performAction
protected void performAction(org.openide.nodes.Node[] nodes)
- Specified by:
performAction
in classorg.openide.util.actions.NodeAction
-
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
-
isEventInteresting
protected boolean isEventInteresting(java.beans.PropertyChangeEvent evt)
- Overrides:
isEventInteresting
in classAbstractIJCAction
-
addListenerTo
protected void addListenerTo(IJCWidget widget, java.beans.PropertyChangeListener selectionListener)
- Overrides:
addListenerTo
in classAbstractIJCAction
-
removeListenerFrom
protected void removeListenerFrom(IJCWidget widget, java.beans.PropertyChangeListener selectionListener)
- Overrides:
removeListenerFrom
in classAbstractIJCAction
-
enableAccordingToCurrentSelection
protected boolean enableAccordingToCurrentSelection(IJCWidget widget)
- Overrides:
enableAccordingToCurrentSelection
in classAbstractIJCWidgetCookieAction
-
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
-
-