]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java
b5e9af31dff751b16a724ce023463b262639b66f
1 package org
.argeo
.eclipse
.ui
.jcr
.explorer
;
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 JcrExplorerPlugin
extends AbstractUIPlugin
{
13 public static final String ID
= "org.argeo.jcr.ui.explorer"; //$NON-NLS-1$
15 // The shared instance
16 private static JcrExplorerPlugin plugin
;
21 public JcrExplorerPlugin() {
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 JcrExplorerPlugin
getDefault() {
57 public static ImageDescriptor
getImageDescriptor(String path
) {
58 return imageDescriptorFromPlugin(ID
, path
);