Class 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
    • 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
    • Constructor Detail

      • ShowRGroupAction

        public ShowRGroupAction()
    • Method Detail

      • getMenuPresenter

        public javax.swing.JMenuItem getMenuPresenter()
        Specified by:
        getMenuPresenter in interface org.openide.util.actions.Presenter.Menu
        Overrides:
        getMenuPresenter in class org.openide.util.actions.CallableSystemAction
      • getToolbarPresenter

        public java.awt.Component getToolbarPresenter()
        Specified by:
        getToolbarPresenter in interface org.openide.util.actions.Presenter.Toolbar
        Overrides:
        getToolbarPresenter in class AbstractToolbarCookieAction
      • performAction

        protected void performAction​(org.openide.nodes.Node[] nodes)
        Specified by:
        performAction in class org.openide.util.actions.NodeAction
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class org.openide.util.actions.SystemAction
      • iconResource

        protected java.lang.String iconResource()
        Overrides:
        iconResource in class org.openide.util.actions.SystemAction
      • enableWhenNotBound

        protected boolean enableWhenNotBound()
        Overrides:
        enableWhenNotBound in class AbstractIJCAction
        Returns:
        whether action should be enabled when current activated widget is unbound, by default false