1 package org
.argeo
.slc
.client
.rap
;
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 SlcClientRapPlugin
extends AbstractUIPlugin
{
13 public static final String PLUGIN_ID
= "org.argeo.slc.client.rap"; //$NON-NLS-1$
15 // The shared instance
16 private static SlcClientRapPlugin plugin
;
21 public SlcClientRapPlugin() {
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 SlcClientRapPlugin
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
);