]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.ui.launch/src/main/java/org/argeo/slc/ui/launch/SlcUiLaunchPlugin.java
Remove warnings
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.ui.launch / src / main / java / org / argeo / slc / ui / launch / SlcUiLaunchPlugin.java
1 package org.argeo.slc.ui.launch;
2
3 import org.eclipse.ui.plugin.AbstractUIPlugin;
4 import org.osgi.framework.BundleContext;
5
6 /**
7 * The activator class controls the plug-in life cycle
8 */
9 public class SlcUiLaunchPlugin extends AbstractUIPlugin {
10
11 // The plug-in ID
12 public static final String ID = "org.argeo.slc.ui.launch";
13
14 // The shared instance
15 private static SlcUiLaunchPlugin plugin;
16
17 /**
18 * The constructor
19 */
20 public SlcUiLaunchPlugin() {
21 }
22
23 @Override
24 public void start(BundleContext context) throws Exception {
25 super.start(context);
26 plugin = this;
27 }
28
29 @Override
30 public void stop(BundleContext context) throws Exception {
31 plugin = null;
32 super.stop(context);
33 }
34
35 /**
36 * Returns the shared instance
37 *
38 * @return the shared instance
39 */
40 public static SlcUiLaunchPlugin getDefault() {
41 return plugin;
42 }
43
44 }