package org.argeo.eclipse.ui.jcr; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; public class JcrUiPlugin extends AbstractUIPlugin { public final static String ID = "org.argeo.eclipse.ui.jcr"; private static JcrUiPlugin plugin; public void start(BundleContext context) throws Exception { super.start(context); plugin = this; } public static JcrUiPlugin getDefault() { return plugin; } public static ImageDescriptor getImageDescriptor(String path) { return imageDescriptorFromPlugin(ID, path); } }