|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ICoolBarManager interface provides protocol for managing contributions to a cool bar. A cool bar manager delegates responsibility for creating child controls to its contribution items by calling IContributionItem.fill(CoolBar, int).
This interface is internal to the framework; it should not be implemented outside the framework. This package provides a concrete cool bar manager implementation, CoolBarManager, which clients may instantiate or subclass.
Field Summary | |
static String | SIZE
Property name of a cool item's size (value "size"). |
Method Summary | |
void | add(IToolBarManager toolBarManager)
A convenience method to add a tool bar as a contribution item to this cool bar manager. |
IMenuManager | getContextMenuManager()
Returns the context menu manager used by this cool bar manager. |
boolean | getLockLayout()
Returns whether the layout of the underlying cool bar widget is locked. |
int | getStyle()
Returns the style of the underlying cool bar widget. |
void | setContextMenuManager(IMenuManager menuManager)
Sets the context menu of this cool bar manager to the given menu manager. |
void | setLockLayout(boolean value)
Locks or unlocks the layout of the underlying cool bar widget. |
Methods inherited from interface org.eclipse.jface.action.IContributionManager |
add, add, appendToGroup, appendToGroup, find, getItems, getOverrides, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, markDirty, prependToGroup, prependToGroup, remove, remove, removeAll, update |
Field Detail |
public static final String SIZE
The cool bar manager uses this property to tell its cool items to update their size.
Method Detail |
public void add(IToolBarManager toolBarManager)
public IMenuManager getContextMenuManager()
public boolean getLockLayout()
public int getStyle()
public void setContextMenuManager(IMenuManager menuManager)
public void setLockLayout(boolean value)
Note that items can be added or removed programmatically even while the cool bar is locked.
|
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.