Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » application model changes via fragment at startup
application model changes via fragment at startup [message #1004686] Wed, 23 January 2013 17:00 Go to next message
Jan Weidauer is currently offline Jan WeidauerFriend
Messages: 49
Registered: July 2009
Member
My RCP tries to install new plugins at startup following an external
configuration. These plugins are supposed to contribute to the
application model.
In Eclipse 3.x the RCP restarted the workbench after the installation.
In E4 I am trying to do the same but found no way. Starting the
installation of new plugins in a class hooked to the lifecycle is too
soon to close the workbench because the workbench is not created at this
time.
What I need is a way to get the newly added plugins involved during the
startup process or a way I get noticed when the workbench is created.

Any ideas?

Jan
Re: application model changes via fragment at startup [message #1005440 is a reply to message #1004686] Fri, 25 January 2013 13:03 Go to previous message
Eclipse UserFriend
Use a model processor: see the org.eclipse.e4.workbench.model extension point or the following page:

http://wiki.eclipse.org/Eclipse4/RCP/Modeled_UI/Contributing_to_the_Model

Brian,
Previous Topic:How to add a new view with a fragment
Next Topic:Testing E4 components injection in a simple Java class
Goto Forum:
  


Current Time: Thu Sep 26 11:11:16 GMT 2024

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

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

Back to the top