Eclipse Application Toolbar (Coolbar) Problem. [message #1110648] |
Tue, 17 September 2013 06:30 |
Harsha P Messages: 4 Registered: September 2013 |
Junior Member |
|
|
I have written a eclipse application, rcp application and now i am trying to add all actions(coolbar icons) present in eclipse to my application but however the coolbar has alignment problem !! i have attached the image of the problem.
Yes i have setShowCoolBar(true);
I Used code like this:
public fillCoolBar(ICoolBarManager coolbar){
IToolBarManager fileToolbar1 = new ToolBarManager();
fileToolbar1.add(new Separator(IWorkbenchActionConstants.NEW_GROUP));
fileToolbar1.add(saveAction);
coolbar.add(fileToobar1);
coolbar.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
}
Above saveAction is obtained from:
ActionFactory.SAVE.create(window)
I have also registered these actions as:
in the makeActions(IWorkbenchWindow) function.
Also the icons are not movable!
I am using eclipse rcp juno SR2.
Any help is appreciated.
Thanks in advance
[Updated on: Tue, 17 September 2013 06:31] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02879 seconds