How to specify the toolbar's position? [message #448226] |
Wed, 19 April 2006 08:59  |
Eclipse User |
|
|
|
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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02397 seconds