]> git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/DistPlugin.java
Clarify overall project structure.
[gpl/argeo-slc.git] / legacy / org.argeo.slc.client.ui.dist / src / org / argeo / slc / client / ui / dist / DistPlugin.java
1 package org.argeo.slc.client.ui.dist;
2
3 import org.eclipse.jface.resource.ImageDescriptor;
4 import org.eclipse.ui.plugin.AbstractUIPlugin;
5 import org.osgi.framework.BundleContext;
6
7 /** Default activator for the distribution bundle */
8 public class DistPlugin extends AbstractUIPlugin {
9 public final static String PLUGIN_ID = "org.argeo.slc.client.ui.dist";
10
11 private static DistPlugin plugin;
12
13 public void start(BundleContext context) throws Exception {
14 super.start(context);
15 plugin = this;
16 }
17
18 public static DistPlugin getDefault() {
19 return plugin;
20 }
21
22 public static ImageDescriptor getImageDescriptor(String path) {
23 return imageDescriptorFromPlugin(PLUGIN_ID, path);
24 }
25
26 }