Simexplorer-si-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
February 2008
- 2 participants
- 701 discussions
r665 - in trunk: simexplorer-is simexplorer-is-ear simexplorer-is-entities simexplorer-is-security simexplorer-is-service simexplorer-is-storage simexplorer-is-swing simexplorer-is-web
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
04 Feb '08
Author: tchemit
Date: 2008-02-04 19:34:05 +0000 (Mon, 04 Feb 2008)
New Revision: 665
Modified:
trunk/simexplorer-is-ear/profiles.xml
trunk/simexplorer-is-entities/profiles.xml
trunk/simexplorer-is-security/profiles.xml
trunk/simexplorer-is-service/profiles.xml
trunk/simexplorer-is-storage/profiles.xml
trunk/simexplorer-is-swing/profiles.xml
trunk/simexplorer-is-web/profiles.xml
trunk/simexplorer-is/profiles.xml
Log:
ajout xsd sur les fichiers profiles.xml
Modified: trunk/simexplorer-is/profiles.xml
===================================================================
--- trunk/simexplorer-is/profiles.xml 2008-02-04 19:22:30 UTC (rev 664)
+++ trunk/simexplorer-is/profiles.xml 2008-02-04 19:34:05 UTC (rev 665)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<settings>
+<settings 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/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>project</id>
Modified: trunk/simexplorer-is-ear/profiles.xml
===================================================================
--- trunk/simexplorer-is-ear/profiles.xml 2008-02-04 19:22:30 UTC (rev 664)
+++ trunk/simexplorer-is-ear/profiles.xml 2008-02-04 19:34:05 UTC (rev 665)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<settings>
+<settings 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/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>project</id>
Modified: trunk/simexplorer-is-entities/profiles.xml
===================================================================
--- trunk/simexplorer-is-entities/profiles.xml 2008-02-04 19:22:30 UTC (rev 664)
+++ trunk/simexplorer-is-entities/profiles.xml 2008-02-04 19:34:05 UTC (rev 665)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<settings>
+<settings 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/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>project</id>
Modified: trunk/simexplorer-is-security/profiles.xml
===================================================================
--- trunk/simexplorer-is-security/profiles.xml 2008-02-04 19:22:30 UTC (rev 664)
+++ trunk/simexplorer-is-security/profiles.xml 2008-02-04 19:34:05 UTC (rev 665)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<settings>
+<settings 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/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>project</id>
Modified: trunk/simexplorer-is-service/profiles.xml
===================================================================
--- trunk/simexplorer-is-service/profiles.xml 2008-02-04 19:22:30 UTC (rev 664)
+++ trunk/simexplorer-is-service/profiles.xml 2008-02-04 19:34:05 UTC (rev 665)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<settings>
+<settings 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/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>project</id>
Modified: trunk/simexplorer-is-storage/profiles.xml
===================================================================
--- trunk/simexplorer-is-storage/profiles.xml 2008-02-04 19:22:30 UTC (rev 664)
+++ trunk/simexplorer-is-storage/profiles.xml 2008-02-04 19:34:05 UTC (rev 665)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<settings>
+<settings 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/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>project</id>
Modified: trunk/simexplorer-is-swing/profiles.xml
===================================================================
--- trunk/simexplorer-is-swing/profiles.xml 2008-02-04 19:22:30 UTC (rev 664)
+++ trunk/simexplorer-is-swing/profiles.xml 2008-02-04 19:34:05 UTC (rev 665)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<settings>
+<settings 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/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>project</id>
Modified: trunk/simexplorer-is-web/profiles.xml
===================================================================
--- trunk/simexplorer-is-web/profiles.xml 2008-02-04 19:22:30 UTC (rev 664)
+++ trunk/simexplorer-is-web/profiles.xml 2008-02-04 19:34:05 UTC (rev 665)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<settings>
+<settings 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/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>project</id>
1
0
r664 - in trunk: simexplorer-is-security/src simexplorer-is-security/src/resources simexplorer-is-security/src/resources/i18n simexplorer-is-storage/src/resources simexplorer-is-storage/src/resources/i18n
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
04 Feb '08
Author: tchemit
Date: 2008-02-04 19:22:30 +0000 (Mon, 04 Feb 2008)
New Revision: 664
Added:
trunk/simexplorer-is-security/src/resources/
trunk/simexplorer-is-security/src/resources/i18n/
trunk/simexplorer-is-security/src/resources/i18n/simexplorer-is-security-en_GB.properties
trunk/simexplorer-is-security/src/resources/i18n/simexplorer-is-security-fr_FR.properties
trunk/simexplorer-is-storage/src/resources/i18n/
trunk/simexplorer-is-storage/src/resources/i18n/simexplorer-is-storage-en_GB.properties
trunk/simexplorer-is-storage/src/resources/i18n/simexplorer-is-storage-fr_FR.properties
Log:
par d?\195?\169faut , on ne lance pas l'ui de modification de clefs
+ int?\195?\169gration i18n sur tous les modules (sauf ear et common)
Added: trunk/simexplorer-is-security/src/resources/i18n/simexplorer-is-security-en_GB.properties
===================================================================
--- trunk/simexplorer-is-security/src/resources/i18n/simexplorer-is-security-en_GB.properties (rev 0)
+++ trunk/simexplorer-is-security/src/resources/i18n/simexplorer-is-security-en_GB.properties 2008-02-04 19:22:30 UTC (rev 664)
@@ -0,0 +1 @@
+#Mon Feb 04 19:20:41 GMT 2008
Added: trunk/simexplorer-is-security/src/resources/i18n/simexplorer-is-security-fr_FR.properties
===================================================================
--- trunk/simexplorer-is-security/src/resources/i18n/simexplorer-is-security-fr_FR.properties (rev 0)
+++ trunk/simexplorer-is-security/src/resources/i18n/simexplorer-is-security-fr_FR.properties 2008-02-04 19:22:30 UTC (rev 664)
@@ -0,0 +1 @@
+#Mon Feb 04 19:20:41 GMT 2008
Added: trunk/simexplorer-is-storage/src/resources/i18n/simexplorer-is-storage-en_GB.properties
===================================================================
--- trunk/simexplorer-is-storage/src/resources/i18n/simexplorer-is-storage-en_GB.properties (rev 0)
+++ trunk/simexplorer-is-storage/src/resources/i18n/simexplorer-is-storage-en_GB.properties 2008-02-04 19:22:30 UTC (rev 664)
@@ -0,0 +1 @@
+#Mon Feb 04 19:20:52 GMT 2008
Added: trunk/simexplorer-is-storage/src/resources/i18n/simexplorer-is-storage-fr_FR.properties
===================================================================
--- trunk/simexplorer-is-storage/src/resources/i18n/simexplorer-is-storage-fr_FR.properties (rev 0)
+++ trunk/simexplorer-is-storage/src/resources/i18n/simexplorer-is-storage-fr_FR.properties 2008-02-04 19:22:30 UTC (rev 664)
@@ -0,0 +1 @@
+#Mon Feb 04 19:20:52 GMT 2008
1
0
r663 - in trunk: simexplorer-is-entities simexplorer-is-security simexplorer-is-storage simexplorer-is-swing
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
04 Feb '08
Author: tchemit
Date: 2008-02-04 19:19:39 +0000 (Mon, 04 Feb 2008)
New Revision: 663
Modified:
trunk/simexplorer-is-entities/pom.xml
trunk/simexplorer-is-security/pom.xml
trunk/simexplorer-is-storage/pom.xml
trunk/simexplorer-is-swing/pom.xml
Log:
par d?\195?\169faut , on ne lance pas l'ui de modification de clefs
+ int?\195?\169gration i18n sur tous les modules (sauf ear et common)
Modified: trunk/simexplorer-is-entities/pom.xml
===================================================================
--- trunk/simexplorer-is-entities/pom.xml 2008-02-04 19:12:41 UTC (rev 662)
+++ trunk/simexplorer-is-entities/pom.xml 2008-02-04 19:19:39 UTC (rev 663)
@@ -30,7 +30,6 @@
<param>fr_FR</param>
<param>en_GB</param>
</bundles>
- <keysModifier>false</keysModifier>
</configuration>
<executions>
<execution>
Modified: trunk/simexplorer-is-security/pom.xml
===================================================================
--- trunk/simexplorer-is-security/pom.xml 2008-02-04 19:12:41 UTC (rev 662)
+++ trunk/simexplorer-is-security/pom.xml 2008-02-04 19:19:39 UTC (rev 663)
@@ -19,7 +19,33 @@
<version>0.0.1-SNAPSHOT</version>
</parent>
- <dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>lutinplugin</groupId>
+ <artifactId>maven-i18n-plugin</artifactId>
+ <version>0.2-SNAPSHOT</version>
+ <configuration>
+ <bundles>
+ <param>fr_FR</param>
+ <param>en_GB</param>
+ </bundles>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>parserJava</goal>
+ <goal>gen</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <dependencies>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
Modified: trunk/simexplorer-is-storage/pom.xml
===================================================================
--- trunk/simexplorer-is-storage/pom.xml 2008-02-04 19:12:41 UTC (rev 662)
+++ trunk/simexplorer-is-storage/pom.xml 2008-02-04 19:19:39 UTC (rev 663)
@@ -18,7 +18,33 @@
<version>0.0.1-SNAPSHOT</version>
</parent>
- <dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>lutinplugin</groupId>
+ <artifactId>maven-i18n-plugin</artifactId>
+ <version>0.2-SNAPSHOT</version>
+ <configuration>
+ <bundles>
+ <param>fr_FR</param>
+ <param>en_GB</param>
+ </bundles>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>parserJava</goal>
+ <goal>gen</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <dependencies>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
Modified: trunk/simexplorer-is-swing/pom.xml
===================================================================
--- trunk/simexplorer-is-swing/pom.xml 2008-02-04 19:12:41 UTC (rev 662)
+++ trunk/simexplorer-is-swing/pom.xml 2008-02-04 19:19:39 UTC (rev 663)
@@ -125,8 +125,7 @@
<bundles>
<param>fr_FR</param>
<param>en_GB</param>
- </bundles>
- <keysModifier>false</keysModifier>
+ </bundles>
</configuration>
<executions>
<execution>
1
0
r662 - trunk/simexplorer-is-swing/src/resources/i18n
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
04 Feb '08
Author: tchemit
Date: 2008-02-04 19:12:41 +0000 (Mon, 04 Feb 2008)
New Revision: 662
Modified:
trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-en_GB.properties
trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-fr_FR.properties
Log:
supression module admin (users, groups)
Modified: trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-en_GB.properties
===================================================================
--- trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-en_GB.properties 2008-02-04 19:12:23 UTC (rev 661)
+++ trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-en_GB.properties 2008-02-04 19:12:41 UTC (rev 662)
@@ -1,4 +1,4 @@
-#Mon Feb 04 19:19:45 CET 2008
+#Mon Feb 04 19:11:17 GMT 2008
simexplorer.action.about=About
simexplorer.action.about.help=
simexplorer.action.about.tooltip=Show About dialog
@@ -43,9 +43,6 @@
simexplorer.action.delete2=Delete ''{0}''
simexplorer.action.dowload2=Download ''{0}''
simexplorer.action.export2=Export ''{0}''
-simexplorer.action.groups=Groups
-simexplorer.action.groups.help=
-simexplorer.action.groups.tooltip=Show Groups admin screen
simexplorer.action.help=Help
simexplorer.action.help.help=
simexplorer.action.help.tooltip=Show help dialog
@@ -107,10 +104,6 @@
simexplorer.action.unconnect=Unconnect
simexplorer.action.unconnect.help=
simexplorer.action.unconnect.tooltip=Disconnect from remote server
-simexplorer.action.users=Users
-simexplorer.action.users.help=
-simexplorer.action.users.tooltip=Show Users admin screen
-simexplorer.admin.menu=Admin
simexplorer.change.config.property=
simexplorer.common.cancel=cancel
simexplorer.common.creationDate=create date
Modified: trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-fr_FR.properties
===================================================================
--- trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-fr_FR.properties 2008-02-04 19:12:23 UTC (rev 661)
+++ trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-fr_FR.properties 2008-02-04 19:12:41 UTC (rev 662)
@@ -1,4 +1,4 @@
-#Mon Feb 04 19:19:45 CET 2008
+#Mon Feb 04 19:11:17 GMT 2008
simexplorer.action.about=A propos
simexplorer.action.about.help=
simexplorer.action.about.tooltip=Afficher les cr\u00E9dits
@@ -43,9 +43,6 @@
simexplorer.action.delete2=Supprimer ''{0}''
simexplorer.action.dowload2=T\u00E9l\u00E9charger ''{0}''
simexplorer.action.export2=Exporter ''{0}''
-simexplorer.action.groups=Groupes
-simexplorer.action.groups.help=
-simexplorer.action.groups.tooltip=Afficher le gestionnaire des groupes
simexplorer.action.help=Aide
simexplorer.action.help.help=
simexplorer.action.help.tooltip=Acc\u00E9der \u00E0 l'aide
@@ -107,10 +104,6 @@
simexplorer.action.unconnect=D\u00E9connexion
simexplorer.action.unconnect.help=
simexplorer.action.unconnect.tooltip=Se d\u00E9connecter du serveur distant
-simexplorer.action.users=Utilisateurs
-simexplorer.action.users.help=
-simexplorer.action.users.tooltip=Afficher le gestionnaire des utilisateurs
-simexplorer.admin.menu=Administration
simexplorer.change.config.property=
simexplorer.common.cancel=annuler
simexplorer.common.creationDate=date de cr\u00E9ation
1
0
Author: tchemit
Date: 2008-02-04 19:12:23 +0000 (Mon, 04 Feb 2008)
New Revision: 661
Modified:
trunk/simexplorer-is-swing/pom.xml
Log:
normalisation nom paquetage
Modified: trunk/simexplorer-is-swing/pom.xml
===================================================================
--- trunk/simexplorer-is-swing/pom.xml 2008-02-04 19:12:09 UTC (rev 660)
+++ trunk/simexplorer-is-swing/pom.xml 2008-02-04 19:12:23 UTC (rev 661)
@@ -139,7 +139,7 @@
<treateDefaultEntry>false</treateDefaultEntry>
<entries>
<entry>
- <basedir>${basedir}/src/java/fr/cemagref/simexplorer/is/ui/swing/action</basedir>
+ <basedir>${basedir}/src/java/fr/cemagref/simexplorer/is/ui/swing/actions</basedir>
<includes>
<param>**\/*Action.java</param>
</includes>
1
0
r660 - trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
04 Feb '08
Author: tchemit
Date: 2008-02-04 19:12:09 +0000 (Mon, 04 Feb 2008)
New Revision: 660
Modified:
trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/SimExplorerUI.jaxx
Log:
supression module admin (users, groups)
Modified: trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/SimExplorerUI.jaxx
===================================================================
--- trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/SimExplorerUI.jaxx 2008-02-04 19:07:33 UTC (rev 659)
+++ trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/SimExplorerUI.jaxx 2008-02-04 19:12:09 UTC (rev 660)
@@ -26,11 +26,6 @@
</JMenu>
<JMenuItem id="config" enabled='false'/>
</JMenu>
- <!-- menu admin -->
- <JMenu text='{_("simexplorer.admin.menu")}' mnemonic="{'d'}">
- <JMenuItem id="groups" enabled='false'/>
- <JMenuItem id="users" enabled='false'/>
- </JMenu>
<!-- menu aide -->
<JMenu text='{_("simexplorer.help.menu")}' mnemonic="{'e'}">
<JMenuItem id="help" enabled='false'/>
1
0
r659 - in trunk/simexplorer-is-swing/src: java/fr/cemagref/simexplorer/is/ui/swing/actions resources
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
04 Feb '08
Author: tchemit
Date: 2008-02-04 19:07:33 +0000 (Mon, 04 Feb 2008)
New Revision: 659
Removed:
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/GroupsAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UsersAction.java
Modified:
trunk/simexplorer-is-swing/src/resources/actions.properties
Log:
supression module admin (users, groups)
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/GroupsAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/GroupsAction.java 2008-02-04 19:04:56 UTC (rev 658)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/GroupsAction.java 2008-02-04 19:07:33 UTC (rev 659)
@@ -1,47 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.actions;
-
-import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
-
-/**
- * Action pour afficher la page de gestion des groupes d'utilisateurs
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "groups",
- //container = SimExplorerUI.class,
- name = "simexplorer.action.groups",
- shortDescription = "simexplorer.action.groups.tooltip",
- longDescription = "simexplorer.action.groups.help",
- //smallIcon = "action/groups.png",
- smallIcon = "action/groups.png",
- mnemonic = 'G',
- hideActionText = false
-)
-public class GroupsAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = 42756519520713299L;
-
- public GroupsAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UsersAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UsersAction.java 2008-02-04 19:04:56 UTC (rev 658)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UsersAction.java 2008-02-04 19:07:33 UTC (rev 659)
@@ -1,45 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.actions;
-
-import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
-
-/**
- * Action pour voir la gestion des utilisateurs
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "users",
- name = "simexplorer.action.users",
- shortDescription = "simexplorer.action.users.tooltip",
- longDescription = "simexplorer.action.users.help",
- smallIcon = "action/users.png",
- mnemonic = 'U',
- hideActionText = false
-)
-public class UsersAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = -8183522709906575547L;
-
- public UsersAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
Modified: trunk/simexplorer-is-swing/src/resources/actions.properties
===================================================================
--- trunk/simexplorer-is-swing/src/resources/actions.properties 2008-02-04 19:04:56 UTC (rev 658)
+++ trunk/simexplorer-is-swing/src/resources/actions.properties 2008-02-04 19:07:33 UTC (rev 659)
@@ -42,9 +42,6 @@
action.importApplication=fr.cemagref.simexplorer.is.ui.swing.actions.ImportApplicationAction
action.launchSynchronize=fr.cemagref.simexplorer.is.ui.swing.actions.LaunchSynchronizeAction
-action.groups=fr.cemagref.simexplorer.is.ui.swing.actions.GroupsAction
-action.users=fr.cemagref.simexplorer.is.ui.swing.actions.UsersAction
-
action.site=fr.cemagref.simexplorer.is.ui.swing.actions.SiteAction
action.help=fr.cemagref.simexplorer.is.ui.swing.actions.HelpAction
action.about=fr.cemagref.simexplorer.is.ui.swing.actions.AboutAction
\ No newline at end of file
1
0
r658 - trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
04 Feb '08
Author: tchemit
Date: 2008-02-04 19:04:56 +0000 (Mon, 04 Feb 2008)
New Revision: 658
Removed:
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/
Log:
normalisation nom paquetage
1
0
r657 - in trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action: application auth common help
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
04 Feb '08
Author: tchemit
Date: 2008-02-04 19:04:28 +0000 (Mon, 04 Feb 2008)
New Revision: 657
Removed:
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/AdvancedSearchApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/CollapseAllAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DeleteAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DownloadAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExpandAllAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExportApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ImportApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/LaunchSynchronizeAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ListApplicationsAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ResetSearchApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/SearchApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/ConnectAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/UnconnectAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nFRAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nGBAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ConfigAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/QuitAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/AboutAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/HelpAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/SiteAction.java
Log:
normalisation nom paquetage
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/AdvancedSearchApplicationAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/AdvancedSearchApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/AdvancedSearchApplicationAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,45 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-
-/**
- * Action pour réinitialiser une recherche d'application
- *
- * @author tony
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "advancedSearchApplication",
- name = "simexplorer.action.application.advancedSearch",
- shortDescription = "simexplorer.action.application.advancedSearch.tooltip",
- longDescription = "simexplorer.action.application.advancedSearch.help",
- smallIcon = "action/advanced-search.png",
- mnemonic = 'v',
- hideActionText = true
-)
-public class AdvancedSearchApplicationAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = -155773498930710467L;
-
- public AdvancedSearchApplicationAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/CollapseAllAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/CollapseAllAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/CollapseAllAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,79 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
-import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
-
-import javax.swing.JTree;
-import java.awt.event.ActionEvent;
-
-/**
- * Pour réduire tous les noeuds de l'arbe d'une application
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "collapseAllApplication",
- name = "simexplorer.action.application.collapseAll",
- shortDescription = "simexplorer.action.application.collapseAll.tooltip",
- longDescription = "simexplorer.action.application.collapseAll.help",
- smallIcon = "action/collapseAll.png",
- mnemonic = 'c',
- hideActionText = true
-)
-public class CollapseAllAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = -3254708595851406041L;
- JTree tree;
- LoggableElementTreeNode node;
-
- public CollapseAllAction(String name) {
- super(name);
- }
-
- @Override
- protected boolean beforeAction(ActionEvent e) throws Exception {
- if (!super.beforeAction(e)) {
- return false;
- }
- JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
- tree = ui.getNavigationTree();
- node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
- boolean result;
- result = !(node == null || node.isLeaf());
- return result;
- }
-
- @Override
- protected void doAction(ActionEvent e) throws Exception {
-
- node.collaspeAll(tree);
- }
-
- @Override
- protected void clear() {
- super.clear();
- tree = null;
- node = null;
- }
-
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DeleteAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DeleteAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DeleteAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,99 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
-import fr.cemagref.simexplorer.is.entities.metadata.Version;
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
-import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
-
-import javax.swing.JTree;
-import java.awt.event.ActionEvent;
-import java.io.File;
-
-/**
- * Action pour downloader un résultat ou une librairie
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "delete",
- name = "simexplorer.action.application.delete",
- shortDescription = "simexplorer.action.application.delete.tooltip",
- longDescription = "simexplorer.action.application.delete.help",
- smallIcon = "action/delete.png",
- mnemonic = 'x',
- hideActionText = true
-)
-public class DeleteAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = 7535647131305304738L;
-
-
- JTree tree;
- LoggableElementTreeNode node;
- File file;
- LoggableElement element;
- String uuid;
- Version version;
-
- public DeleteAction(String name) {
- super(name);
- }
-
- @Override
- protected boolean beforeAction(ActionEvent e) throws Exception {
- if (!super.beforeAction(e)) {
- return false;
- }
- JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
- tree = ui.getNavigationTree();
- node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
- boolean result;
- result = LoggableElementTreeHelper.canDelete(node);
- if (result) {
- // ask user confirmation of node to delete
- element = (LoggableElement) node.getUserObject();
- uuid = element.getMetaData().getUuid();
- version = element.getMetaData().getVersion();
- }
- result = false;
- return result;
- }
-
- @Override
- protected void doAction(ActionEvent e) throws Exception {
- super.doAction(e);
- //StorageService service = getContext().getStorageService(((DetailTabModel) getModel()).isRemote());
- //TODO
- }
-
- @Override
- protected void clear() {
- super.clear();
- tree = null;
- node = null;
- file = null;
- element = null;
- version = null;
- uuid = null;
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DownloadAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DownloadAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DownloadAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,141 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import com.healthmarketscience.rmiio.RemoteInputStream;
-import com.healthmarketscience.rmiio.RemoteInputStreamClient;
-import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
-import fr.cemagref.simexplorer.is.entities.metadata.Version;
-import fr.cemagref.simexplorer.is.service.StorageService;
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-import fr.cemagref.simexplorer.is.ui.swing.model.DetailTabModel;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
-import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
-
-import javax.swing.JTree;
-import java.awt.event.ActionEvent;
-import java.io.BufferedInputStream;
-import java.io.BufferedOutputStream;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.InputStream;
-import java.text.MessageFormat;
-
-/**
- * Action pour downloader un résultat ou une librairie
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "download",
- name = "simexplorer.action.application.download",
- shortDescription = "simexplorer.action.application.download.tooltip",
- longDescription = "simexplorer.action.application.download.help",
- smallIcon = "action/download.png",
- mnemonic = 'x',
- hideActionText = true
-)
-public class DownloadAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = 7535647131305304738L;
-
- protected static final MessageFormat FILENAME_PATTERN = new MessageFormat("{0}.xml");
- JTree tree;
- LoggableElementTreeNode node;
- File file;
- LoggableElement element;
- String uuid;
- Version version;
- private static final int BUFFER_SIZE = 8 * 1024;
-
- public DownloadAction(String name) {
- super(name);
- }
-
- @Override
- protected boolean beforeAction(ActionEvent e) throws Exception {
- if (!super.beforeAction(e)) {
- return false;
- }
- JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
- tree = ui.getNavigationTree();
- node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
- boolean result;
- result = LoggableElementTreeHelper.canDownload(node);
- if (result) {
- // ask user path where to save data
- String dir = org.codelutin.util.FileUtil.getDirectory();
- if (dir == null) {
- // user cancel action
- return false;
- }
-
- //Object obj= node.getUserObject();
- //element = (LoggableElement) node.getUserObject();
- //uuid = element.getMetaData().getUuid();
- //version = element.getMetaData().getVersion();
- //file = new File(FILENAME_PATTERN.format(new Object[]{uuid + "-" + version}));
- }
- result=false;
- return result;
- }
-
- @Override
- protected void doAction(ActionEvent e) throws Exception {
- super.doAction(e);
- StorageService service = getContext().getStorageService(((DetailTabModel) getModel()).isRemote());
- RemoteInputStream ris = service.retrieveData(getContext().getToken(), uuid, version.toString(), "_xml");
- if (ris == null) {
- // todo log error
- log.warn("could not get incoming data for " + uuid);
- return;
- }
- InputStream stream = RemoteInputStreamClient.wrap(ris);
- FileOutputStream fos = new FileOutputStream(file);
- BufferedInputStream bis = new BufferedInputStream(stream);
- BufferedOutputStream bos = new BufferedOutputStream(fos);
- try {
- byte[] buffer = new byte[BUFFER_SIZE];
- while (bis.read(buffer, 0, BUFFER_SIZE) != -1) {
- bos.write(buffer);
- bos.flush();
- }
- } finally {
- if (bis != null) {
- bis.close();
- }
- if (bos != null) {
- bos.flush();
- bos.close();
- }
- }
- }
-
- @Override
- protected void clear() {
- super.clear();
- tree = null;
- node = null;
- file = null;
- element = null;
- version = null;
- uuid = null;
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExpandAllAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExpandAllAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExpandAllAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,77 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
-import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
-
-import javax.swing.JTree;
-import java.awt.event.ActionEvent;
-
-/**
- * Pour dérouler tous les noeuds de l'arbre d'une application
- *
- * @author tony
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "expandAllApplication",
- name = "simexplorer.action.application.expandAll",
- shortDescription = "simexplorer.action.application.expandAll.tooltip",
- longDescription = "simexplorer.action.application.expandAll.help",
- smallIcon = "action/expandAll.png",
- mnemonic = 'e',
- hideActionText = true
-)
-public class ExpandAllAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = 9033359716418852179L;
- JTree tree;
- LoggableElementTreeNode node;
-
- public ExpandAllAction(String name) {
- super(name);
- }
-
- @Override
- protected boolean beforeAction(ActionEvent e) throws Exception {
- if (!super.beforeAction(e)) {
- return false;
- }
- JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
- tree = ui.getNavigationTree();
- node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
- boolean result;
- result = !(node == null || node.isLeaf());
- return result;
- }
-
- @Override
- protected void doAction(ActionEvent e) throws Exception {
- node.expandAll(tree);
- }
-
- @Override
- protected void clear() {
- super.clear();
- tree = null;
- node = null;
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExportApplicationAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExportApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExportApplicationAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,101 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
-import fr.cemagref.simexplorer.is.entities.metadata.Version;
-import fr.cemagref.simexplorer.is.service.StorageService;
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-import fr.cemagref.simexplorer.is.ui.swing.model.DetailTabModel;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
-import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
-import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
-
-import javax.swing.JTree;
-import java.awt.event.ActionEvent;
-import java.io.File;
-
-/**
- * Action pour exporter une application
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "exportApplication",
- name = "simexplorer.action.application.export",
- shortDescription = "simexplorer.action.application.export.tooltip",
- longDescription = "simexplorer.action.application.export.help",
- smallIcon = "action/export-application.png",
- mnemonic = 'x',
- hideActionText = true
-)
-public class ExportApplicationAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = 7535647131305304738L;
-
- JTree tree;
- LoggableElementTreeNode node;
- File file;
- LoggableElement element;
- String uuid;
- Version version;
-
- public ExportApplicationAction(String name) {
- super(name);
- }
-
- @Override
- protected boolean beforeAction(ActionEvent e) throws Exception {
- if (!super.beforeAction(e)) {
- return false;
- }
- JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
- tree = ui.getNavigationTree();
- node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
- boolean result;
- result = LoggableElementTreeHelper.canExport(node);
- if (result) {
- element = (LoggableElement) node.getUserObject();
- uuid = element.getMetaData().getUuid();
- version = element.getMetaData().getVersion();
- }
- return result;
- }
-
- @Override
- protected void doAction(ActionEvent e) throws Exception {
- super.doAction(e);
-
- //TODO Where to save (if local to remote and vice-versa ?)
- StorageService service = getContext().getStorageService(((DetailTabModel) getModel()).isRemote());
-
- //service.exportElement(getContext().getToken(), null, uuid, version.toString());
- }
-
- @Override
- protected void clear() {
- super.clear();
- tree = null;
- node = null;
- file = null;
- element = null;
- version = null;
- uuid = null;
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ImportApplicationAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ImportApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ImportApplicationAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,46 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-
-/**
- * Action de base pour importer une application
- *
- * @author tony
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "importApplication",
- name = "simexplorer.action.application.import",
- shortDescription = "simexplorer.action.application.import.tooltip",
- longDescription = "simexplorer.action.application.import.help",
- smallIcon = "action/import-application.png",
- mnemonic = 'i',
- hideActionText = false
-)
-public class ImportApplicationAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = 3377670691203328711L;
-
-
- public ImportApplicationAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/LaunchSynchronizeAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/LaunchSynchronizeAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/LaunchSynchronizeAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,44 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-
-/**
- * Action pouyr lancer la synchro
- *
- * @author tony
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "launchSynchronize",
- name = "simexplorer.action.synchronize",
- shortDescription = "simexplorer.action.synchronize.tooltip",
- longDescription = "simexplorer.action.synchronize.help",
- smallIcon = "action/reload.png",
- hideActionText = false
-)
-public class LaunchSynchronizeAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = 8379937369551031306L;
-
- public LaunchSynchronizeAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ListApplicationsAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ListApplicationsAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ListApplicationsAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,41 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-
-/**
- * Action pour ???
- *
- * @author tony
- */
-public class ListApplicationsAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = 6220034344778635703L;
-
- public ListApplicationsAction(String name) {
- super(name);
- }
-
- @Override
- public void actionPerformed(java.awt.event.ActionEvent e) {
- super.actionPerformed(e);
- //TODO
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ResetSearchApplicationAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ResetSearchApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ResetSearchApplicationAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,98 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-import fr.cemagref.simexplorer.is.ui.swing.model.JApplicationTableModel;
-import fr.cemagref.simexplorer.is.ui.swing.model.ListTabModel;
-import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationListTab;
-import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUIRefreshHelper;
-
-import javax.swing.JTable;
-import java.awt.event.ActionEvent;
-
-/**
- * Action pour réinitialiser une recherche d'application
- *
- * @author tony
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "resetSearchApplication",
- name = "simexplorer.action.application.resetSearch",
- shortDescription = "simexplorer.action.application.resetSearch.tooltip",
- longDescription = "simexplorer.action.application.resetSearch.help",
- smallIcon = "action/reset-search.png",
- mnemonic = 'e',
- hideActionText = true,
- enabled = false
-)
-public class ResetSearchApplicationAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = -155773498930710467L;
-
- public ResetSearchApplicationAction(String name) {
- super(name);
- }
-
- @Override
- protected boolean beforeAction(ActionEvent e) throws Exception {
- ListTabModel model = (ListTabModel) getModel();
- JApplicationListTab ui = (JApplicationListTab) getUI();
- // always clean the input text (should be done in jaxx)
- ui.getSearchText().setText(null);
- if (!model.hasQuery()) {
- // directly refresh search actions
- // but do not realize action
- SimExplorerUIRefreshHelper.refreshSearchActions(ui,model);
- return false;
- }
- // only reset search if something was previously search
- return true;
- }
-
- @Override
- protected void doAction(ActionEvent e) throws Exception {
- super.doAction(e);
- ListTabModel model = (ListTabModel) getModel();
-
- // reset query in model
- model.setQuery(null);
-
- // a new search begins always on first page
- model.getPagination().setFirstIndex(0);
-
- // get data from service
- model.updateTabModel(isRemote(), getContext());
-
- // update table model in ui
- JApplicationListTab container = (JApplicationListTab) getUI();
- JTable table = container.getTable();
- JApplicationTableModel modelTab = (JApplicationTableModel) table.getModel();
- modelTab.setData(model.getList());
-
- // refresh ui
- SimExplorerUIRefreshHelper.refreshListTabUI(container, model);
- }
-
- @Override
- protected void clear() {
- super.clear();
- setTab(null);
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/SearchApplicationAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/SearchApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/SearchApplicationAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,91 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.application;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction;
-import fr.cemagref.simexplorer.is.ui.swing.model.ListTabModel;
-import fr.cemagref.simexplorer.is.ui.swing.model.JApplicationTableModel;
-import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationListTab;
-import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUIRefreshHelper;
-
-import javax.swing.JTextField;
-import javax.swing.JTable;
-import java.awt.event.ActionEvent;
-
-/**
- * Action pour lancer une recherche d'application
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "searchApplication",
- name = "simexplorer.action.application.search",
- shortDescription = "simexplorer.action.application.search.tooltip",
- longDescription = "simexplorer.action.application.search.help",
- smallIcon = "action/search.png",
- mnemonic = 'e',
- hideActionText = true,
- enabled = false
-)
-public class SearchApplicationAction extends SimExplorerAbstractTabAction {
-
- private static final long serialVersionUID = -8537587629478588257L;
- String query;
-
- public SearchApplicationAction(String name) {
- super(name);
- }
-
- @Override
- protected boolean beforeAction(ActionEvent e) throws Exception {
- JTextField uiObject = (JTextField) getUIObject("searchText");
- query = uiObject.getText();
- ListTabModel model = (ListTabModel) getModel();
- return !query.isEmpty() && !query.equals(model.getQuery());
- }
-
- @Override
- protected void doAction(ActionEvent e) throws Exception {
- super.doAction(e);
- ListTabModel model = (ListTabModel) getModel();
- model.setQuery(query);
-
- // a new search begins always on first page
- model.getPagination().setFirstIndex(0);
-
- // get data from service
- model.updateTabModel(isRemote(), getContext());
-
- // update table model in ui
- JApplicationListTab container = (JApplicationListTab) getUI();
- JTable table = container.getTable();
- JApplicationTableModel modelTab = (JApplicationTableModel) table.getModel();
- modelTab.setData(model.getList());
-
- // refresh ui
- SimExplorerUIRefreshHelper.refreshListTabUI(container, model);
- }
-
- @Override
- protected void clear() {
- super.clear();
- query = null;
- setTab(null);
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/ConnectAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/ConnectAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/ConnectAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,96 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.auth;
-
-import fr.cemagref.simexplorer.is.service.SimExplorerServiceException;
-import fr.cemagref.simexplorer.is.service.StorageService;
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUIRefreshHelper;
-
-import java.awt.event.ActionEvent;
-
-/**
- * Action de connexion au serveur distant
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "connect",
- name = "simexplorer.action.connect",
- shortDescription = "simexplorer.action.connect.tooltip",
- longDescription = "simexplorer.action.connect.help",
- smallIcon = "action/connect.png",
- mnemonic = 'C',
- hideActionText = false,
- enabled = true
-)
-public class ConnectAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = -6172528731543675359L;
-
- String login;
- String password;
-
- public ConnectAction(String name) {
- super(name);
- }
-
- @Override
- protected boolean beforeAction(ActionEvent e) throws Exception {
- if (getContext().isConnected()) {
- return false;
- }
-
- login = getContext().getConfig().getLogin();
- password = getContext().getConfig().getPassword();
- if (login == null || password == null) {
- //TODO show login ui
- password = "password";
- getContext().getConfig().setPassword(password);
- }
- return true;
- }
-
- @Override
- protected void doAction(ActionEvent e) throws Exception {
- super.doAction(e);
- StorageService service = getContext().getRemoteStorageService();
-
- try {
- String token = service.loginUser(login, password);
- getContext().setToken(token);
- } catch (SimExplorerServiceException e1) {
- //TODO alert user of error
- log.warn("could not connect user for reason " + e1.getMessage());
- throw e1;
- }
- }
-
- @Override
- protected void afterAction(ActionEvent e) throws Exception {
- SimExplorerUIRefreshHelper.refreshConnnectState(getMainUI(), true);
- }
-
- @Override
- protected void clear() {
- super.clear();
- login = null;
- password = null;
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/UnconnectAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/UnconnectAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/UnconnectAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,65 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.auth;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUIRefreshHelper;
-
-import java.awt.event.ActionEvent;
-
-/**
- * Action pour se deconnecter du serveur distant
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "unconnect",
- name = "simexplorer.action.unconnect",
- shortDescription = "simexplorer.action.unconnect.tooltip",
- longDescription = "simexplorer.action.unconnect.help",
- mnemonic = 'n',
- smallIcon = "action/unconnect.png",
- hideActionText = false,
- enabled = false
-)
-public class UnconnectAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = 2248642521834932196L;
-
- public UnconnectAction(String name) {
- super(name);
- }
-
- @Override
- protected boolean beforeAction(ActionEvent e) throws Exception {
- return getContext().isConnected();
- }
-
- @Override
- protected void doAction(ActionEvent e) throws Exception {
- super.doAction(e);
- getContext().setToken(null);
- //TODO disconnect from server ?
- }
-
- @Override
- protected void afterAction(ActionEvent e) throws Exception {
- SimExplorerUIRefreshHelper.refreshConnnectState(getMainUI(), false);
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nFRAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nFRAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nFRAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,39 +0,0 @@
-/*
-* \#\#% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* \#\#% */
-package fr.cemagref.simexplorer.is.ui.swing.action.common;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.ChangeI18nAbstractAction;
-
-/** @author chemit */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "i18n_fr_FR",
- name = "simexplorer.action.i18n.fr",
- shortDescription = "simexplorer.action.i18n.fr.tooltip",
- longDescription = "simexplorer.action.i18n.fr.help",
- mnemonic = 'F',
- smallIcon = "action/i18n-fr.png",
- hideActionText = false
-)
-public class ChangeI18nFRAction extends ChangeI18nAbstractAction {
- private static final long serialVersionUID = 7616779035801280791L;
-
- public ChangeI18nFRAction(String name) {
- super(name);
- }
-}
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nGBAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nGBAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nGBAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,39 +0,0 @@
-/*
-* \#\#% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* \#\#% */
-package fr.cemagref.simexplorer.is.ui.swing.action.common;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.ChangeI18nAbstractAction;
-
-/** @author chemit */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "i18n_en_GB",
- name = "simexplorer.action.i18n.en",
- shortDescription = "simexplorer.action.i18n.en.tooltip",
- longDescription = "simexplorer.action.i18n.en.help",
- mnemonic = 'n',
- smallIcon = "action/i18n-gb.png",
- hideActionText = false
-)
-public class ChangeI18nGBAction extends ChangeI18nAbstractAction {
- private static final long serialVersionUID = 7616779035801280791L;
-
- public ChangeI18nGBAction(String name) {
- super(name);
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ConfigAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ConfigAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ConfigAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,51 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.common;
-
-import fr.cemagref.simexplorer.is.ui.swing.JConfigUI;
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-import org.codelutin.option.ui.ConfigTableModel;
-
-/**
- * Action pour afficher la dialogue de modification de configuration
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "config",
- name = "simexplorer.action.config",
- shortDescription = "simexplorer.action.config.tooltip",
- longDescription = "simexplorer.action.config.help",
- smallIcon = "action/config.png",
- mnemonic = 'P',
- hideActionText = false
-)
-public class ConfigAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = 1449553547444065616L;
-
- public ConfigAction(String name) {
- super(name);
- }
-
- @Override
- public void doAction(java.awt.event.ActionEvent e) {
- JConfigUI.showUI(getContext().getConfig(), ConfigTableModel.TypeModel.all);
- }
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/QuitAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/QuitAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/QuitAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,51 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.common;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-
-/**
- * Action pour quitter l'application
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "quit",
- name = "simexplorer.action.quit",
- shortDescription = "simexplorer.action.quit.tooltip",
- longDescription = "simexplorer.action.quit.help",
- smallIcon = "action/quit.png",
- mnemonic = 'Q',
- hideActionText = false
-)
-public class QuitAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = -2291089937320691627L;
-
- public QuitAction(String name) {
- super(name);
- }
-
- @Override
- public void actionPerformed(java.awt.event.ActionEvent e) {
- super.actionPerformed(e);
- //TODO Fermer tous les tabs
- getMainUI().dispose();
- }
-}
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/AboutAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/AboutAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/AboutAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,45 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.help;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-
-/**
- * Action pour afficher la boit de dialogue About de l'application
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "about",
- name = "simexplorer.action.about",
- shortDescription = "simexplorer.action.about.tooltip",
- longDescription = "simexplorer.action.about.help",
- smallIcon = "action/about.png",
- mnemonic = 'A',
- hideActionText = false
-)
-public class AboutAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = 8275852970637350877L;
-
- public AboutAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/HelpAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/HelpAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/HelpAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,45 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.help;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-
-/**
- * Action pour afficher l'aide principale
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "help",
- name = "simexplorer.action.help",
- shortDescription = "simexplorer.action.help.tooltip",
- longDescription = "simexplorer.action.help.help",
- smallIcon = "action/help.png",
- mnemonic = 'e',
- hideActionText = false
-)
-public class HelpAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = 8250247303366300958L;
-
- public HelpAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/SiteAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/SiteAction.java 2008-02-04 19:02:40 UTC (rev 656)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/SiteAction.java 2008-02-04 19:04:28 UTC (rev 657)
@@ -1,45 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.help;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-
-/**
- * Action pour accéder au site de l'application
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "site",
- name = "simexplorer.action.site",
- shortDescription = "simexplorer.action.site.tooltip",
- longDescription = "simexplorer.action.site.help",
- smallIcon = "action/site.png",
- mnemonic = 'S',
- hideActionText = false
-)
-public class SiteAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = 7458557977976803799L;
-
- public SiteAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
1
0
r656 - in trunk/simexplorer-is-swing/src: java/fr/cemagref/simexplorer/is/ui/swing/action/admin java/fr/cemagref/simexplorer/is/ui/swing/actions resources
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
by tchemit@users.labs.libre-entreprise.org 04 Feb '08
04 Feb '08
Author: tchemit
Date: 2008-02-04 19:02:40 +0000 (Mon, 04 Feb 2008)
New Revision: 656
Added:
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/AboutAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/AdvancedSearchApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ChangeI18nFRAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ChangeI18nGBAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/CollapseAllAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ConfigAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ConnectAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/DeleteAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/DownloadAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ExpandAllAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ExportApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/GroupsAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/HelpAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ImportApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/LaunchSynchronizeAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ListApplicationsAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/QuitAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ResetSearchApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/SearchApplicationAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/SiteAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UnconnectAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UsersAction.java
Removed:
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/GroupsAction.java
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/UsersAction.java
Modified:
trunk/simexplorer-is-swing/src/resources/actions.properties
Log:
normalisation nom paquetage
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/GroupsAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/GroupsAction.java 2008-02-04 19:00:41 UTC (rev 655)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/GroupsAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -1,47 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.admin;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-
-/**
- * Action pour afficher la page de gestion des groupes d'utilisateurs
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "groups",
- //container = SimExplorerUI.class,
- name = "simexplorer.action.groups",
- shortDescription = "simexplorer.action.groups.tooltip",
- longDescription = "simexplorer.action.groups.help",
- //smallIcon = "action/groups.png",
- smallIcon = "action/groups.png",
- mnemonic = 'G',
- hideActionText = false
-)
-public class GroupsAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = 42756519520713299L;
-
- public GroupsAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/UsersAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/UsersAction.java 2008-02-04 19:00:41 UTC (rev 655)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/UsersAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -1,45 +0,0 @@
-/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
-* Tony Chemit, Gabriel Landais
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.ui.swing.action.admin;
-
-import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction;
-
-/**
- * Action pour voir la gestion des utilisateurs
- *
- * @author chemit
- */
- at jaxx.runtime.builder.ActionConfig(
- actionCommand = "users",
- name = "simexplorer.action.users",
- shortDescription = "simexplorer.action.users.tooltip",
- longDescription = "simexplorer.action.users.help",
- smallIcon = "action/users.png",
- mnemonic = 'U',
- hideActionText = false
-)
-public class UsersAction extends SimExplorerAbstractAction {
-
- private static final long serialVersionUID = -8183522709906575547L;
-
- public UsersAction(String name) {
- super(name);
- }
-
-}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/AboutAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/AboutAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/AboutAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/AboutAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,45 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+
+/**
+ * Action pour afficher la boit de dialogue About de l'application
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "about",
+ name = "simexplorer.action.about",
+ shortDescription = "simexplorer.action.about.tooltip",
+ longDescription = "simexplorer.action.about.help",
+ smallIcon = "action/about.png",
+ mnemonic = 'A',
+ hideActionText = false
+)
+public class AboutAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = 8275852970637350877L;
+
+ public AboutAction(String name) {
+ super(name);
+ }
+
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/AdvancedSearchApplicationAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/AdvancedSearchApplicationAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/AdvancedSearchApplicationAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/AdvancedSearchApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,45 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+
+/**
+ * Action pour réinitialiser une recherche d'application
+ *
+ * @author tony
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "advancedSearchApplication",
+ name = "simexplorer.action.application.advancedSearch",
+ shortDescription = "simexplorer.action.application.advancedSearch.tooltip",
+ longDescription = "simexplorer.action.application.advancedSearch.help",
+ smallIcon = "action/advanced-search.png",
+ mnemonic = 'v',
+ hideActionText = true
+)
+public class AdvancedSearchApplicationAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = -155773498930710467L;
+
+ public AdvancedSearchApplicationAction(String name) {
+ super(name);
+ }
+
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ChangeI18nFRAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nFRAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ChangeI18nFRAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ChangeI18nFRAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,39 @@
+/*
+* \#\#% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* \#\#% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.ChangeI18nAbstractAction;
+
+/** @author chemit */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "i18n_fr_FR",
+ name = "simexplorer.action.i18n.fr",
+ shortDescription = "simexplorer.action.i18n.fr.tooltip",
+ longDescription = "simexplorer.action.i18n.fr.help",
+ mnemonic = 'F',
+ smallIcon = "action/i18n-fr.png",
+ hideActionText = false
+)
+public class ChangeI18nFRAction extends ChangeI18nAbstractAction {
+ private static final long serialVersionUID = 7616779035801280791L;
+
+ public ChangeI18nFRAction(String name) {
+ super(name);
+ }
+}
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ChangeI18nGBAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ChangeI18nGBAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ChangeI18nGBAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ChangeI18nGBAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,39 @@
+/*
+* \#\#% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* \#\#% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.ChangeI18nAbstractAction;
+
+/** @author chemit */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "i18n_en_GB",
+ name = "simexplorer.action.i18n.en",
+ shortDescription = "simexplorer.action.i18n.en.tooltip",
+ longDescription = "simexplorer.action.i18n.en.help",
+ mnemonic = 'n',
+ smallIcon = "action/i18n-gb.png",
+ hideActionText = false
+)
+public class ChangeI18nGBAction extends ChangeI18nAbstractAction {
+ private static final long serialVersionUID = 7616779035801280791L;
+
+ public ChangeI18nGBAction(String name) {
+ super(name);
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/CollapseAllAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/CollapseAllAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/CollapseAllAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/CollapseAllAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,79 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
+import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
+
+import javax.swing.JTree;
+import java.awt.event.ActionEvent;
+
+/**
+ * Pour réduire tous les noeuds de l'arbe d'une application
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "collapseAllApplication",
+ name = "simexplorer.action.application.collapseAll",
+ shortDescription = "simexplorer.action.application.collapseAll.tooltip",
+ longDescription = "simexplorer.action.application.collapseAll.help",
+ smallIcon = "action/collapseAll.png",
+ mnemonic = 'c',
+ hideActionText = true
+)
+public class CollapseAllAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = -3254708595851406041L;
+ JTree tree;
+ LoggableElementTreeNode node;
+
+ public CollapseAllAction(String name) {
+ super(name);
+ }
+
+ @Override
+ protected boolean beforeAction(ActionEvent e) throws Exception {
+ if (!super.beforeAction(e)) {
+ return false;
+ }
+ JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
+ tree = ui.getNavigationTree();
+ node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
+ boolean result;
+ result = !(node == null || node.isLeaf());
+ return result;
+ }
+
+ @Override
+ protected void doAction(ActionEvent e) throws Exception {
+
+ node.collaspeAll(tree);
+ }
+
+ @Override
+ protected void clear() {
+ super.clear();
+ tree = null;
+ node = null;
+ }
+
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ConfigAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/ConfigAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ConfigAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ConfigAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,51 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.JConfigUI;
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+import org.codelutin.option.ui.ConfigTableModel;
+
+/**
+ * Action pour afficher la dialogue de modification de configuration
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "config",
+ name = "simexplorer.action.config",
+ shortDescription = "simexplorer.action.config.tooltip",
+ longDescription = "simexplorer.action.config.help",
+ smallIcon = "action/config.png",
+ mnemonic = 'P',
+ hideActionText = false
+)
+public class ConfigAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = 1449553547444065616L;
+
+ public ConfigAction(String name) {
+ super(name);
+ }
+
+ @Override
+ public void doAction(java.awt.event.ActionEvent e) {
+ JConfigUI.showUI(getContext().getConfig(), ConfigTableModel.TypeModel.all);
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ConnectAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/ConnectAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ConnectAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ConnectAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,96 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.service.SimExplorerServiceException;
+import fr.cemagref.simexplorer.is.service.StorageService;
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUIRefreshHelper;
+
+import java.awt.event.ActionEvent;
+
+/**
+ * Action de connexion au serveur distant
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "connect",
+ name = "simexplorer.action.connect",
+ shortDescription = "simexplorer.action.connect.tooltip",
+ longDescription = "simexplorer.action.connect.help",
+ smallIcon = "action/connect.png",
+ mnemonic = 'C',
+ hideActionText = false,
+ enabled = true
+)
+public class ConnectAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = -6172528731543675359L;
+
+ String login;
+ String password;
+
+ public ConnectAction(String name) {
+ super(name);
+ }
+
+ @Override
+ protected boolean beforeAction(ActionEvent e) throws Exception {
+ if (getContext().isConnected()) {
+ return false;
+ }
+
+ login = getContext().getConfig().getLogin();
+ password = getContext().getConfig().getPassword();
+ if (login == null || password == null) {
+ //TODO show login ui
+ password = "password";
+ getContext().getConfig().setPassword(password);
+ }
+ return true;
+ }
+
+ @Override
+ protected void doAction(ActionEvent e) throws Exception {
+ super.doAction(e);
+ StorageService service = getContext().getRemoteStorageService();
+
+ try {
+ String token = service.loginUser(login, password);
+ getContext().setToken(token);
+ } catch (SimExplorerServiceException e1) {
+ //TODO alert user of error
+ log.warn("could not connect user for reason " + e1.getMessage());
+ throw e1;
+ }
+ }
+
+ @Override
+ protected void afterAction(ActionEvent e) throws Exception {
+ SimExplorerUIRefreshHelper.refreshConnnectState(getMainUI(), true);
+ }
+
+ @Override
+ protected void clear() {
+ super.clear();
+ login = null;
+ password = null;
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/DeleteAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DeleteAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/DeleteAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/DeleteAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,99 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
+import fr.cemagref.simexplorer.is.entities.metadata.Version;
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
+import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
+
+import javax.swing.JTree;
+import java.awt.event.ActionEvent;
+import java.io.File;
+
+/**
+ * Action pour downloader un résultat ou une librairie
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "delete",
+ name = "simexplorer.action.application.delete",
+ shortDescription = "simexplorer.action.application.delete.tooltip",
+ longDescription = "simexplorer.action.application.delete.help",
+ smallIcon = "action/delete.png",
+ mnemonic = 'x',
+ hideActionText = true
+)
+public class DeleteAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = 7535647131305304738L;
+
+
+ JTree tree;
+ LoggableElementTreeNode node;
+ File file;
+ LoggableElement element;
+ String uuid;
+ Version version;
+
+ public DeleteAction(String name) {
+ super(name);
+ }
+
+ @Override
+ protected boolean beforeAction(ActionEvent e) throws Exception {
+ if (!super.beforeAction(e)) {
+ return false;
+ }
+ JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
+ tree = ui.getNavigationTree();
+ node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
+ boolean result;
+ result = LoggableElementTreeHelper.canDelete(node);
+ if (result) {
+ // ask user confirmation of node to delete
+ element = (LoggableElement) node.getUserObject();
+ uuid = element.getMetaData().getUuid();
+ version = element.getMetaData().getVersion();
+ }
+ result = false;
+ return result;
+ }
+
+ @Override
+ protected void doAction(ActionEvent e) throws Exception {
+ super.doAction(e);
+ //StorageService service = getContext().getStorageService(((DetailTabModel) getModel()).isRemote());
+ //TODO
+ }
+
+ @Override
+ protected void clear() {
+ super.clear();
+ tree = null;
+ node = null;
+ file = null;
+ element = null;
+ version = null;
+ uuid = null;
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/DownloadAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/DownloadAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/DownloadAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/DownloadAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,141 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import com.healthmarketscience.rmiio.RemoteInputStream;
+import com.healthmarketscience.rmiio.RemoteInputStreamClient;
+import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
+import fr.cemagref.simexplorer.is.entities.metadata.Version;
+import fr.cemagref.simexplorer.is.service.StorageService;
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+import fr.cemagref.simexplorer.is.ui.swing.model.DetailTabModel;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
+import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
+
+import javax.swing.JTree;
+import java.awt.event.ActionEvent;
+import java.io.BufferedInputStream;
+import java.io.BufferedOutputStream;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+import java.text.MessageFormat;
+
+/**
+ * Action pour downloader un résultat ou une librairie
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "download",
+ name = "simexplorer.action.application.download",
+ shortDescription = "simexplorer.action.application.download.tooltip",
+ longDescription = "simexplorer.action.application.download.help",
+ smallIcon = "action/download.png",
+ mnemonic = 'x',
+ hideActionText = true
+)
+public class DownloadAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = 7535647131305304738L;
+
+ protected static final MessageFormat FILENAME_PATTERN = new MessageFormat("{0}.xml");
+ JTree tree;
+ LoggableElementTreeNode node;
+ File file;
+ LoggableElement element;
+ String uuid;
+ Version version;
+ private static final int BUFFER_SIZE = 8 * 1024;
+
+ public DownloadAction(String name) {
+ super(name);
+ }
+
+ @Override
+ protected boolean beforeAction(ActionEvent e) throws Exception {
+ if (!super.beforeAction(e)) {
+ return false;
+ }
+ JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
+ tree = ui.getNavigationTree();
+ node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
+ boolean result;
+ result = LoggableElementTreeHelper.canDownload(node);
+ if (result) {
+ // ask user path where to save data
+ String dir = org.codelutin.util.FileUtil.getDirectory();
+ if (dir == null) {
+ // user cancel action
+ return false;
+ }
+
+ //Object obj= node.getUserObject();
+ //element = (LoggableElement) node.getUserObject();
+ //uuid = element.getMetaData().getUuid();
+ //version = element.getMetaData().getVersion();
+ //file = new File(FILENAME_PATTERN.format(new Object[]{uuid + "-" + version}));
+ }
+ result=false;
+ return result;
+ }
+
+ @Override
+ protected void doAction(ActionEvent e) throws Exception {
+ super.doAction(e);
+ StorageService service = getContext().getStorageService(((DetailTabModel) getModel()).isRemote());
+ RemoteInputStream ris = service.retrieveData(getContext().getToken(), uuid, version.toString(), "_xml");
+ if (ris == null) {
+ // todo log error
+ log.warn("could not get incoming data for " + uuid);
+ return;
+ }
+ InputStream stream = RemoteInputStreamClient.wrap(ris);
+ FileOutputStream fos = new FileOutputStream(file);
+ BufferedInputStream bis = new BufferedInputStream(stream);
+ BufferedOutputStream bos = new BufferedOutputStream(fos);
+ try {
+ byte[] buffer = new byte[BUFFER_SIZE];
+ while (bis.read(buffer, 0, BUFFER_SIZE) != -1) {
+ bos.write(buffer);
+ bos.flush();
+ }
+ } finally {
+ if (bis != null) {
+ bis.close();
+ }
+ if (bos != null) {
+ bos.flush();
+ bos.close();
+ }
+ }
+ }
+
+ @Override
+ protected void clear() {
+ super.clear();
+ tree = null;
+ node = null;
+ file = null;
+ element = null;
+ version = null;
+ uuid = null;
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ExpandAllAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExpandAllAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ExpandAllAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ExpandAllAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,77 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
+import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
+
+import javax.swing.JTree;
+import java.awt.event.ActionEvent;
+
+/**
+ * Pour dérouler tous les noeuds de l'arbre d'une application
+ *
+ * @author tony
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "expandAllApplication",
+ name = "simexplorer.action.application.expandAll",
+ shortDescription = "simexplorer.action.application.expandAll.tooltip",
+ longDescription = "simexplorer.action.application.expandAll.help",
+ smallIcon = "action/expandAll.png",
+ mnemonic = 'e',
+ hideActionText = true
+)
+public class ExpandAllAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = 9033359716418852179L;
+ JTree tree;
+ LoggableElementTreeNode node;
+
+ public ExpandAllAction(String name) {
+ super(name);
+ }
+
+ @Override
+ protected boolean beforeAction(ActionEvent e) throws Exception {
+ if (!super.beforeAction(e)) {
+ return false;
+ }
+ JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
+ tree = ui.getNavigationTree();
+ node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
+ boolean result;
+ result = !(node == null || node.isLeaf());
+ return result;
+ }
+
+ @Override
+ protected void doAction(ActionEvent e) throws Exception {
+ node.expandAll(tree);
+ }
+
+ @Override
+ protected void clear() {
+ super.clear();
+ tree = null;
+ node = null;
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ExportApplicationAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ExportApplicationAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ExportApplicationAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ExportApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,101 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
+import fr.cemagref.simexplorer.is.entities.metadata.Version;
+import fr.cemagref.simexplorer.is.service.StorageService;
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+import fr.cemagref.simexplorer.is.ui.swing.model.DetailTabModel;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeHelper;
+import fr.cemagref.simexplorer.is.ui.swing.model.LoggableElementTreeNode;
+import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationDetailTab;
+
+import javax.swing.JTree;
+import java.awt.event.ActionEvent;
+import java.io.File;
+
+/**
+ * Action pour exporter une application
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "exportApplication",
+ name = "simexplorer.action.application.export",
+ shortDescription = "simexplorer.action.application.export.tooltip",
+ longDescription = "simexplorer.action.application.export.help",
+ smallIcon = "action/export-application.png",
+ mnemonic = 'x',
+ hideActionText = true
+)
+public class ExportApplicationAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = 7535647131305304738L;
+
+ JTree tree;
+ LoggableElementTreeNode node;
+ File file;
+ LoggableElement element;
+ String uuid;
+ Version version;
+
+ public ExportApplicationAction(String name) {
+ super(name);
+ }
+
+ @Override
+ protected boolean beforeAction(ActionEvent e) throws Exception {
+ if (!super.beforeAction(e)) {
+ return false;
+ }
+ JApplicationDetailTab ui = (JApplicationDetailTab) getUI();
+ tree = ui.getNavigationTree();
+ node = LoggableElementTreeHelper.getSelectedNodeOrRootNode(tree);
+ boolean result;
+ result = LoggableElementTreeHelper.canExport(node);
+ if (result) {
+ element = (LoggableElement) node.getUserObject();
+ uuid = element.getMetaData().getUuid();
+ version = element.getMetaData().getVersion();
+ }
+ return result;
+ }
+
+ @Override
+ protected void doAction(ActionEvent e) throws Exception {
+ super.doAction(e);
+
+ //TODO Where to save (if local to remote and vice-versa ?)
+ StorageService service = getContext().getStorageService(((DetailTabModel) getModel()).isRemote());
+
+ //service.exportElement(getContext().getToken(), null, uuid, version.toString());
+ }
+
+ @Override
+ protected void clear() {
+ super.clear();
+ tree = null;
+ node = null;
+ file = null;
+ element = null;
+ version = null;
+ uuid = null;
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/GroupsAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/GroupsAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/GroupsAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/GroupsAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,47 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+
+/**
+ * Action pour afficher la page de gestion des groupes d'utilisateurs
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "groups",
+ //container = SimExplorerUI.class,
+ name = "simexplorer.action.groups",
+ shortDescription = "simexplorer.action.groups.tooltip",
+ longDescription = "simexplorer.action.groups.help",
+ //smallIcon = "action/groups.png",
+ smallIcon = "action/groups.png",
+ mnemonic = 'G',
+ hideActionText = false
+)
+public class GroupsAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = 42756519520713299L;
+
+ public GroupsAction(String name) {
+ super(name);
+ }
+
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/HelpAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/HelpAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/HelpAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/HelpAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,45 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+
+/**
+ * Action pour afficher l'aide principale
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "help",
+ name = "simexplorer.action.help",
+ shortDescription = "simexplorer.action.help.tooltip",
+ longDescription = "simexplorer.action.help.help",
+ smallIcon = "action/help.png",
+ mnemonic = 'e',
+ hideActionText = false
+)
+public class HelpAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = 8250247303366300958L;
+
+ public HelpAction(String name) {
+ super(name);
+ }
+
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ImportApplicationAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ImportApplicationAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ImportApplicationAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ImportApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,46 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+
+/**
+ * Action de base pour importer une application
+ *
+ * @author tony
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "importApplication",
+ name = "simexplorer.action.application.import",
+ shortDescription = "simexplorer.action.application.import.tooltip",
+ longDescription = "simexplorer.action.application.import.help",
+ smallIcon = "action/import-application.png",
+ mnemonic = 'i',
+ hideActionText = false
+)
+public class ImportApplicationAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = 3377670691203328711L;
+
+
+ public ImportApplicationAction(String name) {
+ super(name);
+ }
+
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/LaunchSynchronizeAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/LaunchSynchronizeAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/LaunchSynchronizeAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/LaunchSynchronizeAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,44 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+
+/**
+ * Action pouyr lancer la synchro
+ *
+ * @author tony
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "launchSynchronize",
+ name = "simexplorer.action.synchronize",
+ shortDescription = "simexplorer.action.synchronize.tooltip",
+ longDescription = "simexplorer.action.synchronize.help",
+ smallIcon = "action/reload.png",
+ hideActionText = false
+)
+public class LaunchSynchronizeAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = 8379937369551031306L;
+
+ public LaunchSynchronizeAction(String name) {
+ super(name);
+ }
+
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ListApplicationsAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ListApplicationsAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ListApplicationsAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ListApplicationsAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,41 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+
+/**
+ * Action pour ???
+ *
+ * @author tony
+ */
+public class ListApplicationsAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = 6220034344778635703L;
+
+ public ListApplicationsAction(String name) {
+ super(name);
+ }
+
+ @Override
+ public void actionPerformed(java.awt.event.ActionEvent e) {
+ super.actionPerformed(e);
+ //TODO
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/QuitAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/QuitAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/QuitAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/QuitAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,51 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+
+/**
+ * Action pour quitter l'application
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "quit",
+ name = "simexplorer.action.quit",
+ shortDescription = "simexplorer.action.quit.tooltip",
+ longDescription = "simexplorer.action.quit.help",
+ smallIcon = "action/quit.png",
+ mnemonic = 'Q',
+ hideActionText = false
+)
+public class QuitAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = -2291089937320691627L;
+
+ public QuitAction(String name) {
+ super(name);
+ }
+
+ @Override
+ public void actionPerformed(java.awt.event.ActionEvent e) {
+ super.actionPerformed(e);
+ //TODO Fermer tous les tabs
+ getMainUI().dispose();
+ }
+}
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ResetSearchApplicationAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/ResetSearchApplicationAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ResetSearchApplicationAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/ResetSearchApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,98 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+import fr.cemagref.simexplorer.is.ui.swing.model.JApplicationTableModel;
+import fr.cemagref.simexplorer.is.ui.swing.model.ListTabModel;
+import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationListTab;
+import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUIRefreshHelper;
+
+import javax.swing.JTable;
+import java.awt.event.ActionEvent;
+
+/**
+ * Action pour réinitialiser une recherche d'application
+ *
+ * @author tony
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "resetSearchApplication",
+ name = "simexplorer.action.application.resetSearch",
+ shortDescription = "simexplorer.action.application.resetSearch.tooltip",
+ longDescription = "simexplorer.action.application.resetSearch.help",
+ smallIcon = "action/reset-search.png",
+ mnemonic = 'e',
+ hideActionText = true,
+ enabled = false
+)
+public class ResetSearchApplicationAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = -155773498930710467L;
+
+ public ResetSearchApplicationAction(String name) {
+ super(name);
+ }
+
+ @Override
+ protected boolean beforeAction(ActionEvent e) throws Exception {
+ ListTabModel model = (ListTabModel) getModel();
+ JApplicationListTab ui = (JApplicationListTab) getUI();
+ // always clean the input text (should be done in jaxx)
+ ui.getSearchText().setText(null);
+ if (!model.hasQuery()) {
+ // directly refresh search actions
+ // but do not realize action
+ SimExplorerUIRefreshHelper.refreshSearchActions(ui,model);
+ return false;
+ }
+ // only reset search if something was previously search
+ return true;
+ }
+
+ @Override
+ protected void doAction(ActionEvent e) throws Exception {
+ super.doAction(e);
+ ListTabModel model = (ListTabModel) getModel();
+
+ // reset query in model
+ model.setQuery(null);
+
+ // a new search begins always on first page
+ model.getPagination().setFirstIndex(0);
+
+ // get data from service
+ model.updateTabModel(isRemote(), getContext());
+
+ // update table model in ui
+ JApplicationListTab container = (JApplicationListTab) getUI();
+ JTable table = container.getTable();
+ JApplicationTableModel modelTab = (JApplicationTableModel) table.getModel();
+ modelTab.setData(model.getList());
+
+ // refresh ui
+ SimExplorerUIRefreshHelper.refreshListTabUI(container, model);
+ }
+
+ @Override
+ protected void clear() {
+ super.clear();
+ setTab(null);
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/SearchApplicationAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/application/SearchApplicationAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/SearchApplicationAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/SearchApplicationAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,91 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractTabAction;
+import fr.cemagref.simexplorer.is.ui.swing.model.ListTabModel;
+import fr.cemagref.simexplorer.is.ui.swing.model.JApplicationTableModel;
+import fr.cemagref.simexplorer.is.ui.swing.tab.JApplicationListTab;
+import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUIRefreshHelper;
+
+import javax.swing.JTextField;
+import javax.swing.JTable;
+import java.awt.event.ActionEvent;
+
+/**
+ * Action pour lancer une recherche d'application
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "searchApplication",
+ name = "simexplorer.action.application.search",
+ shortDescription = "simexplorer.action.application.search.tooltip",
+ longDescription = "simexplorer.action.application.search.help",
+ smallIcon = "action/search.png",
+ mnemonic = 'e',
+ hideActionText = true,
+ enabled = false
+)
+public class SearchApplicationAction extends SimExplorerAbstractTabAction {
+
+ private static final long serialVersionUID = -8537587629478588257L;
+ String query;
+
+ public SearchApplicationAction(String name) {
+ super(name);
+ }
+
+ @Override
+ protected boolean beforeAction(ActionEvent e) throws Exception {
+ JTextField uiObject = (JTextField) getUIObject("searchText");
+ query = uiObject.getText();
+ ListTabModel model = (ListTabModel) getModel();
+ return !query.isEmpty() && !query.equals(model.getQuery());
+ }
+
+ @Override
+ protected void doAction(ActionEvent e) throws Exception {
+ super.doAction(e);
+ ListTabModel model = (ListTabModel) getModel();
+ model.setQuery(query);
+
+ // a new search begins always on first page
+ model.getPagination().setFirstIndex(0);
+
+ // get data from service
+ model.updateTabModel(isRemote(), getContext());
+
+ // update table model in ui
+ JApplicationListTab container = (JApplicationListTab) getUI();
+ JTable table = container.getTable();
+ JApplicationTableModel modelTab = (JApplicationTableModel) table.getModel();
+ modelTab.setData(model.getList());
+
+ // refresh ui
+ SimExplorerUIRefreshHelper.refreshListTabUI(container, model);
+ }
+
+ @Override
+ protected void clear() {
+ super.clear();
+ query = null;
+ setTab(null);
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/SiteAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/SiteAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/SiteAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/SiteAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,45 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+
+/**
+ * Action pour accéder au site de l'application
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "site",
+ name = "simexplorer.action.site",
+ shortDescription = "simexplorer.action.site.tooltip",
+ longDescription = "simexplorer.action.site.help",
+ smallIcon = "action/site.png",
+ mnemonic = 'S',
+ hideActionText = false
+)
+public class SiteAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = 7458557977976803799L;
+
+ public SiteAction(String name) {
+ super(name);
+ }
+
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UnconnectAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/auth/UnconnectAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UnconnectAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UnconnectAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,65 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUIRefreshHelper;
+
+import java.awt.event.ActionEvent;
+
+/**
+ * Action pour se deconnecter du serveur distant
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "unconnect",
+ name = "simexplorer.action.unconnect",
+ shortDescription = "simexplorer.action.unconnect.tooltip",
+ longDescription = "simexplorer.action.unconnect.help",
+ mnemonic = 'n',
+ smallIcon = "action/unconnect.png",
+ hideActionText = false,
+ enabled = false
+)
+public class UnconnectAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = 2248642521834932196L;
+
+ public UnconnectAction(String name) {
+ super(name);
+ }
+
+ @Override
+ protected boolean beforeAction(ActionEvent e) throws Exception {
+ return getContext().isConnected();
+ }
+
+ @Override
+ protected void doAction(ActionEvent e) throws Exception {
+ super.doAction(e);
+ getContext().setToken(null);
+ //TODO disconnect from server ?
+ }
+
+ @Override
+ protected void afterAction(ActionEvent e) throws Exception {
+ SimExplorerUIRefreshHelper.refreshConnnectState(getMainUI(), false);
+ }
+}
\ No newline at end of file
Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UsersAction.java (from rev 649, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/admin/UsersAction.java)
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UsersAction.java (rev 0)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/actions/UsersAction.java 2008-02-04 19:02:40 UTC (rev 656)
@@ -0,0 +1,45 @@
+/*
+* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin,
+* Tony Chemit, Gabriel Landais
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.ui.swing.actions;
+
+import fr.cemagref.simexplorer.is.ui.swing.actions.util.SimExplorerAbstractAction;
+
+/**
+ * Action pour voir la gestion des utilisateurs
+ *
+ * @author chemit
+ */
+ at jaxx.runtime.builder.ActionConfig(
+ actionCommand = "users",
+ name = "simexplorer.action.users",
+ shortDescription = "simexplorer.action.users.tooltip",
+ longDescription = "simexplorer.action.users.help",
+ smallIcon = "action/users.png",
+ mnemonic = 'U',
+ hideActionText = false
+)
+public class UsersAction extends SimExplorerAbstractAction {
+
+ private static final long serialVersionUID = -8183522709906575547L;
+
+ public UsersAction(String name) {
+ super(name);
+ }
+
+}
\ No newline at end of file
Modified: trunk/simexplorer-is-swing/src/resources/actions.properties
===================================================================
--- trunk/simexplorer-is-swing/src/resources/actions.properties 2008-02-04 19:00:41 UTC (rev 655)
+++ trunk/simexplorer-is-swing/src/resources/actions.properties 2008-02-04 19:02:40 UTC (rev 656)
@@ -1,10 +1,10 @@
-action.connect=fr.cemagref.simexplorer.is.ui.swing.action.auth.ConnectAction
-action.unconnect=fr.cemagref.simexplorer.is.ui.swing.action.auth.UnconnectAction
+action.connect=fr.cemagref.simexplorer.is.ui.swing.actions.ConnectAction
+action.unconnect=fr.cemagref.simexplorer.is.ui.swing.actions.UnconnectAction
-action.quit=fr.cemagref.simexplorer.is.ui.swing.action.common.QuitAction
+action.quit=fr.cemagref.simexplorer.is.ui.swing.actions.QuitAction
-action.i18n_fr_FR=fr.cemagref.simexplorer.is.ui.swing.action.common.ChangeI18nFRAction
-action.i18n_en_GB=fr.cemagref.simexplorer.is.ui.swing.action.common.ChangeI18nGBAction
+action.i18n_fr_FR=fr.cemagref.simexplorer.is.ui.swing.actions.ChangeI18nFRAction
+action.i18n_en_GB=fr.cemagref.simexplorer.is.ui.swing.actions.ChangeI18nGBAction
action.closeTab_local=fr.cemagref.simexplorer.is.ui.swing.actions.CloseTabAction
action.closeTab_remote=fr.cemagref.simexplorer.is.ui.swing.actions.CloseTabAction
@@ -20,11 +20,11 @@
action.toggleTab_remote=fr.cemagref.simexplorer.is.ui.swing.actions.ToggleRemoteTabAction
action.toggleTab_synchronize=fr.cemagref.simexplorer.is.ui.swing.actions.ToggleSynchronizeTabAction
-action.config=fr.cemagref.simexplorer.is.ui.swing.action.common.ConfigAction
+action.config=fr.cemagref.simexplorer.is.ui.swing.actions.ConfigAction
-action.searchApplication=fr.cemagref.simexplorer.is.ui.swing.action.application.SearchApplicationAction
-action.resetSearchApplication=fr.cemagref.simexplorer.is.ui.swing.action.application.ResetSearchApplicationAction
-action.advancedSearchApplication=fr.cemagref.simexplorer.is.ui.swing.action.application.AdvancedSearchApplicationAction
+action.searchApplication=fr.cemagref.simexplorer.is.ui.swing.actions.SearchApplicationAction
+action.resetSearchApplication=fr.cemagref.simexplorer.is.ui.swing.actions.ResetSearchApplicationAction
+action.advancedSearchApplication=fr.cemagref.simexplorer.is.ui.swing.actions.AdvancedSearchApplicationAction
action.goFirstPage=fr.cemagref.simexplorer.is.ui.swing.actions.GoFirstPageAction
action.goPreviousPage=fr.cemagref.simexplorer.is.ui.swing.actions.GoPreviousPageAction
@@ -33,18 +33,18 @@
action.goLastPage=fr.cemagref.simexplorer.is.ui.swing.actions.GoLastPageAction
action.changeSizor=fr.cemagref.simexplorer.is.ui.swing.actions.ChangeSizorAction
-action.collapseAllApplication=fr.cemagref.simexplorer.is.ui.swing.action.application.CollapseAllAction
-action.expandAllApplication=fr.cemagref.simexplorer.is.ui.swing.action.application.ExpandAllAction
-action.download=fr.cemagref.simexplorer.is.ui.swing.action.application.DownloadAction
-action.delete=fr.cemagref.simexplorer.is.ui.swing.action.application.DeleteAction
+action.collapseAllApplication=fr.cemagref.simexplorer.is.ui.swing.actions.CollapseAllAction
+action.expandAllApplication=fr.cemagref.simexplorer.is.ui.swing.actions.ExpandAllAction
+action.download=fr.cemagref.simexplorer.is.ui.swing.actions.DownloadAction
+action.delete=fr.cemagref.simexplorer.is.ui.swing.actions.DeleteAction
-action.exportApplication=fr.cemagref.simexplorer.is.ui.swing.action.application.ExportApplicationAction
-action.importApplication=fr.cemagref.simexplorer.is.ui.swing.action.application.ImportApplicationAction
-action.launchSynchronize=fr.cemagref.simexplorer.is.ui.swing.action.application.LaunchSynchronizeAction
+action.exportApplication=fr.cemagref.simexplorer.is.ui.swing.actions.ExportApplicationAction
+action.importApplication=fr.cemagref.simexplorer.is.ui.swing.actions.ImportApplicationAction
+action.launchSynchronize=fr.cemagref.simexplorer.is.ui.swing.actions.LaunchSynchronizeAction
-action.groups=fr.cemagref.simexplorer.is.ui.swing.action.admin.GroupsAction
-action.users=fr.cemagref.simexplorer.is.ui.swing.action.admin.UsersAction
+action.groups=fr.cemagref.simexplorer.is.ui.swing.actions.GroupsAction
+action.users=fr.cemagref.simexplorer.is.ui.swing.actions.UsersAction
-action.site=fr.cemagref.simexplorer.is.ui.swing.action.help.SiteAction
-action.help=fr.cemagref.simexplorer.is.ui.swing.action.help.HelpAction
-action.about=fr.cemagref.simexplorer.is.ui.swing.action.help.AboutAction
\ No newline at end of file
+action.site=fr.cemagref.simexplorer.is.ui.swing.actions.SiteAction
+action.help=fr.cemagref.simexplorer.is.ui.swing.actions.HelpAction
+action.about=fr.cemagref.simexplorer.is.ui.swing.actions.AboutAction
\ No newline at end of file
1
0