From 71362677e58e60b623dcd27944507ecce1058799 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Sun, 13 Mar 2011 13:23:13 +0000 Subject: [PATCH] Enhancements to security git-svn-id: https://svn.argeo.org/commons/trunk@4289 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../org.argeo.security.ui.application.product | 4 +++- .../argeo/security/ui/application/SecureWorkbenchAdvisor.java | 2 +- .../main/java/org/argeo/security/ui/SecurityPerspective.java | 3 --- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/security/plugins/org.argeo.security.ui.application/org.argeo.security.ui.application.product b/security/plugins/org.argeo.security.ui.application/org.argeo.security.ui.application.product index be468c8ae..c410c4ed5 100644 --- a/security/plugins/org.argeo.security.ui.application/org.argeo.security.ui.application.product +++ b/security/plugins/org.argeo.security.ui.application/org.argeo.security.ui.application.product @@ -8,7 +8,7 @@ -console -clean - -Dlog4j.configuration=file:${system_property:user.home}/dev/src/commons/security/eclipse/plugins/org.argeo.security.ui.application/log4j.properties + -Dlog4j.configuration=file:${system_property:user.home}/dev/src/commons/security/plugins/org.argeo.security.ui.application/log4j.properties -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts @@ -60,6 +60,8 @@ + + diff --git a/security/plugins/org.argeo.security.ui.application/src/main/java/org/argeo/security/ui/application/SecureWorkbenchAdvisor.java b/security/plugins/org.argeo.security.ui.application/src/main/java/org/argeo/security/ui/application/SecureWorkbenchAdvisor.java index 417981664..698fdf743 100644 --- a/security/plugins/org.argeo.security.ui.application/src/main/java/org/argeo/security/ui/application/SecureWorkbenchAdvisor.java +++ b/security/plugins/org.argeo.security.ui.application/src/main/java/org/argeo/security/ui/application/SecureWorkbenchAdvisor.java @@ -6,7 +6,7 @@ import org.eclipse.ui.application.WorkbenchWindowAdvisor; public class SecureWorkbenchAdvisor extends WorkbenchAdvisor { - static final String DEFAULT_PERSPECTIVE_ID = "org.argeo.security.ui.securityPerspective"; //$NON-NLS-1$ + static final String DEFAULT_PERSPECTIVE_ID = "org.argeo.security.ui.adminSecurityPerspective"; //$NON-NLS-1$ public final static String INITIAL_PERSPECTIVE_PROPERTY = "org.argeo.security.ui.initialPerspective"; private String initialPerspective = System.getProperty( diff --git a/security/plugins/org.argeo.security.ui/src/main/java/org/argeo/security/ui/SecurityPerspective.java b/security/plugins/org.argeo.security.ui/src/main/java/org/argeo/security/ui/SecurityPerspective.java index d6bff90f3..8183de518 100644 --- a/security/plugins/org.argeo.security.ui/src/main/java/org/argeo/security/ui/SecurityPerspective.java +++ b/security/plugins/org.argeo.security.ui/src/main/java/org/argeo/security/ui/SecurityPerspective.java @@ -1,8 +1,5 @@ package org.argeo.security.ui; -import org.argeo.security.ui.internal.CurrentUser; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.swt.widgets.Display; import org.eclipse.ui.IFolderLayout; import org.eclipse.ui.IPageLayout; import org.eclipse.ui.IPerspectiveFactory; -- 2.30.2