X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scenegraph.profile%2Fsrc%2Forg%2Fsimantics%2Fscenegraph%2Fprofile%2Fimpl%2FActivator.java;h=1efd84120af6c43c5bc8bea5cde87d1d51c2c91d;hp=d0540a0c88f048abfd2d7d699a0fa048dfc458fa;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/impl/Activator.java b/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/impl/Activator.java index d0540a0c8..1efd84120 100644 --- a/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/impl/Activator.java +++ b/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/impl/Activator.java @@ -1,44 +1,44 @@ -package org.simantics.scenegraph.profile.impl; -import org.eclipse.core.runtime.Plugin; -import org.osgi.framework.BundleContext; - - - -public class Activator extends Plugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.simantics.scenegraph.profile"; - - // The shared instance - private static Activator plugin; - - /* - * (non-Javadoc) - * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) - */ - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - /* - * (non-Javadoc) - * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) - */ - @Override - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - -} +package org.simantics.scenegraph.profile.impl; +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; + + + +public class Activator extends Plugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.simantics.scenegraph.profile"; + + // The shared instance + private static Activator plugin; + + /* + * (non-Javadoc) + * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) + */ + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + */ + @Override + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +}