Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Add Action To End Of Toolbar Group
Add Action To End Of Toolbar Group [message #313191] Tue, 06 March 2007 19:53
Eclipse UserFriend
Originally posted by: jwhitlock.collab.net

Hi All,
I am currently working on adding an "Expand All" button to the
Synchronize view for Subclipse. Here is the issue so you can see the
patch I've created thus far:

http://subclipse.tigris.org/issues/show_bug.cgi?id=591

Basically, I have followed the org.eclipse.team.ui approach by creating a
SynchronizePageActionGroup and running
ISynchronizePageConfiguration.addActionContribution(myAction Group). The
problem is that my toolbar contribution is added before the other toolbar
contributions instead of at the end. How can I add a toolbar contribution
to a particular location or at least to the end of the toolbar group?
Here is more code:

/*
* (non-Javadoc)
* @see
org.eclipse.team.ui.synchronize.SynchronizePageActionGroup#f illActionBars(org.eclipse.ui.IActionBars)
*/
public void fillActionBars(IActionBars actionBars) {
IToolBarManager manager = actionBars.getToolBarManager();

appendToGroup(manager, ISynchronizePageConfiguration.NAVIGATE_GROUP,
expandAllAction);
}

Take care,

Jeremy
Previous Topic:[Plugin Dev] Customizing Workspace Chooser
Next Topic:Classpath presets
Goto Forum:
  


Current Time: Sun Jul 06 09:04:17 EDT 2025

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

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

Back to the top