| java.lang.Object org.eclipse.ui.internal.menus.TrimBarManager2
TrimBarManager2 | public class TrimBarManager2 (Code) | |
An implementation that supports 'trim' elements defined in using the
org.eclipse.ui.menus extension point.
This class is not intended to be used outside of the
org.eclipse.ui.workbench plug-in.
since: 3.2 |
Method Summary | |
public void | dispose() unhook the menu service. | public void | update(boolean force, boolean recursive, boolean hideTopTrim) Hacked version of the update method that allows the hiding of any trim
sited at SWT.TOP. | public void | update(boolean force, boolean recursive) Copied from the MenuManager method... | public void | updateLocations(List knownIds) Updates the placement of any contributed trim that is -not- in the
'knownIds' list (which indicates that it has already been placed using
cached workspace data. |
swtSides | int[] swtSides(Code) | | The SWT 'side' corresponding to a URI
|
TrimBarManager2 | public TrimBarManager2(WorkbenchWindow window)(Code) | | Constructs a new instance of TrimBarManager .
Parameters: window - The window on which this menu manager exists; must not benull . |
dispose | public void dispose()(Code) | | unhook the menu service.
|
update | public void update(boolean force, boolean recursive, boolean hideTopTrim)(Code) | | Hacked version of the update method that allows the hiding of any trim
sited at SWT.TOP. This is because the Intro management wants there to be
no trim at the top but can only currently indicate this by using the
CoolBar's visibility...
Parameters: force - Parameters: recursive - Parameters: hideTopTrim - |
update | public void update(boolean force, boolean recursive)(Code) | | Copied from the MenuManager method...
Parameters: force - If true then do the update even if not 'dirty' Parameters: recursive - Update recursively See Also: org.eclipse.jface.action.MenuManager.update(booleanboolean) |
updateLocations | public void updateLocations(List knownIds)(Code) | | Updates the placement of any contributed trim that is -not- in the
'knownIds' list (which indicates that it has already been placed using
cached workspace data.
Forward on to the bulder for implementation
|
|
|