Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » custom toolbar at bottom left using new API
custom toolbar at bottom left using new API [message #332625] Sun, 02 November 2008 23:57 Go to next message
Will Horn is currently offline Will HornFriend
Messages: 265
Registered: July 2009
Senior Member
I'm trying to add a toolbar using the org.eclipse.ui.menus extension
point without resorting to deprecated elements.

However, I have not been able to figure out how to get it at the extreme
left of the bottom trim. Using the deprecated group, this works:

<group
id="org.myGroup">
<location>
<bar type="trim"/>
<order position="before" relativeTo="status"/>
</location>
</group>

However, when I try to use menuContribution and the locationURI
toolbar:org.eclipse.ui.trim.status, my toolbar always ends up on the far
right. From what I can see debugging, there is
"org.eclipse.jface.action.StatusLineManager" and
"org.eclipse.ui.internal.progress.ProgressRegion" before my toolbar.
But I've tried various ?before= and ?after= concoctions and nothing
seems to make any difference. Is what I'm trying to do impossible
declaratively using the new API?
Re: custom toolbar at bottom left using new API [message #332643 is a reply to message #332625] Mon, 03 November 2008 13:03 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

toolbar:org.eclipse.ui.trim.status?before=org.eclipse.jface. action.StatusLineManager
should work (at least put it before the status line manager) ... if it
doesn't, please open a bug at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI&short_desc=[Trim]

Later,
PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Re: custom toolbar at bottom left using new API [message #332647 is a reply to message #332643] Mon, 03 November 2008 16:15 Go to previous message
Will Horn is currently offline Will HornFriend
Messages: 265
Registered: July 2009
Senior Member
Paul Webster wrote:
>
> toolbar:org.eclipse.ui.trim.status?before=org.eclipse.jface. action.StatusLineManager
> should work (at least put it before the status line manager) ... if it
> doesn't, please open a bug at
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI&short_desc=[Trim]

Thanks for the response. I've tried that to no effect. Neither
"before" nor "after" seem to get picked up. I created a bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=253232
Previous Topic:[ActivityMgmt] Infinite loop stemming from MutableActivityManager
Next Topic:How to handle changes outside workspace
Goto Forum:
  


Current Time: Wed Apr 24 18:42:22 GMT 2024

Powered by FUDForum. Page generated in 0.03865 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top