Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse Application Toolbar (Coolbar) Problem.(Eclipse Application Toolbar (Coolbar) Problem.)
Eclipse Application Toolbar (Coolbar) Problem. [message #1110648] Tue, 17 September 2013 02:30
Harsha P is currently offline Harsha P
Messages: 3
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:
register(saveAction)
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 02:31]

Report message to a moderator

Previous Topic:ISO 9241?
Next Topic:Adding "standard" menu items to Eclipse RCP application?
Goto Forum:
  


Current Time: Mon Oct 07 22:56:34 EDT 2013

Powered by FUDForum. Page generated in 0.01324 seconds