]>
git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.rcp/src/main/java/org/argeo/slc/client/rcp/ClientRcpPlugin.java
d59018d3e8ca83e85f27c8c1cc254d356a6c3212
1 package org
.argeo
.slc
.client
.rcp
;
3 import org
.eclipse
.jface
.resource
.ImageDescriptor
;
4 import org
.eclipse
.jface
.resource
.ImageRegistry
;
5 import org
.eclipse
.ui
.plugin
.AbstractUIPlugin
;
6 import org
.osgi
.framework
.BundleContext
;
9 * The activator class controls the plug-in life cycle
11 public class ClientRcpPlugin
extends AbstractUIPlugin
{
12 public static final String PLUGIN_ID
= "org.argeo.slc.client.rcp";
13 private static ClientRcpPlugin plugin
;
15 public void start(BundleContext context
) throws Exception
{
20 public void stop(BundleContext context
) throws Exception
{
25 public static ClientRcpPlugin
getDefault() {
30 protected void initializeImageRegistry(ImageRegistry reg
) {
31 // TODO make it configurable
32 reg
.put("argeoTrayIcon",
33 getImageDescriptor("icons/argeo-trayIcon-256.png"));
36 public static ImageDescriptor
getImageDescriptor(String path
) {
37 return imageDescriptorFromPlugin(PLUGIN_ID
, path
);