Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Migrate RCP toolbar code from m5 to m7
Migrate RCP toolbar code from m5 to m7 [message #198113] Fri, 20 February 2004 00:46 Go to next message
Eclipse UserFriend
Originally posted by: moopa06.ca.com

I have this code in RCP app that works under m5, doesnt compile under m7
Can an RCP guru tell me what I need to do please. In my fillActionBars
method of Advisor

IToolBarManager tBarMgr =
configurer.addToolBar(IWorkbenchActionConstants.TOOLBAR_FILE );
configurer.addToolBarGroup(tBarMgr, IWorkbenchActionConstants.NEW_GROUP,
true);
configurer.addToolBarGroup(tBarMgr, IWorkbenchActionConstants.NEW_EXT,
false);
configurer.addToolBarGroup(tBarMgr, IWorkbenchActionConstants.SAVE_GROUP,
false);

configurer is IActionBarConfigurer
Re: Migrate RCP toolbar code from m5 to m7 [message #198201 is a reply to message #198113] Fri, 20 February 2004 04:07 Go to previous message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

You want configurer.getCoolBarManager().

--
Ed Burnette, co-author, Eclipse in Action
www.eclipsepowered.org

"paul moore" <moopa06@ca.com> wrote in message
news:c13lde$apk$1@eclipse.org...
> I have this code in RCP app that works under m5, doesnt compile under m7
> Can an RCP guru tell me what I need to do please. In my fillActionBars
> method of Advisor
>
> IToolBarManager tBarMgr =
> configurer.addToolBar(IWorkbenchActionConstants.TOOLBAR_FILE );
> configurer.addToolBarGroup(tBarMgr, IWorkbenchActionConstants.NEW_GROUP,
> true);
> configurer.addToolBarGroup(tBarMgr, IWorkbenchActionConstants.NEW_EXT,
> false);
> configurer.addToolBarGroup(tBarMgr, IWorkbenchActionConstants.SAVE_GROUP,
> false);
>
> configurer is IActionBarConfigurer
>
Previous Topic:[RCP][M7] Menus created in WorkbenchAdvisor's fillActionBars are not displayed anymore
Next Topic:markerImageProviders doesn't work since "ide"
Goto Forum:
  


Current Time: Wed Jul 03 17:20:48 GMT 2024

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

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

Back to the top