1 package eu
.etaxonomy
.taxeditor
;
3 import org
.apache
.log4j
.Logger
;
4 import org
.eclipse
.ui
.plugin
.AbstractUIPlugin
;
5 import org
.osgi
.framework
.BundleContext
;
8 * The activator class controls the plug-in life cycle
10 public class TaxonomicEditorPlugin
extends AbstractUIPlugin
{
11 private static final Logger logger
= Logger
12 .getLogger(TaxonomicEditorPlugin
.class);
15 public static final String PLUGIN_ID
= "eu.etaxonomy.taxeditor.application";
17 // The shared instance
18 private static TaxonomicEditorPlugin plugin
;
23 public TaxonomicEditorPlugin() {
28 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
30 public void start(BundleContext context
) throws Exception
{
33 logger
.debug("Taxonomic Editor started.");
38 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
40 public void stop(BundleContext context
) throws Exception
{
43 logger
.debug("Taxonomic Editor stopped.");
47 * Returns the shared instance
49 * @return the shared instance
51 public static TaxonomicEditorPlugin
getDefault() {