This is an automated email from the git hooks/post-receive script. New commit to branch feature/3740_missing_ids_in_css in repository jaxx. See https://gitlab.nuiton.org/nuiton/jaxx.git commit 8b97c17e00902a19a7aaf473e58e0fe9fe890c36 Author: Kevin Morin <morin@codelutin.com> Date: Fri Feb 19 18:18:53 2016 +0100 - génération des ids et des classes manquants en commenatire à la fin du css - option pour l'activer ou non (faux par défaut) - création d'un module à supprimer après les tests (jaxx-test) - la regex pour vérifier si une règle est déjà défini ne fonctionne pas, les ids manquants sont regénérés refs #3740 --- .../java/jaxx/compiler/CompilerConfiguration.java | 12 + .../compiler/DefaultCompilerConfiguration.java | 16 + .../src/main/java/jaxx/compiler/JAXXEngine.java | 5 + .../compiler/tasks/GenerateMissingRulesTask.java | 129 +++++++ .../java/org/nuiton/jaxx/plugin/GenerateMojo.java | 18 + jaxx-test/LICENSE.txt | 165 +++++++++ jaxx-test/README.txt | 2 + jaxx-test/changelog.txt | 2 + jaxx-test/pom.xml | 387 +++++++++++++++++++++ jaxx-test/src/license/THIRD-PARTY.properties | 20 ++ jaxx-test/src/main/filters/jaxx-demo.properties | 32 ++ jaxx-test/src/main/java/jaxx/demo/DemoUI.css | 202 +++++++++++ jaxx-test/src/main/java/jaxx/demo/DemoUI.jaxx | 91 +++++ .../main/resources/i18n/jaxx-demo_en_GB.properties | 365 +++++++++++++++++++ .../main/resources/i18n/jaxx-demo_es_ES.properties | 375 ++++++++++++++++++++ .../main/resources/i18n/jaxx-demo_fr_FR.properties | 365 +++++++++++++++++++ .../src/main/resources/icons/action-about.png | Bin 0 -> 936 bytes .../src/main/resources/icons/action-accept.png | Bin 0 -> 781 bytes .../src/main/resources/icons/action-block.png | Bin 0 -> 576 bytes .../src/main/resources/icons/action-close.png | Bin 0 -> 688 bytes .../src/main/resources/icons/action-config.png | Bin 0 -> 611 bytes jaxx-test/src/main/resources/icons/action-exit.png | Bin 0 -> 830 bytes .../src/main/resources/icons/action-fullscreen.png | Bin 0 -> 687 bytes jaxx-test/src/main/resources/icons/action-help.png | Bin 0 -> 746 bytes .../src/main/resources/icons/action-i18n-fr.png | Bin 0 -> 545 bytes .../src/main/resources/icons/action-i18n-uk.png | Bin 0 -> 599 bytes .../resources/icons/action-leave-fullscreen.png | Bin 0 -> 727 bytes .../resources/icons/action-reload-application.png | Bin 0 -> 463 bytes .../src/main/resources/icons/action-reload-log.png | Bin 0 -> 858 bytes .../src/main/resources/icons/action-reload-ui.png | Bin 0 -> 795 bytes .../src/main/resources/icons/action-show-help.png | Bin 0 -> 744 bytes jaxx-test/src/main/resources/icons/action-site.png | Bin 0 -> 928 bytes .../src/main/resources/icons/action-translate.png | Bin 0 -> 790 bytes jaxx-test/src/main/resources/icons/jaxx.png | Bin 0 -> 9503 bytes .../demo/entities/Identity-error-validation.xml | 70 ++++ .../demo/entities/Identity-info-validation.xml | 70 ++++ .../demo/entities/Identity-warning-validation.xml | 70 ++++ .../jaxx/demo/entities/Model-error-validation.xml | 56 +++ .../jaxx/demo/entities/Model-info-validation.xml | 34 ++ .../demo/entities/Model-warning-validation.xml | 39 +++ .../jaxx/demo/entities/People-error-validation.xml | 42 +++ .../jaxx/demo/entities/People-info-validation.xml | 33 ++ .../demo/entities/People-warning-validation.xml | 33 ++ .../main/resources/jaxx/demo/images/Amethyst.jpg | Bin 0 -> 24619 bytes .../src/main/resources/jaxx/demo/images/Lynx.jpg | Bin 0 -> 40463 bytes .../src/main/resources/jaxx/demo/images/Tomato.jpg | Bin 0 -> 22862 bytes .../src/main/resources/jaxx/demo/images/ana.jpg | Bin 0 -> 101898 bytes .../src/main/resources/jaxx/demo/images/hector.jpg | Bin 0 -> 40284 bytes .../src/main/resources/jaxx/demo/images/jack.jpg | Bin 0 -> 42155 bytes .../src/main/resources/jaxx/demo/images/jim.jpg | Bin 0 -> 91711 bytes .../src/main/resources/jaxx/demo/images/joe.jpg | Bin 0 -> 10837 bytes .../src/main/resources/jaxx/demo/images/joker.jpg | Bin 0 -> 84872 bytes .../src/main/resources/jaxx/demo/images/nacho.jpg | Bin 0 -> 46253 bytes .../src/main/resources/jaxx/demo/images/nacho2.png | Bin 0 -> 388751 bytes .../resources/jaxx/demo/images/pencil_black.gif | Bin 0 -> 190 bytes .../src/main/resources/jaxxdemo-help-fr.properties | 44 +++ jaxx-test/src/main/resources/log4j.properties | 39 +++ jaxx-test/src/main/resources/validators.xml | 55 +++ jaxx-test/src/site/rst/index.rst.vm | 57 +++ jaxx-test/src/site/site.xml | 52 +++ 60 files changed, 2880 insertions(+) diff --git a/jaxx-compiler/src/main/java/jaxx/compiler/CompilerConfiguration.java b/jaxx-compiler/src/main/java/jaxx/compiler/CompilerConfiguration.java index 0ab3f82..1028b2f 100644 --- a/jaxx-compiler/src/main/java/jaxx/compiler/CompilerConfiguration.java +++ b/jaxx-compiler/src/main/java/jaxx/compiler/CompilerConfiguration.java @@ -144,6 +144,18 @@ public interface CompilerConfiguration { */ void setAddAutoHandlerUI(boolean addAutoHandlerUI); + /** + * @return {@code true} to generate missing ids and style classes in the CSS files + * @since 2.29 + */ + boolean isGenerateMissingIdsAndStyleClassesInCss(); + + /** + * @param generateMissingIdsAndStyleClassesInCss new value of the state + * @since 2.29 + */ + void setGenerateMissingIdsAndStyleClassesInCss(boolean generateMissingIdsAndStyleClassesInCss); + /** @return the encoding to use to write files */ String getEncoding(); diff --git a/jaxx-compiler/src/main/java/jaxx/compiler/DefaultCompilerConfiguration.java b/jaxx-compiler/src/main/java/jaxx/compiler/DefaultCompilerConfiguration.java index 1bfa116..d05d2b2 100644 --- a/jaxx-compiler/src/main/java/jaxx/compiler/DefaultCompilerConfiguration.java +++ b/jaxx-compiler/src/main/java/jaxx/compiler/DefaultCompilerConfiguration.java @@ -138,6 +138,13 @@ public class DefaultCompilerConfiguration implements CompilerConfiguration { private boolean addAutoHandlerUI; /** + * To generate missing ids and style classes in the CSS files + * + * @since 2.29 + */ + private boolean generateMissingIdsAndStyleClassesInCss; + + /** * Optional common css. * * @since 2.13 @@ -174,6 +181,15 @@ public class DefaultCompilerConfiguration implements CompilerConfiguration { this.addAutoHandlerUI = addAutoHandlerUI; } + @Override + public boolean isGenerateMissingIdsAndStyleClassesInCss() { + return generateMissingIdsAndStyleClassesInCss; + } + + @Override + public void setGenerateMissingIdsAndStyleClassesInCss(boolean generateMissingIdsAndStyleClassesInCss) { + this.generateMissingIdsAndStyleClassesInCss = generateMissingIdsAndStyleClassesInCss; + } public void setVerbose(boolean verbose) { this.verbose = verbose; diff --git a/jaxx-compiler/src/main/java/jaxx/compiler/JAXXEngine.java b/jaxx-compiler/src/main/java/jaxx/compiler/JAXXEngine.java index 679653e..8638764 100644 --- a/jaxx-compiler/src/main/java/jaxx/compiler/JAXXEngine.java +++ b/jaxx-compiler/src/main/java/jaxx/compiler/JAXXEngine.java @@ -27,6 +27,7 @@ import jaxx.compiler.tasks.CompileFirstPassTask; import jaxx.compiler.tasks.CompileSecondPassTask; import jaxx.compiler.tasks.FinalizeTask; import jaxx.compiler.tasks.GenerateConstructorsTask; +import jaxx.compiler.tasks.GenerateMissingRulesTask; import jaxx.compiler.tasks.GenerateTask; import jaxx.compiler.tasks.InitTask; import jaxx.compiler.tasks.JAXXEngineTask; @@ -122,6 +123,10 @@ public class JAXXEngine { tasks.add(new GenerateConstructorsTask()); tasks.add(new GenerateTask()); + if (getConfiguration().isGenerateMissingIdsAndStyleClassesInCss()) { + tasks.add(new GenerateMissingRulesTask()); + } + if (getConfiguration().isProfile()) { tasks.add(new ProfileTask()); } diff --git a/jaxx-compiler/src/main/java/jaxx/compiler/tasks/GenerateMissingRulesTask.java b/jaxx-compiler/src/main/java/jaxx/compiler/tasks/GenerateMissingRulesTask.java new file mode 100644 index 0000000..f338f9e --- /dev/null +++ b/jaxx-compiler/src/main/java/jaxx/compiler/tasks/GenerateMissingRulesTask.java @@ -0,0 +1,129 @@ +/* + * #%L + * JAXX :: Compiler + * %% + * Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ +package jaxx.compiler.tasks; + +import jaxx.compiler.CompiledObject; +import jaxx.compiler.JAXXCompiler; +import jaxx.compiler.JAXXCompilerFile; +import jaxx.compiler.JAXXEngine; +import org.apache.commons.io.FileUtils; +import org.apache.commons.lang3.StringUtils; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +import java.io.File; +import java.util.LinkedHashSet; +import java.util.Map; +import java.util.Set; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** + * Last task to generate java files. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 2.0.2 + */ +public class GenerateMissingRulesTask extends JAXXEngineTask { + + /** Logger */ + private static final Log log = LogFactory.getLog(GenerateMissingRulesTask.class); + + /** Task name */ + public static final String TASK_NAME = "GenerateMissingRules"; + + public GenerateMissingRulesTask() { + super(TASK_NAME); + } + + @Override + public boolean perform(JAXXEngine engine) throws Exception { + boolean success = true; + boolean isVerbose = engine.getConfiguration().isVerbose(); + + JAXXCompilerFile[] files = engine.getCompiledFiles(); + + for (JAXXCompilerFile jaxxFile : files) { + String className = jaxxFile.getClassName(); + if (isVerbose) { + log.info("start " + className); + } + + JAXXCompiler compiler = jaxxFile.getCompiler(); + addStartProfileTime(engine, compiler); + + if (compiler.isIdentCssFound()) { + + File cssFile = jaxxFile.getCssFile(); + + String cssContent = FileUtils.readFileToString(cssFile); + + Map<String, CompiledObject> objects = compiler.getObjects(); + + Set<String> cssRulesToAdd = new LinkedHashSet<>(); + + for (String id : objects.keySet()) { + + if (log.isInfoEnabled()) { + log.info("id : " + id); + } + + if (!id.startsWith("$")) { + Pattern idPattern = Pattern.compile("#" + id + "\\s?\\{.*\\}", Pattern.DOTALL); + Matcher idMatcher = idPattern.matcher(cssContent); + + if (!idMatcher.find()) { + if (log.isInfoEnabled()) { + log.info("add css rule for #" + id + " in " + cssFile.getName()); + } + cssRulesToAdd.add( "\n\n/* #" + id + " { } */"); + } + } + + CompiledObject object = objects.get(id); + String styleClass = object.getStyleClass(); + if (styleClass != null) { + Pattern classPattern = Pattern.compile("\\." + styleClass + "\\s?\\{.*\\}", Pattern.DOTALL); + Matcher classMatcher = classPattern.matcher(cssContent); + + if (!classMatcher.find()) { + if (log.isInfoEnabled()) { + log.info("add css rule for ." + styleClass + " in " + cssFile.getName()); + } + cssRulesToAdd.add( "\n\n/* ." + styleClass + " { } */"); + } + } + + } + + FileUtils.write(cssFile, StringUtils.join(cssRulesToAdd, ""), true); + } + + addEndProfileTime(engine, compiler); + + if (compiler.isFailed()) { + success = false; + } + } + return success; + } +} diff --git a/jaxx-maven-plugin/src/main/java/org/nuiton/jaxx/plugin/GenerateMojo.java b/jaxx-maven-plugin/src/main/java/org/nuiton/jaxx/plugin/GenerateMojo.java index db62017..30f7f9e 100644 --- a/jaxx-maven-plugin/src/main/java/org/nuiton/jaxx/plugin/GenerateMojo.java +++ b/jaxx-maven-plugin/src/main/java/org/nuiton/jaxx/plugin/GenerateMojo.java @@ -300,6 +300,14 @@ public class GenerateMojo extends AbstractJaxxMojo implements CompilerConfigurat private boolean addAutoHandlerUI; /** + * For each jaxx file, generate the rules in the css files for the ids and style classes which have not been defined. + * + * @since 2.29 + */ + @Parameter(property = "jaxx.generateMissingIdsInCss", defaultValue = "false") + private boolean generateMissingIdsAndStyleClassesInCss; + + /** * A optional common css to inject in all jaxx files. * * @since 2.13 @@ -591,6 +599,16 @@ public class GenerateMojo extends AbstractJaxxMojo implements CompilerConfigurat } @Override + public boolean isGenerateMissingIdsAndStyleClassesInCss() { + return generateMissingIdsAndStyleClassesInCss; + } + + @Override + public void setGenerateMissingIdsAndStyleClassesInCss(boolean generateMissingIdsAndStyleClassesInCss) { + this.generateMissingIdsAndStyleClassesInCss = generateMissingIdsAndStyleClassesInCss; + } + + @Override public Class<? extends JAXXContext> getJaxxContextClass() { return jaxxContextClass; } diff --git a/jaxx-test/LICENSE.txt b/jaxx-test/LICENSE.txt new file mode 100644 index 0000000..cca7fc2 --- /dev/null +++ b/jaxx-test/LICENSE.txt @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/jaxx-test/README.txt b/jaxx-test/README.txt new file mode 100644 index 0000000..d2e50d3 --- /dev/null +++ b/jaxx-test/README.txt @@ -0,0 +1,2 @@ +To deploy new version of pom: mvn deploy +To install localy: mvn install diff --git a/jaxx-test/changelog.txt b/jaxx-test/changelog.txt new file mode 100644 index 0000000..3db2e3c --- /dev/null +++ b/jaxx-test/changelog.txt @@ -0,0 +1,2 @@ +1.7.2 + * 20091003 [chemit] - initial release (insparated from obsolote jaxx-example module) diff --git a/jaxx-test/pom.xml b/jaxx-test/pom.xml new file mode 100644 index 0000000..6f64886 --- /dev/null +++ b/jaxx-test/pom.xml @@ -0,0 +1,387 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JAXX :: Demo + + $Id$ + $HeadURL$ + %% + Copyright (C) 2008 - 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.nuiton</groupId> + <artifactId>jaxx</artifactId> + <version>2.29-SNAPSHOT</version> + </parent> + + <groupId>org.nuiton.jaxx</groupId> + <artifactId>jaxx-test</artifactId> + + <name>JAXX :: Demo</name> + <description>Module de test pour la generation des ids dans le css (à supprimer) </description> + + <properties> + + <maven.jar.main.class>jaxx.demo.RunDemo</maven.jar.main.class> + + <jaxx.addProjectClassPath>true</jaxx.addProjectClassPath> + <jaxx.addSourcesToClassPath>true</jaxx.addSourcesToClassPath> + <jaxx.autoImportCss>true</jaxx.autoImportCss> + <jaxx.autoRecurseInCss>false</jaxx.autoRecurseInCss> + <jaxx.addAutoHandlerUI>true</jaxx.addAutoHandlerUI> + <jaxx.generateHelp>false</jaxx.generateHelp> + <jaxx.generateMissingIdsInCss>true</jaxx.generateMissingIdsInCss> + + <!-- generate license bundled files --> + <license.generateBundle>false</license.generateBundle> + + <!-- Post Release configuration --> + <skipPostRelease>false</skipPostRelease> + + </properties> + + <dependencies> + + <!-- sibiling dependencies --> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-runtime</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-validator</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-widgets</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-widgets-gis</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-widgets-datetime</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-widgets-number</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-widgets-select</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-config</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-version</artifactId> + </dependency> + + <dependency> + <groupId>org.nuiton.i18n</groupId> + <artifactId>nuiton-i18n</artifactId> + </dependency> + + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-utils</artifactId> + </dependency> + + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-config</artifactId> + </dependency> + + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-decorator</artifactId> + </dependency> + + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-validator</artifactId> + </dependency> + + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </dependency> + + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + </dependency> + + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + </dependency> + + <dependency> + <groupId>org.swinglabs.swingx</groupId> + <artifactId>swingx-core</artifactId> + </dependency> + + <dependency> + <groupId>org.swinglabs.swingx</groupId> + <artifactId>swingx-common</artifactId> + </dependency> + + <dependency> + <groupId>org.swinglabs</groupId> + <artifactId>jxlayer</artifactId> + </dependency> + + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + </dependency> + + <!-- test dependencies --> + + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-validator</artifactId> + <scope>test</scope> + <classifier>tests</classifier> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </dependency> + + <dependency> + <groupId>com.fifesoft</groupId> + <artifactId>rsyntaxtextarea</artifactId> + </dependency> + + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <scope>runtime</scope> + </dependency> + + </dependencies> + + <build> + <resources> + <resource> + <directory>src/main/filters</directory> + <filtering>true</filtering> + <includes> + <include>jaxx-demo.properties</include> + </includes> + </resource> + <resource> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <directory>src/main/java</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> + <pluginManagement> + <plugins> + + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <useUniqueVersions>false</useUniqueVersions> + <addClasspath>true</addClasspath> + <classpathPrefix>./lib/</classpathPrefix> + <mainClass>${maven.jar.main.class}</mainClass> + </manifest> + </archive> + </configuration> + <executions> + <execution> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> + + </pluginManagement> + <plugins> + + <plugin> + <groupId>org.nuiton.jaxx</groupId> + <artifactId>jaxx-maven-plugin</artifactId> + <version>${project.version}</version> + <executions> + <execution> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-dependencies</id> + <goals> + <goal>copy-dependencies</goal> + </goals> + <configuration> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>true</overWriteSnapshots> + <overWriteIfNewer>true</overWriteIfNewer> + <outputDirectory>${project.build.directory}/lib</outputDirectory> + <silent>true</silent> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>license-maven-plugin</artifactId> + <executions> + <execution> + <id>attach-licenses</id> + <goals> + <goal>update-project-license</goal> + <goal>add-third-party</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> + </build> + + <profiles> + + <!-- by default jnlp is only perform on a release stage when using the maven-release-plugin --> + <profile> + <id>release-jnlp-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>package</defaultGoal> + <plugins> + <!-- key store secrets availables --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>helper-maven-plugin</artifactId> + <executions> + <execution> + <id>get-keystore</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>package</phase> + <configuration> + <serverId>codelutin-keystore</serverId> + <privateKeyOut>keystorepath</privateKeyOut> + <passwordOut>keystorepass</passwordOut> + <usernameOut>keyalias</usernameOut> + <passphraseOut>keypass</passphraseOut> + </configuration> + </execution> + </executions> + </plugin> + + <!-- make webstart --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <executions> + <execution> + <id>generate-jnlp</id> + <phase>package</phase> + <goals> + <goal>jnlp-single</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + + <!-- by default jnlp is only perform on a release stage when using the maven-release-plugin --> + <profile> + <id>reporting</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + + <reporting> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <version>${webstartPluginVersion}</version> + <configuration> + <siteJnlpFile>${jnlpFileName}</siteJnlpFile> + <codebase>${jnlpCodebase}</codebase> + </configuration> + </plugin> + </plugins> + </reporting> + + </profile> + + </profiles> +</project> diff --git a/jaxx-test/src/license/THIRD-PARTY.properties b/jaxx-test/src/license/THIRD-PARTY.properties new file mode 100644 index 0000000..3db503a --- /dev/null +++ b/jaxx-test/src/license/THIRD-PARTY.properties @@ -0,0 +1,20 @@ +# Generated by org.codehaus.mojo.license.AddThirdPartyMojo +#------------------------------------------------------------------------------- +# Already used licenses in project : +# - Apache License 2.0 +# - BSD +# - Common Public License Version 1.0 +# - GNU General Public License - Version 2 with the class path exception +# - LGPL 2.1 +# - Lesser General Public License (LGPL) +# - Lesser General Public License (LGPL) v 3.0 +# - MPL 1.1 +# - Modified BSD License +# - New BSD License +# - The Apache Software License, Version 2.0 +#------------------------------------------------------------------------------- +# Please fill the missing licenses for dependencies : +# +# +#Sun Aug 03 13:20:31 CEST 2014 +commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0 diff --git a/jaxx-test/src/main/filters/jaxx-demo.properties b/jaxx-test/src/main/filters/jaxx-demo.properties new file mode 100644 index 0000000..572bbdc --- /dev/null +++ b/jaxx-test/src/main/filters/jaxx-demo.properties @@ -0,0 +1,32 @@ +### +# #%L +# JAXX :: Demo +# %% +# Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit +# %% +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. +# +# You should have received a copy of the GNU General Lesser Public +# License along with this program. If not, see +# <http://www.gnu.org/licenses/lgpl-3.0.html>. +# #L% +### +application.name=${project.name} +application.version=${project.version} +application.site.url=http://maven-site.nuiton.org/jaxx/jaxx-demo +application.icon.path=/icons/jaxx.png +application.license.path=META-INF/${project.artifactId}-LICENSE.txt +application.third-party.path=META-INF/${project.artifactId}-THIRD-PARTY.txt +#licence.name=${project.licenses[0].license.name} +#licence.url=${project.licenses.0.url} +application.organisation.name=${project.organization.name} +application.organisation.url=${project.organization.url} +application.help.path=http://maven-site.nuiton.org/jaxx/jaxx-demo/help diff --git a/jaxx-test/src/main/java/jaxx/demo/DemoUI.css b/jaxx-test/src/main/java/jaxx/demo/DemoUI.css new file mode 100644 index 0000000..d92d306 --- /dev/null +++ b/jaxx-test/src/main/java/jaxx/demo/DemoUI.css @@ -0,0 +1,202 @@ +/* + * #%L + * JAXX :: Demo + * %% + * Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + +JToolBar { + borderPainted:false; + floatable:false; + opaque:false; +} + +JSplitPane { + oneTouchExpandable:true; + continuousLayout:true; + dividerSize:6; +} + +//#mainFrame { +// title:"JAXX Demo"; +// iconImage:{SwingUtil.createIcon(getConfig().getIconPath()).getImage()}; +//} + +#menu { + _help:{"ui.main.menu"}; +} + +#menuFile { + text:"jaxxdemo.menu.file"; + i18nMnemonic: "jaxxdemo.menu.file.mnemonic"; + _help:{"ui.main.menu.file"}; +} + +#menuFileConfiguration { + text:"jaxxdemo.action.configuration"; + toolTipText:"jaxxdemo.action.configuration.tip"; + actionIcon:"config"; + i18nMnemonic: "jaxxdemo.action.configuration.mnemonic"; + _help:{"ui.main.menu.file.configuration"}; +} + +#menuFileLanguage { + text:"jaxxdemo.menu.file.locale"; + toolTipText:"jaxxdemo.menu.file.locale"; + actionIcon:"translate"; + i18nMnemonic: "jaxxdemo.menu.file.locale.mnemonic"; + _help:{"ui.main.menu.file.locale"}; +} + + +#menuFileLanguageFR { + text:"jaxxdemo.action.locale.fr"; + toolTipText:"jaxxdemo.action.locale.fr.tip"; + actionIcon:"i18n-fr"; + i18nMnemonic: "jaxxdemo.action.locale.fr.mnemonic"; + _help:{"ui.main.menu.file.locale.fr"}; +} + +#menuFileLanguageUK { + text:"jaxxdemo.action.locale.uk"; + toolTipText:"jaxxdemo.action.locale.uk.tip"; + actionIcon:"i18n-uk"; + i18nMnemonic: "jaxxdemo.action.locale.uk.mnemonic"; + _help:{"ui.main.menu.file.locale.uk"}; +} + +#menuFileFullscreen { + text:"jaxxdemo.action.fullscreen"; + toolTipText:"jaxxdemo.action.fullscreen.tip"; + actionIcon:"fullscreen"; + i18nMnemonic: "jaxxdemo.action.fullscreen.mnemonic"; + visible:{!isUndecorated()}; + _help:{"ui.main.menu.file.fullscreen"}; +} + +#menuFileNormalscreen { + text:"jaxxdemo.action.normalscreen"; + toolTipText:"jaxxdemo.action.normalscreen.tip"; + actionIcon:"leave-fullscreen"; + i18nMnemonic: "jaxxdemo.action.normalscreen.mnemonic"; + visible:{isUndecorated()}; + _help:{"ui.main.menu.file.leave-fullscreen"}; +} + +#menuFileExit { + text:"jaxxdemo.action.exit"; + toolTipText:"jaxxdemo.action.exit.tip"; + actionIcon:"exit"; + i18nMnemonic: "jaxxdemo.action.exit.mnemonic"; + _help:{"ui.main.menu.file.exit"}; +} + +#menuHelp { + text:"jaxxdemo.menu.help"; + i18nMnemonic: "jaxxdemo.menu.help.mnemonic"; + _help:{"ui.main.menu.help"}; +} + +#menuHelpLogs { + text:"jaxxdemo.action.showLogs"; + i18nMnemonic: "jaxxdemo.action.showLogs.mnemonic"; + _help:{"ui.main.action.showLogs"}; +} + +#menuHelpHelp { + text:"jaxxdemo.action.help"; + toolTipText:"jaxxdemo.action.help.tip"; + actionIcon:"help"; + i18nMnemonic: "jaxxdemo.action.help.mnemonic"; + _help:{"ui.main.menu.help.help"}; +} + +#menuHelpSite { + text:"jaxxdemo.action.site"; + toolTipText:"jaxxdemo.action.site.tip"; + actionIcon:"site"; + i18nMnemonic: "jaxxdemo.action.site.mnemonic"; + _help:{"ui.main.menu.help.site"}; +} + +#menuHelpAbout { + text:"jaxxdemo.action.about"; + toolTipText:"jaxxdemo.action.about.tip"; + actionIcon:"about"; + i18nMnemonic: "jaxxdemo.action.about.mnemonic"; + _help:{"ui.main.menu.help.about"}; +} + +#showHelp { + toolTipText:"jaxxdemo.action.showHelp.tip"; + actionIcon:"show-help"; + borderPainted:false; + visible:true; +} + +#navigationPane { + border:{null}; + minimumSize:{new Dimension(230,0)}; + horizontalScrollBarPolicy:{JScrollPane.HORIZONTAL_SCROLLBAR_NEVER}; +} + +#splitpane { + orientation:{JSplitPane.HORIZONTAL_SPLIT}; + _help:{"ui.main.body.db"}; + resizeWeight:1.0; +} + +#contentLayout { + useOnlyVisibleComponentDimension:true; +} + +#content { + layout:{contentLayout}; + _help:{"ui.main.body.db.view.content"}; +} + +/* +#toolbar { + layout:{new BoxLayout(toolbar, 0)}; + _help:{"ui.main.toolbar"}; +}*/ + + +/* .help { } */ + +/* #p { } */ + +/* .menu { } */ + +/* #mainPane { } */ + +/* #navigation { } */ + +/* #splitPane { } */ + +/* .help { } */ + +/* #p { } */ + +/* .menu { } */ + +/* #mainPane { } */ + +/* #navigation { } */ + +/* #splitPane { } */ \ No newline at end of file diff --git a/jaxx-test/src/main/java/jaxx/demo/DemoUI.jaxx b/jaxx-test/src/main/java/jaxx/demo/DemoUI.jaxx new file mode 100644 index 0000000..ba6a2ff --- /dev/null +++ b/jaxx-test/src/main/java/jaxx/demo/DemoUI.jaxx @@ -0,0 +1,91 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<JFrame id='mainFrame' width='1024' height='800' + decorator='help' > + + <import> + + jaxx.runtime.SwingUtil + jaxx.runtime.swing.CardLayout2 + jaxx.runtime.swing.StatusMessagePanel + + java.awt.Dimension + java.util.Locale + </import> + + <CardLayout2 id='contentLayout'/> + + <script><![CDATA[ + +public boolean acceptLocale(Locale l, String expected) { + return l !=null && l.toString().equals(expected); +} +]]> + </script> + + <JMenuBar id='menu' styleClass="menu"> + + <JMenu id='menuFile' styleClass="menu"> + <JMenuItem id='menuFileConfiguration'/> + <JMenu id='menuFileLanguage'> + <JMenuItem id='menuFileLanguageFR'/> + <JMenuItem id='menuFileLanguageUK'/> + </JMenu> + <JSeparator/> + <JMenuItem id='menuFileFullscreen'/> + <JMenuItem id='menuFileNormalscreen'/> + <JSeparator/> + <JMenuItem id='menuFileExit'/> + </JMenu> + + <JMenu id='menuHelp' styleClass="help"> + <JMenuItem id='menuHelpLogs'/> + <JMenuItem id='menuHelpHelp'/> + <JMenuItem id='menuHelpSite'/> + <JMenuItem id='menuHelpAbout'/> + </JMenu> + + <JToolBar layout='{new BorderLayout()}'> + + <!-- pour afficher l'aide contextuelle --> + <JButton id='showHelp' constraints='BorderLayout.EAST'/> + </JToolBar> + + + </JMenuBar> + + <JPanel id='mainPane' layout='{new BorderLayout()}'> + + <JSplitPane id='splitPane' constraints='BorderLayout.CENTER'> + <JScrollPane id='navigationPane'> + <JTree id='navigation'/> + </JScrollPane> + + <JPanel id='content'/> + + </JSplitPane> + + <StatusMessagePanel id='p' constraints='BorderLayout.SOUTH'/> + + </JPanel> +</JFrame> diff --git a/jaxx-test/src/main/resources/i18n/jaxx-demo_en_GB.properties b/jaxx-test/src/main/resources/i18n/jaxx-demo_en_GB.properties new file mode 100644 index 0000000..eedf2f2 --- /dev/null +++ b/jaxx-test/src/main/resources/i18n/jaxx-demo_en_GB.properties @@ -0,0 +1,365 @@ +-= +.= +0= +1= +10= +12= +14= +18= +2= +24= +3= +4= +5= +6= +7= +8= +9= +\== +Age\:= +Animal= +Blue= +Blue\:= +Bold= +Button\ label\:= +C= +CE= +Cancel= +Comments\:= +Config\ file\ \:= +Config\ file\:= +Cyan= +Dec\ (-)= +Demo= +Directory\ file\:= +Editable= +Email\ Address\:= +Email\:= +Enabled= +EnumEditor\ (country)\ \:= +EnumEditor\ (language)\ \:= +Fancy\ Button= +First\ Name\:= +FirstName\:= +Font\ size= +Fool\ me\ once= +Fool\ me\ twice= +Green= +Green\:= +Greet= +Help= +Inc\ (+)= +Italic= +JAXX\ Demo= +JMenu\ demo= +Label\ 1= +Label\ 2= +Last\ Name\:= +LastName\:= +Locale\ editor\:= +Message\ Box= +Mineral= +Normal\ text\:= +OK= +Orange= +Password\:= +Purple= +Ratio\:= +Red= +Red\:= +Reset= +Show\ Background= +Show\ password\ dialog= +Sign\ on= +Simple\ Button= +Size\:= +Sources= +Spacing\:= +Start= +Stop= +Supported\ Swing\ components\:= +Text2\:= +Text\:= +Underline= +Upper\ case\ text\:= +Use\ the\ spinner\ to= +Username\:= +Vegetable= +View= +Welcome\ to\ the\ JAXX\ framework\!= +Working\ directory\:= +Yellow= +Your\ name\:= +\\u00f7= +adjust\ the\ spacing= +between\ these\ lines= +button\ A= +button\ B= +button\ C\ (full\ block)= +button\ D\ (full\ block\ 2)= +cancel= +close=Disable +close2=Disable 2 +close3=Disable 3 +demo.action.reload.application=Reload application +demo.action.reload.logAppender= +demo.action.reload.ui=Reload UI +edit=Edit +edit2=Edit 2 +edit3=Edit 3 +f0= +f1= +file...= +form.ratio=Ratio +form.text=Text +form.text2=Text 2 +form2.ratio=Form 2 Ratio +form2.text=Form 2 Text +form2.text2=Form 2 Text 2 +getModel0().isF0()= +getModel0().isF0()\ &&\ getModel0().isF1()= +getModel0().isF0()\ ||\ getModel0().isF1()= +getModel0().isF1()= +getModel1().isF0()= +getModel1().isF0()\ &&\ getModel1().isF1()= +getModel1().isF0()\ ||\ getModel1().isF1()= +getModel1().isF1()= +getT0().isSelected()= +getT0().isSelected()\ &&\ getT1().isSelected()= +getT0().isSelected()\ ||\ getT1().isSelected()= +getT1().isSelected()= +isF0()= +isF0()\ &&\ isF1()= +isF0()\ ||\ isF1()= +isF1()= +jaxx.demo.action.add=Add +jaxx.demo.action.ok=Ok +jaxx.demo.action.remove=Remove +jaxx.demo.label.age=Age +jaxx.demo.label.age.tip=Age +jaxx.demo.label.firstName=First name +jaxx.demo.label.firstName.tip=First name +jaxx.demo.label.id=Id +jaxx.demo.label.id.tip=Identifiant +jaxx.demo.label.lastName=Last name +jaxx.demo.label.lastName.tip=Last name +jaxxdemo.about.message=<h3>JAXX Demo</h3><hr/>For more informations, visit the <a href\="http\://maven-site.nuiton.org/jaxx/jaxx-demo">website of the project</a>. +jaxxdemo.action.about=About... +jaxxdemo.action.about.mnemonic=A +jaxxdemo.action.about.tip=About JAXXDemo... +jaxxdemo.action.add=Add +jaxxdemo.action.configuration=Preferences +jaxxdemo.action.configuration.mnemonic=P +jaxxdemo.action.configuration.tip=Change the preferences of the application +jaxxdemo.action.exit=Quit +jaxxdemo.action.exit.mnemonic=Q +jaxxdemo.action.exit.tip=Quit JAXXDemo +jaxxdemo.action.fullscreen=Full screen +jaxxdemo.action.fullscreen.mnemonic=u +jaxxdemo.action.fullscreen.tip=Change to full screen mode +jaxxdemo.action.help= +jaxxdemo.action.help.mnemonic=e +jaxxdemo.action.help.tip=Display help +jaxxdemo.action.locale.fr=French +jaxxdemo.action.locale.fr.mnemonic=F +jaxxdemo.action.locale.fr.tip=Change to french language +jaxxdemo.action.locale.uk=English +jaxxdemo.action.locale.uk.mnemonic=E +jaxxdemo.action.locale.uk.tip=Change to english language +jaxxdemo.action.normalscreen=Normal screen +jaxxdemo.action.normalscreen.mnemonic=N +jaxxdemo.action.normalscreen.tip=Change to normal screen mode +jaxxdemo.action.remove=Remove +jaxxdemo.action.show=show +jaxxdemo.action.showHelp.tip= +jaxxdemo.action.showLogs=Show logs +jaxxdemo.action.showLogs.mnemonic=S +jaxxdemo.action.site=Web site +jaxxdemo.action.site.mnemonic=W +jaxxdemo.action.site.tip=Go to the web site +jaxxdemo.beancomboboxdemo.autoComplete=AutoComplete +jaxxdemo.beancomboboxdemo.configuration=Configuration +jaxxdemo.beancomboboxdemo.no.people.selected=No selection +jaxxdemo.beancomboboxdemo.result=Result +jaxxdemo.beancomboboxdemo.selected.people=Selection\: %s +jaxxdemo.beancomboboxdemo.showDecorator=Show decorator button +jaxxdemo.beancomboboxdemo.showReset=Show Reset button +jaxxdemo.beandoublelistdemo.configuration=Configuration +jaxxdemo.beandoublelistdemo.enable=Enable / Disable +jaxxdemo.beandoublelistdemo.filterOnNacho=Show only the actors playing in Nacho Libre +jaxxdemo.beandoublelistdemo.filterable=Filterable +jaxxdemo.beandoublelistdemo.highlightFilterText=Highlight the filter text +jaxxdemo.beandoublelistdemo.noselected=< No selection > +jaxxdemo.beandoublelistdemo.selected=Selected\: +jaxxdemo.beandoublelistdemo.showDecorator=Show decorator button +jaxxdemo.beandoublelistdemo.showReset=Show Reset button +jaxxdemo.beanfilterablecomboboxdemo.colorizeInvalidComboEditorText=Colorize the text if it not valid +jaxxdemo.beanfilterablecomboboxdemo.configuration=Configuration +jaxxdemo.beanfilterablecomboboxdemo.filterable=Filterable +jaxxdemo.beanfilterablecomboboxdemo.no.people.selected=No selection +jaxxdemo.beanfilterablecomboboxdemo.result=Result +jaxxdemo.beanfilterablecomboboxdemo.selected.people=Selection\: %s +jaxxdemo.beanfilterablecomboboxdemo.showDecorator=Show decorator button +jaxxdemo.beanfilterablecomboboxdemo.showReset=Show Reset button +jaxxdemo.common.actors=Actors +jaxxdemo.common.age=Age +jaxxdemo.common.firstName=First name +jaxxdemo.common.id=Id +jaxxdemo.common.image=Image +jaxxdemo.common.lastName=Last name +jaxxdemo.common.movie=Movie +jaxxdemo.common.movies=Movies +jaxxdemo.common.people=People +jaxxdemo.common.title=Title +jaxxdemo.common.year=Year +jaxxdemo.component.jaxx=JAXX Components +jaxxdemo.component.jaxx.editor=Editors (Deprecated) +jaxxdemo.component.jaxx.widgets=Widgets (New) +jaxxdemo.component.jaxx.widgets.datetime=jaxx-widgets-datetime (Date time editors) +jaxxdemo.component.jaxx.widgets.gis=jaxx-widgets-gis (Gis editors) +jaxxdemo.component.jaxx.widgets.number=jaxx-widgets-number (Number editors) +jaxxdemo.component.jaxx.widgets.select=jaxx-widgets-select (Selectors) +jaxxdemo.component.swing=Swing Components +jaxxdemo.component.swing.buttons=Buttons +jaxxdemo.component.swing.form=Form elements +jaxxdemo.component.swing.form.text=Text +jaxxdemo.component.swing.layout=Layouts +jaxxdemo.component.swing.menu=Menus +jaxxdemo.component.swing.window=windows +jaxxdemo.config.category.directories=Files +jaxxdemo.config.category.directories.description=Files used by application +jaxxdemo.config.category.other=Others +jaxxdemo.config.category.other.description=Others preferences +jaxxdemo.config.configFileName.description=Configuration file name +jaxxdemo.config.ui.demo.path=Path of demo to select when starting application +jaxxdemo.config.ui.demoClass= +jaxxdemo.config.ui.demoColor= +jaxxdemo.config.ui.fontSize=default font size to use in sources +jaxxdemo.config.ui.fullscreen=To change the screen mode (true for full screen) +jaxxdemo.config.ui.keyOpenConfig=To change key for open config ui +jaxxdemo.config.ui.locale=Language used in application +jaxxdemo.config.ui.logLevel=Log level +jaxxdemo.config.ui.logPatternLayout=Log pattern +jaxxdemo.context.helpPage.notFound= +jaxxdemo.coordinate.displayZeroWhenNull=Display zero instead of empty string for null values +jaxxdemo.coordinate.enable=Enable / Disable +jaxxdemo.coordinate.latitude=Latitude +jaxxdemo.coordinate.latitudeDd=Latitude (format DD) +jaxxdemo.coordinate.latitudeDmd=Latitude (format DMD) +jaxxdemo.coordinate.latitudeDms=Latitude (format DMS) +jaxxdemo.coordinate.longitude=Longitude +jaxxdemo.coordinate.longitudeDd=Longitude (format DD) +jaxxdemo.coordinate.longitudeDmd=Longitude (format DMD) +jaxxdemo.coordinate.longitudeDms=Longitude (format DMS) +jaxxdemo.coordinate.result=Résultat +jaxxdemo.coordinate.result.latitude=<html>Latitude <strong>%s</strong> +jaxxdemo.coordinate.result.longitude=<html>Longitude <strong>%s</strong> +jaxxdemo.coordinate.result.quadrant=<html>Quadrant <strong>%s</strong> +jaxxdemo.coordinate.showReset=show Reset button +jaxxdemo.coordinatesEditor.configuration=Configuration +jaxxdemo.datePickerEditor.dateResult=Result display +jaxxdemo.datePickerEditor.patternLayout=Date pattern +jaxxdemo.datePickerEditor.showPopupButton=Display popup button +jaxxdemo.datetimeeditor.configuration=Configuration +jaxxdemo.datetimeeditor.configuration.format=Date format +jaxxdemo.datetimeeditor.configuration.format.value=yyyy/MM/dd +jaxxdemo.datetimeeditor.configuration.label=Label of editor +jaxxdemo.datetimeeditor.configuration.label.value=Date - Time +jaxxdemo.datetimeeditor.dateEditable=Editable Date +jaxxdemo.datetimeeditor.editor=Editor +jaxxdemo.datetimeeditor.enable=Enable / Disable +jaxxdemo.datetimeeditor.result=Result +jaxxdemo.datetimeeditor.result.date=Date\: +jaxxdemo.datetimeeditor.result.dayDate=Day\: +jaxxdemo.datetimeeditor.result.timeDate=Time\: +jaxxdemo.datetimeeditor.timeEditable=Editable Time +jaxxdemo.feature=Features +jaxxdemo.feature.databinding=Data Binding +jaxxdemo.feature.list.validation=Multiple Bean Validation +jaxxdemo.feature.nav=Jaxx nav API +jaxxdemo.feature.simple.validation=Simple Bean Validation +jaxxdemo.feature.validation=Validation +jaxxdemo.fileEditor.acceptAllFileFilterUsed=Allow all FileFilter +jaxxdemo.fileEditor.directoryEnabled=Enable directory selection +jaxxdemo.fileEditor.extsDescLbl=Extensions description (separated by comma, ex \: text (*.txt), images (*.png)) +jaxxdemo.fileEditor.extsLbl=Extensions (separated by comma, ex \: txt, png) +jaxxdemo.fileEditor.fileEnabled=Enable file selection +jaxxdemo.fileEditor.showResetLabel=Show Reset button +jaxxdemo.fileEditor.titleLbl=Open dialog title +jaxxdemo.fun=Fun +jaxxdemo.i18neditor.configuration=Configuration +jaxxdemo.i18neditor.popup.title=Title of popup +jaxxdemo.i18neditor.popupBorderText=Popup title +jaxxdemo.i18neditor.selected.locale=Selected Language +jaxxdemo.i18neditor.showIcon=Show icons +jaxxdemo.i18neditor.showPopupIcon=Show icons in popup +jaxxdemo.i18neditor.showPopupText=Show texts in popup +jaxxdemo.i18neditor.showText=Show text +jaxxdemo.init.closed=JAXXDemo was closed at %1$s +jaxxdemo.init.context.done=Context initialized in %1$s +jaxxdemo.init.ui.done=UI initialized. +jaxxdemo.listSelector.addToolTipLbl=Add button toolTip +jaxxdemo.listSelector.removeToolTipLbl=Remove button toolTip +jaxxdemo.menu.file=File +jaxxdemo.menu.file.locale=Languages +jaxxdemo.menu.file.locale.mnemonic=L +jaxxdemo.menu.file.mnemonic=F +jaxxdemo.menu.help= +jaxxdemo.menu.help.mnemonic=h +jaxxdemo.message.config.loaded=Configuration of JAXXDemo v. %1$s loaded. +jaxxdemo.message.goto.site=Go to JAXXDemo Web site +jaxxdemo.navigation.actor.title=Actor +jaxxdemo.navigation.actors.title=Actors +jaxxdemo.navigation.movie.title=Movie +jaxxdemo.navigation.movies.title=Movies +jaxxdemo.numbereditor.applyNumberPattern=Apply pattern +jaxxdemo.numbereditor.autoPopup=Show automatic popup +jaxxdemo.numbereditor.configuration=Configuration +jaxxdemo.numbereditor.doubleNumberConfig=Double editor (pattern / enable) +jaxxdemo.numbereditor.floatNumberConfig=Float editor (pattern / enable) +jaxxdemo.numbereditor.integerNumberConfig=Integer editor (pattern / enable) +jaxxdemo.numbereditor.model=Result +jaxxdemo.numbereditor.model.double=Valeur Double \: %s +jaxxdemo.numbereditor.model.float=Valeur Float \: %s +jaxxdemo.numbereditor.model.integer=Valeur Integer \: %s +jaxxdemo.numbereditor.numberPattern.configuration=Number Pattern +jaxxdemo.numbereditor.showPopupButton=Show Popup button +jaxxdemo.numbereditor.showReset=Show reset button +jaxxdemo.numbereditor.useFloat=Use float +jaxxdemo.numbereditor.useSign=Use Sign +jaxxdemo.openHelp=Open contextual help (%s), Will come in 3.0 version +jaxxdemo.timeeditor.configuration=Configuration +jaxxdemo.timeeditor.configuration.label=Label of editor +jaxxdemo.timeeditor.configuration.label.value=Time\: +jaxxdemo.timeeditor.editor=Time Editor +jaxxdemo.timeeditor.enable=Enable / Disable +jaxxdemo.timeeditor.label=Label +jaxxdemo.timeeditor.model=Result +jaxxdemo.timeeditor.result=Result +jaxxdemo.timeeditor.result.time=Time\: +jaxxdemo.title.about=About JAXXDemo... +jaxxdemo.title.showLog=JAXXDemo logs +jaxxdemo.tree.tabtitle=Tree +jaxxdemo.treeTable.tabtitle=TreeTable +jaxxdemo.warning.nimbus.landf=Could not init nymbus look and feel, you need at leasr version 1.6u10 of java. +jaxxdemo.warning.no.ui=No ui environnement detected +model0.f0= +model0.f1= +model0.file...= +model0.isF0()= +model0.isF0()\ &&\ model0.isF1()= +model0.isF0()\ ||\ model0.isF1()= +model0.isF1()= +model1.f0= +model1.f1= +model1.file...= +model1.isF0()= +model1.isF0()\ &&\ model1.isF1()= +model1.isF0()\ ||\ model1.isF1()= +model1.isF1()= +t0.isSelected()= +t0.isSelected()\ &&\ t1.isSelected()= +t0.isSelected()\ ||\ t1.isSelected()= +t1.isSelected()= +valid= +x= diff --git a/jaxx-test/src/main/resources/i18n/jaxx-demo_es_ES.properties b/jaxx-test/src/main/resources/i18n/jaxx-demo_es_ES.properties new file mode 100644 index 0000000..c909bd2 --- /dev/null +++ b/jaxx-test/src/main/resources/i18n/jaxx-demo_es_ES.properties @@ -0,0 +1,375 @@ +-=- +.=. +0=0 +1=1 +10=10 +12=12 +14=14 +18=18 +2=2 +24=24 +3=3 +4=4 +5=5 +6=6 +7=7 +8=8 +9=9 +\== +Age\:=Age \: +Animal=Animal +Blue=Bleu +Blue\:=bleu \: +Bold=En gras +Button\ label\:=Libellé de l'action +C=C +CE=CE +Cancel=Annuler +Comments\:=Commentaire +Config\ file\ \:=Fichier de configuration +Config\ file\:=Fichier de configuration \: +Cyan=Bleu cyan +Dec\ (-)= +Demo=Demonstration +Directory\ file\:= +Editable=Editable +Email\ Address\:=Courriel +Email\:=Courriel +Enabled=Activé +EnumEditor\ (country)\ \:=Editeur de pays +EnumEditor\ (language)\ \:=Editeur de langue +Fancy\ Button=Bouton 'Fancy' +First\ Name\:=Prénom +FirstName\:=Prénom \: +Font\ size=Taille de la police +Fool\ me\ once= +Fool\ me\ twice= +Green=Vert +Green\:=Vert \: +Greet= +Help= +Inc\ (+)=Incrémenter (+) +Italic=Italique +JAXX\ Demo= +JMenu\ demo= +Label\ 1= +Label\ 2= +Last\ Name\:=Nom \: +LastName\:=Nom +Locale\ editor\:=Editeur de locale +Message\ Box= +Mineral= +Normal\ text\:= +OK= +Orange= +Password\:=Mot de passe +Purple=Pourpre +Ratio\:= +Red=Rouge +Red\:=rouge \: +Reset=Reinitialiser +Show\ Background=Voir le fond +Show\ password\ dialog=Voir l'éditeur de mot de passe +Sign\ on=Signer +Simple\ Button=Bouton simple +Size\:=Taille \: +Sources=Sources +Spacing\:=Espacement \: +Start=Démarrer +Stop=Arrêter +Supported\ Swing\ components\:=Composants Swing supportés +Text2\:=Text 2 +Text\:=Texte \: +Underline=souligné +Upper\ case\ text\:=Texte en majuscule +Use\ the\ spinner\ to=Utiliser la jauge pour +Username\:=Utilisateur \: +Vegetable=Légumes +View=Vue +Welcome\ to\ the\ JAXX\ framework\!=Bienvenu dans le framework JAXX +Working\ directory\:=Répertoire de travail +Yellow=Jaune +Your\ name\:=Votre nom \: +\\u00f7= +adjust\ the\ spacing= +between\ these\ lines= +button\ A=Bouton A +button\ B=Bouton B +button\ C\ (full\ block)=Bouton C (blocage complêt) +button\ D\ (full\ block\ 2)=Bouton D (blocage complêt) +cancel=Annuler +close=Fermer +close2=Fermer 2 +close3=Fermer 3 +demo.action.reload.application=Redemarrer l'application +demo.action.reload.logAppender= +demo.action.reload.ui=Recharger l'interface graphique +edit=Editer +edit2=Editer 2 +edit3=Editer 3 +f0= +f1= +file...= +form.ratio=Form \: ratio +form.text=Form \: text +form.text2=Form \: text2 +form2.ratio=Form2 \: ratio +form2.text=Form2 \: text +form2.text2=Form2 \: text2 +getModel0().isF0()= +getModel0().isF0()\ &&\ getModel0().isF1()= +getModel0().isF0()\ ||\ getModel0().isF1()= +getModel0().isF1()= +getModel1().isF0()= +getModel1().isF0()\ &&\ getModel1().isF1()= +getModel1().isF0()\ ||\ getModel1().isF1()= +getModel1().isF1()= +getT0().isSelected()= +getT0().isSelected()\ &&\ getT1().isSelected()= +getT0().isSelected()\ ||\ getT1().isSelected()= +getT1().isSelected()= +isF0()= +isF0()\ &&\ isF1()= +isF0()\ ||\ isF1()= +isF1()= +jaxx.demo.action.add= +jaxx.demo.action.ok= +jaxx.demo.action.remove= +jaxx.demo.label.age= +jaxx.demo.label.age.tip= +jaxx.demo.label.firstName= +jaxx.demo.label.firstName.tip= +jaxx.demo.label.id= +jaxx.demo.label.id.tip= +jaxx.demo.label.lastName= +jaxx.demo.label.lastName.tip= +jaxxdemo.about.message=<h3>JAXX Demo</h3><hr/>Pour plus d'informations, vous pouvez visiter le <a href\="http\://maven-site.nuiton.org/jaxx/jaxx-demo">site du projet</a>. +jaxxdemo.action.about=A propos +jaxxdemo.action.about.mnemonic= +jaxxdemo.action.about.tip=A propos de JAXX Demo... +jaxxdemo.action.add=Ajouter +jaxxdemo.action.configuration=Configuration +jaxxdemo.action.configuration.mnemonic= +jaxxdemo.action.configuration.tip=Modifier la configuration +jaxxdemo.action.exit=Quitter +jaxxdemo.action.exit.mnemonic= +jaxxdemo.action.exit.tip=Quitter JAXX Demo +jaxxdemo.action.fullscreen=Plein écran +jaxxdemo.action.fullscreen.mnemonic= +jaxxdemo.action.fullscreen.tip=Passer en mode pleine écran +jaxxdemo.action.help=Aide +jaxxdemo.action.help.mnemonic= +jaxxdemo.action.help.tip=Affichier l'aide +jaxxdemo.action.locale.fr=Français +jaxxdemo.action.locale.fr.mnemonic= +jaxxdemo.action.locale.fr.tip=Changer la langue en français +jaxxdemo.action.locale.uk=Anglais +jaxxdemo.action.locale.uk.mnemonic= +jaxxdemo.action.locale.uk.tip=Changer la langue en anglais +jaxxdemo.action.normalscreen=Ecran normal +jaxxdemo.action.normalscreen.mnemonic= +jaxxdemo.action.normalscreen.tip=Revenir en mode normal +jaxxdemo.action.remove=Supprimer +jaxxdemo.action.show=Voir +jaxxdemo.action.showHelp.tip= +jaxxdemo.action.showLogs= +jaxxdemo.action.showLogs.mnemonic= +jaxxdemo.action.site=Site internet +jaxxdemo.action.site.mnemonic= +jaxxdemo.action.site.tip=Accéder au site de l'application sur internet +jaxxdemo.beancomboboxdemo.autoComplete= +jaxxdemo.beancomboboxdemo.configuration= +jaxxdemo.beancomboboxdemo.no.people.selected= +jaxxdemo.beancomboboxdemo.result= +jaxxdemo.beancomboboxdemo.selected.people= +jaxxdemo.beancomboboxdemo.showDecorator= +jaxxdemo.beancomboboxdemo.showReset= +jaxxdemo.beandoublelistdemo.configuration= +jaxxdemo.beandoublelistdemo.enable= +jaxxdemo.beandoublelistdemo.filterOnNacho= +jaxxdemo.beandoublelistdemo.filterable= +jaxxdemo.beandoublelistdemo.highlightFilterText= +jaxxdemo.beandoublelistdemo.noselected= +jaxxdemo.beandoublelistdemo.selected= +jaxxdemo.beandoublelistdemo.showDecorator= +jaxxdemo.beandoublelistdemo.showReset= +jaxxdemo.beanfilterablecomboboxdemo.colorizeInvalidComboEditorText= +jaxxdemo.beanfilterablecomboboxdemo.configuration= +jaxxdemo.beanfilterablecomboboxdemo.filterable= +jaxxdemo.beanfilterablecomboboxdemo.no.people.selected= +jaxxdemo.beanfilterablecomboboxdemo.result= +jaxxdemo.beanfilterablecomboboxdemo.selected.people= +jaxxdemo.beanfilterablecomboboxdemo.showDecorator= +jaxxdemo.beanfilterablecomboboxdemo.showReset= +jaxxdemo.common.actors=Acteurs +jaxxdemo.common.age=Age +jaxxdemo.common.firstName=Prénom +jaxxdemo.common.id=Identifiant +jaxxdemo.common.image=Image +jaxxdemo.common.lastName=Nom +jaxxdemo.common.movie=Film +jaxxdemo.common.movies=Films +jaxxdemo.common.people=Acteur +jaxxdemo.common.title=Titre +jaxxdemo.common.year=Année +jaxxdemo.component.jaxx=Composants JAXX +jaxxdemo.component.jaxx.editor=Editeurs +jaxxdemo.component.jaxx.editor.datetime= +jaxxdemo.component.jaxx.editor.gis= +jaxxdemo.component.jaxx.widgets= +jaxxdemo.component.jaxx.widgets.datetime= +jaxxdemo.component.jaxx.widgets.gis= +jaxxdemo.component.jaxx.widgets.number= +jaxxdemo.component.jaxx.widgets.select= +jaxxdemo.component.swing=Composants Swing +jaxxdemo.component.swing.buttons=Boutons +jaxxdemo.component.swing.form=Elements de formulaire +jaxxdemo.component.swing.form.text=Texte +jaxxdemo.component.swing.layout=Layouts +jaxxdemo.component.swing.menu=Menus +jaxxdemo.component.swing.window=Fenêtres +jaxxdemo.config.category.directories=Répertoires +jaxxdemo.config.category.directories.description=Répertoires de l'application +jaxxdemo.config.category.other=Autre +jaxxdemo.config.category.other.description=Autres options +jaxxdemo.config.configFileName.description=Le nom du fichier de configuration +jaxxdemo.config.ui.demo.path=Chemin de la démo par défaut +jaxxdemo.config.ui.demoClass= +jaxxdemo.config.ui.demoColor= +jaxxdemo.config.ui.fontSize=La taille de la police à utiliser pour visualiser dans les sources +jaxxdemo.config.ui.fullscreen=Pour afficher l'aplication en mode pleine écran +jaxxdemo.config.ui.keyOpenConfig=Pour changer le racourcie clavier pour ouvrir l'écran de configuration +jaxxdemo.config.ui.locale=La langue utilisée par l'application +jaxxdemo.config.ui.logLevel=Level de log +jaxxdemo.config.ui.logPatternLayout=Pattern des log +jaxxdemo.context.helpPage.notFound= +jaxxdemo.coordinate.displayZeroWhenNull= +jaxxdemo.coordinate.enable= +jaxxdemo.coordinate.latitude= +jaxxdemo.coordinate.latitudeDd= +jaxxdemo.coordinate.latitudeDmd= +jaxxdemo.coordinate.latitudeDms= +jaxxdemo.coordinate.longitude= +jaxxdemo.coordinate.longitudeDd= +jaxxdemo.coordinate.longitudeDmd= +jaxxdemo.coordinate.longitudeDms= +jaxxdemo.coordinate.result= +jaxxdemo.coordinate.result.latitude= +jaxxdemo.coordinate.result.longitude= +jaxxdemo.coordinate.result.quadrant= +jaxxdemo.coordinate.showReset= +jaxxdemo.coordinatesEditor.configuration= +jaxxdemo.datePickerEditor.dateResult=Affichage du résultat +jaxxdemo.datePickerEditor.patternLayout=Pattern de date +jaxxdemo.datePickerEditor.showPopupButton=Afficher le boutton pour ouvrir la popup +jaxxdemo.datetimeeditor.configuration= +jaxxdemo.datetimeeditor.configuration.format= +jaxxdemo.datetimeeditor.configuration.format.value= +jaxxdemo.datetimeeditor.configuration.label= +jaxxdemo.datetimeeditor.configuration.label.value= +jaxxdemo.datetimeeditor.dateEditable=Editable Date +jaxxdemo.datetimeeditor.editor= +jaxxdemo.datetimeeditor.enable= +jaxxdemo.datetimeeditor.label= +jaxxdemo.datetimeeditor.result= +jaxxdemo.datetimeeditor.result.date= +jaxxdemo.datetimeeditor.result.dayDate= +jaxxdemo.datetimeeditor.result.daydate= +jaxxdemo.datetimeeditor.result.hour= +jaxxdemo.datetimeeditor.result.hours= +jaxxdemo.datetimeeditor.result.minutes= +jaxxdemo.datetimeeditor.result.time= +jaxxdemo.datetimeeditor.result.timeDate= +jaxxdemo.datetimeeditor.result.timeInMinutes= +jaxxdemo.datetimeeditor.result.timmeInMinutes= +jaxxdemo.datetimeeditor.timeEditable=Editable Time +jaxxdemo.feature=Fonctionnalités +jaxxdemo.feature.databinding=Data binding +jaxxdemo.feature.list.validation= +jaxxdemo.feature.nav=API JAXX pour les arbres +jaxxdemo.feature.simple.validation= +jaxxdemo.feature.validation=Validation +jaxxdemo.fileEditor.acceptAllFileFilterUsed=Accèpte tout les FileFilter +jaxxdemo.fileEditor.directoryEnabled=Activer la sélection des files +jaxxdemo.fileEditor.extsDescLbl=Description des extensions (séparées par des virgules, ex \: Texte (*.txt), Images (*.png)) +jaxxdemo.fileEditor.extsLbl=Extensions (separated by comma, ex \: txt, png) +jaxxdemo.fileEditor.fileEnabled=Activer la sélection des fichiers +jaxxdemo.fileEditor.showResetLabel= +jaxxdemo.fileEditor.titleLbl=Titre du dialog d'ouverture de fichier +jaxxdemo.fun=Fun +jaxxdemo.i18neditor.configuration=Configuration +jaxxdemo.i18neditor.popup.title=Titre de la popup +jaxxdemo.i18neditor.popupBorderText=Titre de la popup +jaxxdemo.i18neditor.selected.locale=Langue sélectionnée +jaxxdemo.i18neditor.showIcon=Afficher les icones +jaxxdemo.i18neditor.showPopupIcon=Afficher les icones dans la popup +jaxxdemo.i18neditor.showPopupText=Afficher les textes dans la popup +jaxxdemo.i18neditor.showText=Afficher le text +jaxxdemo.init.closed=JAXX Demo a été fermé à %1$s +jaxxdemo.init.context.done=Initialisation du contexte terminée en %1$s. +jaxxdemo.init.ui.done=Initialisation de l'interface graphique terminée. +jaxxdemo.listSelector.addToolTipLbl=Add button toolTip +jaxxdemo.listSelector.removeToolTipLbl=Remove button toolTip +jaxxdemo.menu.file=Fichier +jaxxdemo.menu.file.locale=Langues +jaxxdemo.menu.file.locale.mnemonic= +jaxxdemo.menu.file.mnemonic= +jaxxdemo.menu.help=Aide +jaxxdemo.menu.help.mnemonic= +jaxxdemo.message.config.loaded=Configuration de JAXX Demo v. %1$s chargée. +jaxxdemo.message.goto.site=Accéder au site de JAXX Demo (%1$s) +jaxxdemo.navigation.actor.title=Acteur +jaxxdemo.navigation.actors.title=Acteurs +jaxxdemo.navigation.movie.title=Film +jaxxdemo.navigation.movies.title=Films +jaxxdemo.numbereditor.applyNumberPattern=Appliquer le pattern +jaxxdemo.numbereditor.autoPopup=Affichage automatique popup +jaxxdemo.numbereditor.configuration=Configuration +jaxxdemo.numbereditor.doubleNumberConfig= +jaxxdemo.numbereditor.doubleNumberPattern= +jaxxdemo.numbereditor.floatNumberConfig= +jaxxdemo.numbereditor.floatNumberPattern= +jaxxdemo.numbereditor.integerNumberConfig= +jaxxdemo.numbereditor.integerNumberPattern= +jaxxdemo.numbereditor.model=Résultat +jaxxdemo.numbereditor.numberPattern.configuration=Pattern du nombre +jaxxdemo.numbereditor.showPopupButton=Afficher le boutton de popup +jaxxdemo.numbereditor.showReset=Afficher le boutton de reset +jaxxdemo.numbereditor.useFloat=Utiliser les décimales +jaxxdemo.numbereditor.useSign=Utiliser le signe +jaxxdemo.openHelp=Open contextual help (%s), Will come in 3.0 version +jaxxdemo.timeeditor.configuration= +jaxxdemo.timeeditor.configuration.label= +jaxxdemo.timeeditor.configuration.label.value= +jaxxdemo.timeeditor.editor=Editeur de temps +jaxxdemo.timeeditor.enable= +jaxxdemo.timeeditor.label=Label +jaxxdemo.timeeditor.model=Résultat +jaxxdemo.timeeditor.result= +jaxxdemo.timeeditor.result.time= +jaxxdemo.title.about=A propos de JAXX Demo... +jaxxdemo.title.showLog=Logs de JAXX Demo +jaxxdemo.tree.tabtitle=Arbre +jaxxdemo.treeTable.tabtitle=Arbre tableau +jaxxdemo.warning.nimbus.landf=Le look and Feel Nimbus n'a pas été trouvé, il faut au moins la version 1.6u10 de java. +jaxxdemo.warning.no.ui=Aucun environnement graphique détecté +model0.f0= +model0.f1= +model0.file...= +model0.isF0()= +model0.isF0()\ &&\ model0.isF1()= +model0.isF0()\ ||\ model0.isF1()= +model0.isF1()= +model1.f0= +model1.f1= +model1.file...= +model1.isF0()= +model1.isF0()\ &&\ model1.isF1()= +model1.isF0()\ ||\ model1.isF1()= +model1.isF1()= +t0.isSelected()= +t0.isSelected()\ &&\ t1.isSelected()= +t0.isSelected()\ ||\ t1.isSelected()= +t1.isSelected()= +valid=valide +x=x diff --git a/jaxx-test/src/main/resources/i18n/jaxx-demo_fr_FR.properties b/jaxx-test/src/main/resources/i18n/jaxx-demo_fr_FR.properties new file mode 100644 index 0000000..609ec79 --- /dev/null +++ b/jaxx-test/src/main/resources/i18n/jaxx-demo_fr_FR.properties @@ -0,0 +1,365 @@ +-=- +.=. +0=0 +1=1 +10=10 +12=12 +14=14 +18=18 +2=2 +24=24 +3=3 +4=4 +5=5 +6=6 +7=7 +8=8 +9=9 +\== +Age\:=Age \: +Animal=Animal +Blue=Bleu +Blue\:=bleu \: +Bold=En gras +Button\ label\:=Libellé de l'action +C=C +CE=CE +Cancel=Annuler +Comments\:=Commentaire +Config\ file\ \:=Fichier de configuration +Config\ file\:=Fichier de configuration \: +Cyan=Bleu cyan +Dec\ (-)= +Demo=Demonstration +Directory\ file\:= +Editable=Editable +Email\ Address\:=Courriel +Email\:=Courriel +Enabled=Activé +EnumEditor\ (country)\ \:=Editeur de pays +EnumEditor\ (language)\ \:=Editeur de langue +Fancy\ Button=Bouton 'Fancy' +First\ Name\:=Prénom +FirstName\:=Prénom \: +Font\ size=Taille de la police +Fool\ me\ once= +Fool\ me\ twice= +Green=Vert +Green\:=Vert \: +Greet= +Help= +Inc\ (+)=Incrémenter (+) +Italic=Italique +JAXX\ Demo= +JMenu\ demo= +Label\ 1= +Label\ 2= +Last\ Name\:=Nom \: +LastName\:=Nom +Locale\ editor\:=Editeur de locale +Message\ Box= +Mineral= +Normal\ text\:= +OK= +Orange= +Password\:=Mot de passe +Purple=Pourpre +Ratio\:= +Red=Rouge +Red\:=rouge \: +Reset=Reinitialiser +Show\ Background=Voir le fond +Show\ password\ dialog=Voir l'éditeur de mot de passe +Sign\ on=Signer +Simple\ Button=Bouton simple +Size\:=Taille \: +Sources=Sources +Spacing\:=Espacement \: +Start=Démarrer +Stop=Arrêter +Supported\ Swing\ components\:=Composants Swing supportés +Text2\:=Text 2 +Text\:=Texte \: +Underline=souligné +Upper\ case\ text\:=Texte en majuscule +Use\ the\ spinner\ to=Utiliser la jauge pour +Username\:=Utilisateur \: +Vegetable=Légumes +View=Vue +Welcome\ to\ the\ JAXX\ framework\!=Bienvenu dans le framework JAXX +Working\ directory\:=Répertoire de travail +Yellow=Jaune +Your\ name\:=Votre nom \: +\\u00f7= +adjust\ the\ spacing= +between\ these\ lines= +button\ A=Bouton A +button\ B=Bouton B +button\ C\ (full\ block)=Bouton C (blocage complêt) +button\ D\ (full\ block\ 2)=Bouton D (blocage complêt) +cancel=Annuler +close=Fermer +close2=Fermer 2 +close3=Fermer 3 +demo.action.reload.application=Redemarrer l'application +demo.action.reload.logAppender= +demo.action.reload.ui=Recharger l'interface graphique +edit=Editer +edit2=Editer 2 +edit3=Editer 3 +f0= +f1= +file...= +form.ratio=Form \: ratio +form.text=Form \: text +form.text2=Form \: text2 +form2.ratio=Form2 \: ratio +form2.text=Form2 \: text +form2.text2=Form2 \: text2 +getModel0().isF0()= +getModel0().isF0()\ &&\ getModel0().isF1()= +getModel0().isF0()\ ||\ getModel0().isF1()= +getModel0().isF1()= +getModel1().isF0()= +getModel1().isF0()\ &&\ getModel1().isF1()= +getModel1().isF0()\ ||\ getModel1().isF1()= +getModel1().isF1()= +getT0().isSelected()= +getT0().isSelected()\ &&\ getT1().isSelected()= +getT0().isSelected()\ ||\ getT1().isSelected()= +getT1().isSelected()= +isF0()= +isF0()\ &&\ isF1()= +isF0()\ ||\ isF1()= +isF1()= +jaxx.demo.action.add=Ajouter +jaxx.demo.action.ok=Ok +jaxx.demo.action.remove=Supprimer +jaxx.demo.label.age=Age +jaxx.demo.label.age.tip=Age +jaxx.demo.label.firstName=Prénom +jaxx.demo.label.firstName.tip=Prénom +jaxx.demo.label.id=Id +jaxx.demo.label.id.tip=Identifiant +jaxx.demo.label.lastName=Nom +jaxx.demo.label.lastName.tip=Nom +jaxxdemo.about.message=<h3>JAXX Demo</h3><hr/>Pour plus d'informations, vous pouvez visiter le <a href\="http\://maven-site.nuiton.org/jaxx/jaxx-demo">site du projet</a>. +jaxxdemo.action.about=A propos +jaxxdemo.action.about.mnemonic=A +jaxxdemo.action.about.tip=A propos de JAXX Demo... +jaxxdemo.action.add=Ajouter +jaxxdemo.action.configuration=Configuration +jaxxdemo.action.configuration.mnemonic=C +jaxxdemo.action.configuration.tip=Modifier la configuration +jaxxdemo.action.exit=Quitter +jaxxdemo.action.exit.mnemonic=Q +jaxxdemo.action.exit.tip=Quitter JAXX Demo +jaxxdemo.action.fullscreen=Plein écran +jaxxdemo.action.fullscreen.mnemonic=P +jaxxdemo.action.fullscreen.tip=Passer en mode pleine écran +jaxxdemo.action.help=Aide +jaxxdemo.action.help.mnemonic=e +jaxxdemo.action.help.tip=Affichier l'aide +jaxxdemo.action.locale.fr=Français +jaxxdemo.action.locale.fr.mnemonic=F +jaxxdemo.action.locale.fr.tip=Changer la langue en français +jaxxdemo.action.locale.uk=Anglais +jaxxdemo.action.locale.uk.mnemonic=A +jaxxdemo.action.locale.uk.tip=Changer la langue en anglais +jaxxdemo.action.normalscreen=Ecran normal +jaxxdemo.action.normalscreen.mnemonic=N +jaxxdemo.action.normalscreen.tip=Revenir en mode normal +jaxxdemo.action.remove=Supprimer +jaxxdemo.action.show=Voir +jaxxdemo.action.showHelp.tip= +jaxxdemo.action.showLogs=Afficher les logs +jaxxdemo.action.showLogs.mnemonic=l +jaxxdemo.action.site=Site internet +jaxxdemo.action.site.mnemonic=s +jaxxdemo.action.site.tip=Accéder au site de l'application sur internet +jaxxdemo.beancomboboxdemo.autoComplete=Auto complétion +jaxxdemo.beancomboboxdemo.configuration=Configuration +jaxxdemo.beancomboboxdemo.no.people.selected=Pas de sélection +jaxxdemo.beancomboboxdemo.result=Résultat +jaxxdemo.beancomboboxdemo.selected.people=Sélection \: %s +jaxxdemo.beancomboboxdemo.showDecorator=Changer la décoration +jaxxdemo.beancomboboxdemo.showReset=Pouvoir réinitialiser +jaxxdemo.beandoublelistdemo.configuration=Configuration +jaxxdemo.beandoublelistdemo.enable=Activer / Désactiver +jaxxdemo.beandoublelistdemo.filterOnNacho=N'afficher que les acteurs de Nacho Libre +jaxxdemo.beandoublelistdemo.filterable=Filtrable +jaxxdemo.beandoublelistdemo.highlightFilterText=Surligner le texte de filtre +jaxxdemo.beandoublelistdemo.noselected=< Aucune sélection > +jaxxdemo.beandoublelistdemo.selected=Sélection \: +jaxxdemo.beandoublelistdemo.showDecorator=Changer la décoration +jaxxdemo.beandoublelistdemo.showReset=Pouvoir réinitialiser le filtre +jaxxdemo.beanfilterablecomboboxdemo.colorizeInvalidComboEditorText=Colorer le texte s'il n'est pas valide +jaxxdemo.beanfilterablecomboboxdemo.configuration=Configuration +jaxxdemo.beanfilterablecomboboxdemo.filterable=Filtrable +jaxxdemo.beanfilterablecomboboxdemo.no.people.selected=Pas de sélection +jaxxdemo.beanfilterablecomboboxdemo.result=Résultat +jaxxdemo.beanfilterablecomboboxdemo.selected.people=Sélection \: %s +jaxxdemo.beanfilterablecomboboxdemo.showDecorator=Changer la décoration +jaxxdemo.beanfilterablecomboboxdemo.showReset=Pouvoir réinitialiser +jaxxdemo.common.actors=Acteurs +jaxxdemo.common.age=Age +jaxxdemo.common.firstName=Prénom +jaxxdemo.common.id=Identifiant +jaxxdemo.common.image=Image +jaxxdemo.common.lastName=Nom +jaxxdemo.common.movie=Film +jaxxdemo.common.movies=Films +jaxxdemo.common.people=Acteur +jaxxdemo.common.title=Titre +jaxxdemo.common.year=Année +jaxxdemo.component.jaxx=Composants JAXX +jaxxdemo.component.jaxx.editor=Éditeurs (Depréciés) +jaxxdemo.component.jaxx.widgets=Widgets (Nouveau) +jaxxdemo.component.jaxx.widgets.datetime=jaxx-widgets-datetime (Éditeurs de temps) +jaxxdemo.component.jaxx.widgets.gis=jaxx-widgets-gis (Éditeurs de coordonnées) +jaxxdemo.component.jaxx.widgets.number=jaxx-widgets-number (Éditeurs de nombres) +jaxxdemo.component.jaxx.widgets.select=jaxx-widgets-select (Sélecteurs) +jaxxdemo.component.swing=Composants Swing +jaxxdemo.component.swing.buttons=Boutons +jaxxdemo.component.swing.form=Elements de formulaire +jaxxdemo.component.swing.form.text=Texte +jaxxdemo.component.swing.layout=Layouts +jaxxdemo.component.swing.menu=Menus +jaxxdemo.component.swing.window=Fenêtres +jaxxdemo.config.category.directories=Répertoires +jaxxdemo.config.category.directories.description=Répertoires de l'application +jaxxdemo.config.category.other=Autre +jaxxdemo.config.category.other.description=Autres options +jaxxdemo.config.configFileName.description=Le nom du fichier de configuration +jaxxdemo.config.ui.demo.path=Chemin de la démo par défaut +jaxxdemo.config.ui.demoClass= +jaxxdemo.config.ui.demoColor= +jaxxdemo.config.ui.fontSize=La taille de la police à utiliser pour visualiser dans les sources +jaxxdemo.config.ui.fullscreen=Pour afficher l'aplication en mode pleine écran +jaxxdemo.config.ui.keyOpenConfig=Pour changer le racourcie clavier pour ouvrir l'écran de configuration +jaxxdemo.config.ui.locale=La langue utilisée par l'application +jaxxdemo.config.ui.logLevel=Level de log +jaxxdemo.config.ui.logPatternLayout=Pattern des log +jaxxdemo.context.helpPage.notFound= +jaxxdemo.coordinate.displayZeroWhenNull=Mettre des zéro pour les valeurs nulles +jaxxdemo.coordinate.enable=Activer / Désactiver +jaxxdemo.coordinate.latitude=Latitude +jaxxdemo.coordinate.latitudeDd=Latitude (au format DD) +jaxxdemo.coordinate.latitudeDmd=Latitude (au format DMD) +jaxxdemo.coordinate.latitudeDms=Latitude (au format DMS) +jaxxdemo.coordinate.longitude=Longitude +jaxxdemo.coordinate.longitudeDd=Longitude (au format DD) +jaxxdemo.coordinate.longitudeDmd=Longitude (au format DMD) +jaxxdemo.coordinate.longitudeDms=Longitude (au format DMS) +jaxxdemo.coordinate.result=Résultat +jaxxdemo.coordinate.result.latitude=<html>Latitude <strong>%s</strong> +jaxxdemo.coordinate.result.longitude=<html>Longitude <strong>%s</strong> +jaxxdemo.coordinate.result.quadrant=<html>Quadrant <strong>%s</strong> +jaxxdemo.coordinate.showReset=Afficher le boutton Réinitialiser +jaxxdemo.coordinatesEditor.configuration=Configuration +jaxxdemo.datePickerEditor.dateResult=Affichage du résultat +jaxxdemo.datePickerEditor.patternLayout=Pattern de date +jaxxdemo.datePickerEditor.showPopupButton=Afficher le boutton pour ouvrir la popup +jaxxdemo.datetimeeditor.configuration=Configuration +jaxxdemo.datetimeeditor.configuration.format=Format des dates +jaxxdemo.datetimeeditor.configuration.format.value=dd-MM-yyyy +jaxxdemo.datetimeeditor.configuration.label=Libellé de l'éditeur +jaxxdemo.datetimeeditor.configuration.label.value=Date - Heure +jaxxdemo.datetimeeditor.dateEditable=Date éditable +jaxxdemo.datetimeeditor.editor=Éditeur +jaxxdemo.datetimeeditor.enable=Activer / Désactiver +jaxxdemo.datetimeeditor.result=Résultat +jaxxdemo.datetimeeditor.result.date=Date \: +jaxxdemo.datetimeeditor.result.dayDate=Jour \: +jaxxdemo.datetimeeditor.result.timeDate=Heure \: +jaxxdemo.datetimeeditor.timeEditable=Heure éditable +jaxxdemo.feature=Fonctionnalités +jaxxdemo.feature.databinding=Data binding +jaxxdemo.feature.list.validation=Validation de liste +jaxxdemo.feature.nav=API JAXX pour les arbres +jaxxdemo.feature.simple.validation=Validation simple +jaxxdemo.feature.validation=Validation +jaxxdemo.fileEditor.acceptAllFileFilterUsed=Accèpte tout les FileFilter +jaxxdemo.fileEditor.directoryEnabled=Activer la sélection des files +jaxxdemo.fileEditor.extsDescLbl=Description des extensions (séparées par des virgules, ex \: Texte (*.txt), Images (*.png)) +jaxxdemo.fileEditor.extsLbl=Extensions (separated by comma, ex \: txt, png) +jaxxdemo.fileEditor.fileEnabled=Activer la sélection des fichiers +jaxxdemo.fileEditor.showResetLabel=Voir le bouton réintialiser +jaxxdemo.fileEditor.titleLbl=Titre de la fenêtre de sélection de fichier +jaxxdemo.fun=Fun +jaxxdemo.i18neditor.configuration=Configuration +jaxxdemo.i18neditor.popup.title=Titre de la popup +jaxxdemo.i18neditor.popupBorderText=Titre de la popup +jaxxdemo.i18neditor.selected.locale=Langue sélectionnée +jaxxdemo.i18neditor.showIcon=Afficher les icones +jaxxdemo.i18neditor.showPopupIcon=Afficher les icones dans la popup +jaxxdemo.i18neditor.showPopupText=Afficher les textes dans la popup +jaxxdemo.i18neditor.showText=Afficher le text +jaxxdemo.init.closed=JAXX Demo a été fermé à %1$s +jaxxdemo.init.context.done=Initialisation du contexte terminée en %1$s. +jaxxdemo.init.ui.done=Initialisation de l'interface graphique terminée. +jaxxdemo.listSelector.addToolTipLbl=Tooltip du boutton ajouter +jaxxdemo.listSelector.removeToolTipLbl=Tooltip du boutton enlever +jaxxdemo.menu.file=Fichier +jaxxdemo.menu.file.locale=Langues +jaxxdemo.menu.file.locale.mnemonic=L +jaxxdemo.menu.file.mnemonic=F +jaxxdemo.menu.help=Aide +jaxxdemo.menu.help.mnemonic=A +jaxxdemo.message.config.loaded=Configuration de JAXX Demo v. %1$s chargée. +jaxxdemo.message.goto.site=Accéder au site de JAXX Demo (%1$s) +jaxxdemo.navigation.actor.title=Acteur +jaxxdemo.navigation.actors.title=Acteurs +jaxxdemo.navigation.movie.title=Film +jaxxdemo.navigation.movies.title=Films +jaxxdemo.numbereditor.applyNumberPattern=Appliquer le pattern +jaxxdemo.numbereditor.autoPopup=Affichage automatique popup +jaxxdemo.numbereditor.configuration=Configuration +jaxxdemo.numbereditor.doubleNumberConfig=Éditeur Double (pattern / actif) +jaxxdemo.numbereditor.floatNumberConfig=Éditeur Float (pattern / actif) +jaxxdemo.numbereditor.integerNumberConfig=Éditeur Integer (pattern / actif) +jaxxdemo.numbereditor.model=Résultat +jaxxdemo.numbereditor.model.double=Valeur Double \: %s +jaxxdemo.numbereditor.model.float=Valeur Float \: %s +jaxxdemo.numbereditor.model.integer=Valeur Integer \: %s +jaxxdemo.numbereditor.numberPattern.configuration=Pattern du nombre +jaxxdemo.numbereditor.showPopupButton=Afficher le boutton de popup +jaxxdemo.numbereditor.showReset=Afficher le boutton de reset +jaxxdemo.numbereditor.useFloat=Utiliser les décimales +jaxxdemo.numbereditor.useSign=Utiliser le signe +jaxxdemo.openHelp=Ouvertude l'aide contextuelle (%s), A venir en version 3.0 +jaxxdemo.timeeditor.configuration=Configuration +jaxxdemo.timeeditor.configuration.label=Libellé de l'éditeur +jaxxdemo.timeeditor.configuration.label.value=Heure +jaxxdemo.timeeditor.editor=Editeur de temps +jaxxdemo.timeeditor.enable=Activer / Désactiver +jaxxdemo.timeeditor.label=Label +jaxxdemo.timeeditor.model=Résultat +jaxxdemo.timeeditor.result=Résultat +jaxxdemo.timeeditor.result.time=Heure \: +jaxxdemo.title.about=A propos de JAXX Demo... +jaxxdemo.title.showLog=Logs de JAXX Demo +jaxxdemo.tree.tabtitle=Arbre +jaxxdemo.treeTable.tabtitle=Arbre tableau +jaxxdemo.warning.nimbus.landf=Le look and Feel Nimbus n'a pas été trouvé, il faut au moins la version 1.6u10 de java. +jaxxdemo.warning.no.ui=Aucun environnement graphique détecté +model0.f0= +model0.f1= +model0.file...= +model0.isF0()= +model0.isF0()\ &&\ model0.isF1()= +model0.isF0()\ ||\ model0.isF1()= +model0.isF1()= +model1.f0= +model1.f1= +model1.file...= +model1.isF0()= +model1.isF0()\ &&\ model1.isF1()= +model1.isF0()\ ||\ model1.isF1()= +model1.isF1()= +t0.isSelected()= +t0.isSelected()\ &&\ t1.isSelected()= +t0.isSelected()\ ||\ t1.isSelected()= +t1.isSelected()= +valid=valide +x=x diff --git a/jaxx-test/src/main/resources/icons/action-about.png b/jaxx-test/src/main/resources/icons/action-about.png new file mode 100644 index 0000000..0d826bb Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-about.png differ diff --git a/jaxx-test/src/main/resources/icons/action-accept.png b/jaxx-test/src/main/resources/icons/action-accept.png new file mode 100644 index 0000000..89c8129 Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-accept.png differ diff --git a/jaxx-test/src/main/resources/icons/action-block.png b/jaxx-test/src/main/resources/icons/action-block.png new file mode 100644 index 0000000..aba044b Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-block.png differ diff --git a/jaxx-test/src/main/resources/icons/action-close.png b/jaxx-test/src/main/resources/icons/action-close.png new file mode 100644 index 0000000..2541d2b Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-close.png differ diff --git a/jaxx-test/src/main/resources/icons/action-config.png b/jaxx-test/src/main/resources/icons/action-config.png new file mode 100644 index 0000000..9460dfc Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-config.png differ diff --git a/jaxx-test/src/main/resources/icons/action-exit.png b/jaxx-test/src/main/resources/icons/action-exit.png new file mode 100644 index 0000000..a77152b Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-exit.png differ diff --git a/jaxx-test/src/main/resources/icons/action-fullscreen.png b/jaxx-test/src/main/resources/icons/action-fullscreen.png new file mode 100644 index 0000000..6845e04 Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-fullscreen.png differ diff --git a/jaxx-test/src/main/resources/icons/action-help.png b/jaxx-test/src/main/resources/icons/action-help.png new file mode 100644 index 0000000..4ed65a9 Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-help.png differ diff --git a/jaxx-test/src/main/resources/icons/action-i18n-fr.png b/jaxx-test/src/main/resources/icons/action-i18n-fr.png new file mode 100644 index 0000000..8332c4e Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-i18n-fr.png differ diff --git a/jaxx-test/src/main/resources/icons/action-i18n-uk.png b/jaxx-test/src/main/resources/icons/action-i18n-uk.png new file mode 100644 index 0000000..ff701e1 Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-i18n-uk.png differ diff --git a/jaxx-test/src/main/resources/icons/action-leave-fullscreen.png b/jaxx-test/src/main/resources/icons/action-leave-fullscreen.png new file mode 100644 index 0000000..fc6638e Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-leave-fullscreen.png differ diff --git a/jaxx-test/src/main/resources/icons/action-reload-application.png b/jaxx-test/src/main/resources/icons/action-reload-application.png new file mode 100644 index 0000000..e002141 Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-reload-application.png differ diff --git a/jaxx-test/src/main/resources/icons/action-reload-log.png b/jaxx-test/src/main/resources/icons/action-reload-log.png new file mode 100644 index 0000000..cf347c7 Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-reload-log.png differ diff --git a/jaxx-test/src/main/resources/icons/action-reload-ui.png b/jaxx-test/src/main/resources/icons/action-reload-ui.png new file mode 100644 index 0000000..ab92010 Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-reload-ui.png differ diff --git a/jaxx-test/src/main/resources/icons/action-show-help.png b/jaxx-test/src/main/resources/icons/action-show-help.png new file mode 100644 index 0000000..f6bc721 Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-show-help.png differ diff --git a/jaxx-test/src/main/resources/icons/action-site.png b/jaxx-test/src/main/resources/icons/action-site.png new file mode 100644 index 0000000..ac5957a Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-site.png differ diff --git a/jaxx-test/src/main/resources/icons/action-translate.png b/jaxx-test/src/main/resources/icons/action-translate.png new file mode 100644 index 0000000..63ce64d Binary files /dev/null and b/jaxx-test/src/main/resources/icons/action-translate.png differ diff --git a/jaxx-test/src/main/resources/icons/jaxx.png b/jaxx-test/src/main/resources/icons/jaxx.png new file mode 100644 index 0000000..c3d68c9 Binary files /dev/null and b/jaxx-test/src/main/resources/icons/jaxx.png differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/entities/Identity-error-validation.xml b/jaxx-test/src/main/resources/jaxx/demo/entities/Identity-error-validation.xml new file mode 100644 index 0000000..de7ab3e --- /dev/null +++ b/jaxx-test/src/main/resources/jaxx/demo/entities/Identity-error-validation.xml @@ -0,0 +1,70 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator 1.0.3//EN" + "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> +<validators> + <field name="firstName"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a firstName.</message> + </field-validator> + </field> + <field name="lastName"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a lastName.</message> + </field-validator> + </field> + + <field name="email"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a value for email.</message> + </field-validator> + <field-validator type="email" short-circuit="true"> + <message>Not a valid e-mail.</message> + </field-validator> + </field> + + <field name="config"> + <field-validator type="requiredFile" short-circuit="true"> + <message>You must enter a value for config.</message> + </field-validator> + <field-validator type="existingFile" short-circuit="true"> + <message>The configuration file ${config} does not exist.</message> + </field-validator> + </field> + + <field name="dir"> + <field-validator type="requiredFile" short-circuit="true"> + <message>You must enter a value for dir.</message> + </field-validator> + <field-validator type="existingDirectory" short-circuit="true"> + <message>The directory ${dir} does not exist.</message> + </field-validator> + </field> + + <field name="age"> + <field-validator type="int"> + <param name="min">18</param> + <message>Your are too young (min ${min} )</message> + </field-validator> + </field> +</validators> diff --git a/jaxx-test/src/main/resources/jaxx/demo/entities/Identity-info-validation.xml b/jaxx-test/src/main/resources/jaxx/demo/entities/Identity-info-validation.xml new file mode 100644 index 0000000..0f4d539 --- /dev/null +++ b/jaxx-test/src/main/resources/jaxx/demo/entities/Identity-info-validation.xml @@ -0,0 +1,70 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator 1.0.3//EN" + "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> +<validators> + <!--field name="firstName"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a firstName.</message> + </field-validator> + </field> + <field name="lastName"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a lastName.</message> + </field-validator> + </field> + + <field name="email"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a value for email.</message> + </field-validator> + <field-validator type="email" short-circuit="true"> + <message>Not a valid e-mail.</message> + </field-validator> + </field> + + <field name="config"> + <field-validator type="requiredFile" short-circuit="true"> + <message>You must enter a value for config.</message> + </field-validator> + <field-validator type="existingFile" short-circuit="true"> + <message>The configuration file ${config} does not exist.</message> + </field-validator> + </field> + + <field name="dir"> + <field-validator type="requiredFile" short-circuit="true"> + <message>You must enter a value for dir.</message> + </field-validator> + <field-validator type="existingDirectory" short-circuit="true"> + <message>The directory ${dir} does not exist.</message> + </field-validator> + </field--> + + <field name="age"> + <field-validator type="int"> + <param name="min">25</param> + <message>You are still young ( old ${min} ) </message> + </field-validator> + </field> +</validators> diff --git a/jaxx-test/src/main/resources/jaxx/demo/entities/Identity-warning-validation.xml b/jaxx-test/src/main/resources/jaxx/demo/entities/Identity-warning-validation.xml new file mode 100644 index 0000000..0a21a08 --- /dev/null +++ b/jaxx-test/src/main/resources/jaxx/demo/entities/Identity-warning-validation.xml @@ -0,0 +1,70 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator 1.0.3//EN" + "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> +<validators> + <!--field name="firstName"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a firstName.</message> + </field-validator> + </field> + <field name="lastName"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a lastName.</message> + </field-validator> + </field> + + <field name="email"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a value for email.</message> + </field-validator> + <field-validator type="email" short-circuit="true"> + <message>Not a valid e-mail.</message> + </field-validator> + </field> + + <field name="config"> + <field-validator type="requiredFile" short-circuit="true"> + <message>You must enter a value for config.</message> + </field-validator> + <field-validator type="existingFile" short-circuit="true"> + <message>The configuration file ${config} does not exist.</message> + </field-validator> + </field> + + <field name="dir"> + <field-validator type="requiredFile" short-circuit="true"> + <message>You must enter a value for dir.</message> + </field-validator> + <field-validator type="existingDirectory" short-circuit="true"> + <message>The directory ${dir} does not exist.</message> + </field-validator> + </field--> + + <field name="age"> + <field-validator type="int"> + <param name="max">88</param> + <message>Info : Your are older than ${max} !</message> + </field-validator> + </field> +</validators> diff --git a/jaxx-test/src/main/resources/jaxx/demo/entities/Model-error-validation.xml b/jaxx-test/src/main/resources/jaxx/demo/entities/Model-error-validation.xml new file mode 100644 index 0000000..512ce31 --- /dev/null +++ b/jaxx-test/src/main/resources/jaxx/demo/entities/Model-error-validation.xml @@ -0,0 +1,56 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator 1.0.3//EN" + "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> +<validators> + <!-- Field Validators for email field --> + <field name="text"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a value for text.</message> + </field-validator> + </field> + + <field name="text2"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a value for text2.</message> + </field-validator> + </field> + + <field name="ratio"> + <field-validator type="int"> + <param name="min">20</param> + <param name="max">50</param> + <message>Ratio needs to be between ${min} and ${max}</message> + </field-validator> + </field> + + <!-- Plain Validator 1 --> + <validator type="expression"> + <param name="expression">text.startsWith("poussin")</param> + <message>Email not starts with poussin</message> + </validator> + <validator type="expression"> + <param name="expression">text2.startsWith("chemit")</param> + <message>Email not starts with chemit</message> + </validator> +</validators> diff --git a/jaxx-test/src/main/resources/jaxx/demo/entities/Model-info-validation.xml b/jaxx-test/src/main/resources/jaxx/demo/entities/Model-info-validation.xml new file mode 100644 index 0000000..aa87606 --- /dev/null +++ b/jaxx-test/src/main/resources/jaxx/demo/entities/Model-info-validation.xml @@ -0,0 +1,34 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator 1.0.3//EN" + "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> +<validators> + <!-- Field Validators for email field --> + <field name="text"> + <field-validator type="fieldexpression"> + <param name="expression"><![CDATA[ text != null && text.length() > 10]]></param> + <message>Text should have more than 10 caracters</message> + </field-validator> + </field> + +</validators> diff --git a/jaxx-test/src/main/resources/jaxx/demo/entities/Model-warning-validation.xml b/jaxx-test/src/main/resources/jaxx/demo/entities/Model-warning-validation.xml new file mode 100644 index 0000000..ccf0bd9 --- /dev/null +++ b/jaxx-test/src/main/resources/jaxx/demo/entities/Model-warning-validation.xml @@ -0,0 +1,39 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator 1.0.3//EN" + "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> +<validators> + <!-- Field Validators for email field --> + <field name="text"> + <field-validator type="email" short-circuit="true"> + <message>Not a valid e-mail for text.</message> + </field-validator> + </field> + + <field name="text2"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a value for text2.</message> + </field-validator> + </field> + +</validators> diff --git a/jaxx-test/src/main/resources/jaxx/demo/entities/People-error-validation.xml b/jaxx-test/src/main/resources/jaxx/demo/entities/People-error-validation.xml new file mode 100644 index 0000000..31db586 --- /dev/null +++ b/jaxx-test/src/main/resources/jaxx/demo/entities/People-error-validation.xml @@ -0,0 +1,42 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator 1.0.3//EN" + "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> +<validators> + <field name="firstName"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a firstName.</message> + </field-validator> + </field> + <field name="lastName"> + <field-validator type="requiredstring" short-circuit="true"> + <message>You must enter a lastName.</message> + </field-validator> + </field> + <field name="age"> + <field-validator type="int"> + <param name="min">18</param> + <message>Your are too young (min ${min} )</message> + </field-validator> + </field> +</validators> diff --git a/jaxx-test/src/main/resources/jaxx/demo/entities/People-info-validation.xml b/jaxx-test/src/main/resources/jaxx/demo/entities/People-info-validation.xml new file mode 100644 index 0000000..c745aac --- /dev/null +++ b/jaxx-test/src/main/resources/jaxx/demo/entities/People-info-validation.xml @@ -0,0 +1,33 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator 1.0.3//EN" + "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> +<validators> + + <field name="age"> + <field-validator type="int"> + <param name="min">25</param> + <message>Info : You are still young ( old ${min} ) </message> + </field-validator> + </field> +</validators> diff --git a/jaxx-test/src/main/resources/jaxx/demo/entities/People-warning-validation.xml b/jaxx-test/src/main/resources/jaxx/demo/entities/People-warning-validation.xml new file mode 100644 index 0000000..940d88b --- /dev/null +++ b/jaxx-test/src/main/resources/jaxx/demo/entities/People-warning-validation.xml @@ -0,0 +1,33 @@ +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator 1.0.3//EN" + "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> +<validators> + + <field name="age"> + <field-validator type="int"> + <param name="max">88</param> + <message>Hum Your are older than ${max} !</message> + </field-validator> + </field> +</validators> diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/Amethyst.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/Amethyst.jpg new file mode 100644 index 0000000..72aabd2 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/Amethyst.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/Lynx.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/Lynx.jpg new file mode 100644 index 0000000..779ef43 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/Lynx.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/Tomato.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/Tomato.jpg new file mode 100644 index 0000000..f6223b2 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/Tomato.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/ana.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/ana.jpg new file mode 100644 index 0000000..dafe5ba Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/ana.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/hector.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/hector.jpg new file mode 100644 index 0000000..9ee1f27 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/hector.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/jack.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/jack.jpg new file mode 100644 index 0000000..61bed7b Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/jack.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/jim.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/jim.jpg new file mode 100644 index 0000000..a4b2e64 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/jim.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/joe.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/joe.jpg new file mode 100644 index 0000000..9319a64 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/joe.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/joker.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/joker.jpg new file mode 100644 index 0000000..dd26252 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/joker.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/nacho.jpg b/jaxx-test/src/main/resources/jaxx/demo/images/nacho.jpg new file mode 100644 index 0000000..ea76448 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/nacho.jpg differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/nacho2.png b/jaxx-test/src/main/resources/jaxx/demo/images/nacho2.png new file mode 100644 index 0000000..618e177 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/nacho2.png differ diff --git a/jaxx-test/src/main/resources/jaxx/demo/images/pencil_black.gif b/jaxx-test/src/main/resources/jaxx/demo/images/pencil_black.gif new file mode 100644 index 0000000..1dae579 Binary files /dev/null and b/jaxx-test/src/main/resources/jaxx/demo/images/pencil_black.gif differ diff --git a/jaxx-test/src/main/resources/jaxxdemo-help-fr.properties b/jaxx-test/src/main/resources/jaxxdemo-help-fr.properties new file mode 100644 index 0000000..a2863f8 --- /dev/null +++ b/jaxx-test/src/main/resources/jaxxdemo-help-fr.properties @@ -0,0 +1,44 @@ +### +# #%L +# JAXX :: Demo +# %% +# Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit +# %% +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. +# +# You should have received a copy of the GNU General Lesser Public +# License along with this program. If not, see +# <http://www.gnu.org/licenses/lgpl-3.0.html>. +# #L% +### +#Generated by org.nuiton.jaxx.plugin.GenerateHelpIdsMojo +#Fri Jan 10 13:44:01 CET 2014 +ui.component.swing.buttons.JButtonDemo= +ui.component.swing.buttons.JButtonDemo.fancyButon= +ui.component.swing.buttons.JButtonDemo.simpleButon= +ui.main.action.showLogs= +ui.main.body.db.view.content= +ui.main.menu= +ui.main.menu.file= +ui.main.menu.file.configuration= +ui.main.menu.file.exit= +ui.main.menu.file.fullscreen= +ui.main.menu.file.leave-fullscreen= +ui.main.menu.file.locale= +ui.main.menu.file.locale.fr= +ui.main.menu.file.locale.uk= +ui.main.menu.help= +ui.main.menu.help.about= +ui.main.menu.help.help= +ui.main.menu.help.site= +ui.main.sources.editor= +ui.main.sources.list= +ui.main.sources.toolbar= diff --git a/jaxx-test/src/main/resources/log4j.properties b/jaxx-test/src/main/resources/log4j.properties new file mode 100644 index 0000000..cb54cc6 --- /dev/null +++ b/jaxx-test/src/main/resources/log4j.properties @@ -0,0 +1,39 @@ +### +# #%L +# JAXX :: Demo +# %% +# Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit +# %% +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. +# +# You should have received a copy of the GNU General Lesser Public +# License along with this program. If not, see +# <http://www.gnu.org/licenses/lgpl-3.0.html>. +# #L% +### +# Global logging configuration +log4j.rootLogger=ERROR, stdout +# Console output... +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) %M - %m%n + +log4j.logger.jaxx=DEBUG +#log4j.logger.jaxx.demo=INFO +#log4j.logger.jaxx.demo.tree=DEBUG +#log4j.logger.jaxx.runtime.swing.tree=DEBUG +#log4j.logger.jaxx.demo.component.jaxx.tree=DEBUG +#log4j.logger.jaxx.demo.config.DemoConfig=DEBUG +#log4j.logger.jaxx.runtime.swing.editor.config=INFO +#log4j.logger.jaxx.runtime.swing.editor.config.model.ConfigUIModelBuilder=DEBUG +log4j.logger.org.nuiton=WARN +log4j.logger.org.nuiton.jaxx=INFO +#log4j.logger.jaxx.runtime.swing.help=DEBUG diff --git a/jaxx-test/src/main/resources/validators.xml b/jaxx-test/src/main/resources/validators.xml new file mode 100644 index 0000000..3030a90 --- /dev/null +++ b/jaxx-test/src/main/resources/validators.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<!DOCTYPE validators PUBLIC + "-//Apache Struts//XWork Validator Config 1.0//EN" + "http://struts.apache.org/dtds/xwork-validator-config-1.0.dtd"> +<validators> + <!-- les validateurs fournis par XWork --> + <validator name="required" class="com.opensymphony.xwork2.validator.validators.RequiredFieldValidator"/> + <validator name="requiredstring" class="com.opensymphony.xwork2.validator.validators.RequiredStringValidator"/> + <validator name="regex" class="com.opensymphony.xwork2.validator.validators.RegexFieldValidator"/> + <validator name="stringlength" class="com.opensymphony.xwork2.validator.validators.StringLengthFieldValidator"/> + <validator name="int" class="com.opensymphony.xwork2.validator.validators.IntRangeFieldValidator"/> + <validator name="long" class="com.opensymphony.xwork2.validator.validators.LongRangeFieldValidator"/> + <validator name="short" class="com.opensymphony.xwork2.validator.validators.ShortRangeFieldValidator"/> + <validator name="double" class="com.opensymphony.xwork2.validator.validators.DoubleRangeFieldValidator"/> + <validator name="date" class="com.opensymphony.xwork2.validator.validators.DateRangeFieldValidator"/> + <validator name="fieldexpression" class="com.opensymphony.xwork2.validator.validators.FieldExpressionValidator"/> + <validator name="email" class="com.opensymphony.xwork2.validator.validators.EmailValidator"/> + <validator name="url" class="com.opensymphony.xwork2.validator.validators.URLValidator"/> + + <validator name="visitor" class="com.opensymphony.xwork2.validator.validators.VisitorFieldValidator"/> + <validator name="conditionalvisitor" class="com.opensymphony.xwork2.validator.validators.ConditionalVisitorFieldValidator"/> + + <!-- les validateurs fournis par Nuiton-validator --> + <validator name="collectionFieldExpression" class="org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator"/> + <validator name="collectionUniqueKey" class="org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator"/> + <validator name="requiredFile" class="org.nuiton.validator.xwork2.field.RequiredFileFieldValidator"/> + <validator name="existingFile" class="org.nuiton.validator.xwork2.field.ExistingFileFieldValidator"/> + <validator name="notExistingFile" class="org.nuiton.validator.xwork2.field.NotExistingFileFieldValidator"/> + <validator name="existingDirectory" class="org.nuiton.validator.xwork2.field.ExistingDirectoryFieldValidator"/> + <validator name="notExistingDirectory" class="org.nuiton.validator.xwork2.field.NotExistingDirectoryFieldValidator"/> + <validator name="fieldexpressionwithparams" class="org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator"/> + +</validators> diff --git a/jaxx-test/src/site/rst/index.rst.vm b/jaxx-test/src/site/rst/index.rst.vm new file mode 100644 index 0000000..c6a96fd --- /dev/null +++ b/jaxx-test/src/site/rst/index.rst.vm @@ -0,0 +1,57 @@ +.. - +.. * #%L +.. * JAXX :: Demo +.. * %% +.. * Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Lesser General Public License as +.. * published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - + +========= +JAXX Demo +========= + +This is a demo of JAXX power. + +You can download it or run it via webstart. + +In next jaxx major version, we will implements the nice SwingSet 3. + +Set it in action +---------------- + +|webstart| + +To run this example in `Java Web Start`_, click the `following link`_. + +For more details about the `Jaxx Demo webstart`_. + +Source code +----------- + +Unlike the other examples, the source code for Components is too big to display here. You can view it yourself by +downloading JAXX, and you can also view the source code for the individual demos by clicking the "Source" tabs. + + +.. _Java Web Start: http://java.sun.com/products/javawebstart/ + +.. |webstart| image:: ${siteCommonResourcesUrl}/images/logos/webstart.gif + +.. _following link: ./jnlp/jaxx-demo.jnlp + +.. _Jaxx Demo webstart: jnlp-report.html + +.. _XUL Grand Coding Challenge 2004: http://xul.sourceforge.net/challenge.html diff --git a/jaxx-test/src/site/site.xml b/jaxx-test/src/site/site.xml new file mode 100644 index 0000000..b0196e5 --- /dev/null +++ b/jaxx-test/src/site/site.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JAXX :: Demo + %% + Copyright (C) 2008 - 2014 Code Lutin, Tony Chemit + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 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 Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <src>${siteCommonResourcesUrl}/images/logos/jaxx-logo.png</src> + <href>index.html</href> + </bannerLeft> + + <poweredBy> + <logo href="${siteCommonResourcesUrl}/jaxx/" name="Jaxx" + img="${siteCommonResourcesUrl}/images/logos/jaxx-logo.png"/> + </poweredBy> + + <body> + + <breadcrumbs> + <item name="${project.name}" href="index.html"/> + </breadcrumbs> + + <menu ref="parent"/> + + <menu name="Utilisateur"> + <item name="Accueil" href="index.html"/> + <item name="Lancer la démo" href="jnlp/jaxx-demo.jnlp"/> + </menu> + + <menu ref="reports"/> + + </body> +</project> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.