Merge security.ui bundle in the cms.ui.workbench bundle
[lgpl/argeo-commons.git] / org.argeo.cms.ui.workbench / src / org / argeo / security / ui / admin / SecurityAdminPlugin.java
index f9c0ad9afef3da9cce2af73fafd1c259346b4691..7222f92342794dda09ac1c6fa0277e0b67972227 100644 (file)
  */
 package org.argeo.security.ui.admin;
 
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-public class SecurityAdminPlugin extends AbstractUIPlugin {
-       public static final String PLUGIN_ID = "org.argeo.security.ui.admin"; //$NON-NLS-1$
-       private static SecurityAdminPlugin plugin;
-       private static BundleContext bundleContext;
-
-       public SecurityAdminPlugin() {
-       }
-
-       public void start(BundleContext context) throws Exception {
-               super.start(context);
-               plugin = this;
-               bundleContext = context;
-       }
-
-       public void stop(BundleContext context) throws Exception {
-               plugin = null;
-               bundleContext = null;
-               super.stop(context);
-       }
-
-       public static SecurityAdminPlugin getDefault() {
-               return plugin;
-       }
-
-       public static BundleContext getBundleContext() {
-               return bundleContext;
-       }
-
-       public static ImageDescriptor getImageDescriptor(String path) {
-               return imageDescriptorFromPlugin(PLUGIN_ID, path);
-       }
-
-}
+public class SecurityAdminPlugin{}
+
+// public class SecurityAdminPlugin extends AbstractUIPlugin {
+//     public static final String PLUGIN_ID = "org.argeo.security.ui.admin"; //$NON-NLS-1$
+// private static SecurityAdminPlugin plugin;
+// private static BundleContext bundleContext;
+//
+// public SecurityAdminPlugin() {
+// }
+//
+// public void start(BundleContext context) throws Exception {
+// super.start(context);
+// plugin = this;
+// bundleContext = context;
+// }
+//
+// public void stop(BundleContext context) throws Exception {
+// plugin = null;
+// bundleContext = null;
+// super.stop(context);
+// }
+//
+// public static SecurityAdminPlugin getDefault() {
+// return plugin;
+// }
+//
+// public static BundleContext getBundleContext() {
+// return bundleContext;
+// }
+//
+// public static ImageDescriptor getImageDescriptor(String path) {
+// return imageDescriptorFromPlugin(PLUGIN_ID, path);
+// }
+//
+// }