|
|
|
|
|
|
|
|
Re: Running some code after initialization [message #1061829 is a reply to message #894956] |
Tue, 04 June 2013 09:46 |
Ozgur Cagdas Messages: 32 Registered: May 2013 |
Member |
|
|
@Christoph
It might be obvious for many but my Eclipse's auto completion for missing classes did initially mislead me, so below list of imports is required to use the suggested lifecyclehandler. Might be of help for somebody else as well.
import org.eclipse.e4.core.services.events.IEventBroker;
import org.eclipse.e4.ui.workbench.UIEvents;
import org.eclipse.e4.ui.workbench.lifecycle.PostContextCreate;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Shell;
import org.osgi.service.event.Event;
import org.osgi.service.event.EventHandler;
Thanks very much for the useful suggestion by the way.
Regards,
O.
[Updated on: Tue, 04 June 2013 09:48] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04541 seconds