1 package org.simantics.interop.mapping.internal;
\r
3 import org.eclipse.ui.plugin.AbstractUIPlugin;
\r
4 import org.osgi.framework.BundleContext;
\r
7 * The activator class controls the plug-in life cycle
\r
9 public class Activator extends AbstractUIPlugin {
\r
12 public static final String PLUGIN_ID = "org.simantics.interop.mapping"; //$NON-NLS-1$
\r
14 // The shared instance
\r
15 private static Activator plugin;
\r
20 public Activator() {
\r
25 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
\r
27 public void start(BundleContext context) throws Exception {
\r
28 super.start(context);
\r
34 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
\r
36 public void stop(BundleContext context) throws Exception {
\r
38 super.stop(context);
\r
42 * Returns the shared instance
\r
44 * @return the shared instance
\r
46 public static Activator getDefault() {
\r