Fill menu from plugin (programmatically) [message #333032] |
Thu, 20 November 2008 16:11 |
Eclipse User |
|
|
|
Hi all,
I'm just starting a new project using RCP+RAP
My plugins are organized as follows:
Core
Workbench [MainWindow, Menu, Toolbar]
RCP (depends on Core, Workbench) [AppRunner]
RAP (depends on Core, Workbench) [EntryPoint]
Manager (depends on Core) [Plugin w/ perspectives, views, editors, ...]
OtherManager (depends on Core) [Another Plugin, w/ perspectives, ...]
The application requires a login (done), then the main window is created
(prj Workbench) the base menu is created (File, Help).
Then in the Manager plugin I should load the user Menu, from db.
Two questions:
1. Where to put the loadNavigation logic? In the Activator?
2. How to update the Menubar? In the fillMenuBar in actionbaradvisor I
have created a «placeholder» like menuBar.add(new
GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
How to access and use it?
Thank you very much
Sorry for bad english
kindly
E. Dominguez
|
|
|
Powered by
FUDForum. Page generated in 0.07650 seconds