Implementation of requests, better handling of check in / check out process.
authorBruno Sinou <bsinou@argeo.org>
Tue, 25 Jan 2011 01:41:48 +0000 (01:41 +0000)
committerBruno Sinou <bsinou@argeo.org>
Tue, 25 Jan 2011 01:41:48 +0000 (01:41 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@4077 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

security/eclipse/plugins/org.argeo.security.ui.application/src/main/java/org/argeo/security/ui/application/AbstractSecureApplication.java
security/eclipse/plugins/org.argeo.security.ui.application/src/main/java/org/argeo/security/ui/application/RapSecureWorkbenchWindowAdvisor.java

index 5073edf85b1ea6d2a96e1e5773108393a265202e..c3bf6b1131adf9adf933ec3e03c5f4c69e191e48 100644 (file)
@@ -12,17 +12,10 @@ import org.eclipse.core.runtime.Status;
 import org.eclipse.equinox.app.IApplication;
 import org.eclipse.equinox.app.IApplicationContext;
 import org.eclipse.jface.dialogs.ErrorDialog;
-import org.eclipse.jface.dialogs.ErrorSupportProvider;
-import org.eclipse.jface.util.Policy;
-import org.eclipse.jface.window.Window.IExceptionHandler;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
 import org.eclipse.swt.widgets.Display;
 import org.eclipse.ui.IWorkbench;
 import org.eclipse.ui.PlatformUI;
 import org.eclipse.ui.application.WorkbenchAdvisor;
-import org.eclipse.ui.internal.statushandlers.StackTraceSupportArea;
-import org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager;
 
 public abstract class AbstractSecureApplication implements IApplication {
        private static final Log log = LogFactory
index 08c24095998319fc8ab1aaf6e323f09126db173a..6cc6fe2ae087fd4fbd13ab48040a7abdc18dfd28 100644 (file)
@@ -1,5 +1,7 @@
 package org.argeo.security.ui.application;
 
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.graphics.Point;
 import org.eclipse.swt.graphics.Rectangle;
@@ -10,6 +12,8 @@ import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
 
 public class RapSecureWorkbenchWindowAdvisor extends
                SecureWorkbenchWindowAdvisor {
+       private final static Log log = LogFactory
+                       .getLog(RapSecureWorkbenchWindowAdvisor.class);
 
        public RapSecureWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
                super(configurer);
@@ -24,6 +28,10 @@ public class RapSecureWorkbenchWindowAdvisor extends
        public void preWindowOpen() {
                IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
                // configurer.setInitialSize(new Point(800, 600));
+
+//             if (log.isDebugEnabled())
+//                     log.debug("CHAR ENCODING"
+//                                     + System.getProperty("file.encoding"));
                configurer.setShowCoolBar(true);
                configurer.setShowMenuBar(true);
                configurer.setShowStatusLine(false);