Class ToolAction

    • Constructor Detail

      • ToolAction

        protected ToolAction()
      • ToolAction

        protected ToolAction​(org.openide.util.Lookup lookup)
      • ToolAction

        protected ToolAction​(org.openide.util.Lookup lookup,
                             com.bc.ceres.swing.figure.Interactor interactor)
    • Method Detail

      • getToolbarPresenter

        public Component getToolbarPresenter()
        Specified by:
        getToolbarPresenter in interface org.openide.util.actions.Presenter.Toolbar
      • getMenuPresenter

        public JMenuItem getMenuPresenter()
        Specified by:
        getMenuPresenter in interface org.openide.util.actions.Presenter.Menu
      • getPopupPresenter

        public JMenuItem getPopupPresenter()
        Specified by:
        getPopupPresenter in interface org.openide.util.actions.Presenter.Popup
      • createContextAwareInstance

        public Action createContextAwareInstance​(org.openide.util.Lookup actionContext)
        Specified by:
        createContextAwareInstance in interface org.openide.util.ContextAwareAction
      • resultChanged

        public void resultChanged​(org.openide.util.LookupEvent ignored)
        Specified by:
        resultChanged in interface org.openide.util.LookupListener
      • getLookup

        public org.openide.util.Lookup getLookup()
      • isSelected

        public boolean isSelected()
      • setSelected

        public void setSelected​(boolean selected)
      • getInteractor

        public com.bc.ceres.swing.figure.Interactor getInteractor()
      • setInteractor

        public final void setInteractor​(com.bc.ceres.swing.figure.Interactor interactor)
      • updateEnabledState

        protected void updateEnabledState()