Class DtEditorActionBars

  • All Implemented Interfaces:
    org.eclipse.ui.IActionBars, org.eclipse.ui.IActionBars2

    public class DtEditorActionBars
    extends org.eclipse.ui.internal.EditorActionBars
    Special version of EditorActionBars to support global action handlers activation/deactivation in parent context.
    • Field Summary

      • Fields inherited from class org.eclipse.ui.SubActionBars

        P_ACTION_HANDLERS
    • Constructor Summary

      Constructors 
      Constructor Description
      DtEditorActionBars​(org.eclipse.ui.internal.WorkbenchPage page, org.eclipse.ui.services.IServiceLocator serviceLocator, String type)
      Instantiates a new DT editor action bars.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate​(boolean forceVisibility)  
      void deactivate​(boolean forceVisibility)  
      • Methods inherited from class org.eclipse.ui.internal.EditorActionBars

        addRef, createSubMenuManager, createSubToolBarManager, dispose, getEditorContributor, getEditorType, getExtensionContributor, getHandlerExpression, getPage, getRef, getToolBarManager, partChanged, removeRef, setEditorContributor, setExtensionContributor
      • Methods inherited from class org.eclipse.ui.SubActionBars2

        createSubCoolBarManager, getCastedParent, getCoolBarManager, setActive
      • Methods inherited from class org.eclipse.ui.SubActionBars

        activate, addPropertyChangeListener, basicSetActive, clearGlobalActionHandlers, deactivate, fireActionHandlersChanged, firePropertyChange, getActive, getGlobalActionHandler, getGlobalActionHandlers, getMenuManager, getParent, getServiceLocator, getStatusLineManager, isSubMenuManagerCreated, isSubStatusLineManagerCreated, isSubToolBarManagerCreated, removePropertyChangeListener, setGlobalActionHandler, setServiceLocator, updateActionBars
      • Methods inherited from class org.eclipse.core.commands.common.EventManager

        addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
      • Methods inherited from interface org.eclipse.ui.IActionBars

        clearGlobalActionHandlers, getGlobalActionHandler, getMenuManager, getServiceLocator, getStatusLineManager, setGlobalActionHandler, updateActionBars
    • Constructor Detail

      • DtEditorActionBars

        public DtEditorActionBars​(org.eclipse.ui.internal.WorkbenchPage page,
                                  org.eclipse.ui.services.IServiceLocator serviceLocator,
                                  String type)
        Instantiates a new DT editor action bars.
        Parameters:
        page - the page.
        serviceLocator - the service locator.
        type - the type.
    • Method Detail

      • activate

        public void activate​(boolean forceVisibility)
        Overrides:
        activate in class org.eclipse.ui.internal.EditorActionBars
      • deactivate

        public void deactivate​(boolean forceVisibility)
        Overrides:
        deactivate in class org.eclipse.ui.internal.EditorActionBars