Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Help on Toolbar positioning
Help on Toolbar positioning [message #332689] Wed, 05 November 2008 10:57
Eclipse UserFriend
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 255 times)
Previous Topic:External Jars of an IProject
Next Topic:Override Open Action in Resource Navigator
Goto Forum:
  


Current Time: Tue Jul 16 10:19:36 GMT 2024

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

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

Back to the top