3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.printpublisher
.internal
;
13 import org
.apache
.log4j
.Logger
;
14 import org
.eclipse
.ui
.plugin
.AbstractUIPlugin
;
15 import org
.osgi
.framework
.BundleContext
;
19 * @created Jul 15, 2010
22 public class PrintpublisherPlugin
extends AbstractUIPlugin
{
23 private static final Logger logger
= Logger
24 .getLogger(PrintpublisherPlugin
.class);
27 public static final String PLUGIN_ID
= "eu.etaxonomy.taxeditor.editor";
29 // The shared instance
30 private static PrintpublisherPlugin plugin
;
35 public PrintpublisherPlugin() {
40 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
42 public void start(BundleContext context
) throws Exception
{
45 logger
.trace("Plugin started: " + this.getBundle().getSymbolicName());
50 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
52 public void stop(BundleContext context
) throws Exception
{
55 logger
.trace("Plugin stopped");
59 * Returns the shared instance
61 * @return the shared instance
63 public static PrintpublisherPlugin
getDefault() {