Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How do i lock a toolbar in an extension point?
How do i lock a toolbar in an extension point? [message #487112] Mon, 21 September 2009 23:29 Go to next message
Robert Lewis is currently offline Robert LewisFriend
Messages: 24
Registered: July 2009
Junior Member
I have a plugin that created a custom toolbar, which is represented as an extension point. When new toolbars show up, they push the custom toolbar around. I would like to lock it in one place so it does not move, how do i do this?

my toolbar location URI is: locationURI="menu:org.eclipse.ui.main.menu?after=additions"

Any help is appreciated

-Rob

[Updated on: Mon, 21 September 2009 23:31]

Report message to a moderator

Re: How do i lock a toolbar in an extension point? [message #494460 is a reply to message #487112] Fri, 30 October 2009 17:47 Go to previous message
Artur Kronenberg is currently offline Artur KronenbergFriend
Messages: 159
Registered: August 2009
Senior Member
If you set your toolbar after additions and eclipse plugins register their points after a certain entry, additions get moved so yours get moved to.

You can specify your menu e.g. next to the save menu and it will be locked there since the save menu is locked by eclipse.

All ids can be looked up in this class:

IWorkbenchActionsConstants
Previous Topic:Building org.eclipse.epp.package.java
Next Topic:How do i lock a toolbar in an extension point?
Goto Forum:
  


Current Time: Thu Aug 06 14:11:15 GMT 2020

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

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

Back to the top