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