Class AbstractOverlayAction

    • Constructor Detail

      • AbstractOverlayAction

        protected AbstractOverlayAction()
    • Method Detail

      • updateActionState

        protected void updateActionState()
      • 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
      • getToolbarPresenter

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

        protected abstract void initActionProperties()
      • getActionSelectionState

        protected abstract boolean getActionSelectionState​(ProductSceneView view)
        Compute the state of a ProductSceneView that is selected.
        Parameters:
        view - // get the selected productSceneView
        Returns:
        // return the state of the Overlay within the ProductSceneView
      • getActionEnabledState

        protected abstract boolean getActionEnabledState​(ProductSceneView view)
      • setOverlayEnableState

        protected abstract void setOverlayEnableState​(ProductSceneView view)
      • getSelectedProductSceneView

        protected ProductSceneView getSelectedProductSceneView()
      • isSelected

        protected boolean isSelected()