Move RCP related devs to a dedicated source repository
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 9 Jan 2015 16:00:01 +0000 (16:00 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 9 Jan 2015 16:00:01 +0000 (16:00 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@7652 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

51 files changed:
dep/org.argeo.eclipse.dep.rcp/pom.xml [deleted file]
dep/org.argeo.security.dep.node.rcp/bnd.bnd [deleted file]
dep/org.argeo.security.dep.node.rcp/p2.inf [deleted file]
dep/org.argeo.security.dep.node.rcp/pom.xml [deleted file]
dep/org.argeo.security.dep.node.rcp/src/assembly/linux.x86.xml [deleted file]
dep/org.argeo.security.dep.node.rcp/src/assembly/linux.x86_64.xml [deleted file]
dep/org.argeo.security.dep.node.rcp/src/assembly/win32.x86.xml [deleted file]
dep/pom.xml
org.argeo.eclipse.ui.rcp/.classpath [deleted file]
org.argeo.eclipse.ui.rcp/.project [deleted file]
org.argeo.eclipse.ui.rcp/bnd.bnd [deleted file]
org.argeo.eclipse.ui.rcp/build.properties [deleted file]
org.argeo.eclipse.ui.rcp/pom.xml [deleted file]
org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/DefaultNLS.java [deleted file]
org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/EclipseUiSpecificUtils.java [deleted file]
org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/FileHandler.java [deleted file]
org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/FileProvider.java [deleted file]
org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/GenericUploadControl.java [deleted file]
org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/ImportToServerWizardPage.java [deleted file]
org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/OpenFile.java [deleted file]
org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/ThreadNLS.java [deleted file]
org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/UploadFileWizardPage.java [deleted file]
org.argeo.security.dao.os/.project [deleted file]
org.argeo.security.dao.os/META-INF/spring/security-os-osgi.xml [deleted file]
org.argeo.security.dao.os/META-INF/spring/security-os.xml [deleted file]
org.argeo.security.dao.os/bnd.bnd [deleted file]
org.argeo.security.dao.os/build.properties [deleted file]
org.argeo.security.dao.os/pom.xml [deleted file]
org.argeo.security.dao.os/security.properties [deleted file]
org.argeo.security.ui.rcp/.classpath [deleted file]
org.argeo.security.ui.rcp/.project [deleted file]
org.argeo.security.ui.rcp/.settings/org.eclipse.jdt.core.prefs [deleted file]
org.argeo.security.ui.rcp/META-INF/jaas_default.txt [deleted file]
org.argeo.security.ui.rcp/bnd.bnd [deleted file]
org.argeo.security.ui.rcp/build.properties [deleted file]
org.argeo.security.ui.rcp/icons/alt_about.gif [deleted file]
org.argeo.security.ui.rcp/icons/alt_launcher.icns [deleted file]
org.argeo.security.ui.rcp/icons/alt_launcher.ico [deleted file]
org.argeo.security.ui.rcp/icons/alt_launcher.xpm [deleted file]
org.argeo.security.ui.rcp/icons/alt_window_16.gif [deleted file]
org.argeo.security.ui.rcp/icons/alt_window_32.gif [deleted file]
org.argeo.security.ui.rcp/plugin.xml [deleted file]
org.argeo.security.ui.rcp/plugin_customization.ini [deleted file]
org.argeo.security.ui.rcp/pom.xml [deleted file]
org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/AbstractSecureApplication.java [deleted file]
org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureActionBarAdvisor.java [deleted file]
org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureApplicationActivator.java [deleted file]
org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureRcp.java [deleted file]
org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureWorkbenchAdvisor.java [deleted file]
org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureWorkbenchWindowAdvisor.java [deleted file]
pom.xml

diff --git a/dep/org.argeo.eclipse.dep.rcp/pom.xml b/dep/org.argeo.eclipse.dep.rcp/pom.xml
deleted file mode 100644 (file)
index fbecafe..0000000
+++ /dev/null
@@ -1,307 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.argeo.commons</groupId>
-               <artifactId>dep</artifactId>
-               <version>2.1.12-SNAPSHOT</version>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
-       <name>Eclipse RCP Dependencies</name>
-       <packaging>pom</packaging>
-       <description><![CDATA[
-com.ibm.icu
-org.eclipse.core.commands
-org.eclipse.core.contenttype
-org.eclipse.core.databinding
-org.eclipse.core.databinding.observable
-org.eclipse.core.databinding.property
-org.eclipse.core.expressions
-org.eclipse.core.jobs
-org.eclipse.core.runtime
-org.eclipse.equinox.app
-org.eclipse.equinox.common
-org.eclipse.equinox.launcher
-org.eclipse.equinox.preferences
-org.eclipse.equinox.registry
-org.eclipse.equinox.security
-org.eclipse.help
-org.eclipse.jface
-org.eclipse.jface.databinding
-org.eclipse.osgi
-org.eclipse.swt
-org.eclipse.swt.gtk.linux.x86
-org.eclipse.swt.gtk.linux.x86_64
-org.eclipse.swt.win32.win32.x86
-org.eclipse.ui
-org.eclipse.ui.forms
-org.eclipse.ui.workbench       
-
-/usr/lib64/eclipse/plugins;\
-in=com.ibm.icu*.jar;\
-in=org.eclipse.core*.jar;\
-in=org.eclipse.equinox*.jar;\
-in=org.eclipse.jface*.jar;\
-in=org.eclipse.osgi*.jar;\
-in=org.eclipse.swt*.jar;\
-in=org.eclipse.ui*.jar;\
-in=org.eclipse.help_*.jar;\
-ex=org.eclipse.osgi.jar;\
-ex=org.eclipse.equinox.p2*.jar;\
-ex=org.eclipse.equinox.simpleconfigurator*.jar;\
-ex=*.source_*.jar,\
-
-       ]]></description>
-       <dependencies>
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp</groupId> -->
-<!--                   <artifactId>org.eclipse.osgi</artifactId> -->
-<!--           </dependency> -->
-
-               <dependency>
-                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                       <artifactId>binaries</artifactId>
-                       <version>${version.eclipseIde}</version>
-                       <type>pom</type>
-                       <exclusions>
-                               <!-- Equinox base -->
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rap.platform</groupId>
-                                       <artifactId>org.eclipse.osgi</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rap.platform</groupId>
-                                       <artifactId>org.eclipse.osgi.services</artifactId>
-                               </exclusion>
-
-                               <!-- Deprecated update configurator has side effect in PDE -->
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.update.configurator</artifactId>
-                               </exclusion>
-                               <!-- SWT -->
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.carbon.macosx</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.gtk.solaris.sparc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.gtk.solaris.x86</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.motif.solaris.sparc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.gtk.linux.s390</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.gtk.linux.s390x</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.gtk.linux.ppc64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.motif.linux.x86</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.gtk.linux.ppc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.photon.qnx.x86</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.motif.aix.ppc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.motif.aix.ppc64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.motif.hpux.ia64_32</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.gtk.aix.ppc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.gtk.aix.ppc64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.swt.gtk.hpux.ia64_32</artifactId>
-                               </exclusion>
-
-                               <!-- Equinox Launcher -->
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.win32.win32.x86_64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.carbon.macosx</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.cocoa.macosx.x86_64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.gtk.solaris.sparc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.gtk.solaris.x86</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.motif.solaris.sparc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.gtk.linux.s390</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.gtk.linux.s390x</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.gtk.linux.ppc64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.motif.linux.x86</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.gtk.linux.ppc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.photon.qnx.x86</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.motif.aix.ppc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.motif.aix.ppc64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.motif.hpux.ia64_32</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.gtk.aix.ppc</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.gtk.aix.ppc64</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.launcher.gtk.hpux.ia64_32</artifactId>
-                               </exclusion>
-
-                               <!-- Eclipse UI -->
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rcp.platform</groupId>
-                                       <artifactId>org.eclipse.ui.carbon</artifactId>
-                               </exclusion>
-
-                               <!-- Felix Gogo shell -->
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rap.platform</groupId>
-                                       <artifactId>org.apache.felix.gogo.runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rap.platform</groupId>
-                                       <artifactId>org.apache.felix.gogo.shell</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rap.platform</groupId>
-                                       <artifactId>org.apache.felix.gogo.command</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.tp.rap.platform</groupId>
-                                       <artifactId>org.eclipse.equinox.console</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-
-               <!-- Security -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.rcp</groupId> -->
-<!--                   <artifactId>org.eclipse.equinox.security</artifactId> -->
-<!--           </dependency> -->
-       </dependencies>
-<!--   <dependencyManagement> -->
-<!--           <dependencies> -->
-<!--                   <dependency> -->
-<!--                           <groupId>org.argeo.tp.rcp</groupId> -->
-<!--                           <artifactId>binaries</artifactId> -->
-<!--                           <version>${version.argeo-distribution}</version> -->
-<!--                           <type>pom</type> -->
-<!--                           <scope>import</scope> -->
-<!--                   </dependency> -->
-<!--                   <dependency> -->
-<!--                           <groupId>org.argeo.tp.rcp.platform</groupId> -->
-<!--                           <artifactId>binaries</artifactId> -->
-<!--                           <version>${version.argeo-distribution}</version> -->
-<!--                           <type>pom</type> -->
-<!--                           <scope>import</scope> -->
-<!--                   </dependency> -->
-<!--           </dependencies> -->
-<!--   </dependencyManagement> -->
-       <profiles>
-               <profile>
-                       <id>check-osgi</id>
-                       <build>
-                               <plugins>
-                                       <plugin>
-                                               <groupId>org.argeo.maven.plugins</groupId>
-                                               <artifactId>maven-argeo-osgi-plugin</artifactId>
-                                               <executions>
-                                                       <execution>
-                                                               <id>check-osgi</id>
-                                                               <phase>test</phase>
-                                                               <goals>
-                                                                       <goal>equinox</goal>
-                                                               </goals>
-                                                               <configuration>
-                                                                       <onlyCheck>true</onlyCheck>
-                                                               </configuration>
-                                                       </execution>
-                                               </executions>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
-       </profiles>
-</project>
\ No newline at end of file
diff --git a/dep/org.argeo.security.dep.node.rcp/bnd.bnd b/dep/org.argeo.security.dep.node.rcp/bnd.bnd
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/dep/org.argeo.security.dep.node.rcp/p2.inf b/dep/org.argeo.security.dep.node.rcp/p2.inf
deleted file mode 100644 (file)
index 0423aa5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-properties.1.name=org.eclipse.equinox.p2.type.category
-properties.1.value=true
\ No newline at end of file
diff --git a/dep/org.argeo.security.dep.node.rcp/pom.xml b/dep/org.argeo.security.dep.node.rcp/pom.xml
deleted file mode 100644 (file)
index 4650d17..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.argeo.commons</groupId>
-               <version>2.1.12-SNAPSHOT</version>
-               <artifactId>dep</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>org.argeo.security.dep.node.rcp</artifactId>
-       <name>Node Eclipse RCP</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <configuration>
-                                       <instructions>
-                                               <SLC-ModularDistribution>default</SLC-ModularDistribution>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>maven-argeo-osgi-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>generate-descriptors</id>
-                                               <goals>
-                                                       <goal>descriptors</goal>
-                                               </goals>
-                                               <phase>generate-resources</phase>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-               <!-- Applications -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.eclipse.ui.workbench</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.security.ui.admin</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-
-               <!-- Eclipse -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.eclipse.ui</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-
-               <!-- RCP specific -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.security.ui.rcp</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.security.equinox</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.security.ui</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.security.dep.node</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-                       <type>pom</type>
-               </dependency>
-
-               <!-- RCP -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-                       <type>pom</type>
-               </dependency>
-       </dependencies>
-       <profiles>
-               <!-- <profile> -->
-               <!-- <id>check-osgi</id> -->
-               <!-- <build> -->
-               <!-- <plugins> -->
-               <!-- <plugin> -->
-               <!-- <groupId>org.argeo.maven.plugins</groupId> -->
-               <!-- <artifactId>maven-argeo-osgi-plugin</artifactId> -->
-               <!-- <executions> -->
-               <!-- <execution> -->
-               <!-- <id>check-osgi</id> -->
-               <!-- <phase>test</phase> -->
-               <!-- <goals> -->
-               <!-- <goal>equinox</goal> -->
-               <!-- </goals> -->
-               <!-- <configuration> -->
-               <!-- <onlyCheck>true</onlyCheck> -->
-               <!-- </configuration> -->
-               <!-- </execution> -->
-               <!-- </executions> -->
-               <!-- </plugin> -->
-               <!-- </plugins> -->
-               <!-- </build> -->
-               <!-- <dependencies> -->
-               <!-- OSGi test -->
-               <!-- <dependency> -->
-               <!-- <groupId>org.argeo.commons</groupId> -->
-               <!-- <artifactId>org.argeo.osgi.boot</artifactId> -->
-               <!-- <version>2.1.12-SNAPSHOT</version> -->
-               <!-- <scope>test</scope> -->
-               <!-- </dependency> -->
-               <!-- </dependencies> -->
-               <!-- </profile> -->
-               <profile>
-                       <id>rpmbuild</id>
-                       <build>
-                               <plugins>
-                                       <plugin>
-                                               <groupId>org.codehaus.mojo</groupId>
-                                               <artifactId>rpm-maven-plugin</artifactId>
-                                               <configuration>
-                                               </configuration>
-                                               <executions>
-                                                       <execution>
-                                                               <id>rpm-node-rcp</id>
-                                                               <phase>package</phase>
-                                                               <goals>
-                                                                       <goal>rpm</goal>
-                                                               </goals>
-                                                               <configuration>
-                                                                       <name>argeo-node-rcp</name>
-                                                                       <mappings>
-                                                                               <mapping>
-                                                                                       <directory>/usr/share/osgi/rcp</directory>
-                                                                                       <username>root</username>
-                                                                                       <groupname>root</groupname>
-                                                                                       <filemode>644</filemode>
-                                                                                       <directoryIncluded>false</directoryIncluded>
-                                                                                       <dependency>
-                                                                                               <includes>
-                                                                                                       <include>org.argeo.commons:org.argeo.eclipse.ui.rcp</include>
-                                                                                                       <include>org.argeo.commons:org.argeo.security.ui.rcp</include>
-                                                                                               </includes>
-                                                                                       </dependency>
-                                                                               </mapping>
-                                                                       </mappings>
-                                                                       <requires>
-                                                                               <require>argeo-node</require>
-                                                                               <require>argeo-node-eclipse</require>
-                                                                               <require>eclipse-platform</require>
-                                                                       </requires>
-                                                               </configuration>
-                                                       </execution>
-                                               </executions>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
-       </profiles>
-</project>
diff --git a/dep/org.argeo.security.dep.node.rcp/src/assembly/linux.x86.xml b/dep/org.argeo.security.dep.node.rcp/src/assembly/linux.x86.xml
deleted file mode 100644 (file)
index 0b321cd..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!--
-
-    Copyright (C) 2007-2012 Argeo GmbH
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-            http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<!-- Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under 
-       the Apache License, Version 2.0 (the "License"); you may not use this file 
-       except in compliance with the License. You may obtain a copy of the License 
-       at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable 
-       law or agreed to in writing, software distributed under the License is distributed 
-       on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
-       express or implied. See the License for the specific language governing permissions 
-       and limitations under the License. -->
-
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>linux.x86</id>
-       <baseDirectory>argeo-node-ui</baseDirectory>
-       <formats>
-               <format>tar.gz</format>
-       </formats>
-       <dependencySets>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
-                       </outputFileNameMapping>
-                       <outputDirectory>lib</outputDirectory>
-                       <includes>
-                               <include>*:jar</include>
-                       </includes>
-                       <excludes>
-                               <exclude>org.eclipse.swt:org.eclipse.swt*:jar</exclude>
-                       </excludes>
-               </dependencySet>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
-                       </outputFileNameMapping>
-                       <outputDirectory>lib</outputDirectory>
-                       <includes>
-                               <include>org.eclipse.swt:org.eclipse.swt.gtk.linux.x86:jar</include>
-                       </includes>
-               </dependencySet>
-       </dependencySets>
-</assembly>
\ No newline at end of file
diff --git a/dep/org.argeo.security.dep.node.rcp/src/assembly/linux.x86_64.xml b/dep/org.argeo.security.dep.node.rcp/src/assembly/linux.x86_64.xml
deleted file mode 100644 (file)
index 12a0a32..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!--
-
-    Copyright (C) 2007-2012 Argeo GmbH
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-            http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<!-- Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under 
-       the Apache License, Version 2.0 (the "License"); you may not use this file 
-       except in compliance with the License. You may obtain a copy of the License 
-       at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable 
-       law or agreed to in writing, software distributed under the License is distributed 
-       on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
-       express or implied. See the License for the specific language governing permissions 
-       and limitations under the License. -->
-
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>linux.x86_64</id>
-       <baseDirectory>argeo-node-ui</baseDirectory>
-       <formats>
-               <format>tar.gz</format>
-       </formats>
-       <dependencySets>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
-                       </outputFileNameMapping>
-                       <outputDirectory>lib</outputDirectory>
-                       <includes>
-                               <include>*:jar</include>
-                       </includes>
-                       <excludes>
-                               <exclude>org.eclipse.swt:org.eclipse.swt*:jar</exclude>
-                       </excludes>
-               </dependencySet>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
-                       </outputFileNameMapping>
-                       <outputDirectory>lib</outputDirectory>
-                       <includes>
-                               <include>org.eclipse.swt:org.eclipse.swt.gtk.linux.x86_64:jar</include>
-                       </includes>
-               </dependencySet>
-       </dependencySets>
-</assembly>
\ No newline at end of file
diff --git a/dep/org.argeo.security.dep.node.rcp/src/assembly/win32.x86.xml b/dep/org.argeo.security.dep.node.rcp/src/assembly/win32.x86.xml
deleted file mode 100644 (file)
index 15cec0d..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!--
-
-    Copyright (C) 2007-2012 Argeo GmbH
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-            http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<!-- Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under 
-       the Apache License, Version 2.0 (the "License"); you may not use this file 
-       except in compliance with the License. You may obtain a copy of the License 
-       at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable 
-       law or agreed to in writing, software distributed under the License is distributed 
-       on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
-       express or implied. See the License for the specific language governing permissions 
-       and limitations under the License. -->
-
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>win32.x86</id>
-       <baseDirectory>argeo-node-ui</baseDirectory>
-       <formats>
-               <format>zip</format>
-       </formats>
-       <dependencySets>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
-                       </outputFileNameMapping>
-                       <outputDirectory>lib</outputDirectory>
-                       <includes>
-                               <include>*:jar</include>
-                       </includes>
-                       <excludes>
-                               <exclude>org.eclipse.swt:org.eclipse.swt*:jar</exclude>
-                       </excludes>
-               </dependencySet>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
-                       </outputFileNameMapping>
-                       <outputDirectory>lib</outputDirectory>
-                       <includes>
-                               <include>org.eclipse.swt:org.eclipse.swt.win32.win32.x86:jar</include>
-                       </includes>
-               </dependencySet>
-       </dependencySets>
-</assembly>
\ No newline at end of file
index 1ab8a834cf0870810278903283b82241bff261d8..4a3f0eba1d57f41bb7fe286cb64f0f689e553f5c 100644 (file)
        <modules>
                <!-- <module>org.argeo.dep.log4j</module> -->
                <!-- <module>org.argeo.dep.jackrabbit</module> -->
-               <!--  <module>org.argeo.eclipse.dep.rap</module> -->
-               <module>org.argeo.eclipse.dep.rcp</module>
+               <!-- <module>org.argeo.eclipse.dep.rap</module> -->
                <!-- <module>org.argeo.server.dep.ads</module> -->
                <!-- <module>org.argeo.server.dep.jackrabbit.server</module> -->
                <module>org.argeo.security.dep.node</module>
-               <module>org.argeo.eclipse.dep.rwt</module>  
-               <module>org.argeo.security.dep.node.rap</module> 
-               <module>org.argeo.security.dep.node.rcp</module>
-       <!--    <module>org.argeo.dep.cms</module>  -->
+               <module>org.argeo.eclipse.dep.rwt</module>
+               <module>org.argeo.security.dep.node.rap</module>
+               <!-- <module>org.argeo.dep.cms</module> -->
        </modules>
        <profiles>
                <profile>
diff --git a/org.argeo.eclipse.ui.rcp/.classpath b/org.argeo.eclipse.ui.rcp/.classpath
deleted file mode 100644 (file)
index d2953a6..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-       <classpathentry kind="src" path="src" />
-       <classpathentry kind="con"
-               path="org.eclipse.pde.core.requiredPlugins" />
-       <classpathentry kind="con"
-               path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" />
-       <classpathentry kind="output" path="bin" />
-</classpath>
diff --git a/org.argeo.eclipse.ui.rcp/.project b/org.argeo.eclipse.ui.rcp/.project
deleted file mode 100644 (file)
index ef2dc2d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.eclipse.ui.rcp</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>org.eclipse.jdt.core.javabuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.ManifestBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.SchemaBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.pde.PluginNature</nature>
-               <nature>org.eclipse.jdt.core.javanature</nature>
-       </natures>
-</projectDescription>
diff --git a/org.argeo.eclipse.ui.rcp/bnd.bnd b/org.argeo.eclipse.ui.rcp/bnd.bnd
deleted file mode 100644 (file)
index 4fd32e8..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-Require-Bundle: org.eclipse.ui,\
-                               org.eclipse.core.runtime
-Import-Package: org.apache.commons.io,\
-                               org.argeo,\
-                               org.eclipse.core.commands,\
-                               org.eclipse.swt.widgets;version="[0,4.0)",\
-                               org.springframework.beans.factory,\
-                               org.springframework.core.io.support,\
-                               !org.eclipse.core.runtime,\
-                               !org.eclipse.ui.plugin,\
-                               *
-
-
-# Was !org.eclipse.core.commands,\ why ?
-
-#Bundle-Activator: org.argeo.eclipse.ui.ArgeoUiPlugin
-#Bundle-ActivationPolicy: lazy
-#Ignore-Package: org.eclipse.core.commands
\ No newline at end of file
diff --git a/org.argeo.eclipse.ui.rcp/build.properties b/org.argeo.eclipse.ui.rcp/build.properties
deleted file mode 100644 (file)
index fd806ca..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-source.. = src/
-output.. = bin/
diff --git a/org.argeo.eclipse.ui.rcp/pom.xml b/org.argeo.eclipse.ui.rcp/pom.xml
deleted file mode 100644 (file)
index 2804967..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.argeo.commons</groupId>
-               <version>2.1.12-SNAPSHOT</version>
-               <artifactId>argeo-commons</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>org.argeo.eclipse.ui.rcp</artifactId>
-       <name>Commons Eclipse UI RCP</name>
-       <description>Provide RCP specific classes and behaviour in order to enable single sourcing</description>
-       <packaging>jar</packaging>
-       <dependencies>
-
-               <!-- Argeo Commons for Eclipse (not specific) -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.eclipse.ui</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-
-               <!-- Base distribution for RCP projects -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
-                       <type>pom</type>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-
-               <!-- Others. -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp</groupId> -->
-<!--                   <artifactId>org.apache.commons.io</artifactId> -->
-<!--           </dependency> -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.util</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp</groupId> -->
-<!--                   <artifactId>slf4j.org.apache.commons.logging</artifactId> -->
-<!--           </dependency> -->
-       </dependencies>
-</project>
\ No newline at end of file
diff --git a/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/DefaultNLS.java b/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/DefaultNLS.java
deleted file mode 100644 (file)
index 71a0c89..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.eclipse.ui.specific;
-
-import org.eclipse.osgi.util.NLS;
-
-/** RCP specific {@link NLS} to be extended */
-public class DefaultNLS extends NLS {
-       public final static String DEFAULT_BUNDLE_LOCATION = "/properties/plugin";
-
-       public DefaultNLS() {
-               this(DEFAULT_BUNDLE_LOCATION);
-       }
-
-       public DefaultNLS(String bundleName) {
-               NLS.initializeMessages(bundleName, getClass());
-       }
-}
diff --git a/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/EclipseUiSpecificUtils.java b/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/EclipseUiSpecificUtils.java
deleted file mode 100644 (file)
index 2642a35..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.eclipse.ui.specific;
-
-import org.eclipse.jface.viewers.ColumnViewer;
-import org.eclipse.jface.viewers.ColumnViewerToolTipSupport;
-import org.eclipse.jface.viewers.Viewer;
-
-/** Static utilities to bridge differences between RCP and RAP */
-public class EclipseUiSpecificUtils {
-       /**
-        * TootlTip support is supported for {@link ColumnViewer} in RCP
-        * 
-        * @see ColumnViewerToolTipSupport#enableFor(Viewer)
-        */
-       public static void enableToolTipSupport(Viewer viewer) {
-               if (viewer instanceof ColumnViewer)
-                       ColumnViewerToolTipSupport.enableFor((ColumnViewer) viewer);
-       }
-
-       private EclipseUiSpecificUtils() {
-       }
-
-}
diff --git a/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/FileHandler.java b/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/FileHandler.java
deleted file mode 100644 (file)
index 5da4973..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.eclipse.ui.specific;
-
-import java.awt.Desktop;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-
-import org.apache.commons.io.IOUtils;
-import org.argeo.ArgeoException;
-
-/**
- * Abstraction that enable to implement runtime environment specific (typically
- * RCP or RAP) methods while dealing with files in the UI.
- * 
- */
-public class FileHandler {
-
-       private FileProvider provider;
-
-       public FileHandler(FileProvider provider) {
-               this.provider = provider;
-       }
-
-       public void openFile(String fileName, String fileId) {
-               String tmpFileName = fileName;
-               String prefix = "", extension = "";
-               if (fileName != null) {
-                       int ind = fileName.lastIndexOf('.');
-                       if (ind > 0) {
-                               prefix = fileName.substring(0, ind);
-                               extension = fileName.substring(ind);
-                       }
-               }
-
-               InputStream is = null;
-               try {
-                       is = provider.getInputStreamFromFileId(fileId);
-                       File file = createTmpFile(prefix, extension, is);
-                       tmpFileName = file.getName();
-                       Desktop desktop = null;
-                       if (Desktop.isDesktopSupported()) {
-                               desktop = Desktop.getDesktop();
-                       }
-                       desktop.open(file);
-               } catch (IOException e) {
-                       // Note : tmpFileName = fileName if the error has been thrown while
-                       // creating the tmpFile.
-                       throw new ArgeoException("Cannot open file " + tmpFileName, e);
-               } finally {
-                       IOUtils.closeQuietly(is);
-               }
-       }
-
-       private File createTmpFile(String prefix, String suffix, InputStream is) {
-               File tmpFile = null;
-               OutputStream os = null;
-               try {
-                       tmpFile = File.createTempFile(prefix, suffix);
-                       os = new FileOutputStream(tmpFile);
-                       IOUtils.copy(is, os);
-               } catch (IOException e) {
-                       throw new ArgeoException("Cannot open file " + prefix + "."
-                                       + suffix, e);
-               } finally {
-                       IOUtils.closeQuietly(os);
-               }
-               return tmpFile;
-       }
-}
diff --git a/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/FileProvider.java b/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/FileProvider.java
deleted file mode 100644 (file)
index 5c92260..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.eclipse.ui.specific;
-
-import java.io.InputStream;
-
-/**
- * Used for file download : subclasses must implement model specific methods to
- * get a byte array representing a file given is ID.
- * 
- * @author bsinou
- * 
- */
-public interface FileProvider {
-
-       public byte[] getByteArrayFileFromId(String fileId);
-       
-       public InputStream getInputStreamFromFileId(String fileId);
-
-}
diff --git a/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/GenericUploadControl.java b/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/GenericUploadControl.java
deleted file mode 100644 (file)
index 80e1e53..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.eclipse.ui.specific;
-
-import java.io.File;
-import java.io.IOException;
-
-import org.apache.commons.io.FileUtils;
-import org.argeo.ArgeoException;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.FileDialog;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Text;
-
-/**
- * RCP specific composite that provides a control to upload a file. WARNING: for
- * the time being we set a GridLayout(2, false) on th eparent control.
- */
-public class GenericUploadControl extends Composite {
-       // private final static Log log = LogFactory
-       // .getLog(GenericUploadControl.class);
-
-       private FileDialog dialog;
-       private Text filePath;
-
-       public GenericUploadControl(Composite parent, int style, String browseLabel) {
-               super(parent, style);
-               createControl(this, browseLabel);
-
-       }
-
-       private void createControl(final Composite parent, String browseLabel) {
-               parent.setLayout(new GridLayout(2, false));
-
-               filePath = new Text(parent, SWT.BORDER | SWT.SINGLE);
-               GridData gd = new GridData(GridData.GRAB_HORIZONTAL
-                               | GridData.FILL_HORIZONTAL);
-               filePath.setEditable(false);
-               filePath.setLayoutData(gd);
-
-               // Execute button
-               Button execute = new Button(parent, SWT.PUSH);
-               GridData gridData = new GridData();
-               gridData.horizontalAlignment = GridData.BEGINNING;
-               execute.setLayoutData(gridData);
-               execute.setText(browseLabel);
-
-               // Button listener
-               Listener executeListener = new Listener() {
-                       public void handleEvent(Event event) {
-                               dialog = new FileDialog(parent.getShell());
-                               filePath.setText(dialog.open());
-                       }
-               };
-               parent.layout();
-               execute.addListener(SWT.Selection, executeListener);
-       }
-
-       public boolean isControlEmpty() {
-               String path = filePath.getText();
-               if (path == null || "".equals(path.trim()))
-                       return true;
-               else
-                       return false;
-       }
-
-       public byte[] performUpload() {
-               String path = filePath.getText();
-               if (path != null) {
-                       try {
-                               File file = new File(path);
-                               byte[] fileBA = FileUtils.readFileToByteArray(file);
-                               return fileBA;
-                       } catch (IOException e) {
-                               throw new ArgeoException("Unexpected error while "
-                                               + "reading file at path " + path, e);
-                       }
-               }
-               return null;
-       }
-
-       public void addModifyListener(ModifyListener listener) {
-               filePath.addModifyListener(listener);
-       }
-
-       /**
-        * Always returns null in an RCP environment
-        */
-       public String getLastFileUploadedName() {
-               return null;
-       }
-}
diff --git a/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/ImportToServerWizardPage.java b/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/ImportToServerWizardPage.java
deleted file mode 100644 (file)
index 55065bf..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.eclipse.ui.specific;
-
-import java.io.InputStream;
-
-import org.eclipse.jface.preference.DirectoryFieldEditor;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.widgets.Composite;
-
-public class ImportToServerWizardPage extends WizardPage {
-
-       public final static String FILE_ITEM_TYPE = "FILE";
-       public final static String FOLDER_ITEM_TYPE = "FOLDER";
-
-       private DirectoryFieldEditor dfe;
-
-       public ImportToServerWizardPage() {
-               super("Import from file system");
-               setDescription("Import files from the local file system into the JCR repository");
-       }
-
-       public void createControl(Composite parent) {
-               dfe = new DirectoryFieldEditor("directory", "From", parent);
-               setControl(dfe.getTextControl(parent));
-       }
-
-       public String getObjectPath() {
-               return dfe.getStringValue();
-       }
-
-       public String getObjectType() {
-               return FOLDER_ITEM_TYPE;
-       }
-
-       public boolean getNeedsProgressMonitor() {
-               return true;
-       }
-
-       // Dummy methods : useless in RCP context but useful for RAP
-       /** WARNING : always return null in RCP context */
-       public String getObjectName() {
-               return null;
-       }
-
-       /** WARNING : do nothing in RCP context */
-       public void performFinish() {
-       }
-
-       /** WARNING : always return null in RCP context */
-       public InputStream getFileInputStream() {
-               return null;
-       }
-}
\ No newline at end of file
diff --git a/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/OpenFile.java b/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/OpenFile.java
deleted file mode 100644 (file)
index 610020d..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.eclipse.ui.specific;
-
-import java.awt.Desktop;
-import java.io.File;
-import java.io.IOException;
-
-import org.argeo.ArgeoException;
-import org.eclipse.core.commands.AbstractHandler;
-import org.eclipse.core.commands.ExecutionEvent;
-import org.eclipse.core.commands.ExecutionException;
-
-/**
- * RCP specific command handler to open a file.
- * 
- * The parameter "URI" is used to determine the correct method to open it.
- * 
- * Various instances of this handler with different command ID might coexist in
- * order to provide context specific open file service.
- * 
- */
-public class OpenFile extends AbstractHandler {
-       // private final static Log log = LogFactory.getLog(OpenFile.class);
-
-       public final static String PARAM_FILE_NAME = "param.fileName";
-       public final static String PARAM_FILE_URI = "param.fileURI";
-
-       private final static String FILE_SCHEME = "file";
-
-       public Object execute(ExecutionEvent event) throws ExecutionException {
-               @SuppressWarnings("unused")
-               @Deprecated
-               String fileName = event.getParameter(PARAM_FILE_NAME);
-               String fileUri = event.getParameter(PARAM_FILE_URI);
-
-               // sanity check
-               if (fileUri == null || "".equals(fileUri.trim()))
-                       return null;
-
-               Desktop desktop = null;
-               if (Desktop.isDesktopSupported()) {
-                       desktop = Desktop.getDesktop();
-               }
-
-               File file = getFileFromUri(fileUri);
-               if (file != null)
-                       try {
-                               desktop.open(file);
-                       } catch (IOException e) {
-                               throw new ArgeoException("Unable to open file with URI: "
-                                               + fileUri, e);
-                       }
-
-               return null;
-       }
-
-       protected File getFileFromUri(String uri) {
-               if (uri.startsWith(FILE_SCHEME)) {
-                       String path = uri.substring((FILE_SCHEME + "://").length());
-                       return new File(path);
-               }
-               return null;
-       }
-}
\ No newline at end of file
diff --git a/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/ThreadNLS.java b/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/ThreadNLS.java
deleted file mode 100644 (file)
index c87f6e5..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.eclipse.ui.specific;
-
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Field;
-import java.lang.reflect.Modifier;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.argeo.util.LocaleUtils;
-import org.eclipse.osgi.util.NLS;
-
-/** NLS attached to a given thread */
-public class ThreadNLS<T extends NLS> extends InheritableThreadLocal<T> {
-       public final static String DEFAULT_BUNDLE_LOCATION = "/properties/plugin";
-
-       private final String bundleLocation;
-
-       private Class<T> type;
-       private Boolean utf8 = false;
-
-       public ThreadNLS(String bundleLocation, Class<T> type, Boolean utf8) {
-               this.bundleLocation = bundleLocation;
-               this.type = type;
-               this.utf8 = utf8;
-       }
-
-       public ThreadNLS(Class<T> type) {
-               this(DEFAULT_BUNDLE_LOCATION, type, false);
-       }
-
-       @Override
-       protected T initialValue() {
-               ResourceBundle bundle = ResourceBundle.getBundle(bundleLocation,
-                               LocaleUtils.threadLocale.get(), type.getClassLoader());
-               T result;
-               try {
-                       NLS.initializeMessages(bundleLocation, type);
-                       Constructor<T> constructor = type.getConstructor();
-                       constructor.setAccessible(true);
-                       result = constructor.newInstance();
-                       final Field[] fieldArray = type.getDeclaredFields();
-                       for (int i = 0; i < fieldArray.length; i++) {
-                               int modifiers = fieldArray[i].getModifiers();
-                               if (String.class.isAssignableFrom(fieldArray[i].getType())
-                                               && Modifier.isPublic(modifiers)
-                                               && !Modifier.isStatic(modifiers)) {
-                                       try {
-                                               String value = bundle
-                                                               .getString(fieldArray[i].getName());
-                                               byte[] bytes = value.getBytes();
-
-                                               String forcedValue;
-                                               if (utf8)
-                                                       forcedValue = new String(bytes, "UTF8");
-                                               else
-                                                       forcedValue = value;
-                                               if (value != null) {
-                                                       fieldArray[i].setAccessible(true);
-                                                       fieldArray[i].set(result, forcedValue);
-                                               }
-                                       } catch (final MissingResourceException mre) {
-                                               fieldArray[i].setAccessible(true);
-                                               fieldArray[i].set(result, "");
-                                               mre.printStackTrace();
-                                       }
-                               }
-                       }
-                       return result;
-               } catch (final Exception ex) {
-                       throw new IllegalStateException(ex.getMessage());
-               }
-       }
-
-}
diff --git a/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/UploadFileWizardPage.java b/org.argeo.eclipse.ui.rcp/src/org/argeo/eclipse/ui/specific/UploadFileWizardPage.java
deleted file mode 100644 (file)
index 5bdaece..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.eclipse.ui.specific;
-
-import java.io.InputStream;
-
-import org.eclipse.jface.preference.DirectoryFieldEditor;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.widgets.Composite;
-
-public class UploadFileWizardPage extends WizardPage {
-
-       public final static String FILE_ITEM_TYPE = "FILE";
-       public final static String FOLDER_ITEM_TYPE = "FOLDER";
-
-       private DirectoryFieldEditor dfe;
-
-       public UploadFileWizardPage() {
-               super("Import from file system");
-               setDescription("Import files from the local file system into the JCR repository");
-       }
-
-       public void createControl(Composite parent) {
-               dfe = new DirectoryFieldEditor("directory", "From", parent);
-               setControl(dfe.getTextControl(parent));
-       }
-
-       public String getObjectPath() {
-               return dfe.getStringValue();
-       }
-
-       public String getObjectType() {
-               return FOLDER_ITEM_TYPE;
-       }
-
-       public boolean getNeedsProgressMonitor() {
-               return true;
-       }
-
-       // Dummy methods : useless in RCP context but useful for RAP
-       /** WARNING : always return null in RCP context */
-       public String getObjectName() {
-               return null;
-       }
-
-       /** WARNING : do nothing in RCP context */
-       public void performFinish() {
-       }
-
-       /** WARNING : always return null in RCP context */
-       public InputStream getFileInputStream() {
-               return null;
-       }
-}
\ No newline at end of file
diff --git a/org.argeo.security.dao.os/.project b/org.argeo.security.dao.os/.project
deleted file mode 100644 (file)
index cefcc33..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.security.dao.os</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>org.eclipse.pde.ManifestBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.SchemaBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.pde.PluginNature</nature>
-       </natures>
-</projectDescription>
diff --git a/org.argeo.security.dao.os/META-INF/spring/security-os-osgi.xml b/org.argeo.security.dao.os/META-INF/spring/security-os-osgi.xml
deleted file mode 100644 (file)
index 0a605c7..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
-       xmlns:util="http://www.springframework.org/schema/util"\r
-       xsi:schemaLocation="http://www.springframework.org/schema/osgi  \r
-       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
-       http://www.springframework.org/schema/beans   \r
-       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
-       http://www.springframework.org/schema/util\r
-       http://www.springframework.org/schema/util/spring-util-2.5.xsd">\r
-\r
-       <!-- REFERENCE -->\r
-       <reference id="nodeRepository" interface="javax.jcr.Repository"\r
-               filter="(argeo.jcr.repository.alias=node)" />\r
-\r
-       <!-- SERVICES -->\r
-       <service ref="authenticationManager"\r
-               interface="org.springframework.security.authentication.AuthenticationManager" />\r
-\r
-       <!-- User management -->\r
-       <service ref="userDetailsManager"\r
-               interface="org.springframework.security.core.userdetails.UserDetailsService"\r
-               context-class-loader="service-provider" />\r
-       <service ref="userDetailsManager"\r
-               interface="org.springframework.security.provisioning.UserDetailsManager"\r
-               context-class-loader="service-provider" />\r
-       <service ref="userDetailsManager" interface="org.argeo.security.UserAdminService"\r
-               context-class-loader="service-provider" />\r
-\r
-</beans:beans>
\ No newline at end of file
diff --git a/org.argeo.security.dao.os/META-INF/spring/security-os.xml b/org.argeo.security.dao.os/META-INF/spring/security-os.xml
deleted file mode 100644 (file)
index 69880f7..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
-
-       <bean
-               class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
-               <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
-               <property name="locations">
-                       <value>osgibundle:security.properties</value>
-               </property>
-       </bean>
-
-       <bean id="argeoDataModel" class="org.argeo.jackrabbit.JackrabbitWrapper"
-               init-method="init" destroy-method="destroy">
-               <description><![CDATA[Make sure that Argeo base data model is registered]]></description>
-               <property name="cndFiles">
-                       <list>
-                               <value>/org/argeo/jcr/argeo.cnd</value>
-                       </list>
-               </property>
-               <property name="repository" ref="nodeRepository" />
-               <property name="bundleContext" ref="bundleContext" />
-       </bean>
-
-       <bean id="authenticationManager"
-               class="org.springframework.security.authentication.ProviderManager">
-               <property name="providers">
-                       <list>
-                               <ref bean="authByAdapterProvider" />
-                               <ref bean="osJcrAuthenticationProvider" />
-                       </list>
-               </property>
-       </bean>
-
-       <!-- Authentication providers -->
-       <bean id="osJcrAuthenticationProvider" class="org.argeo.security.jcr.OsJcrAuthenticationProvider"
-               init-method="init" destroy-method="destroy" depends-on="argeoDataModel">
-               <property name="repository" ref="nodeRepository" />
-               <property name="jcrSecurityModel" ref="jcrSecurityModel" />
-       </bean>
-
-       <bean name="jcrSecurityModel" class="org.argeo.security.jackrabbit.JackrabbitSecurityModel" />
-
-       <bean id="authByAdapterProvider" class="org.argeo.security.core.InternalAuthenticationProvider">
-               <description><![CDATA[System authentication]]></description>
-               <property name="key" value="${argeo.security.systemKey}" />
-       </bean>
-
-       <!-- Internal authentication, used by the general authentication process 
-               himself, in order to prevent the following dependency cycle: Repository.login() 
-               <= AuthenticationManager <= osJcrAuthenticationProvider <= Repository.login() 
-               in init() -->
-       <bean id="internalAuthenticationManager"
-               class="org.springframework.security.authentication.ProviderManager">
-               <property name="providers">
-                       <list>
-                               <ref bean="authByAdapterProvider" />
-                       </list>
-               </property>
-       </bean>
-
-       <bean
-               class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
-               <description><![CDATA[Executes initialization with a system authentication]]></description>
-               <property name="authenticationManager" ref="internalAuthenticationManager" />
-       </bean>
-
-       <!-- Dummy user manager -->
-       <bean id="userDetailsManager" class="org.argeo.security.jcr.OsJcrUserAdminService"
-               init-method="init" destroy-method="destroy">
-               <property name="repository" ref="nodeRepository" />
-       </bean>
-
-
-</beans>
\ No newline at end of file
diff --git a/org.argeo.security.dao.os/bnd.bnd b/org.argeo.security.dao.os/bnd.bnd
deleted file mode 100644 (file)
index 0df3b4a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Import-Package: org.argeo.jcr,*
\ No newline at end of file
diff --git a/org.argeo.security.dao.os/build.properties b/org.argeo.security.dao.os/build.properties
deleted file mode 100644 (file)
index 5f22cdd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-bin.includes = META-INF/
diff --git a/org.argeo.security.dao.os/pom.xml b/org.argeo.security.dao.os/pom.xml
deleted file mode 100644 (file)
index 05ee4cc..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.argeo.commons</groupId>
-               <version>2.1.12-SNAPSHOT</version>
-               <artifactId>argeo-commons</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>org.argeo.security.dao.os</artifactId>
-       <name>Commons Security DAO OS</name>
-</project>
\ No newline at end of file
diff --git a/org.argeo.security.dao.os/security.properties b/org.argeo.security.dao.os/security.properties
deleted file mode 100644 (file)
index ae77bf0..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-argeo.security.systemKey=argeo
-argeo.node.repo.securityWorkspace=security
diff --git a/org.argeo.security.ui.rcp/.classpath b/org.argeo.security.ui.rcp/.classpath
deleted file mode 100644 (file)
index d2953a6..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-       <classpathentry kind="src" path="src" />
-       <classpathentry kind="con"
-               path="org.eclipse.pde.core.requiredPlugins" />
-       <classpathentry kind="con"
-               path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" />
-       <classpathentry kind="output" path="bin" />
-</classpath>
diff --git a/org.argeo.security.ui.rcp/.project b/org.argeo.security.ui.rcp/.project
deleted file mode 100644 (file)
index feeafcf..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.security.ui.rcp</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>org.eclipse.jdt.core.javabuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.ManifestBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.SchemaBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.pde.PluginNature</nature>
-               <nature>org.eclipse.jdt.core.javanature</nature>
-       </natures>
-</projectDescription>
diff --git a/org.argeo.security.ui.rcp/.settings/org.eclipse.jdt.core.prefs b/org.argeo.security.ui.rcp/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644 (file)
index 1f382cb..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#Sat Jan 15 17:51:30 CET 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/org.argeo.security.ui.rcp/META-INF/jaas_default.txt b/org.argeo.security.ui.rcp/META-INF/jaas_default.txt
deleted file mode 100644 (file)
index 16d476d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-OS_SPRING {
-    org.eclipse.equinox.security.auth.module.ExtensionLoginModule required
-        extensionId="org.argeo.security.equinox.osSpringLoginModule";
-};
-
-NIX {
-    org.eclipse.equinox.security.auth.module.ExtensionLoginModule requisite
-        extensionId="org.argeo.security.equinox.unixLoginModule";
-    org.eclipse.equinox.security.auth.module.ExtensionLoginModule required
-        extensionId="org.argeo.security.equinox.osSpringLoginModule";
-};
-
-WINDOWS {
-    org.eclipse.equinox.security.auth.module.ExtensionLoginModule requisite
-        extensionId="org.argeo.security.equinox.ntLoginModule";
-    org.eclipse.equinox.security.auth.module.ExtensionLoginModule required
-        extensionId="org.argeo.security.equinox.osSpringLoginModule";
-};
-
-REMOTE {
-    org.eclipse.equinox.security.auth.module.ExtensionLoginModule sufficient
-        extensionId="org.argeo.security.equinox.springLoginModuleRemote";
-};
-
-KEYRING {
-    org.argeo.security.crypto.KeyringLoginModule required;
-};
diff --git a/org.argeo.security.ui.rcp/bnd.bnd b/org.argeo.security.ui.rcp/bnd.bnd
deleted file mode 100644 (file)
index 342ab79..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-Bundle-Activator: org.argeo.security.ui.rcp.SecureApplicationActivator
-Bundle-ActivationPolicy: lazy
-Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime
-Import-Package: org.argeo.eclipse.ui.specific,\
-org.argeo.eclipse.spring,\
-*
diff --git a/org.argeo.security.ui.rcp/build.properties b/org.argeo.security.ui.rcp/build.properties
deleted file mode 100644 (file)
index 5ac3de9..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/main/java/
-output.. = target/classes/
-bin.includes = plugin.xml,\
-               META-INF/,\
-               .,\
-               log4j.properties
diff --git a/org.argeo.security.ui.rcp/icons/alt_about.gif b/org.argeo.security.ui.rcp/icons/alt_about.gif
deleted file mode 100644 (file)
index 20d9ad2..0000000
Binary files a/org.argeo.security.ui.rcp/icons/alt_about.gif and /dev/null differ
diff --git a/org.argeo.security.ui.rcp/icons/alt_launcher.icns b/org.argeo.security.ui.rcp/icons/alt_launcher.icns
deleted file mode 100644 (file)
index b77a6a6..0000000
Binary files a/org.argeo.security.ui.rcp/icons/alt_launcher.icns and /dev/null differ
diff --git a/org.argeo.security.ui.rcp/icons/alt_launcher.ico b/org.argeo.security.ui.rcp/icons/alt_launcher.ico
deleted file mode 100644 (file)
index d548f71..0000000
Binary files a/org.argeo.security.ui.rcp/icons/alt_launcher.ico and /dev/null differ
diff --git a/org.argeo.security.ui.rcp/icons/alt_launcher.xpm b/org.argeo.security.ui.rcp/icons/alt_launcher.xpm
deleted file mode 100644 (file)
index b0c139e..0000000
+++ /dev/null
@@ -1,307 +0,0 @@
-/* XPM */\r
-static char * icon48_xpm[] = {\r
-"48 48 256 2",\r
-"      c #4B4B3B3B9090",\r
-".     c #0D0D0E0E5454",\r
-"X     c #11110E0E5B5B",\r
-"o     c #17170F0F6363",\r
-"O     c #1D1D13136969",\r
-"+     c #212114146C6C",\r
-"@     c #252514147171",\r
-"#     c #282811116C6C",\r
-"$     c #26260D0D6363",\r
-"%     c #22220B0B5E5E",\r
-"&     c #1C1C0B0B5A5A",\r
-"*     c #1C1C0B0B5252",\r
-"=     c #1B1B05055353",\r
-"-     c #161606064D4D",\r
-";     c #161605054949",\r
-":     c #111104044848",\r
-">     c #131304044545",\r
-",     c #131305054242",\r
-"<     c #141410105E5E",\r
-"1     c #2C2C15157373",\r
-"2     c #2B2B1B1B7575",\r
-"3     c #343416167272",\r
-"4     c #313113136E6E",\r
-"5     c #222209095757",\r
-"6     c #1B1B06064D4D",\r
-"7     c #15150B0B4242",\r
-"8     c #13130C0C5555",\r
-"9     c #2E2E1B1B7878",\r
-"0     c #33331F1F7C7C",\r
-"q     c #343418187878",\r
-"w     c #3B3B1C1C7575",\r
-"e     c #2E2E10106767",\r
-"r     c #1B1B07074747",\r
-"t     c #18180B0B4646",\r
-"y     c #151513136262",\r
-"u     c #1A1A15156464",\r
-"i     c #34341F1F7777",\r
-"p     c #40401E1E8080",\r
-"a     c #42421B1B7A7A",\r
-"s     c #3B3B15157474",\r
-"d     c #2B2B0B0B5B5B",\r
-"f     c #222207075252",\r
-"g     c #373727277A7A",\r
-"h     c #474724248484",\r
-"j     c #393915156E6E",\r
-"k     c #373711116A6A",\r
-"l     c #343413136363",\r
-"z     c #232319196E6E",\r
-"x     c #292919197070",\r
-"c     c #3C3C2C2C8282",\r
-"v     c #444431318585",\r
-"b     c #494934348A8A",\r
-"n     c #505026268A8A",\r
-"m     c #3D3D1B1B6E6E",\r
-"M     c #31310E0E5C5C",\r
-"N     c #2B2B0D0D5353",\r
-"B     c #222207074A4A",\r
-"V     c #52523C3C9292",\r
-"C     c #58583C3C9494",\r
-"Z     c #5D5D44449797",\r
-"A     c #5C5C2E2E9292",\r
-"S     c #676733339595",\r
-"D     c #424228287575",\r
-"F     c #29290A0A4F4F",\r
-"G     c #6C6C4A4A9E9E",\r
-"H     c #72725454A7A7",\r
-"J     c #8C8C6D6DB2B2",\r
-"K     c #343424246E6E",\r
-"L     c #3A3A23236A6A",\r
-"P     c #3A3A1C1C6767",\r
-"I     c #24240A0A4B4B",\r
-"U     c #151518186161",\r
-"Y     c #76766F6FA5A5",\r
-"T     c #ADAD9191CCCC",\r
-"R     c #98988989D3D3",\r
-"E     c #45453B3B8686",\r
-"W     c #3C3C35357979",\r
-"Q     c #363631317575",\r
-"!     c #32322D2D6B6B",\r
-"~     c #323229296363",\r
-"^     c #30301F1F6262",\r
-"/     c #323218185E5E",\r
-"(     c #272707074B4B",\r
-")     c #202028286C6C",\r
-"_     c #1E1E1D1D6868",\r
-"`     c #9A9A8282BBBB",\r
-"'     c #C8C8B3B3D3D3",\r
-"]     c #B3B3AFAFE7E7",\r
-"[     c #84847272C6C6",\r
-"{     c #58585757A3A3",\r
-"}     c #3F3F3C3C8A8A",\r
-"|     c #3B3B3A3A8484",\r
-" .    c #414139397D7D",\r
-"..    c #3D3D39397A7A",\r
-"X.    c #37372E2E6E6E",\r
-"o.    c #2C2C21215A5A",\r
-"O.    c #2E2E1B1B5B5B",\r
-"+.    c #F5F5EFEFF5F5",\r
-"@.    c #656566669A9A",\r
-"#.    c #47474B4B8E8E",\r
-"$.    c #3C3C44447B7B",\r
-"%.    c #444442428080",\r
-"&.    c #45453E3E8181",\r
-"*.    c #40403C3C8181",\r
-"=.    c #3D3D33337474",\r
-"-.    c #3B3B30306E6E",\r
-";.    c #38382D2D6969",\r
-":.    c #303026265D5D",\r
-">.    c #2C2C15155A5A",\r
-",.    c #1F1F1C1C7070",\r
-"<.    c #25251E1E7171",\r
-"1.    c #59595C5C9191",\r
-"2.    c #4D4D53538989",\r
-"3.    c #4C4C49498484",\r
-"4.    c #484845458585",\r
-"5.    c #494941418585",\r
-"6.    c #494940408181",\r
-"7.    c #2F2F1C1C5353",\r
-"8.    c #2B2B28287676",\r
-"9.    c #323231317F7F",\r
-"0.    c #545452528B8B",\r
-"q.    c #51514E4E8989",\r
-"w.    c #4E4E4B4B8C8C",\r
-"e.    c #4C4C47478686",\r
-"r.    c #46463D3D7E7E",\r
-"t.    c #434336367A7A",\r
-"y.    c #2B2B13135555",\r
-"u.    c #47473D3D8D8D",\r
-"i.    c #575757578E8E",\r
-"p.    c #48483E3E7F7F",\r
-"a.    c #46463A3A7D7D",\r
-"s.    c #424235357575",\r
-"d.    c #404034347171",\r
-"f.    c #BFBFCBCBFAFA",\r
-"g.    c #B8B8A8A8DDDD",\r
-"h.    c #5E5E60609292",\r
-"j.    c #565655558C8C",\r
-"k.    c #4B4B44448282",\r
-"l.    c #454539397B7B",\r
-"z.    c #434338387878",\r
-"x.    c #3F3F32326D6D",\r
-"c.    c #3D3D30306969",\r
-"v.    c #3A3A2E2E6363",\r
-"b.    c #36362A2A5C5C",\r
-"n.    c #343424245555",\r
-"m.    c #30301E1E4D4D",\r
-"M.    c #49493C3C8282",\r
-"N.    c #5E5E4F4F8C8C",\r
-"B.    c #56563B3B8B8B",\r
-"V.    c #545407078585",\r
-"C.    c #424234347272",\r
-"Z.    c #9797A4A4F7F7",\r
-"A.    c #444436367676",\r
-"S.    c #7D7D7979D5D5",\r
-"D.    c #464640408A8A",\r
-"F.    c #44444B4B8282",\r
-"G.    c #414107077777",\r
-"H.    c #71716161C1C1",\r
-"J.    c #303039397979",\r
-"K.    c #8E8E8E8EE6E6",\r
-"L.    c #404033338B8B",\r
-"P.    c #4A4A45458C8C",\r
-"I.    c #46463A3A8080",\r
-"U.    c #363629295454",\r
-"Y.    c #303022224848",\r
-"T.    c #424237377575",\r
-"R.    c #2E2E1D1D6363",\r
-"E.    c #79798383EAEA",\r
-"W.    c #74747B7BE4E4",\r
-"Q.    c #6D6D7676D6D6",\r
-"!.    c #6A6A7171CECE",\r
-"~.    c #66666969C6C6",\r
-"^.    c #62626565BCBC",\r
-"/.    c #5F5F6060B5B5",\r
-"(.    c #5B5B5B5BACAC",\r
-").    c #535353539898",\r
-"_.    c #4F4F4F4FA4A4",\r
-"`.    c #54544D4DA4A4",\r
-"'.    c #323204046B6B",\r
-"].    c #303035357979",\r
-"[.    c #313122224343",\r
-"{.    c #5A5A5B5BB7B7",\r
-"}.    c #484846468080",\r
-"|.    c #454541417575",\r
-" X    c #4B4B31318282",\r
-".X    c #47473C3C8484",\r
-"XX    c #3E3E35356E6E",\r
-"oX    c #2F2F26264040",\r
-"OX    c #2B2B23233A3A",\r
-"+X    c #262619195C5C",\r
-"@X    c #252515155A5A",\r
-"#X    c #55555151B3B3",\r
-"$X    c #3C3C2D2D5D5D",\r
-"%X    c #39392F2F5656",\r
-"&X    c #37372D2D5050",\r
-"*X    c #25251F1F3030",\r
-"=X    c #24241D1D4343",\r
-"-X    c #202013135656",\r
-";X    c #41413B3B6C6C",\r
-":X    c #444442429696",\r
-">X    c #212100005E5E",\r
-",X    c #444436367272",\r
-"<X    c #444436366F6F",\r
-"1X    c #424236366868",\r
-"2X    c #3F3F34346161",\r
-"3X    c #3C3C32325A5A",\r
-"4X    c #34342A2A4A4A",\r
-"5X    c #21211B1B2121",\r
-"6X    c #22221C1C6363",\r
-"7X    c #2D2D01015E5E",\r
-"8X    c #20201B1B2525",\r
-"9X    c #49492F2F7B7B",\r
-"0X    c #434334346C6C",\r
-"qX    c #323229294545",\r
-"wX    c #1C1C10104F4F",\r
-"eX    c #222217176363",\r
-"rX    c #37371E1E6B6B",\r
-"tX    c #424232326E6E",\r
-"yX    c #444433336969",\r
-"uX    c #424233336565",\r
-"iX    c #1E1E1A1A1E1E",\r
-"pX    c #161601014C4C",\r
-"aX    c #1C1C11115454",\r
-"sX    c #252503035B5B",\r
-"dX    c #414131316A6A",\r
-"fX    c #22221F1F7878",\r
-"gX    c #272724246767",\r
-"hX    c #1D1D16165E5E",\r
-"jX    c #131305055151",\r
-"kX    c #40402F2F6464",\r
-"lX    c #111107074E4E",\r
-"zX    c #0C0C05054B4B",\r
-"xX    c #22221E1E5757",\r
-"cX    c #1A1A0D0D4D4D",\r
-"vX    c #16160B0B4D4D",\r
-"bX    c #060604044747",\r
-"nX    c #040403034343",\r
-"mX    c #3B3B27276565",\r
-"MX    c #0E0E03034141",\r
-"NX    c #111106064A4A",\r
-"BX    c #0E0E04044646",\r
-"VX    c #111105053B3B",\r
-"CX    c #0D0D01013A3A",\r
-"ZX    c #030305053F3F",\r
-"AX    c #0F0F0F0F4C4C",\r
-"SX    c #020207073B3B",\r
-"DX    c #0D0D03034646",\r
-"FX    c #0B0B02023F3F",\r
-"GX    c #0D0D02023434",\r
-"HX    c #0A0A0E0E4444",\r
-"JX    c #161614145252",\r
-"KX    c #0B0B04044646",\r
-"LX    c #0A0A03034444",\r
-"PX    c #1D1D21215757",\r
-"IX    c #090910104040",\r
-"UX    c #18181E1E5353",\r
-"                                                                                                ",\r
-"  . . . . X X o o o o O + + @ @ @ @ @ @ @ # # # # # # $ $ % % & & & & * = - - - ; : > > , , ,   ",\r
-"  . . X X < < o o O O + @ 1 2 2 1 1 1 1 1 1 1 1 3 4 # # $ $ $ % % % 5 = = 6 6 - ; ; > > , , 7   ",\r
-"  . 8 < < < o O O + @ @ 2 9 9 0 0 q q q q q q q w 3 4 4 e e $ $ $ $ % 5 = = 6 6 6 ; ; > > r t   ",\r
-"  . X < y u O O + @ 1 2 i 0 0 p p p p p p p a a p a s 3 4 4 e e e e d 5 5 f f 6 6 6 ; ; r r t   ",\r
-"  X < y u O + + @ 2 9 0 g p p h h h h h h h p h h a a s s j k k j l d d 5 5 f f 6 6 r r r r r   ",\r
-"  X < y O z x x 9 0 g c v b n n n n n n n n n n n h a a s s j j m l M d d N f f B B B B r r r   ",\r
-"  < y u + z 2 0 c c b V C Z C C A A A A A S S S n h D w w m m m m k l M d d N f F F F B r r r   ",\r
-"  < y O z z 9 c b V Z G H H H G S G G J J H V v c g g K K K K L P l l l M M N N N N I B B r r   ",\r
-"  U u + z x i v C H Y J J J J H J T R H V E W W Q Q Q Q ! ! ! ~ ^ ^ / / M M M M M N ( B B r r   ",\r
-"  ) _ z x 9 g b Z Y ` ' ' ' T T ] [ { } |  .........W W Q Q X.! ~ ~ o.O./ / / / N F ( B B B r   ",\r
-"  ) ) z x i c V G J ' +.+.+.+.] [ @.#.$.%.%.%.&.*. . .....W =.-.X.;.~ :.o.O.^ >.N F ( B B B B   ",\r
-"  ) ,.<.2 g v C H J ' +.+.+.+.T Y 1.2.3.4.4.4.5.6.&.&. . ...W =.=.-.;.~ :.o.7.>.N F F ( B I I   ",\r
-"  ) ,.<.8.9.b C H J T +.+.+.' J @.1.0.q.q.w.e.4.5.6.&.r. . .t.W =.=.-.;.~ :.o.7.y.N F ( ( I I   ",\r
-"  8.8.8.9.| u.C G J T +.+.' ` Y @.1.i.0.q.q.e.e.5.6.p.r.a. .t.t.s.d.d.-.;.~ :.7.7.y.F F ( I I   ",\r
-"  9.c c c v b A S H ' f.g.` Y @.h.1.i.j.0.q.q.e.k.6.p.r.a.l.t.z.s.s.d.x.c.v.b.n.m.7.N F F F I   ",\r
-"  <.g M.N.B.B.n V.J f.R J @.h.h.1.i.i.j.j.0.q.3.k.6.p.r.a.l.l.z.s.C.d.x.x.c.v.b.n.m.y.N F F F   ",\r
-"  + x i v B.Z Z G g.Z.[ @.2.i.i.j.j.j.j.j.0.q.3.k.6.p.p.a.l.l.A.s.C.C.d.x.c.v.b.n.m.7.y.N N y.  ",\r
-"  O # 3 w p n Z ` f.S.H D.F.q.0.0.0.0.j.0.q.q.3.k.6.p.r.a.a.l.A.s.s.C.d.x.x.c.v.b.n.m.y.y.y.y.  ",\r
-"  O # 4 s a G.V.T Z.H.V J.%.e.w.q.0.0.0.0.q.q.e.k.6.p.r.a.a.l.z.A.s.C.d.d.x.c.v.b.n.m.7.>.y.y.  ",\r
-"  O # 4 s w G.A f.K.H L...4.P.w.w.w.q.q.q.q.e.e.5.6.M.I.I.a.a.l.z.A.s.d.d.x.c.v.v.U.Y.7.O.>.y.  ",\r
-"  $ # 4 3 s G.G f.S.Z 9.*.D.P.P.w.w.w.w.w.e.e.5.5.M.M.I.I.a.a.l.z.T.s.d.d.x.x.c.v.U.Y.m.R.>.>.  ",\r
-"  E.E.W.W.W.W.E.Z.E.W.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.!.!.!.!.!.~.~.~.~.~.~.^.^.^.^.^./././.(.{ { )._.`._.  ",\r
-"  + # 3 w s '.` f.H.V ].*.D.P.P.P.P.P.P.P.5.5.5.M.M.M.I.I.a.l.z.z.T.T.s.d.d.x.c.v.U.Y.[.^ O.>.  ",\r
-"  ~.~.~.~.~.~.K.Z.S.~.{.^.^.^.^.^.^.^.^././././././.(.(.(.(.(.(.{ { { { { ).).).w.w.}.|.P.u.}   ",\r
-"   .I.6. X X XT f.H.b ].*.E D.D.D.D.5.5..X.XM.M.I.I.a.a.l.l.z.z.T.T.T.d.XXx.c.v.b.U.oXOXR.+X@X  ",\r
-"  E.E.E.W.W.W.K.Z.E.W.Q.Q.Q.Q.Q.Q.Q.Q.!.!.!.!.!.!.~.~.~.~.~.~.^.^.^.^.^./././.(.{ { ).).#X_._.  ",\r
-"  & % $ e '.= H f.H.b 8.W *.E E E .X.X.XI.I.I.I.a.a.l.l.z.z.T.T.T.C.XXXXc.v.$X%X&XY.*X=X2 @X-X  ",\r
-"  {.{.{.{.{.#X~.Z.W.~.{.{./././././././././.(.(.(.(.(.(.(.{ { { { { { ).).).w.w.3.}.;X%.:X} }   ",\r
-"  & & % $ e >XV.f.S.C K X.W t. . .l.l.t.t.t.t.A.A.A.,X,X,X,X,X<X;X1X1X2X3X%X&X4XoX*X5Xo.6X-X-X  ",\r
-"  & & % $ $ >X7X` Z.Z D ! =.=.s.t.t.t.A.A.s.A.,X,X,X,X<X<X<X<X;X1X2X2X3X%X&X4XoXOX8X5X<.@X-X-X  ",\r
-"  8 & & $ e K 9XJ f.^. XK X.=.=.s.s.s.s.s.C.C.C.C.<X0X0X0X1X1X1X2X2X3X%X&X4XqXOX*X8X=X<.-X-XwX  ",\r
-"  8 & eXK k.@.M. Xg.E.B.rX~ -.d.d.C.C.C.C.C.tX0X0X0XyXyX1X1XuX2X2X3X%X&X4XqXoXOX8XiX6XeX-X-XwX  ",\r
-"  6XQ h.Y N.K e pXB.f./.9Xo.;.-.x.d.tXtXtXtXtX0X0XyXyXyXuXuX2X2X3X%X&X4XqXoXOX*XiX=X_ aX-XaXwX  ",\r
-"  Y Y  .R.@X% sX= 7XT Z.V P :.;.c.x.x.x.tXdXdXdXyXyXuXuX2X2X3X3X%X&X4XqXoXOX*X8X*XfXaXaXaXwXwX  ",\r
-"  gXhX& * & 5 5 sXjXa ] S.9X/ ~ v.c.dXdXdXdXdXuXuXuXkX2X2X3X%X%X&X4XqXoXOX*X8XiX<.hXwXwXaXwXwX  ",\r
-"  8 lXlXjX= * 5 5 = zX9X] H.D 7.b.v.v.kXc.kXkXkXkXkX2X$X3X%X&X&X4XqXoXOX*X8XiXxXhXwXcXcXwXwXwX  ",\r
-"  zXzXlXlXjX= = f f sXD Y ] ~.D 7.n.b.v.v.kXkXkXkX$X$X%X%X&X4XqXoXoXOX*X8X5XgXu cXvXvXcXcXwXwX  ",\r
-"  bXbXzXlXlX- = * @XX.h.e D T S.D n.m.b.$X$X$X$X$X%X%X&X&X4XqXoXOX*X8X8X*X<.hXvX; ; vXvXvXcXwX  ",\r
-"  nXbXzXzXlXlX- -XX.Y R.pXpXP J K.Z mXm.n.U.U.U.U.U.4X4XY.oXOX*X8X8X8X=X,.aXvX; > > > t t t cX  ",\r
-"  nXbXbXzXzXlXaXXXY +Xf = f = 7XtXR R   mXn.Y.[.[.[.[.OX*X*X8X5X*X=X,.u vXvX; > > MXMX, 7 t t   ",\r
-"  nXnXnXbXzXvX-.Y +XcX6 6 = = = d L B.G H `.X.:.7.m.=X=X=X=X=X6X,.u cXvXNX: BX> MXVXCXVX7 7 7   ",\r
-"  ZXZXnXbXAXgX@.+XvX; - - - - * @XR.>.sX>.R.i 0 x eXeXeXeXO hXaXcXvXNX: BXMXMXMXVXCXCXCXVX7 7   ",\r
-"  SXZXZXAXgXN.aXNX: : NXNXNX- * +X+X* 6 6 6 * * * * * * * vXvX- NX: DXBXMXMXFXCXCXCXCXGXVXVX7   ",\r
-"  SXSXHXgX0.JXKXLXKXKXDX: : NX* @X-X- - - - - - - - - - - NX: DXDXDXMXMXFXFXCXCXCXCXGXGXGXVXVX  ",\r
-"  SXHXPX3.JXnXnXnXnXbXLXKXKXNXaX-XvX: : NX: : : : : : : BXDXDXLXMXMXFXFXCXCXCXCXGXGXGXGXGXGXGX  ",\r
-"  IXUX$.AXZXZXZXZXnXnXnXLXLXNXJXvXBXDXBXBXBXBXDXDXDXDXLXDXLXLXFXFXFXFXCXCXCXCXGXGXGXGXGXGXGXGX  ",\r
-"                                                                                                "};\r
diff --git a/org.argeo.security.ui.rcp/icons/alt_window_16.gif b/org.argeo.security.ui.rcp/icons/alt_window_16.gif
deleted file mode 100644 (file)
index 05626b1..0000000
Binary files a/org.argeo.security.ui.rcp/icons/alt_window_16.gif and /dev/null differ
diff --git a/org.argeo.security.ui.rcp/icons/alt_window_32.gif b/org.argeo.security.ui.rcp/icons/alt_window_32.gif
deleted file mode 100644 (file)
index b432f88..0000000
Binary files a/org.argeo.security.ui.rcp/icons/alt_window_32.gif and /dev/null differ
diff --git a/org.argeo.security.ui.rcp/plugin.xml b/org.argeo.security.ui.rcp/plugin.xml
deleted file mode 100644 (file)
index 4ddf700..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-
-       <!-- We use the product to define some of the product preferences 
-       see http://dev.eclipse.org/viewcvs/viewvc.cgi/platform-ui-home/rcp/faq.html?revision=1.6#customPrefs --> 
-       <extension
-         id="org.argeo.security.ui.product"
-         point="org.eclipse.core.runtime.products">
-      <product
-            name="ArgeoProduct" application="org.argeo.security.ui.rcp.secureUi">
-          <property
-               name="appName"
-               value="Secure UI">
-         </property>
-            <property
-               name="preferenceCustomization"
-               value="plugin_customization.ini"/>
-      </product>
-   </extension>  
-
-   <extension
-         id="secureUi"
-         name="Argeo Secure UI"
-         point="org.eclipse.core.runtime.applications">
-      <application cardinality="singleton-global"
-         thread="main"
-         visible="true">
-         <run
-               class="org.argeo.security.ui.rcp.SecureRcp">
-         </run>
-      </application>
-   </extension>
-   
-   <extension
-         point="org.eclipse.equinox.security.callbackHandlerMapping">
-      <callbackHandlerMapping
-            callbackHandlerId="org.argeo.security.ui.defaultLoginDialog"
-            configName="REMOTE">
-      </callbackHandlerMapping>
-   </extension>
-   
-       <!-- COMMANDS --> 
-       <extension point="org.eclipse.ui.commands">
-               <!-- Register a default command that enable an "open file" action in a single sourced application  -->  
-               <command
-                       defaultHandler="org.argeo.eclipse.ui.specific.OpenFile"
-                       id="org.argeo.security.ui.specific.openFile"
-                       name="OpenFile">
-                       <commandParameter
-                       id="param.fileName"
-                       name="The name of the file to open (optional)">
-                       </commandParameter>
-            <commandParameter
-                       id="param.fileURI"
-                       name="The URI of this file on the server">
-                       </commandParameter>
-                       <commandParameter
-                       id="param.filePath"
-                       name="The absolute path of this file on the server file system">
-                       </commandParameter>
-               </command>
-       </extension>
-</plugin>
diff --git a/org.argeo.security.ui.rcp/plugin_customization.ini b/org.argeo.security.ui.rcp/plugin_customization.ini
deleted file mode 100644 (file)
index baf9cef..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-org.eclipse.ui/DOCK_PERSPECTIVE_BAR=topRight
-org.eclipse.ui/SHOW_TEXT_ON_PERSPECTIVE_BAR=true
-org.eclipse.ui/PERSPECTIVE_BAR_SIZE=100
-org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS=true
-org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP = false
diff --git a/org.argeo.security.ui.rcp/pom.xml b/org.argeo.security.ui.rcp/pom.xml
deleted file mode 100644 (file)
index 92a6b87..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.argeo.commons</groupId>
-               <version>2.1.12-SNAPSHOT</version>
-               <artifactId>argeo-commons</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>org.argeo.security.ui.rcp</artifactId>
-       <name>Commons Security UI RCP</name>
-       <packaging>jar</packaging>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <configuration>
-                                       <instructions>
-                                               <Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-               <!-- Commons -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.util</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-
-               <!-- Logging -->
-               <!-- <dependency> -->
-               <!-- <groupId>org.argeo.tp</groupId> -->
-               <!-- <artifactId>slf4j.org.apache.commons.logging</artifactId> -->
-               <!-- </dependency> -->
-
-               <!-- Argeo Security -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.security.ui</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.security.equinox</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-
-               <!-- RCP specific -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.eclipse.ui.rcp</artifactId>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
-                       <type>pom</type>
-                       <version>2.1.12-SNAPSHOT</version>
-               </dependency>
-       </dependencies>
-</project>
\ No newline at end of file
diff --git a/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/AbstractSecureApplication.java b/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/AbstractSecureApplication.java
deleted file mode 100644 (file)
index 75184cb..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.security.ui.rcp;
-
-import java.security.PrivilegedAction;
-
-import javax.security.auth.Subject;
-import javax.security.auth.login.LoginException;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.argeo.OperatingSystem;
-import org.eclipse.equinox.app.IApplication;
-import org.eclipse.equinox.app.IApplicationContext;
-import org.eclipse.equinox.security.auth.ILoginContext;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.application.WorkbenchAdvisor;
-
-/**
- * RCP workbench initialization
- */
-public abstract class AbstractSecureApplication implements IApplication {
-       final static String NODE_REPO_URI = "argeo.node.repo.uri";
-
-       private static final Log log = LogFactory
-                       .getLog(AbstractSecureApplication.class);
-
-       protected WorkbenchAdvisor createWorkbenchAdvisor(String username) {
-               return new SecureWorkbenchAdvisor(username);
-       }
-
-       public Object start(IApplicationContext context) throws Exception {
-               // wait for the system to be initialized
-               // try {
-               // Thread.sleep(3000);
-               // } catch (Exception e2) {
-               // // silent
-               // }
-
-               boolean remote = System.getProperty(NODE_REPO_URI) != null;
-
-               // choose login context
-               final ILoginContext loginContext;
-               if (remote) {
-                       loginContext = SecureApplicationActivator
-                                       .createLoginContext(SecureApplicationActivator.CONTEXT_REMOTE);
-               } else {
-                       if (OperatingSystem.os == OperatingSystem.WINDOWS)
-                               loginContext = SecureApplicationActivator
-                                               .createLoginContext(SecureApplicationActivator.CONTEXT_WINDOWS);
-                       else
-                               loginContext = SecureApplicationActivator
-                                               .createLoginContext(SecureApplicationActivator.CONTEXT_NIX);
-               }
-
-               final Display display = PlatformUI.createDisplay();
-
-               // login
-               Subject subject = null;
-               try {
-                       loginContext.login();
-                       subject = loginContext.getSubject();
-               } catch (LoginException e) {
-                       log.error("Error when logging in.", e);
-                       display.dispose();
-                       try {
-                               Thread.sleep(2000);
-                       } catch (InterruptedException e1) {
-                               // silent
-                       }
-                       return null;
-               }
-
-               // identify after successful login
-               if (log.isDebugEnabled())
-                       log.debug("subject=" + subject);
-               final String username = subject.getPrincipals().iterator().next()
-                               .getName();
-               if (log.isDebugEnabled())
-                       log.debug(username + " logged in");
-//             display.disposeExec(new Runnable() {
-//                     public void run() {
-//                             log.debug("Display disposed");
-//                             logout(loginContext, username);
-//                     }
-//             });
-
-               try {
-                       PrivilegedAction<?> privilegedAction = new PrivilegedAction<Object>() {
-                               public Object run() {
-                                       int result = PlatformUI.createAndRunWorkbench(display,
-                                                       createWorkbenchAdvisor(username));
-                                       return new Integer(result);
-                               }
-                       };
-
-                       Integer returnCode = (Integer) Subject.doAs(subject,
-                                       privilegedAction);
-                       logout(loginContext, username);
-                       return processReturnCode(returnCode);
-               } catch (Exception e) {
-                       if (subject != null)
-                               logout(loginContext, username);
-                       log.error("Unexpected error", e);
-               } finally {
-                       display.dispose();
-               }
-               return null;
-       }
-
-       protected Integer processReturnCode(Integer returnCode) {
-               if (returnCode == PlatformUI.RETURN_RESTART)
-                       return IApplication.EXIT_RESTART;
-               else
-                       return IApplication.EXIT_OK;
-       }
-
-       static void logout(ILoginContext secureContext, String username) {
-               try {
-                       secureContext.logout();
-                       log.info("Logged out " + (username != null ? username : "")
-                                       + " (THREAD=" + Thread.currentThread().getId() + ")");
-               } catch (LoginException e) {
-                       log.error("Erorr when logging out", e);
-               }
-       }
-
-       public void stop() {
-               final IWorkbench workbench;
-               try {
-                       workbench = PlatformUI.getWorkbench();
-               } catch (Exception e) {
-                       return;
-               }
-               if (workbench == null)
-                       return;
-               final Display display = workbench.getDisplay();
-               if (display != null && !display.isDisposed())
-                       display.syncExec(new Runnable() {
-
-                               public void run() {
-                                       if (!display.isDisposed())
-                                               workbench.close();
-                               }
-                       });
-
-               if (log.isDebugEnabled())
-                       log.debug("workbench stopped");
-       }
-
-}
diff --git a/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureActionBarAdvisor.java b/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureActionBarAdvisor.java
deleted file mode 100644 (file)
index 481865b..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.security.ui.rcp;
-
-import org.eclipse.jface.action.GroupMarker;
-import org.eclipse.jface.action.ICoolBarManager;
-import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.action.IToolBarManager;
-import org.eclipse.jface.action.MenuManager;
-import org.eclipse.jface.action.Separator;
-import org.eclipse.jface.action.ToolBarManager;
-import org.eclipse.swt.SWT;
-import org.eclipse.ui.IWorkbenchActionConstants;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.actions.ActionFactory;
-import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
-import org.eclipse.ui.application.ActionBarAdvisor;
-import org.eclipse.ui.application.IActionBarConfigurer;
-
-public class SecureActionBarAdvisor extends ActionBarAdvisor {
-       private IWorkbenchAction exitAction;
-       private IWorkbenchAction openPerspectiveDialogAction;
-       private IWorkbenchAction showViewMenuAction;
-       private IWorkbenchAction preferences;
-       private IWorkbenchAction saveAction;
-       private IWorkbenchAction saveAsAction;
-       private IWorkbenchAction saveAllAction;
-       private IWorkbenchAction closeAllAction;
-
-       // private final Boolean isRcp;
-
-       public SecureActionBarAdvisor(IActionBarConfigurer configurer, Boolean isRcp) {
-               super(configurer);
-               // this.isRcp = isRcp;
-       }
-
-       protected void makeActions(IWorkbenchWindow window) {
-               preferences = ActionFactory.PREFERENCES.create(window);
-               register(preferences);
-               openPerspectiveDialogAction = ActionFactory.OPEN_PERSPECTIVE_DIALOG
-                               .create(window);
-               register(openPerspectiveDialogAction);
-               showViewMenuAction = ActionFactory.SHOW_VIEW_MENU.create(window);
-               register(showViewMenuAction);
-
-               exitAction = ActionFactory.QUIT.create(window);
-               register(exitAction);
-
-               // Save semantiocs
-               saveAction = ActionFactory.SAVE.create(window);
-               register(saveAction);
-               saveAsAction = ActionFactory.SAVE_AS.create(window);
-               register(saveAsAction);
-               saveAllAction = ActionFactory.SAVE_ALL.create(window);
-               register(saveAllAction);
-               closeAllAction = ActionFactory.CLOSE_ALL.create(window);
-               register(closeAllAction);
-
-       }
-
-       protected void fillMenuBar(IMenuManager menuBar) {
-               MenuManager fileMenu = new MenuManager("&File",
-                               IWorkbenchActionConstants.M_FILE);
-               MenuManager editMenu = new MenuManager("&Edit",
-                               IWorkbenchActionConstants.M_EDIT);
-               MenuManager windowMenu = new MenuManager("&Window",
-                               IWorkbenchActionConstants.M_WINDOW);
-
-               menuBar.add(fileMenu);
-               menuBar.add(editMenu);
-               menuBar.add(windowMenu);
-               // Add a group marker indicating where action set menus will appear.
-               menuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
-
-               // File
-               fileMenu.add(saveAction);
-               fileMenu.add(saveAsAction);
-               fileMenu.add(saveAllAction);
-               fileMenu.add(closeAllAction);
-               fileMenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
-               fileMenu.add(new Separator());
-               fileMenu.add(exitAction);
-
-               // Edit
-               editMenu.add(preferences);
-
-               // Window
-               windowMenu.add(openPerspectiveDialogAction);
-               windowMenu.add(showViewMenuAction);
-       }
-
-       @Override
-       protected void fillCoolBar(ICoolBarManager coolBar) {
-               IToolBarManager saveToolbar = new ToolBarManager(SWT.FLAT | SWT.RIGHT);
-               saveToolbar.add(saveAction);
-               saveToolbar.add(saveAllAction);
-               coolBar.add(saveToolbar);
-       }
-
-}
diff --git a/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureApplicationActivator.java b/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureApplicationActivator.java
deleted file mode 100644 (file)
index 9c0425c..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.security.ui.rcp;
-
-import java.net.URL;
-
-import org.eclipse.equinox.security.auth.ILoginContext;
-import org.eclipse.equinox.security.auth.LoginContextFactory;
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-/** Activator able to create {@link ILoginContext} */
-public class SecureApplicationActivator implements BundleActivator {
-
-       public final static String CONTEXT_REMOTE = "REMOTE";
-       public final static String CONTEXT_NIX = "NIX";
-       public final static String CONTEXT_WINDOWS = "WINDOWS";
-       private static final String JAAS_CONFIG_FILE = "/META-INF/jaas_default.txt";
-
-       private static BundleContext bundleContext;
-
-       public void start(BundleContext bundleContext) throws Exception {
-               SecureApplicationActivator.bundleContext = bundleContext;
-       }
-
-       public void stop(BundleContext context) throws Exception {
-       }
-
-       static ILoginContext createLoginContext(String context) {
-               URL configUrl = bundleContext.getBundle().getEntry(JAAS_CONFIG_FILE);
-               return LoginContextFactory.createContext(context, configUrl);
-       }
-}
diff --git a/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureRcp.java b/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureRcp.java
deleted file mode 100644 (file)
index d8125cf..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.security.ui.rcp;
-
-
-public class SecureRcp extends AbstractSecureApplication {
-}
diff --git a/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureWorkbenchAdvisor.java b/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureWorkbenchAdvisor.java
deleted file mode 100644 (file)
index 33b781e..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.security.ui.rcp;
-
-import org.eclipse.ui.IPerspectiveDescriptor;
-import org.eclipse.ui.application.IWorkbenchConfigurer;
-import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
-import org.eclipse.ui.application.WorkbenchAdvisor;
-import org.eclipse.ui.application.WorkbenchWindowAdvisor;
-
-/**
- * Workbench configuration which is aware of the logged in user and can remember
- * workbench state.
- */
-public class SecureWorkbenchAdvisor extends WorkbenchAdvisor {
-       public final static String INITIAL_PERSPECTIVE_PROPERTY = "org.argeo.security.ui.initialPerspective";
-       public final static String SAVE_AND_RESTORE_PROPERTY = "org.argeo.security.ui.saveAndRestore";
-
-       private String initialPerspective = System.getProperty(
-                       INITIAL_PERSPECTIVE_PROPERTY, null);
-
-       private final String username;
-
-       public SecureWorkbenchAdvisor(String username) {
-               this.username = username;
-       }
-
-       @Override
-       public void initialize(final IWorkbenchConfigurer configurer) {
-               super.initialize(configurer);
-               Boolean saveAndRestore = Boolean.parseBoolean(System.getProperty(
-                               SAVE_AND_RESTORE_PROPERTY, "true"));
-               configurer.setSaveAndRestore(saveAndRestore);
-       }
-
-       public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
-                       IWorkbenchWindowConfigurer configurer) {
-               return new SecureWorkbenchWindowAdvisor(configurer, username);
-       }
-
-       public String getInitialWindowPerspectiveId() {
-               if (initialPerspective != null) {
-                       // check whether this user can see the declared perspective
-                       // (typically the perspective won't be listed if this user doesn't
-                       // have the right to see it)
-                       IPerspectiveDescriptor pd = getWorkbenchConfigurer().getWorkbench()
-                                       .getPerspectiveRegistry()
-                                       .findPerspectiveWithId(initialPerspective);
-                       if (pd == null)
-                               return null;
-               }
-               return initialPerspective;
-       }
-
-       protected String getUsername() {
-               return username;
-       }
-}
diff --git a/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureWorkbenchWindowAdvisor.java b/org.argeo.security.ui.rcp/src/org/argeo/security/ui/rcp/SecureWorkbenchWindowAdvisor.java
deleted file mode 100644 (file)
index d8aaec4..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.security.ui.rcp;
-
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.ui.application.ActionBarAdvisor;
-import org.eclipse.ui.application.IActionBarConfigurer;
-import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
-import org.eclipse.ui.application.WorkbenchWindowAdvisor;
-
-public class SecureWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
-       private final String username;
-
-       public SecureWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer,
-                       String username) {
-               super(configurer);
-               this.username = username;
-       }
-
-       public ActionBarAdvisor createActionBarAdvisor(
-                       IActionBarConfigurer configurer) {
-               return new SecureActionBarAdvisor(configurer, true);
-       }
-
-       public void preWindowOpen() {
-               IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
-               configurer.setInitialSize(new Point(1200, 900));
-               configurer.setShowCoolBar(true);
-               configurer.setShowMenuBar(true);
-               configurer.setShowStatusLine(true);
-               configurer.setShowProgressIndicator(true);
-
-               configurer.setShowPerspectiveBar(true);
-               String remoteUri = System
-                               .getProperty(AbstractSecureApplication.NODE_REPO_URI);
-               if (remoteUri != null)
-                       configurer
-                                       .setTitle("Argeo UI - " + username + " (" + remoteUri + ")"); //$NON-NLS-1$
-               else
-                       configurer.setTitle("Argeo UI - " + username); //$NON-NLS-1$
-
-       }
-}
diff --git a/pom.xml b/pom.xml
index 5e7ddf01a8754491c3eca8515ad90b9d95c65f04..207a66c5d4321e408430b1e9df09e626d4592667 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -35,7 +35,6 @@
                <module>org.argeo.security.auth.ldap</module>
                <module>org.argeo.security.dao.ldap</module>
                <module>org.argeo.security.dao.cli</module>
-               <module>org.argeo.security.dao.os</module>
                <module>org.argeo.security.dao.jackrabbit</module>
                <!-- Servers -->
                <module>org.argeo.server.jcr.mvc</module>
@@ -47,7 +46,6 @@
                <!-- Eclipse -->
                <module>org.argeo.eclipse.ui</module>
                <module>org.argeo.eclipse.ui.rap</module>
-               <module>org.argeo.eclipse.ui.rcp</module>
                <!-- Node -->
                <module>org.argeo.node.repo.jackrabbit</module>
                <module>org.argeo.cms</module>
@@ -58,7 +56,6 @@
                <module>org.argeo.security.ui.admin</module>
                <!-- Standard Workbench Products -->
                <module>org.argeo.security.ui.rap</module>
-               <module>org.argeo.security.ui.rcp</module>
                <!-- Legacy -->
                <module>org.argeo.server.core</module>
                <!-- <module>org.argeo.ext.jdbm</module> -->