Activator.java
Go to the documentation of this file.
00001 package org.best_of_robotics.transform.bcmx.to.ros;
00002 
00003 import org.eclipse.ui.plugin.AbstractUIPlugin;
00004 import org.osgi.framework.BundleContext;
00005 
00009 public class Activator extends AbstractUIPlugin {
00010 
00011         // The plug-in ID
00012         public static final String PLUGIN_ID = "org.best_of_robotics.transform.bcmx.to.ros"; //$NON-NLS-1$
00013 
00014         // The shared instance
00015         private static Activator plugin;
00016         
00020         public Activator() {
00021         }
00022 
00023         /*
00024          * (non-Javadoc)
00025          * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
00026          */
00027         public void start(BundleContext context) throws Exception {
00028                 super.start(context);
00029                 plugin = this;
00030         }
00031 
00032         /*
00033          * (non-Javadoc)
00034          * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
00035          */
00036         public void stop(BundleContext context) throws Exception {
00037                 plugin = null;
00038                 super.stop(context);
00039         }
00040 
00046         public static Activator getDefault() {
00047                 return plugin;
00048         }
00049 
00050 }


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Sun Oct 5 2014 22:38:34