- private ServiceRegistration<ApplicationConfiguration> registerWorkbench(
- WorkbenchApplicationConfiguration wac) {
- Hashtable<String, String> props = new Hashtable<String, String>();
- props.put(ApplicationLauncher.PROPERTY_CONTEXT_NAME, "ui");
- return bundleContext.registerService(ApplicationConfiguration.class,
- wac, props);
- }
+// private void registerWorkbench(final WorkbenchApplicationConfiguration wac) {
+// new Thread("Worbench Launcher") {
+// public void run() {
+// Hashtable<String, String> props = new Hashtable<String, String>();
+// props.put(ApplicationLauncher.PROPERTY_CONTEXT_NAME, "ui");
+// workbenchReg = bundleContext.registerService(
+// ApplicationConfiguration.class, wac, props);
+// }
+// }.start();
+// }