Migrate RCP toolbar code from m5 to m7 [message #198113] |
Thu, 19 February 2004 19:46  |
Eclipse User |
|
|
|
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] |
Thu, 19 February 2004 23:07  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03398 seconds