Package org.eclipse.ui.internal
Class ActionSetActionBars
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.SubActionBars
org.eclipse.ui.SubActionBars2
org.eclipse.ui.internal.ActionSetActionBars
- All Implemented Interfaces:
IActionBars,IActionBars2
This class represents the action bars for an action set.
-
Field Summary
Fields inherited from class org.eclipse.ui.SubActionBars
P_ACTION_HANDLERS -
Constructor Summary
ConstructorsConstructorDescriptionActionSetActionBars(IActionBars2 parent, IServiceLocator serviceLocator, org.eclipse.ui.internal.provisional.application.IActionBarConfigurer2 actionBarConfigurer, String actionSetId) Constructs a new action bars object -
Method Summary
Modifier and TypeMethodDescriptionprotected SubMenuManagercreateSubMenuManager(IMenuManager parent) Returns a new sub menu manager.protected SubToolBarManagerReturns a new sub toolbar manager.voiddispose()Dispose the contributions.Returns a tool bar manager for this Item.getToolBarManager(String actionId) Returns the correct tool bar for the given action id.protected voidsetActive(boolean set) Activate / Deactivate the contributions.Methods inherited from class org.eclipse.ui.SubActionBars2
createSubCoolBarManager, getCastedParent, getCoolBarManagerMethods inherited from class org.eclipse.ui.SubActionBars
activate, activate, addPropertyChangeListener, basicSetActive, clearGlobalActionHandlers, deactivate, deactivate, fireActionHandlersChanged, firePropertyChange, getActive, getGlobalActionHandler, getGlobalActionHandlers, getMenuManager, getParent, getServiceLocator, getStatusLineManager, isSubMenuManagerCreated, isSubStatusLineManagerCreated, isSubToolBarManagerCreated, partChanged, removePropertyChangeListener, setGlobalActionHandler, setServiceLocator, updateActionBarsMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.ui.IActionBars
clearGlobalActionHandlers, getGlobalActionHandler, getMenuManager, getServiceLocator, getStatusLineManager, setGlobalActionHandler, updateActionBars
-
Constructor Details
-
ActionSetActionBars
public ActionSetActionBars(IActionBars2 parent, IServiceLocator serviceLocator, org.eclipse.ui.internal.provisional.application.IActionBarConfigurer2 actionBarConfigurer, String actionSetId) Constructs a new action bars object- Parameters:
parent- the parentserviceLocator- the serviceLocatoractionBarConfigurer- the actionBarConfigureractionSetId- actionSetId
-
-
Method Details
-
createSubMenuManager
Description copied from class:SubActionBarsReturns a new sub menu manager.- Overrides:
createSubMenuManagerin classSubActionBars- Parameters:
parent- the parent menu manager- Returns:
- the menu manager
-
createSubToolBarManager
Description copied from class:SubActionBarsReturns a new sub toolbar manager.- Overrides:
createSubToolBarManagerin classSubActionBars- Parameters:
parent- the parent toolbar manager- Returns:
- the tool bar manager
-
dispose
public void dispose()Dispose the contributions.- Overrides:
disposein classSubActionBars2
-
getToolBarManager
Returns a tool bar manager for this Item.- Specified by:
getToolBarManagerin interfaceIActionBars- Overrides:
getToolBarManagerin classSubActionBars- Returns:
- the tool bar manager
-
getToolBarManager
Returns the correct tool bar for the given action id. If this action is an adjunct type the it returns the toolbar manager from the cool bar manager.- Parameters:
actionId- the id of the action- Returns:
- the tool bar manager
-
setActive
protected void setActive(boolean set) Activate / Deactivate the contributions.- Overrides:
setActivein classSubActionBars2
-