|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.SubActionBars
org.eclipse.ui.SubActionBars2
A implementation of the extended IActionBars2
interface. This sub class
provides a sub cool bar manager for plugins to contribute multiple cool items.
Field Summary |
Fields inherited from class org.eclipse.ui.SubActionBars |
P_ACTION_HANDLERS |
Constructor Summary | |
SubActionBars2(IActionBars2 parent)
Constucts a sub action bars object using an IActionBars2 parent. |
Method Summary | |
protected SubCoolBarManager |
createSubCoolBarManager(ICoolBarManager parent)
Returns a new sub coolbar manager. |
void |
dispose()
Dispose the contributions. |
protected IActionBars2 |
getCastedParent()
Returns the casted parent of the sub action bars. |
ICoolBarManager |
getCoolBarManager()
Returns the cool bar manager. |
protected void |
setActive(boolean value)
Activate / deactivate the contributions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IActionBars |
clearGlobalActionHandlers, getGlobalActionHandler, getMenuManager, getStatusLineManager, getToolBarManager, setGlobalActionHandler, updateActionBars |
Constructor Detail |
public SubActionBars2(IActionBars2 parent)
parent
- the action bars to vitualize.Method Detail |
protected IActionBars2 getCastedParent()
protected SubCoolBarManager createSubCoolBarManager(ICoolBarManager parent)
parent
- the parent coolbar manager
public ICoolBarManager getCoolBarManager()
IActionBars2
Note: Clients who add or remove items from the returned cool bar manager are
responsible for calling updateActionBars
so that the changes
can be propagated throughout the workbench.
getCoolBarManager
in interface IActionBars2
protected void setActive(boolean value)
SubActionBars
setActive
in class SubActionBars
public void dispose()
SubActionBars
dispose
in class SubActionBars
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.