$search
00001 package org.best_of_robotics.transform.smach.to.python; 00002 00003 import org.eclipse.ui.plugin.AbstractUIPlugin; 00004 import org.osgi.framework.BundleContext; 00005 00006 public class Activator extends AbstractUIPlugin { 00007 // The plug-in ID 00008 public static final String PLUGIN_ID = "org.best_of_robotics.transform.smach.to.python"; //$NON-NLS-1$ 00009 00010 // The shared instance 00011 private static Activator plugin; 00012 00016 public Activator() { 00017 } 00018 00019 /* 00020 * (non-Javadoc) 00021 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) 00022 */ 00023 public void start(BundleContext context) throws Exception { 00024 super.start(context); 00025 plugin = this; 00026 } 00027 00028 /* 00029 * (non-Javadoc) 00030 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) 00031 */ 00032 public void stop(BundleContext context) throws Exception { 00033 plugin = null; 00034 super.stop(context); 00035 } 00036 00042 public static Activator getDefault() { 00043 return plugin; 00044 } 00045 }