]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.workbench/src/org/simantics/workbench/internal/Activator.java
Simantics Console
[simantics/platform.git] / bundles / org.simantics.workbench / src / org / simantics / workbench / internal / Activator.java
index db6cdac8005aa0bc5de354010e2222b34721988c..95ab9929935addc7a3a5c9ed8fa09fa00b6bcf22 100644 (file)
@@ -16,6 +16,7 @@ import org.eclipse.core.runtime.Status;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.ui.plugin.AbstractUIPlugin;
 import org.osgi.framework.BundleContext;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.ui.plugin.AbstractUIPlugin;
 import org.osgi.framework.BundleContext;
+import org.simantics.internal.UnhandledExceptionServiceImpl;
 import org.simantics.ui.workbench.WorkbenchShutdownServiceImpl;
 
 /**
 import org.simantics.ui.workbench.WorkbenchShutdownServiceImpl;
 
 /**
@@ -39,6 +40,7 @@ public class Activator extends AbstractUIPlugin {
     public void start(BundleContext context) throws Exception {
 
         WorkbenchShutdownServiceImpl.initialize(context);
     public void start(BundleContext context) throws Exception {
 
         WorkbenchShutdownServiceImpl.initialize(context);
+        UnhandledExceptionServiceImpl.initialize(context);
 
         super.start(context);
 
 
         super.start(context);
 
@@ -51,6 +53,7 @@ public class Activator extends AbstractUIPlugin {
     public void stop(BundleContext context) throws Exception {
 
         WorkbenchShutdownServiceImpl.close();
     public void stop(BundleContext context) throws Exception {
 
         WorkbenchShutdownServiceImpl.close();
+        UnhandledExceptionServiceImpl.close();
 
         super.stop(context);
 
 
         super.stop(context);