How to register an Event Broker at startup [message #1100482] |
Tue, 03 September 2013 07:05 |
|
Hey all,
i want to register at startup of my application. I already have a LifecycleManager registered but this LifecycleManager is responsible to show the Login Dialog (as shown in the Vogella example) and i dont want to put additional functions there.
So what can i do? I tried to add a second LifeCycleManager but this doesn´t work (my first one will be disabled), can i add something like an initializer like in Eclipse 3.8 ? Any other ideas ?
Thanks for any help
Thomas
|
|
|
|
Re: How to register an Event Broker at startup [message #1100506 is a reply to message #1100503] |
Tue, 03 September 2013 07:37 |
|
Hi Christoph,
thanks for you help, i also found this solution, but i didnt found a tutorial and my solution doesnt work. What i´ve done is:
- create and register a fragment
- create a model fragment and add an "Addon" for id "org.eclipse.e4.core.commands.service" (i dont think this is correct but which id do i have to use?)
- create a class having a method with @PostConstruct annotation.
The class is never called so something must be wrong.
Thanks for further help.
Thomas
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03750 seconds