Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Fill menu from plugin (programmatically)
Fill menu from plugin (programmatically) [message #333032] Thu, 20 November 2008 16:11
Elvis Dominguez is currently offline Elvis DominguezFriend
Messages: 52
Registered: July 2009
Location: Switzerland
Member
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
Previous Topic:Resource out of sync with the filesystem in multipage editor
Next Topic:why is org.eclipse.tomcat removed?
Goto Forum:
  


Current Time: Fri Apr 26 18:53:45 GMT 2024

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

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

Back to the top