]> git.argeo.org Git - lgpl/argeo-commons.git/blob - eclipse/runtime/org.argeo.eclipse.ui.jcr/src/main/java/org/argeo/eclipse/ui/jcr/JcrUiPlugin.java
+ Fix a bug on file download for the generic JCR view
[lgpl/argeo-commons.git] / eclipse / runtime / org.argeo.eclipse.ui.jcr / src / main / java / org / argeo / eclipse / ui / jcr / JcrUiPlugin.java
1 package org.argeo.eclipse.ui.jcr;
2
3 import org.eclipse.jface.resource.ImageDescriptor;
4 import org.eclipse.ui.plugin.AbstractUIPlugin;
5 import org.osgi.framework.BundleContext;
6
7 public class JcrUiPlugin extends AbstractUIPlugin {
8 public final static String ID = "org.argeo.eclipse.ui.jcr";
9
10 private static JcrUiPlugin plugin;
11
12 public void start(BundleContext context) throws Exception {
13 super.start(context);
14 plugin = this;
15 }
16
17 public static JcrUiPlugin getDefault() {
18 return plugin;
19 }
20
21 public static ImageDescriptor getImageDescriptor(String path) {
22 return imageDescriptorFromPlugin(ID, path);
23 }
24
25 }