]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/WorkbenchUiPlugin.java
Minor enhancements on the data explorer perspective
[lgpl/argeo-commons.git] / org.argeo.cms.ui.workbench / src / org / argeo / cms / ui / workbench / WorkbenchUiPlugin.java
index a4e5ac39484d041b06d30649ac5aea96eb4bef65..02f8ac9ecc3ee4aefd1cd61832dafac09e29b8d6 100644 (file)
@@ -35,16 +35,16 @@ import org.eclipse.ui.plugin.AbstractUIPlugin;
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceRegistration;
 
-/**
- * The activator class controls the plug-in life cycle
- */
+/** The activator class controls the plug-in life cycle */
 public class WorkbenchUiPlugin extends AbstractUIPlugin implements ILogListener {
-
        private final static Log log = LogFactory.getLog(WorkbenchUiPlugin.class);
 
+       // The plug-in ID
+       public final static String PLUGIN_ID = "org.argeo.cms.ui.workbench"; //$NON-NLS-1$
+       
        private ResourceBundle messages;
-
        private static BundleContext bundleContext;
+
        public static InheritableThreadLocal<Display> display = new InheritableThreadLocal<Display>() {
 
                @Override
@@ -53,9 +53,6 @@ public class WorkbenchUiPlugin extends AbstractUIPlugin implements ILogListener
                }
        };
 
-       // The plug-in ID
-       //      public final static String PLUGIN_ID = "org.argeo.security.ui"; //$NON-NLS-1$
-       public final static String PLUGIN_ID = "org.argeo.cms.ui.workbench"; //$NON-NLS-1$
 
        final static String CONTEXT_KEYRING = "KEYRING";
 
@@ -67,9 +64,7 @@ public class WorkbenchUiPlugin extends AbstractUIPlugin implements ILogListener
 
        public void start(BundleContext context) throws Exception {
                super.start(context);
-
                bundleContext = context;
-
                defaultCallbackHandler = new DefaultCallbackHandler();
                defaultCallbackHandlerReg = context.registerService(
                                CallbackHandler.class, defaultCallbackHandler, null);
@@ -79,7 +74,6 @@ public class WorkbenchUiPlugin extends AbstractUIPlugin implements ILogListener
                Platform.addLogListener(this);
                if (log.isTraceEnabled())
                        log.trace("Eclipse logging now directed to standard logging");
-
        }
 
        public void stop(BundleContext context) throws Exception {