]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graphfile/src/org/simantics/graphfile/Activator.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.graphfile / src / org / simantics / graphfile / Activator.java
index 5341a19e759dfc9da56dff360ee9d3e92c7b2177..dc73a09065a73e19e05d007cdf8749bca332aba0 100644 (file)
@@ -1,53 +1,53 @@
-/*******************************************************************************\r
- * Copyright (c) 2013 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.graphfile;\r
-\r
-import org.eclipse.core.runtime.Plugin;\r
-import org.osgi.framework.BundleContext;\r
-\r
-public class Activator extends Plugin {\r
-\r
-       public static String PLUGIN_ID = "org.simantics.graphfile";\r
-\r
-       private static Activator activator;\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 = this;\r
-               Activator.context = bundleContext;\r
-               super.start(context);\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
-               super.stop(context);\r
-               Activator.context = null;\r
-               activator = null;\r
-       }\r
-\r
-       public static Activator getDefault() {\r
-               return activator;\r
-       }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2013 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.graphfile;
+
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleContext;
+
+public class Activator extends Plugin {
+
+       public static String PLUGIN_ID = "org.simantics.graphfile";
+
+       private static Activator activator;
+
+       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 = this;
+               Activator.context = bundleContext;
+               super.start(context);
+       }
+
+       /*
+        * (non-Javadoc)
+        * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+        */
+       public void stop(BundleContext bundleContext) throws Exception {
+               super.stop(context);
+               Activator.context = null;
+               activator = null;
+       }
+
+       public static Activator getDefault() {
+               return activator;
+       }
+
+}