-package org.simantics.spreadsheet.fileimport;\r
-\r
-import org.osgi.framework.BundleActivator;\r
-import org.osgi.framework.BundleContext;\r
-\r
-public class Activator implements BundleActivator {\r
-\r
- private static BundleContext context;\r
-\r
- static BundleContext getContext() {\r
- return context;\r
- }\r
-\r
- /*\r
- * (non-Javadoc)\r
- * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)\r
- */\r
- public void start(BundleContext bundleContext) throws Exception {\r
- Activator.context = bundleContext;\r
- }\r
-\r
- /*\r
- * (non-Javadoc)\r
- * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)\r
- */\r
- public void stop(BundleContext bundleContext) throws Exception {\r
- Activator.context = null;\r
- }\r
-\r
-}\r
+package org.simantics.spreadsheet.fileimport;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+public class Activator implements BundleActivator {
+
+ private static BundleContext context;
+
+ static BundleContext getContext() {
+ return context;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext bundleContext) throws Exception {
+ Activator.context = bundleContext;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext bundleContext) throws Exception {
+ Activator.context = null;
+ }
+
+}