Summary: | [RCP] [Workbench] Enable WorkbenchWindow configuring the display position of Coolbar button's label | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Feng Dihai <fengdh> | ||||
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P5 | CC: | bokowski, ioana.negru | ||||
Version: | 3.1 | Keywords: | helpwanted | ||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Feng Dihai
2005-09-15 02:28:32 EDT
Created attachment 27151 [details]
Sample Image
There are currently no plans to do this but we would be happy to look at a patch According to Eclipse 3.2 or above, there is a new internal IToolBarManager2 interface which can be used to change caption position of Coolbar button. But I have to reference to some internal implementations to create my new PresentationFactory (also see Bug#169106 to get more information): import org.eclipse.jface.internal.provisional.action.IToolBarManager2; import org.eclipse.jface.internal.provisional.action.ToolBarManager2; import org.eclipse.ui.internal.provisional.presentations.IActionBarPresentationFactory; import org.eclipse.ui.presentations.WorkbenchPresentationFactory; ... public class MyPresentationFactory extends WorkbenchPresentationFactory implements IActionBarPresentationFactory { ... final public IToolBarManager2 createToolBarManager() { return new ToolBarManager2(SWT.FLAT | SWT.BOTTOM); } } (In reply to comment #2) > There are currently no plans to do this but we would be happy to look at a > patch > Prakash is now responsible for watching bugs in the [RCP] component area. |