1 package org.simantics.views.swt;
\r
3 import org.osgi.framework.BundleActivator;
\r
4 import org.osgi.framework.BundleContext;
\r
6 public class Activator implements BundleActivator {
\r
8 public static final String PLUGIN_ID = "org.simantics.views.swt";
\r
10 private static BundleContext context;
\r
12 static BundleContext getContext() {
\r
18 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
\r
20 public void start(BundleContext bundleContext) throws Exception {
\r
21 Activator.context = bundleContext;
\r
26 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
\r
28 public void stop(BundleContext bundleContext) throws Exception {
\r
29 Activator.context = null;
\r