com.im.ijc.core/1 5.9.4

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

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 org.openide.util.actions.CookieAction
                      extended by com.im.ijc.core.api.actions.AbstractToolbarCookieAction
                          extended by com.im.ijc.core.api.actions.AbstractIJCAction
                              extended by com.im.ijc.core.api.actions.AbstractIJCWidgetCookieAction
                                  extended by com.im.ijc.core.api.actions.ShowRGroupAction
All Implemented Interfaces:
ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, ContextAwareAction, HelpCtx.Provider

public class ShowRGroupAction
extends AbstractIJCWidgetCookieAction
implements Presenter.Menu

Show R-Groups for markush structure.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.im.ijc.core.api.actions.AbstractToolbarCookieAction
AbstractToolbarCookieAction.ToolBarAction
 
Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Field Summary
static String PROP_RGROUP_VISIBLE
           
 
Fields inherited from class com.im.ijc.core.api.actions.AbstractIJCAction
ALL_ICONS_PREFIX
 
Fields inherited from class org.openide.util.actions.CookieAction
MODE_ALL, MODE_ANY, MODE_EXACTLY_ONE, MODE_ONE, MODE_SOME
 
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
ShowRGroupAction()
           
 
Method Summary
protected  void addListenerTo(IJCWidget widget, PropertyChangeListener selectionListener)
           
protected  boolean enableAccordingToCurrentSelection(IJCWidget widget)
           
protected  boolean enableWhenNoResultSet()
           
protected  boolean enableWhenNotBound()
           
 JMenuItem getMenuPresenter()
           
 String getName()
           
 Component getToolbarPresenter()
           
protected  String iconResource()
           
protected  boolean isEventInteresting(PropertyChangeEvent evt)
           
protected  void performAction(Node[] nodes)
           
protected  void removeListenerFrom(IJCWidget widget, PropertyChangeListener selectionListener)
           
 
Methods inherited from class com.im.ijc.core.api.actions.AbstractIJCWidgetCookieAction
cookieClasses, enableAccordingTo, enableAccordingToCurrentSelection, findOVC, mode
 
Methods inherited from class com.im.ijc.core.api.actions.AbstractIJCAction
asynchronous, enable, enableOnlyInBrowseMode, enableWhenNoRows, findVS, findWidget, getHelpCtx, getSelectedIds, getSelectedIdsSafely, getSelectedIdsSafely, getSelection, updateEnabledState
 
Methods inherited from class org.openide.util.actions.CookieAction
createContextAwareInstance
 
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
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
 
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

PROP_RGROUP_VISIBLE

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

ShowRGroupAction

public ShowRGroupAction()
Method Detail

getMenuPresenter

public JMenuItem getMenuPresenter()
Specified by:
getMenuPresenter in interface Presenter.Menu
Overrides:
getMenuPresenter in class CallableSystemAction

getToolbarPresenter

public Component getToolbarPresenter()
Specified by:
getToolbarPresenter in interface Presenter.Toolbar
Overrides:
getToolbarPresenter in class AbstractToolbarCookieAction

performAction

protected void performAction(Node[] nodes)
Specified by:
performAction in class NodeAction

getName

public String getName()
Specified by:
getName in class SystemAction

iconResource

protected String iconResource()
Overrides:
iconResource in class SystemAction

isEventInteresting

protected boolean isEventInteresting(PropertyChangeEvent evt)
Overrides:
isEventInteresting in class AbstractIJCAction

addListenerTo

protected void addListenerTo(IJCWidget widget,
                             PropertyChangeListener selectionListener)
Overrides:
addListenerTo in class AbstractIJCAction

removeListenerFrom

protected void removeListenerFrom(IJCWidget widget,
                                  PropertyChangeListener selectionListener)
Overrides:
removeListenerFrom in class AbstractIJCAction

enableAccordingToCurrentSelection

protected boolean enableAccordingToCurrentSelection(IJCWidget widget)
Overrides:
enableAccordingToCurrentSelection in class AbstractIJCWidgetCookieAction

enableWhenNotBound

protected boolean enableWhenNotBound()
Overrides:
enableWhenNotBound in class AbstractIJCAction

enableWhenNoResultSet

protected boolean enableWhenNoResultSet()
Overrides:
enableWhenNoResultSet in class AbstractIJCAction

com.im.ijc.core/1 5.9.4