Update internal packages export in LTTng 2.0 control + update java doc
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / Activator.java
index 1b92b9844f67c308f6f91cee1e1af81e7429a433..800abc0f1dd4799048a35a00fe058bd7e9d91c56 100644 (file)
@@ -16,6 +16,7 @@ import java.net.URL;
 
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.jface.resource.ImageRegistry;
+import org.eclipse.linuxtools.internal.lttng2.ui.views.control.preferences.ControlPreferences;
 import org.eclipse.swt.graphics.Image;
 import org.eclipse.ui.plugin.AbstractUIPlugin;
 import org.osgi.framework.BundleContext;
@@ -73,6 +74,7 @@ public class Activator extends AbstractUIPlugin {
     public void start(BundleContext context) throws Exception {
         super.start(context);
         plugin = this;
+        ControlPreferences.getInstance().init(getPreferenceStore());
     }
 
     /* (non-Javadoc)
@@ -80,6 +82,7 @@ public class Activator extends AbstractUIPlugin {
      */
     @Override
     public void stop(BundleContext context) throws Exception {
+        ControlPreferences.getInstance().dispose();
         plugin = null;
         super.stop(context);
     }
This page took 0.024781 seconds and 5 git commands to generate.