Author: scabanovich
Date: 2012-01-24 19:14:54 -0500 (Tue, 24 Jan 2012)
New Revision: 38144
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/JsfTemplatePlugin.java
Log:
JBIDE-10703
https://issues.jboss.org/browse/JBIDE-10703
JsfTemplatePlugin is modified to follow the common pattern.
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/JsfTemplatePlugin.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/JsfTemplatePlugin.java 2012-01-25
00:13:26 UTC (rev 38143)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/JsfTemplatePlugin.java 2012-01-25
00:14:54 UTC (rev 38144)
@@ -1,12 +1,6 @@
package org.jboss.tools.jsf.vpe.jsf;
-import java.net.URL;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.Platform;
import org.jboss.tools.common.log.BaseUIPlugin;
-import org.osgi.framework.Bundle;
-import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
@@ -23,28 +17,9 @@
* The constructor
*/
public JsfTemplatePlugin() {
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
plugin = this;
}
- /*
- * (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
*