Help on Toolbar positioning [message #332689] |
Wed, 05 November 2008 10:57 |
Eclipse User |
|
|
|
Originally posted by: e.guidolotti.cons.vitrociset.it
I posted this problem in the RCP newsgroup without response, so I try in
this newsgroup :-)
******
Hi, I'm working with old Eclipse version 3.2.2 with Linux as OS.
How can I set toolbars position inside the coolbar ?
I need to show one toolbar on left side and the other on the right side
(like snapshot attached).
I can do this at runtime by mouse but is there a way by code ?
How can I make them fixed ( mouse repositioning disabled)?
protected void fillCoolBar(ICoolBarManager coolBar) {
IToolBarManager toolbar3 = new ToolBarManager(coolBar.getStyle());
coolBar.add(toolbar3);
toolbar3.add(exitAction);
IToolBarManager toolbar4 = new ToolBarManager(coolBar.getStyle());
coolBar.add(toolbar4);
toolbar4.add(exitAction);
}
Attachment: snapshot.JPG
(Size: 15.37KB, Downloaded 265 times)
|
|
|
Powered by
FUDForum. Page generated in 0.01951 seconds