[jboss-cvs] jbosside/freemarker/plugins/org.jboss.ide.eclipse.freemarker/src/freemarker_ide ...
Joe Hudson
jhudson8 at belmont.prod.atl2.jboss.com
Tue Aug 29 17:10:59 EDT 2006
User: jhudson8
Date: 06/08/29 17:10:59
Added: freemarker/plugins/org.jboss.ide.eclipse.freemarker/src/freemarker_ide
Activator.java
Log:
Revision Changes Path
1.1 date: 2006/08/29 21:10:59; author: jhudson8; state: Exp;jbosside/freemarker/plugins/org.jboss.ide.eclipse.freemarker/src/freemarker_ide/Activator.java
Index: Activator.java
===================================================================
package freemarker_ide;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends AbstractUIPlugin {
// The plug-in ID
public static final String PLUGIN_ID = "Freemarker_IDE";
// The shared instance
private static Activator plugin;
/**
* The constructor
*/
public Activator() {
plugin = this;
}
/*
* (non-Javadoc)
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {
super.start(context);
}
/*
* (non-Javadoc)
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
}
/**
* Returns the shared instance
*
* @return the shared instance
*/
public static Activator getDefault() {
return plugin;
}
}
More information about the jboss-cvs-commits
mailing list