blob: 8d77ac2695dd7bc19f30684ff95a81cd1800e289 [file] [log] [blame]
package org.eclipse.egf.producer.fprod;
import org.eclipse.egf.common.activator.EGFAbstractPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class EGFProducerFprodPlugin extends EGFAbstractPlugin {
/**
* The shared instance
*/
private static EGFProducerFprodPlugin __plugin;
/**
* (non-Javadoc)
*
* @see org.eclipse.core.runtime.Plugin#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 {
super.stop(context);
__plugin = null;
}
/**
* Returns the shared instance
*
* @return the shared instance
*/
public static EGFProducerFprodPlugin getDefault() {
return __plugin;
}
}