blob: a7717c73e47c0dfd07bcc0fff27a51e8af4f86f2 [file] [log] [blame]
package org.eclipse.egf.fprod.producer;
import org.eclipse.egf.common.activator.EGFAbstractPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class EGFFprodProducerPlugin extends EGFAbstractPlugin {
/**
* The shared instance
*/
private static EGFFprodProducerPlugin __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 EGFFprodProducerPlugin getDefault() {
return __plugin;
}
}