]>
git.argeo.org Git - gpl/argeo-slc.git/blob - plugins/org.argeo.slc.akb.ui/src/main/java/org/argeo/slc/akb/ui/AkbUiPlugin.java
1 package org
.argeo
.slc
.akb
.ui
;
3 import org
.eclipse
.jface
.resource
.ImageDescriptor
;
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 AkbUiPlugin
extends AbstractUIPlugin
{
13 public static final String PLUGIN_ID
= "org.argeo.slc.akb.ui"; //$NON-NLS-1$
15 // The shared instance
16 private static AkbUiPlugin plugin
;
21 public AkbUiPlugin() {
28 * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
31 public void start(BundleContext context
) throws Exception
{
40 * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
43 public void stop(BundleContext context
) throws Exception
{
49 * Returns the shared instance
51 * @return the shared instance
53 public static AkbUiPlugin
getDefault() {
58 * Returns an image descriptor for the image file at the given plug-in
63 * @return the image descriptor
65 public static ImageDescriptor
getImageDescriptor(String path
) {
66 return imageDescriptorFromPlugin(PLUGIN_ID
, path
);