use of org.eclipse.osgi.service.runnable.ApplicationRunnable in project equinox.bundles by eclipse-equinox.
the class MainApplicationLauncher method run.
@Override
public Object run(Object context) throws Exception {
appContainer.startDefaultApp(false);
ApplicationRunnable mainHandle = getMainHandle();
if (mainHandle != null)
return mainHandle.run(context);
throw new ApplicationException(ApplicationException.APPLICATION_INTERNAL_ERROR, Messages.application_noIdFound);
}
Aggregations