Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to specify the toolbar's position?
How to specify the toolbar's position? [message #448226] Wed, 19 April 2006 08:59 Go to next message
Eclipse UserFriend
Hi, please look at the fllowing codes:

public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
...
protected void fillCoolBar(ICoolBarManager coolBar) {
IToolBarManager toolBar = new ToolBarManager(coolBar.getStyle());
coolBar.add(toolBar);
toolBar.add(action1);
toolBar.add(action2);

IToolBarManager toolBarEx = new ToolBarManager(coolBar.getStyle());
toolBarEx.add(action3);
coolBar.add(toolBarEx);
}
...
}

What I want is to place the <b>toolBarEx</b> in the second line in the coolBar, but by default, it is in the first line after the <b>toolBar</b>, so, how to speicify it?

Thanks.
Re: How to specify the toolbar's position? [message #449520 is a reply to message #448226] Mon, 15 May 2006 14:02 Go to previous message
Eclipse UserFriend
Hi

I have the same problem and, so far, was unable to solve it.

Somebody knows how to do it??

Thanks a lot
Previous Topic:RCP strange behavior using XMLDecoder
Next Topic:Linking file in project
Goto Forum:
  


Current Time: Sun Aug 31 02:45:59 EDT 2025

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

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

Back to the top