Author: tchemit Date: 2009-10-08 18:51:56 +0200 (Thu, 08 Oct 2009) New Revision: 275 Added: jaxx-help-example/ jaxx-help-example/LICENSE.txt jaxx-help-example/README.txt jaxx-help-example/changelog.txt jaxx-help-example/pom.xml jaxx-help-example/src/ jaxx-help-example/src/main/ jaxx-help-example/src/main/filters/ jaxx-help-example/src/main/filters/jaxx-demo.properties jaxx-help-example/src/main/help/ jaxx-help-example/src/main/help/default/ jaxx-help-example/src/main/help/default/jaxx-help-example/ jaxx-help-example/src/main/help/default/jaxx-help-example/jaxx-help-example.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/content.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/configuration.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/exit.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/fullscreen.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/leave-fullscreen.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale/ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale/fr.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale/uk.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/about.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/help.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/site.html jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/toolbar.html jaxx-help-example/src/main/help/default/jaxx-help-exampleIndex.xml jaxx-help-example/src/main/help/default/jaxx-help-exampleMap.jhm jaxx-help-example/src/main/help/default/jaxx-help-exampleTOC.xml jaxx-help-example/src/main/help/default/jaxx-help-exampleToc.xml jaxx-help-example/src/main/help/en/ jaxx-help-example/src/main/help/en/jaxx-help-example/ jaxx-help-example/src/main/help/en/jaxx-help-example/jaxx-help-example.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/content.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/configuration.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/exit.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/fullscreen.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/leave-fullscreen.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale/ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale/fr.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale/uk.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/about.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/help.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/site.html jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/toolbar.html jaxx-help-example/src/main/help/en/jaxx-help-exampleIndex.xml jaxx-help-example/src/main/help/en/jaxx-help-exampleMap.jhm jaxx-help-example/src/main/help/en/jaxx-help-exampleTOC.xml jaxx-help-example/src/main/help/en/jaxx-help-exampleToc.xml jaxx-help-example/src/main/help/jaxx-help-example.hs jaxx-help-example/src/main/help/jaxx-help-example_en.hs jaxx-help-example/src/main/java/ jaxx-help-example/src/main/java/jaxx/ jaxx-help-example/src/main/java/jaxx/demo/ jaxx-help-example/src/main/java/jaxx/demo/DemoConfig.java jaxx-help-example/src/main/java/jaxx/demo/DemoUI.css jaxx-help-example/src/main/java/jaxx/demo/DemoUI.jaxx jaxx-help-example/src/main/java/jaxx/demo/DemoUIHandler.java jaxx-help-example/src/main/java/jaxx/demo/RunDemo.java jaxx-help-example/src/main/resources/ jaxx-help-example/src/main/resources/i18n/ jaxx-help-example/src/main/resources/i18n/jaxx-help-example-en_GB.properties jaxx-help-example/src/main/resources/i18n/jaxx-help-example-fr_FR.properties jaxx-help-example/src/main/resources/icons/ jaxx-help-example/src/main/resources/icons/action-about.png jaxx-help-example/src/main/resources/icons/action-accept.png jaxx-help-example/src/main/resources/icons/action-block.png jaxx-help-example/src/main/resources/icons/action-close.png jaxx-help-example/src/main/resources/icons/action-config.png jaxx-help-example/src/main/resources/icons/action-exit.png jaxx-help-example/src/main/resources/icons/action-fullscreen.png jaxx-help-example/src/main/resources/icons/action-help.png jaxx-help-example/src/main/resources/icons/action-i18n-fr.png jaxx-help-example/src/main/resources/icons/action-i18n-uk.png jaxx-help-example/src/main/resources/icons/action-leave-fullscreen.png jaxx-help-example/src/main/resources/icons/action-show-help.png jaxx-help-example/src/main/resources/icons/action-site.png jaxx-help-example/src/main/resources/icons/action-translate.png jaxx-help-example/src/main/resources/icons/jaxx.png jaxx-help-example/src/main/resources/log4j.properties jaxx-help-example/src/site/ jaxx-help-example/src/site/rst/ jaxx-help-example/src/site/rst/images/ jaxx-help-example/src/site/rst/images/Components-screenshot.gif jaxx-help-example/src/site/rst/images/webstart.gif jaxx-help-example/src/site/rst/index.rst jaxx-help-example/src/site/site.xml jaxx-help-example/src/test/ jaxx-help-example/src/test/java/ jaxx-help-example/src/test/resources/ Log: projet temporaire de test de jaxx-help en multi-langue Added: jaxx-help-example/LICENSE.txt =================================================================== --- jaxx-help-example/LICENSE.txt (rev 0) +++ jaxx-help-example/LICENSE.txt 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,166 @@ + 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. + Added: jaxx-help-example/README.txt =================================================================== --- jaxx-help-example/README.txt (rev 0) +++ jaxx-help-example/README.txt 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,2 @@ +To deploy new version of pom: mvn deploy +To install localy: mvn install Added: jaxx-help-example/pom.xml =================================================================== --- jaxx-help-example/pom.xml (rev 0) +++ jaxx-help-example/pom.xml 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,299 @@ + +<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> + + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + + <parent> + <groupId>org.nuiton</groupId> + <artifactId>jaxx</artifactId> + <version>2.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.nuiton.jaxx</groupId> + <artifactId>jaxx-help-example</artifactId> + + <dependencies> + + <!-- sibiling dependencies --> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-runtime</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>jaxx-widgets</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </dependency> + + </dependencies> + + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> + + <name>JAXX Help Example</name> + <description>Jaxx help system test</description> + + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> + + <packaging>jar</packaging> + + <properties> + + <maven.jar.main.class>jaxx.demo.RunDemo</maven.jar.main.class> + + <!-- jaxx:generate configuration --> + <jaxx.addProjectClassPath>true</jaxx.addProjectClassPath> + <jaxx.addSourcesToClassPath>true</jaxx.addSourcesToClassPath> + <jaxx.generateHelp>true</jaxx.generateHelp> + <!--<jaxx.helpBrokerFQN>jaxx.demo.DemoHelpBroker</jaxx.helpBrokerFQN>--> + + <!-- jaxx:generate-help configuration --> + <jaxx.locales>fr,en</jaxx.locales> + <!--<jaxx.helpSetName>JAXXHelpExample</jaxx.helpSetName>--> + <!--<jaxx.helpTarget>src/main/help</jaxx.helpTarget>--> + </properties> + + <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> + <resource> + <directory>src/main/help</directory> + <!--<directory>${jaxx.helpTarget}</directory>--> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> + + <pluginManagement> + <plugins> + + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <addClasspath>true</addClasspath> + <classpathPrefix>./lib/</classpathPrefix> + </manifest> + </archive> + </configuration> + </plugin> + + <plugin> + <groupId>org.nuiton.thirdparty</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <configuration> + <jnlpExtensions> + <jnlpExtension> + <name>sun</name> + <title>Sun MicroSystems</title> + <vendor>Sun MicroSystems, Inc.</vendor> + <includes> + <include>javax.help:javahelp</include> + </includes> + </jnlpExtension> + <jnlpExtension> + <name>jxlayer</name> + <title>Swing labs JXLayer </title> + <vendor>Swing Labs</vendor> + <includes> + <include>org.swinglabs:jxlayer</include> + </includes> + </jnlpExtension> + </jnlpExtensions> + </configuration> + </plugin> + + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <configuration> + <copyToMETA_INF>true</copyToMETA_INF> + </configuration> + <executions> + <execution> + <id>attach-licenses</id> + <goals> + <goal>add-license</goal> + <goal>add-third-party</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> + + </pluginManagement> + + <plugins> + + <plugin> + <groupId>org.nuiton.jaxx</groupId> + <artifactId>maven-jaxx-plugin</artifactId> + <version>${project.version}</version> + <executions> + <execution> + <goals> + <goal>generate</goal> + <goal>generate-help</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.nuiton.i18n</groupId> + <artifactId>maven-i18n-plugin</artifactId> + <configuration> + <entries> + <entry> + <basedir>${maven.gen.dir}/java/</basedir> + </entry> + </entries> + </configuration> + <executions> + <execution> + <goals> + <goal>parserJava</goal> + <goal>bundle</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.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>attach-licenses</id> + </execution> + </executions> + </plugin> + + </plugins> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.nuiton.thirdparty</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <version>1.0-alpha-2-cl_20091001</version> + </plugin> + </plugins> + </reporting> + + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> + + <profiles> + <!-- by default jnlp is only perform on a release stage when using the maven-release-plugin --> + <profile> + <id>release-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <!-- key store secrets availables --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-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.nuiton.thirdparty</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <executions> + <execution> + <id>generate-jnlp</id> + <phase>package</phase> + <goals> + <goal>jnlp-inline</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + + </profiles> + +</project> Added: jaxx-help-example/src/main/filters/jaxx-demo.properties =================================================================== --- jaxx-help-example/src/main/filters/jaxx-demo.properties (rev 0) +++ jaxx-help-example/src/main/filters/jaxx-demo.properties 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,10 @@ +application.name=${project.name} +application.version=${project.version} +application.site.url=${project.url} +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} Added: jaxx-help-example/src/main/help/default/jaxx-help-example/jaxx-help-example.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/jaxx-help-example.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/jaxx-help-example.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +top +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>top</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/content.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/content.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/content.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.content +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.content</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/configuration.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/configuration.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/configuration.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.configuration +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.configuration</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/exit.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/exit.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/exit.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.exit +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.exit</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/fullscreen.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/fullscreen.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/fullscreen.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.fullscreen +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.fullscreen</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/leave-fullscreen.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/leave-fullscreen.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/leave-fullscreen.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.leave-fullscreen +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.leave-fullscreen</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale/fr.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale/fr.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale/fr.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.locale.fr +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.locale.fr</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale/uk.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale/uk.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale/uk.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.locale.uk +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.locale.uk</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file/locale.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.locale +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.locale</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/file.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/about.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/about.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/about.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.help.about +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.help.about</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/help.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/help.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/help.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.help.help +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.help.help</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/site.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/site.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help/site.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.help.site +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.help.site</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu/help.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.help +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.help</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/menu.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/toolbar.html =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/toolbar.html (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-example/ui/main/toolbar.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.toolbar +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.toolbar</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/default/jaxx-help-exampleIndex.xml =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-exampleIndex.xml (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-exampleIndex.xml 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,33 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE index + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN" + "http://buix.labs.libre-entreprise.org/javahelp/index_1_0.dtd"> + + +<index version="1.0"> + <indexitem target="top" text=""> + <indexitem target="ui" text="UI"> + <indexitem target="ui.main" text="MAIN"> + <indexitem target="ui.main.menu" text="Menus"> + <indexitem target="ui.main.menu.help" text=""> + <indexitem target="ui.main.menu.help.help" text=""/> + <indexitem target="ui.main.menu.help.about" text=""/> + <indexitem target="ui.main.menu.help.site" text=""/> + </indexitem> + <indexitem target="ui.main.menu.file" text=""> + <indexitem target="ui.main.menu.file.locale" text=""> + <indexitem target="ui.main.menu.file.locale.fr" text=""/> + <indexitem target="ui.main.menu.file.locale.uk" text=""/> + </indexitem> + <indexitem target="ui.main.menu.file.leave-fullscreen" text=""/> + <indexitem target="ui.main.menu.file.fullscreen" text=""/> + <indexitem target="ui.main.menu.file.exit" text=""/> + <indexitem target="ui.main.menu.file.configuration" text=""/> + </indexitem> + </indexitem> + <indexitem target="ui.main.content" text=""/> + <indexitem target="ui.main.toolbar" text=""/> + </indexitem> + </indexitem> + </indexitem> +</index> Added: jaxx-help-example/src/main/help/default/jaxx-help-exampleMap.jhm =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-exampleMap.jhm (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-exampleMap.jhm 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,27 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE map + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN" + "http://java.sun.com/products/javahelp/map_1_0.dtd"> +<map version="1.0"> + + <!-- use this entry to go up in navigation --> + <!--mapID target="toplevelfolder" url="images/toplevel.gif" /--> + + <mapID target="top" url="jaxx-help-example/jaxx-help-example.html" /> + <mapID target="ui.main.content" url="jaxx-help-example/ui/main/content.html" /> + <mapID target="ui.main.menu" url="jaxx-help-example/ui/main/menu.html" /> + <mapID target="ui.main.menu.file" url="jaxx-help-example/ui/main/menu/file.html" /> + <mapID target="ui.main.menu.file.configuration" url="jaxx-help-example/ui/main/menu/file/configuration.html" /> + <mapID target="ui.main.menu.file.exit" url="jaxx-help-example/ui/main/menu/file/exit.html" /> + <mapID target="ui.main.menu.file.fullscreen" url="jaxx-help-example/ui/main/menu/file/fullscreen.html" /> + <mapID target="ui.main.menu.file.leave-fullscreen" url="jaxx-help-example/ui/main/menu/file/leave-fullscreen.html" /> + <mapID target="ui.main.menu.file.locale" url="jaxx-help-example/ui/main/menu/file/locale.html" /> + <mapID target="ui.main.menu.file.locale.fr" url="jaxx-help-example/ui/main/menu/file/locale/fr.html" /> + <mapID target="ui.main.menu.file.locale.uk" url="jaxx-help-example/ui/main/menu/file/locale/uk.html" /> + <mapID target="ui.main.menu.help" url="jaxx-help-example/ui/main/menu/help.html" /> + <mapID target="ui.main.menu.help.about" url="jaxx-help-example/ui/main/menu/help/about.html" /> + <mapID target="ui.main.menu.help.help" url="jaxx-help-example/ui/main/menu/help/help.html" /> + <mapID target="ui.main.menu.help.site" url="jaxx-help-example/ui/main/menu/help/site.html" /> + <mapID target="ui.main.toolbar" url="jaxx-help-example/ui/main/toolbar.html" /> + +</map> Added: jaxx-help-example/src/main/help/default/jaxx-help-exampleTOC.xml =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-exampleTOC.xml (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-exampleTOC.xml 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,32 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE toc + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN" + "http://buix.labs.libre-entreprise.org/javahelp/toc_1_0.dtd"> + +<toc version="1.0"> + <tocitem target="top" text="jaxx-help-example"> + <tocitem target="ui" text=""> + <tocitem target="ui.main" text=""> + <tocitem target="ui.main.menu" text=""> + <tocitem target="ui.main.menu.help" text=""> + <tocitem target="ui.main.menu.help.help" text=""/> + <tocitem target="ui.main.menu.help.about" text=""/> + <tocitem target="ui.main.menu.help.site" text=""/> + </tocitem> + <tocitem target="ui.main.menu.file" text=""> + <tocitem target="ui.main.menu.file.locale" text=""> + <tocitem target="ui.main.menu.file.locale.fr" text=""/> + <tocitem target="ui.main.menu.file.locale.uk" text=""/> + </tocitem> + <tocitem target="ui.main.menu.file.leave-fullscreen" text=""/> + <tocitem target="ui.main.menu.file.fullscreen" text=""/> + <tocitem target="ui.main.menu.file.exit" text=""/> + <tocitem target="ui.main.menu.file.configuration" text=""/> + </tocitem> + </tocitem> + <tocitem target="ui.main.content" text=""/> + <tocitem target="ui.main.toolbar" text=""/> + </tocitem> + </tocitem> + </tocitem> +</toc> Added: jaxx-help-example/src/main/help/default/jaxx-help-exampleToc.xml =================================================================== --- jaxx-help-example/src/main/help/default/jaxx-help-exampleToc.xml (rev 0) +++ jaxx-help-example/src/main/help/default/jaxx-help-exampleToc.xml 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,32 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE toc + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN" + "http://buix.labs.libre-entreprise.org/javahelp/toc_1_0.dtd"> + +<toc version="1.0"> + <tocitem target="top" text=""> + <tocitem target="ui" text=""> + <tocitem target="ui.main" text=""> + <tocitem target="ui.main.menu" text=""> + <tocitem target="ui.main.menu.help" text=""> + <tocitem target="ui.main.menu.help.help" text=""/> + <tocitem target="ui.main.menu.help.about" text=""/> + <tocitem target="ui.main.menu.help.site" text=""/> + </tocitem> + <tocitem target="ui.main.menu.file" text=""> + <tocitem target="ui.main.menu.file.locale" text=""> + <tocitem target="ui.main.menu.file.locale.fr" text=""/> + <tocitem target="ui.main.menu.file.locale.uk" text=""/> + </tocitem> + <tocitem target="ui.main.menu.file.leave-fullscreen" text=""/> + <tocitem target="ui.main.menu.file.fullscreen" text=""/> + <tocitem target="ui.main.menu.file.exit" text=""/> + <tocitem target="ui.main.menu.file.configuration" text=""/> + </tocitem> + </tocitem> + <tocitem target="ui.main.content" text=""/> + <tocitem target="ui.main.toolbar" text=""/> + </tocitem> + </tocitem> + </tocitem> +</toc> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/jaxx-help-example.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/jaxx-help-example.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/jaxx-help-example.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +top +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>top</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/content.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/content.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/content.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.content +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.content</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/configuration.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/configuration.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/configuration.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.configuration +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.configuration</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/exit.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/exit.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/exit.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.exit +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.exit</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/fullscreen.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/fullscreen.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/fullscreen.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.fullscreen +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.fullscreen</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/leave-fullscreen.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/leave-fullscreen.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/leave-fullscreen.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.leave-fullscreen +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.leave-fullscreen</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale/fr.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale/fr.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale/fr.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.locale.fr +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.locale.fr</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale/uk.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale/uk.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale/uk.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.locale.uk +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.locale.uk</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file/locale.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file.locale +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file.locale</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/file.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.file +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.file</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/about.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/about.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/about.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.help.about +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.help.about</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/help.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/help.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/help.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.help.help +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.help.help</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/site.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/site.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help/site.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.help.site +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.help.site</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu/help.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu.help +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu.help</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/menu.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.menu +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.menu</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/toolbar.html =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/toolbar.html (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-example/ui/main/toolbar.html 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE> +ui.main.toolbar +</TITLE> +</HEAD> +<BODY BGCOLOR="#ffffff"> +<H1>ui.main.toolbar</H1> + +<!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + +</BODY> +</HTML> Added: jaxx-help-example/src/main/help/en/jaxx-help-exampleIndex.xml =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-exampleIndex.xml (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-exampleIndex.xml 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,33 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE index + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN" + "http://buix.labs.libre-entreprise.org/javahelp/index_1_0.dtd"> + + +<index version="1.0"> + <indexitem target="top" text=""> + <indexitem target="ui" text=""> + <indexitem target="ui.main" text=""> + <indexitem target="ui.main.menu" text=""> + <indexitem target="ui.main.menu.help" text=""> + <indexitem target="ui.main.menu.help.help" text=""/> + <indexitem target="ui.main.menu.help.about" text=""/> + <indexitem target="ui.main.menu.help.site" text=""/> + </indexitem> + <indexitem target="ui.main.menu.file" text=""> + <indexitem target="ui.main.menu.file.locale" text=""> + <indexitem target="ui.main.menu.file.locale.fr" text=""/> + <indexitem target="ui.main.menu.file.locale.uk" text=""/> + </indexitem> + <indexitem target="ui.main.menu.file.leave-fullscreen" text=""/> + <indexitem target="ui.main.menu.file.fullscreen" text=""/> + <indexitem target="ui.main.menu.file.exit" text=""/> + <indexitem target="ui.main.menu.file.configuration" text=""/> + </indexitem> + </indexitem> + <indexitem target="ui.main.content" text=""/> + <indexitem target="ui.main.toolbar" text=""/> + </indexitem> + </indexitem> + </indexitem> +</index> Added: jaxx-help-example/src/main/help/en/jaxx-help-exampleMap.jhm =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-exampleMap.jhm (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-exampleMap.jhm 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,27 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE map + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN" + "http://java.sun.com/products/javahelp/map_1_0.dtd"> +<map version="1.0"> + + <!-- use this entry to go up in navigation --> + <!--mapID target="toplevelfolder" url="images/toplevel.gif" /--> + + <mapID target="top" url="jaxx-help-example/jaxx-help-example.html" /> + <mapID target="ui.main.content" url="jaxx-help-example/ui/main/content.html" /> + <mapID target="ui.main.menu" url="jaxx-help-example/ui/main/menu.html" /> + <mapID target="ui.main.menu.file" url="jaxx-help-example/ui/main/menu/file.html" /> + <mapID target="ui.main.menu.file.configuration" url="jaxx-help-example/ui/main/menu/file/configuration.html" /> + <mapID target="ui.main.menu.file.exit" url="jaxx-help-example/ui/main/menu/file/exit.html" /> + <mapID target="ui.main.menu.file.fullscreen" url="jaxx-help-example/ui/main/menu/file/fullscreen.html" /> + <mapID target="ui.main.menu.file.leave-fullscreen" url="jaxx-help-example/ui/main/menu/file/leave-fullscreen.html" /> + <mapID target="ui.main.menu.file.locale" url="jaxx-help-example/ui/main/menu/file/locale.html" /> + <mapID target="ui.main.menu.file.locale.fr" url="jaxx-help-example/ui/main/menu/file/locale/fr.html" /> + <mapID target="ui.main.menu.file.locale.uk" url="jaxx-help-example/ui/main/menu/file/locale/uk.html" /> + <mapID target="ui.main.menu.help" url="jaxx-help-example/ui/main/menu/help.html" /> + <mapID target="ui.main.menu.help.about" url="jaxx-help-example/ui/main/menu/help/about.html" /> + <mapID target="ui.main.menu.help.help" url="jaxx-help-example/ui/main/menu/help/help.html" /> + <mapID target="ui.main.menu.help.site" url="jaxx-help-example/ui/main/menu/help/site.html" /> + <mapID target="ui.main.toolbar" url="jaxx-help-example/ui/main/toolbar.html" /> + +</map> Added: jaxx-help-example/src/main/help/en/jaxx-help-exampleTOC.xml =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-exampleTOC.xml (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-exampleTOC.xml 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,32 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE toc + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN" + "http://buix.labs.libre-entreprise.org/javahelp/toc_1_0.dtd"> + +<toc version="1.0"> + <tocitem target="top" text="jaxx-help-example"> + <tocitem target="ui" text=""> + <tocitem target="ui.main" text=""> + <tocitem target="ui.main.menu" text=""> + <tocitem target="ui.main.menu.help" text=""> + <tocitem target="ui.main.menu.help.help" text=""/> + <tocitem target="ui.main.menu.help.about" text=""/> + <tocitem target="ui.main.menu.help.site" text=""/> + </tocitem> + <tocitem target="ui.main.menu.file" text=""> + <tocitem target="ui.main.menu.file.locale" text=""> + <tocitem target="ui.main.menu.file.locale.fr" text=""/> + <tocitem target="ui.main.menu.file.locale.uk" text=""/> + </tocitem> + <tocitem target="ui.main.menu.file.leave-fullscreen" text=""/> + <tocitem target="ui.main.menu.file.fullscreen" text=""/> + <tocitem target="ui.main.menu.file.exit" text=""/> + <tocitem target="ui.main.menu.file.configuration" text=""/> + </tocitem> + </tocitem> + <tocitem target="ui.main.content" text=""/> + <tocitem target="ui.main.toolbar" text=""/> + </tocitem> + </tocitem> + </tocitem> +</toc> Added: jaxx-help-example/src/main/help/en/jaxx-help-exampleToc.xml =================================================================== --- jaxx-help-example/src/main/help/en/jaxx-help-exampleToc.xml (rev 0) +++ jaxx-help-example/src/main/help/en/jaxx-help-exampleToc.xml 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,32 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE toc + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN" + "http://buix.labs.libre-entreprise.org/javahelp/toc_1_0.dtd"> + +<toc version="1.0"> + <tocitem target="top" text=""> + <tocitem target="ui" text=""> + <tocitem target="ui.main" text=""> + <tocitem target="ui.main.menu" text=""> + <tocitem target="ui.main.menu.help" text=""> + <tocitem target="ui.main.menu.help.help" text=""/> + <tocitem target="ui.main.menu.help.about" text=""/> + <tocitem target="ui.main.menu.help.site" text=""/> + </tocitem> + <tocitem target="ui.main.menu.file" text=""> + <tocitem target="ui.main.menu.file.locale" text=""> + <tocitem target="ui.main.menu.file.locale.fr" text=""/> + <tocitem target="ui.main.menu.file.locale.uk" text=""/> + </tocitem> + <tocitem target="ui.main.menu.file.leave-fullscreen" text=""/> + <tocitem target="ui.main.menu.file.fullscreen" text=""/> + <tocitem target="ui.main.menu.file.exit" text=""/> + <tocitem target="ui.main.menu.file.configuration" text=""/> + </tocitem> + </tocitem> + <tocitem target="ui.main.content" text=""/> + <tocitem target="ui.main.toolbar" text=""/> + </tocitem> + </tocitem> + </tocitem> +</toc> Added: jaxx-help-example/src/main/help/jaxx-help-example.hs =================================================================== --- jaxx-help-example/src/main/help/jaxx-help-example.hs (rev 0) +++ jaxx-help-example/src/main/help/jaxx-help-example.hs 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,34 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE helpset + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN" + "http://java.sun.com/products/javahelp/helpset_1_0.dtd"> + +<helpset version="1.0" xml:lang="fr"> + + <!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + + <!-- title --> + <title>${helpSetTitle}</title> + + <!-- maps --> + <maps> + <homeID>top</homeID> + <mapref location="default/jaxx-help-exampleMap.jhm"/> + </maps> + + <!-- views --> + <view> + <name>TOC</name> + <label>Table Of Contents</label> + <type>javax.help.TOCView</type> + <data>default/jaxx-help-exampleTOC.xml</data> + </view> + + <view> + <name>Index</name> + <label>Index</label> + <type>javax.help.IndexView</type> + <data>default/jaxx-help-exampleIndex.xml</data> + </view> + +</helpset> Added: jaxx-help-example/src/main/help/jaxx-help-example_en.hs =================================================================== --- jaxx-help-example/src/main/help/jaxx-help-example_en.hs (rev 0) +++ jaxx-help-example/src/main/help/jaxx-help-example_en.hs 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,34 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<!DOCTYPE helpset + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN" + "http://java.sun.com/products/javahelp/helpset_1_0.dtd"> + +<helpset version="1.0" xml:lang="en"> + + <!-- REMOVE THS LINE TO DISABLE AUTO-REGENERATE THE FILE --> + + <!-- title --> + <title>${helpSetTitle}</title> + + <!-- maps --> + <maps> + <homeID>top</homeID> + <mapref location="en/jaxx-help-exampleMap.jhm"/> + </maps> + + <!-- views --> + <view> + <name>TOC</name> + <label>Table Of Contents</label> + <type>javax.help.TOCView</type> + <data>en/jaxx-help-exampleTOC.xml</data> + </view> + + <view> + <name>Index</name> + <label>Index</label> + <type>javax.help.IndexView</type> + <data>en/jaxx-help-exampleIndex.xml</data> + </view> + +</helpset> Added: jaxx-help-example/src/main/java/jaxx/demo/DemoConfig.java =================================================================== --- jaxx-help-example/src/main/java/jaxx/demo/DemoConfig.java (rev 0) +++ jaxx-help-example/src/main/java/jaxx/demo/DemoConfig.java 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,209 @@ +/* + * *##% + * jaxx-demo + * Copyright (C) 2008 - 2009 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>. + * ##%* + */ +package jaxx.demo; + +import java.io.IOException; +import java.io.InputStream; +import java.beans.PropertyChangeListener; +import java.util.Locale; +import java.util.Properties; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +import org.nuiton.util.Version; +import org.nuiton.util.VersionUtil; +import static org.nuiton.i18n.I18n._; + +/** + * La configuration de l'application. + * + * Il s'agit de l'objet partagé par toutes les démos. + * + * @author chemit + * @since 1.7.2 + */ +public class DemoConfig extends org.nuiton.util.ApplicationConfig { + + /** to use log facility, just put in your code: log.info(\"...\"); */ + static private Log log = LogFactory.getLog(DemoConfig.class); + /** + * le fichier de configuration de l'application avec les informations sur + * le projet (version, license,...) et la configuration des ui (icons, ...) + */ + public static final String APPLICATION_PROPERTIES = "/jaxx-demo.properties"; + /** + * un drapeau pour savoir si on est en mode pleine écran + */ + protected boolean fullscreen; + + public DemoConfig() { + + setConfigFileName(Option.CONFIG_FILE.defaultValue); + + // chargement de la configuration interne + + InputStream stream = getClass().getResourceAsStream(APPLICATION_PROPERTIES); + + Properties p = new Properties(); + try { + p.load(stream); + for (Object k : p.keySet()) { + String key = k + ""; + Object value = p.get(k); + if (log.isDebugEnabled()) { + log.debug("install properties " + k + " : " + value); + } + setDefaultOption(key, "" + value); + } + } catch (IOException ex) { + throw new RuntimeException(ex); + } + + for (Option o : Option.values()) { + setDefaultOption(o.key, o.defaultValue); + } + + // on supprime le stamp de snapshot s'il existe + String sVersion = VersionUtil.removeSnapshot(getOption("application.version")); + Version version = VersionUtil.valueOf(sVersion); + setDefaultOption("version", version.getVersion()); + } + + public String getCopyrightText() { + return "Version " + getVersion() + " Codelutin @ 2008-2009"; + } + + /** + * @return la version de l'application. + */ + public Version getVersion() { + Version option = getOption(Version.class, "version"); + return option; + } + + public boolean isFullScreen() { + Boolean result = getOptionAsBoolean(Option.FULL_SCREEN.key); + return result != null && result; + } + + public Locale getLocale() { + Locale result = getOption(Locale.class, Option.LOCALE.key); + return result; + } + + public void setFullscreen(boolean fullscreen) { + Object oldValue = null; + setOption(Option.FULL_SCREEN.key, fullscreen + ""); + saveForUser(); + firePropertyChange("fullscreen", oldValue, fullscreen); + } + + public void setLocale(Locale newLocale) { + setOption(Option.LOCALE.key, newLocale.toString()); + saveForUser(); + firePropertyChange("locale", null, newLocale); + } + + /** + * Save configuration, in user home directory using the + * {@link #getConfigFileName}. Default, env and commande line note saved + */ + public void saveForUser() { + // shoudl we never save any conf ? + super.saveForUser(); + } + public static final String[] DEFAULT_JAXX_PCS = { + "fullScreen", "locale" + }; + + public void removeJaxxPropertyChangeListener() { + PropertyChangeListener[] toRemove = jaxx.runtime.Util.findJaxxPropertyChangeListener(DEFAULT_JAXX_PCS, getPropertyChangeListeners()); + if (toRemove == null || toRemove.length == 0) { + return; + } + if (log.isDebugEnabled()) { + log.debug("before remove : " + getPropertyChangeListeners().length); + log.debug("toRemove : " + toRemove.length); + } + for (PropertyChangeListener listener : toRemove) { + removePropertyChangeListener(listener); + } + if (log.isDebugEnabled()) { + log.debug("after remove : " + getPropertyChangeListeners().length); + } + } + + ////////////////////////////////////////////////// + // Toutes les options disponibles + ////////////////////////////////////////////////// + public static enum Option implements OptionDef { + + CONFIG_FILE(CONFIG_FILE_NAME, _("jaxxdemo.config.configFileName.description"), "jaxx-help-example", String.class, true, true), + FULL_SCREEN("ui.fullscreen", _("jaxxdemo.config.ui.fullscreen"), "false", Boolean.class, false, false), + LOCALE("ui.locale", _("jaxxdemo.config.ui.locale"), Locale.FRANCE.toString(), Locale.class, false, false); + public final String key; + public final String description; + public final String defaultValue; + public final Class<?> type; + public final boolean _transient; + public final boolean _final; + + private Option(String key, String description, String defaultValue, Class<?> type, boolean _transient, boolean _final) { + this.key = key; + this.description = description; + this.defaultValue = defaultValue; + this.type = type; + this._final = _final; + this._transient = _transient; + } + + @Override + public boolean isFinal() { + return _final; + } + + @Override + public boolean isTransient() { + return _transient; + } + + @Override + public String getDefaultValue() { + return defaultValue; + } + + @Override + public String getDescription() { + return description; + } + + @Override + public String getKey() { + return key; + } + + @Override + public Class<?> getType() { + return type; + } + } +} Property changes on: jaxx-help-example/src/main/java/jaxx/demo/DemoConfig.java ___________________________________________________________________ Added: svn:keywords + "Author Date Id Revision HeadURL Added: jaxx-help-example/src/main/java/jaxx/demo/DemoUI.css =================================================================== --- jaxx-help-example/src/main/java/jaxx/demo/DemoUI.css (rev 0) +++ jaxx-help-example/src/main/java/jaxx/demo/DemoUI.css 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,151 @@ +/** + * *##% observe-swing + * Copyright (C) 2008 - 2009 IRD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 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 Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%* +*/ +JToolBar { + borderPainted:false; + floatable:false; + opaque:false; +} + +JSplitPane { + oneTouchExpandable:true; + continuousLayout:true; + dividerSize:6; +} + +#mainFrame { + title:"jaxxdemo.title"; + iconImage:{SwingUtil.createIcon(getConfig().getOption("application.icon.path")).getImage()}; + undecorated:{getConfig().isFullScreen()}; +} + +#menu { + _help:{"ui.main.menu"}; +} + +#menuFile { + text:"jaxxdemo.menu.file"; + mnemonic:F; + _help:{"ui.main.menu.file"}; +} + +#menuFileConfiguration { + text:"jaxxdemo.action.configuration"; + toolTipText:"jaxxdemo.action.configuration.tip"; + actionIcon:"config"; + mnemonic:C; + enabled:false; + _help:{"ui.main.menu.file.configuration"}; +} + +#menuFileLanguage { + text:"jaxxdemo.menu.file.locale"; + toolTipText:"jaxxdemo.menu.file.locale"; + actionIcon:"translate"; + mnemonic:C; + _help:{"ui.main.menu.file.locale"}; +} + +#menuFileLanguageFR { + text:"jaxxdemo.action.locale.fr"; + toolTipText:"jaxxdemo.action.locale.fr.tip"; + actionIcon:"i18n-fr"; + enabled:{!acceptLocale(getConfig().getLocale(), "fr_FR")}; +mnemonic:F; +_help:{"ui.main.menu.file.locale.fr"}; +} + +#menuFileLanguageUK { + text:"jaxxdemo.action.locale.uk"; + toolTipText:"jaxxdemo.action.locale.uk.tip"; + actionIcon:"i18n-uk"; + enabled:{!acceptLocale(getConfig().getLocale(), "en_GB")}; +mnemonic:U; +_help:{"ui.main.menu.file.locale.uk"}; +} + +#menuFileFullscreen { + text:"jaxxdemo.action.fullscreen"; + toolTipText:"jaxxdemo.action.fullscreen.tip"; + actionIcon:"fullscreen"; + mnemonic:P; + visible:{!isUndecorated()}; +_help:{"ui.main.menu.file.fullscreen"}; +} + +#menuFileNormalscreen { + text:"jaxxdemo.action.normalscreen"; + toolTipText:"jaxxdemo.action.normalscreen.tip"; + actionIcon:"leave-fullscreen"; + mnemonic:N; + visible:{isUndecorated()}; +_help:{"ui.main.menu.file.leave-fullscreen"}; +} + +#menuFileExit{ + text:"jaxxdemo.action.exit"; + toolTipText:"jaxxdemo.action.exit.tip"; + actionIcon:"exit"; + mnemonic:X; + _help:{"ui.main.menu.file.exit"}; +} + +#menuHelp{ + text:"jaxxdemo.menu.help"; + mnemonic:e; + _help:{"ui.main.menu.help"}; +} + +#menuHelpHelp{ + text:"jaxxdemo.action.help"; + toolTipText:"jaxxdemo.action.help.tip"; + actionIcon:"help"; + mnemonic:e; + _help:{"ui.main.menu.help.help"}; +} + +#menuHelpSite{ + text:"jaxxdemo.action.site"; + toolTipText:"jaxxdemo.action.site.tip"; + actionIcon:"site"; + mnemonic:s; + _help:{"ui.main.menu.help.site"}; +} + +#menuHelpAbout{ + text:"jaxxdemo.action.about"; + toolTipText:"jaxxdemo.action.about.tip"; + actionIcon:"about"; + mnemonic:A; + _help:{"ui.main.menu.help.about"}; +} + +#showHelp{ + toolTipText:"jaxxdemo.action.showHelp.tip"; + actionIcon:"show-help"; + borderPainted:false; + visible:true; +} +#mainPane{ + _help:{"ui.main.content"}; +} + +#toolbar { + layout:{new BoxLayout(toolbar, 0)}; + _help:{"ui.main.toolbar"}; +} \ No newline at end of file Added: jaxx-help-example/src/main/java/jaxx/demo/DemoUI.jaxx =================================================================== --- jaxx-help-example/src/main/java/jaxx/demo/DemoUI.jaxx (rev 0) +++ jaxx-help-example/src/main/java/jaxx/demo/DemoUI.jaxx 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,105 @@ +<!-- + *##% + jaxx-demo + Copyright (C) 2008 - 2009 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>. + ##%* +--> + +<JFrame id='mainFrame' width='1024' height='800' + decorator='help' + onWindowClosing='getHandler().close(mainFrame)'> + + <style source='DemoUI.css'/> + + <script><![CDATA[ +import jaxx.runtime.SwingUtil; +import jaxx.runtime.swing.help.JAXXHelpBroker; +import jaxx.runtime.swing.StatusMessagePanel; + +import java.util.Locale; + +public DemoConfig getConfig() { + return getContextValue(DemoConfig.class); +} + +protected DemoUIHandler getHandler() { + return getContextValue(DemoUIHandler.class); +} + +public boolean acceptLocale(Locale l, String expected) { + return l !=null && l.toString().equals(expected); +} + +private void $afterCompleteSetup() { + +} +]]> + </script> + + <JAXXHelpBroker id='broker' + constructorParams='getConfig().getLocale(), "jaxx-help-example", "help", "top", getHandler()'/> + + <JMenuBar id='menu'> + + <JMenu id='menuFile'> + <JMenuItem id='menuFileConfiguration' + onActionPerformed="getHandler().showConfig(this)"/> + <JMenu id='menuFileLanguage'> + <JMenuItem id='menuFileLanguageFR' + onActionPerformed="getHandler().changeLanguage(this, Locale.FRANCE)"/> + <JMenuItem id='menuFileLanguageUK' + onActionPerformed="getHandler().changeLanguage(this, Locale.UK)"/> + </JMenu> + <JSeparator/> + <JMenuItem id='menuFileFullscreen' + onActionPerformed="getHandler().changeScreen(this, true)"/> + <JMenuItem id='menuFileNormalscreen' + onActionPerformed="getHandler().changeScreen(this, false)"/> + <JSeparator/> + <JMenuItem id='menuFileExit' + onActionPerformed="getHandler().close(this)"/> + </JMenu> + + <JMenu id='menuHelp'> + <JMenuItem id='menuHelpHelp' + onActionPerformed="getHandler().showHelp(this, getBroker(), null)"/> + <JMenuItem id='menuHelpSite' + onActionPerformed="getHandler().gotoSite(this)"/> + <JMenuItem id='menuHelpAbout' + onActionPerformed="getHandler().showAbout(this)"/> + </JMenu> + <JToolBar id='toolbar' + _help='"ui.main.toolbar"'> + + <!-- pour afficher l'aide contextuelle --> + <JButton id='showHelp'/> + + <javax.swing.Box.Filler constructorParams='SwingUtil.newMinDimension(), SwingUtil.newMinDimension(), SwingUtil.newMaxXDimension()'/> + </JToolBar> + </JMenuBar> + + <JPanel id='mainPane' layout='{new BorderLayout()}'> + + <JLabel text='jaxxdemo.welcome' + horizontalAlignment='center' + constraints='BorderLayout.CENTER'/> + + <StatusMessagePanel id='p' constraints='BorderLayout.SOUTH'/> + + </JPanel> + +</JFrame> \ No newline at end of file Added: jaxx-help-example/src/main/java/jaxx/demo/DemoUIHandler.java =================================================================== --- jaxx-help-example/src/main/java/jaxx/demo/DemoUIHandler.java (rev 0) +++ jaxx-help-example/src/main/java/jaxx/demo/DemoUIHandler.java 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,298 @@ +/** + * *##% + * jaxx-demo + * Copyright (C) 2008 - 2009 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>. + * ##%* + */ +package jaxx.demo; + +import jaxx.runtime.swing.help.JAXXHelpUIHandler; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import static org.nuiton.i18n.I18n._; +import static org.nuiton.i18n.I18n.n_; + +import java.awt.Desktop; +import java.net.URL; +import java.util.Locale; +import javax.help.JHelp; +import javax.swing.JDialog; +import javax.swing.SwingUtilities; + +import jaxx.runtime.context.DefaultApplicationContext; +import jaxx.runtime.JAXXContext; +import jaxx.runtime.context.JAXXContextEntryDef; +import jaxx.runtime.context.JAXXInitialContext; +import jaxx.runtime.swing.AboutPanel; +import jaxx.runtime.swing.ErrorDialogUI; +import jaxx.runtime.swing.editor.config.ConfigUI; +import jaxx.runtime.swing.editor.config.ConfigUIBuilder; +import jaxx.runtime.swing.editor.config.model.ConfigUIModel; +import jaxx.runtime.swing.help.JAXXHelpBroker; +import org.nuiton.i18n.I18n; + +/** + * Le handler de l'ui principale. + * + * @author chemit + * @see DemoUI + */ +public class DemoUIHandler implements JAXXHelpUIHandler { + + /** to use log facility, just put in your code: log.info(\"...\"); */ + static private Log log = LogFactory.getLog(DemoUIHandler.class); + static final JAXXContextEntryDef<DemoUI> MAIN_UI_ENTRY_DEF = JAXXContextEntryDef.newDef("mainui", DemoUI.class); + + /** + * Methode pour initialiser l'ui principale sans l'afficher. + * + * @param rootContext le context applicatif + * @param fullscreen flag pour indiquer si on doit ouvrir l'ui en model console (pleine ecran). + * @return l'ui instancie et initialisee mais non visible encore + */ + public DemoUI initUI(DefaultApplicationContext rootContext, boolean fullscreen) { + + if (log.isDebugEnabled()) { + log.debug("fullscreen ? " + fullscreen); + } + + // create restrict context for ui + JAXXInitialContext context = new JAXXInitialContext(); + + // share handler + context.add(this); + DemoConfig config = rootContext.getContextValue(DemoConfig.class); + + // share config + context.add(config); + +// // share help broker +// context.add(new DemoHelpBroker(config.getLocale())); + + // instanciate ui + DemoUI ui = new DemoUI(context); + + // keep it in root context + MAIN_UI_ENTRY_DEF.setContextValue(rootContext, ui); + + // synch to error dialog + ErrorDialogUI.init(ui); + + // set fullscreen propery on main ui + ui.getGraphicsConfiguration().getDevice().setFullScreenWindow(fullscreen ? ui : null); + + return ui; + } + + public void displayUI(final DemoUI ui) { + + SwingUtilities.invokeLater(new Runnable() { + + @Override + public void run() { + + // show ui + ui.setVisible(true); + } + }); + } + + /** + * Permet de recharger l'ui principale et de changer de le mode d'affichage. + * + * @param rootContext le contexte applicatif + * @param fullscreen le type de fenetre à reouvrir + */ + public void reloadUI(DefaultApplicationContext rootContext, boolean fullscreen) { + + // scan main ui + DemoUI ui = getUI(rootContext); + + if (ui != null) { + + ui.getConfig().removeJaxxPropertyChangeListener(); + + ErrorDialogUI.init(null); + + ui.dispose(); + + ui.setVisible(false); + + MAIN_UI_ENTRY_DEF.removeContextValue(rootContext); + + } + + ui = initUI(rootContext, fullscreen); + + displayUI(ui); + } + + /** + * Méthode pour changer de mode d'affichage. + * <p/> + * Si <code>fullscreen</code> est à <code>true</code> alors on passe en + * mode console (c'est à dire en mode plein écran exclusif), sinon on + * passe en mode fenetré normal. + * + * @param context l'ui principale de l'application + * @param fullscreen le nouvel état requis. + */ + public void changeScreen(JAXXContext context, final boolean fullscreen) { + + DemoUI ui = getUI(context); + + // sauvegarde de l'état dans la configuration + ui.getConfig().setFullscreen(fullscreen); + + // rechargement de l'ui + reloadUI(RunDemo.get(), fullscreen); + } + + public void changeLanguage(JAXXContext context, Locale newLocale) { + + DemoUI ui = getUI(context); + + DemoConfig config = ui.getConfig(); + + // sauvegarde de la nouvelle locale + config.setLocale(newLocale); + + // chargement de la nouvelle locale dans le système i18n + I18n.init(newLocale); + + // rechargement de l'ui + reloadUI(RunDemo.get(), config.isFullScreen()); + } + + /** + * Ferme l'application. + * + * @param context l'ui principale de l'application + */ + public void close(JAXXContext context) { + log.info("JAXX Demo quitting..."); + try { + + DemoUI ui = getUI(context); + ui.dispose(); + } finally { + System.exit(0); + } + } + + public void showConfig(JAXXContext context) { + DemoUI ui = getUI(context); + DemoConfig config = ui.getConfig(); + ConfigUIModel model = new ConfigUIModel(config); + + // categorie repertoires + model.addCategory( + n_("jaxxdemo.config.category.directories"), + n_("jaxxdemo.config.category.directories.description"), + DemoConfig.Option.CONFIG_FILE); + + // others + model.addCategory( + n_("jaxxdemo.config.category.other"), + n_("jaxxdemo.config.category.other.description"), + DemoConfig.Option.FULL_SCREEN, + DemoConfig.Option.LOCALE); + + ConfigUI configUI = ConfigUIBuilder.newConfigUI(context, model, "jaxxdemo.config.category.directories"); + + ConfigUIBuilder.showConfigUI(configUI, ui, false); + } + + @Override + public void showHelp(JAXXContext context, JAXXHelpBroker broker, String helpId) { + + DemoUI mainUI = getUI(context); + String id = helpId; + if (helpId == null) { + id = broker.getDefaultID(); + } + log.debug("show help " + id); + + JHelp help = new JHelp(broker.getHelpset()); + help.setCurrentID(id); + + final JDialog d = new JDialog(mainUI); + d.getRootPane().setContentPane(help); + + SwingUtilities.invokeLater(new Runnable() { + + @Override + public void run() { + + d.pack(); + + // show ui + d.setVisible(true); + } + }); + } + + public void gotoSite(JAXXContext context) { + + DemoUI ui = getUI(context); + DemoConfig config = ui.getConfig(); + + URL siteURL = config.getOptionAsURL("application.site.url"); + + log.info(_("jaxxdemo.message.goto.site", siteURL)); + + if (log.isDebugEnabled()) { + log.debug("goto " + siteURL); + } + if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) { + try { + Desktop.getDesktop().browse(siteURL.toURI()); + } catch (Exception ex) { + log.error(ex.getMessage(), ex); + ErrorDialogUI.showError(ex); + } + } + } + + public void showAbout(DemoUI ui) { + + DemoConfig config = ui.getConfig(); + + String iconPath = config.getOption("application.icon.path"); + String licensePath = config.getOption("application.license.path"); + String thirdPartyPath = config.getOption("application.third-party.path"); + + AboutPanel about = new AboutPanel(); + about.setTitle(_("jaxxdemo.title.about")); + about.setAboutText(_("jaxxdemo.about.message")); + about.setBottomText(ui.getConfig().getCopyrightText()); + about.setIconPath(iconPath); + about.setLicenseFile(licensePath); + about.setThirdpartyFile(thirdPartyPath); + about.buildTopPanel(); + about.init(); + about.showInDialog(ui, true); + } + + DemoUI getUI(JAXXContext context) { + if (context instanceof DemoUI) { + return (DemoUI) context; + } + DemoUI ui = MAIN_UI_ENTRY_DEF.getContextValue(context); + return ui; + } +} Property changes on: jaxx-help-example/src/main/java/jaxx/demo/DemoUIHandler.java ___________________________________________________________________ Added: svn:keywords + "Author Date Id Revision HeadURL Added: jaxx-help-example/src/main/java/jaxx/demo/RunDemo.java =================================================================== --- jaxx-help-example/src/main/java/jaxx/demo/RunDemo.java (rev 0) +++ jaxx-help-example/src/main/java/jaxx/demo/RunDemo.java 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,188 @@ +/* + * *##% + * jaxx-demo + * Copyright (C) 2008 - 2009 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>. + * ##%* + */ +package jaxx.demo; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.nuiton.i18n.I18n; +import org.nuiton.util.StringUtil; +import static org.nuiton.i18n.I18n._; + +import jaxx.runtime.SwingUtil; +import jaxx.runtime.swing.ErrorDialogUI; +import jaxx.runtime.context.DefaultApplicationContext; + +/** + * + * @author chemit + */ +public class RunDemo { + + /** + * Logger + */ + private static Log log = LogFactory.getLog(RunDemo.class); + /** + * When application was started + */ + private static long startingTime = System.nanoTime(); + /** + * The singleton instance of the main context + */ + protected static DefaultApplicationContext context; + + public static void main(String[] args) { + + startingTime = System.nanoTime(); + log.info("JAXX Help example start at " + new java.util.Date() + " args: " + java.util.Arrays.toString(args)); + + try { + + // init root context + // to enable javassist on webstart, must remove any securityManager, + // see if this can be dangerous (should not be since jnlp is signed ?) + // moreover it speeds up the loading :) + System.setSecurityManager(null); + + long t0 = System.nanoTime(); + + I18n.setUniqueBundleName("jaxx-help-example-i18n"); + + Runtime.getRuntime().addShutdownHook(new ShutdownHook()); + + // init root context + DefaultApplicationContext rootContext = init(); + + // init config + DemoConfig config = new DemoConfig(); + config.parse(args); + + // share the config + rootContext.setContextValue(config); + + long t00 = System.nanoTime(); + + // init i18n + I18n.init(config.getLocale()); + + log.info("language : " + config.getLocale()); + + if (log.isDebugEnabled()) { + log.debug("i18n loading time : " + (StringUtil.convertTime(t00, System.nanoTime()))); + } + + log.info(_("jaxxdemo.message.config.loaded", config.getVersion())); + + // prepare ui look&feel and load ui properties + + try { + SwingUtil.initNimbusLoookAndFeel(); + } catch (Exception e) { + // could not find nimbus look-and-feel + log.warn(_("jaxxdemo.warning.nimbus.landf")); + } catch (Throwable e) { + log.warn(_("jaxxdemo.warning.no.ui")); + + } + + if (log.isDebugEnabled()) { + log.debug("init done in " + (StringUtil.convertTime(t0, System.nanoTime()))); + } + + log.info(_("jaxxdemo.init.context.done", StringUtil.convertTime(startingTime, System.nanoTime()))); + + // on affiche l'ui principale + DemoUIHandler handler = new DemoUIHandler(); + + DemoUI ui = handler.initUI(rootContext, config.isFullScreen()); + + log.info(_("jaxxdemo.init.ui.done")); + + handler.displayUI(ui); + + } catch (Exception e) { + ErrorDialogUI.showError(e); + log.error(e.getMessage(), e); + System.exit(1); + } + } + + /** + * @return <code>true</code> si le context a été initialisé via la méthode + * {@link #init()}, <ocde>false</code> autrement. + */ + protected static boolean isInit() { + return context != null; + } + + /** + * Permet l'initialisation du contexte applicatif et positionne + * l'context partagée. + * <p/> + * Note : Cette méthode ne peut être appelée qu'une seule fois. + * @return l'context partagée + * @throws IllegalStateException si un contexte applicatif a déja été positionné. + */ + protected static synchronized DefaultApplicationContext init() throws IllegalStateException { + if (isInit()) { + throw new IllegalStateException("there is an already application context registred."); + } + context = new DefaultApplicationContext(); + return context; + } + + /** + * Récupération du contexte applicatif. + * + * @return l'context partagé du contexte. + * @throws IllegalStateException si le contexte n'a pas été initialisé via + * la méthode {@link #init()} + */ + protected static DefaultApplicationContext get() throws IllegalStateException { + if (!isInit()) { + throw new IllegalStateException("no application context registred."); + } + return context; + } + + protected static class ShutdownHook extends Thread { + + public ShutdownHook() { + super("shutdown JAXXDemo"); + } + + @Override + public void run() { + try { + super.run(); + + //JAXXContext.get().close(); + // force to kill main thread + + log.info(_("jaxxdemo.init.closed", new java.util.Date())); + Runtime.getRuntime().halt(0); + } catch (Exception ex) { + log.error("error while closing " + ex.getMessage(), ex); + Runtime.getRuntime().halt(1); + } + } + } +} Property changes on: jaxx-help-example/src/main/java/jaxx/demo/RunDemo.java ___________________________________________________________________ Added: svn:keywords + "Author Date Id Revision HeadURL Added: jaxx-help-example/src/main/resources/i18n/jaxx-help-example-en_GB.properties =================================================================== --- jaxx-help-example/src/main/resources/i18n/jaxx-help-example-en_GB.properties (rev 0) +++ jaxx-help-example/src/main/resources/i18n/jaxx-help-example-en_GB.properties 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,92 @@ +JAXXHelpExample.help.top.index= +JAXXHelpExample.help.top.title= +JAXXHelpExample.help.top.toc= +JAXXHelpExample.help.ui.index= +JAXXHelpExample.help.ui.main.content.index= +JAXXHelpExample.help.ui.main.content.title= +JAXXHelpExample.help.ui.main.content.toc= +JAXXHelpExample.help.ui.main.index= +JAXXHelpExample.help.ui.main.menu.file.configuration.index= +JAXXHelpExample.help.ui.main.menu.file.configuration.title= +JAXXHelpExample.help.ui.main.menu.file.configuration.toc= +JAXXHelpExample.help.ui.main.menu.file.exit.index= +JAXXHelpExample.help.ui.main.menu.file.exit.title= +JAXXHelpExample.help.ui.main.menu.file.exit.toc= +JAXXHelpExample.help.ui.main.menu.file.fullscreen.index= +JAXXHelpExample.help.ui.main.menu.file.fullscreen.title= +JAXXHelpExample.help.ui.main.menu.file.fullscreen.toc= +JAXXHelpExample.help.ui.main.menu.file.index= +JAXXHelpExample.help.ui.main.menu.file.leave-fullscreen.index= +JAXXHelpExample.help.ui.main.menu.file.leave-fullscreen.title= +JAXXHelpExample.help.ui.main.menu.file.leave-fullscreen.toc= +JAXXHelpExample.help.ui.main.menu.file.locale.fr.index= +JAXXHelpExample.help.ui.main.menu.file.locale.fr.title= +JAXXHelpExample.help.ui.main.menu.file.locale.fr.toc= +JAXXHelpExample.help.ui.main.menu.file.locale.index= +JAXXHelpExample.help.ui.main.menu.file.locale.title= +JAXXHelpExample.help.ui.main.menu.file.locale.toc= +JAXXHelpExample.help.ui.main.menu.file.locale.uk.index= +JAXXHelpExample.help.ui.main.menu.file.locale.uk.title= +JAXXHelpExample.help.ui.main.menu.file.locale.uk.toc= +JAXXHelpExample.help.ui.main.menu.file.title= +JAXXHelpExample.help.ui.main.menu.file.toc= +JAXXHelpExample.help.ui.main.menu.help.about.index= +JAXXHelpExample.help.ui.main.menu.help.about.title= +JAXXHelpExample.help.ui.main.menu.help.about.toc= +JAXXHelpExample.help.ui.main.menu.help.help.index= +JAXXHelpExample.help.ui.main.menu.help.help.title= +JAXXHelpExample.help.ui.main.menu.help.help.toc= +JAXXHelpExample.help.ui.main.menu.help.index= +JAXXHelpExample.help.ui.main.menu.help.site.index= +JAXXHelpExample.help.ui.main.menu.help.site.title= +JAXXHelpExample.help.ui.main.menu.help.site.toc= +JAXXHelpExample.help.ui.main.menu.help.title= +JAXXHelpExample.help.ui.main.menu.help.toc= +JAXXHelpExample.help.ui.main.menu.index= +JAXXHelpExample.help.ui.main.menu.title= +JAXXHelpExample.help.ui.main.menu.toc= +JAXXHelpExample.help.ui.main.toc= +JAXXHelpExample.help.ui.main.toolbar.index= +JAXXHelpExample.help.ui.main.toolbar.title= +JAXXHelpExample.help.ui.main.toolbar.toc= +JAXXHelpExample.help.ui.toc= +jaxxdemo.about.message=<h3>JAXX Demo</h3><hr/>For more informations, viste the <a href\="http\://maven-site.nuiton.org/jaxx/jaxx-demo">website of the project</a>. +jaxxdemo.action.about=About... +jaxxdemo.action.about.tip=About JAXXDemo... +jaxxdemo.action.configuration=Preferences +jaxxdemo.action.configuration.tip=Change the preferences of the application +jaxxdemo.action.exit=Quit +jaxxdemo.action.exit.tip=Quit JAXXDemo +jaxxdemo.action.fullscreen=Full screen +jaxxdemo.action.fullscreen.tip=Change to full screen mode +jaxxdemo.action.help=Help +jaxxdemo.action.help.tip=Display help +jaxxdemo.action.locale.fr=French +jaxxdemo.action.locale.fr.tip=Change to french language +jaxxdemo.action.locale.uk=English +jaxxdemo.action.locale.uk.tip=Change to english language +jaxxdemo.action.normalscreen=Normal screen +jaxxdemo.action.normalscreen.tip=Change to normal screen mode +jaxxdemo.action.showHelp.tip= +jaxxdemo.action.site=Web site +jaxxdemo.action.site.tip=Go to the web site +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.fullscreen=To change the screen mode (true for full screen) +jaxxdemo.config.ui.locale=Locale of the application +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.menu.file=File +jaxxdemo.menu.file.locale=Languages +jaxxdemo.menu.help=Help +jaxxdemo.message.config.loaded=Configuration of JAXXDemo v. %1$s loaded. +jaxxdemo.message.goto.site=Go to JAXXDemo Web site +jaxxdemo.title=JAXX Demo +jaxxdemo.title.about=About JAXXDemo... +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 +jaxxdemo.welcome=< Welcome in JAXX Help example > Added: jaxx-help-example/src/main/resources/i18n/jaxx-help-example-fr_FR.properties =================================================================== --- jaxx-help-example/src/main/resources/i18n/jaxx-help-example-fr_FR.properties (rev 0) +++ jaxx-help-example/src/main/resources/i18n/jaxx-help-example-fr_FR.properties 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,92 @@ +JAXXHelpExample.help.top.index=JAXX Demo +JAXXHelpExample.help.top.title=JAXX Demo +JAXXHelpExample.help.top.toc=JAXX Demo +JAXXHelpExample.help.ui.index= +JAXXHelpExample.help.ui.main.content.index= +JAXXHelpExample.help.ui.main.content.title= +JAXXHelpExample.help.ui.main.content.toc= +JAXXHelpExample.help.ui.main.index= +JAXXHelpExample.help.ui.main.menu.file.configuration.index= +JAXXHelpExample.help.ui.main.menu.file.configuration.title= +JAXXHelpExample.help.ui.main.menu.file.configuration.toc= +JAXXHelpExample.help.ui.main.menu.file.exit.index= +JAXXHelpExample.help.ui.main.menu.file.exit.title= +JAXXHelpExample.help.ui.main.menu.file.exit.toc= +JAXXHelpExample.help.ui.main.menu.file.fullscreen.index= +JAXXHelpExample.help.ui.main.menu.file.fullscreen.title= +JAXXHelpExample.help.ui.main.menu.file.fullscreen.toc= +JAXXHelpExample.help.ui.main.menu.file.index= +JAXXHelpExample.help.ui.main.menu.file.leave-fullscreen.index= +JAXXHelpExample.help.ui.main.menu.file.leave-fullscreen.title= +JAXXHelpExample.help.ui.main.menu.file.leave-fullscreen.toc= +JAXXHelpExample.help.ui.main.menu.file.locale.fr.index= +JAXXHelpExample.help.ui.main.menu.file.locale.fr.title= +JAXXHelpExample.help.ui.main.menu.file.locale.fr.toc= +JAXXHelpExample.help.ui.main.menu.file.locale.index= +JAXXHelpExample.help.ui.main.menu.file.locale.title= +JAXXHelpExample.help.ui.main.menu.file.locale.toc= +JAXXHelpExample.help.ui.main.menu.file.locale.uk.index= +JAXXHelpExample.help.ui.main.menu.file.locale.uk.title= +JAXXHelpExample.help.ui.main.menu.file.locale.uk.toc= +JAXXHelpExample.help.ui.main.menu.file.title= +JAXXHelpExample.help.ui.main.menu.file.toc= +JAXXHelpExample.help.ui.main.menu.help.about.index= +JAXXHelpExample.help.ui.main.menu.help.about.title= +JAXXHelpExample.help.ui.main.menu.help.about.toc= +JAXXHelpExample.help.ui.main.menu.help.help.index= +JAXXHelpExample.help.ui.main.menu.help.help.title= +JAXXHelpExample.help.ui.main.menu.help.help.toc= +JAXXHelpExample.help.ui.main.menu.help.index= +JAXXHelpExample.help.ui.main.menu.help.site.index= +JAXXHelpExample.help.ui.main.menu.help.site.title= +JAXXHelpExample.help.ui.main.menu.help.site.toc= +JAXXHelpExample.help.ui.main.menu.help.title= +JAXXHelpExample.help.ui.main.menu.help.toc= +JAXXHelpExample.help.ui.main.menu.index= +JAXXHelpExample.help.ui.main.menu.title= +JAXXHelpExample.help.ui.main.menu.toc= +JAXXHelpExample.help.ui.main.toc= +JAXXHelpExample.help.ui.main.toolbar.index= +JAXXHelpExample.help.ui.main.toolbar.title= +JAXXHelpExample.help.ui.main.toolbar.toc= +JAXXHelpExample.help.ui.toc= +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.tip=A propos de JAXX Demo... +jaxxdemo.action.configuration=Configuration +jaxxdemo.action.configuration.tip=Modifier la configuration +jaxxdemo.action.exit=Quitter +jaxxdemo.action.exit.tip=Quitter JAXX Demo +jaxxdemo.action.fullscreen=Plein \u00E9cran +jaxxdemo.action.fullscreen.tip=Passer en mode pleine \u00E9cran +jaxxdemo.action.help=Aide +jaxxdemo.action.help.tip=Affichier l'aide +jaxxdemo.action.locale.fr=Fran\u00E7ais +jaxxdemo.action.locale.fr.tip=Changer la langue en fran\u00E7ais +jaxxdemo.action.locale.uk=Anglais +jaxxdemo.action.locale.uk.tip=Changer la langue en anglais +jaxxdemo.action.normalscreen=Ecran normal +jaxxdemo.action.normalscreen.tip=Revenir en mode normal +jaxxdemo.action.showHelp.tip= +jaxxdemo.action.site=Site internet +jaxxdemo.action.site.tip=Acc\u00E9der au site de l'application sur internet +jaxxdemo.config.category.directories=R\u00E9pertoires +jaxxdemo.config.category.directories.description=R\u00E9pertoires 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.fullscreen=Pour afficher l'aplication en mode pleine \u00E9cran +jaxxdemo.config.ui.locale=Langue utilis\u00E9e par l'application (fr_FR, en_GB ou es_ES) +jaxxdemo.init.closed=JAXX Demo a \u00E9t\u00E9 ferm\u00E9 \u00E0 %1$s +jaxxdemo.init.context.done=Initialisation du contexte termin\u00E9e en %1$s. +jaxxdemo.init.ui.done=Initialisation de l'interface graphique termin\u00E9e. +jaxxdemo.menu.file=Fichier +jaxxdemo.menu.file.locale=Langues +jaxxdemo.menu.help=Aide +jaxxdemo.message.config.loaded=Configuration de JAXX Demo v. %1$s charg\u00E9e. +jaxxdemo.message.goto.site=Acc\u00E9der au site de JAXX Demo (%1$s) +jaxxdemo.title=JAXX Demo +jaxxdemo.title.about=A propos de JAXX Demo... +jaxxdemo.warning.nimbus.landf=Le look and Feel Nimbus n'a pas \u00E9t\u00E9 trouv\u00E9, il faut au moins la version 1.6u10 de java. +jaxxdemo.warning.no.ui=Aucun environnement graphique d\u00E9tect\u00E9 +jaxxdemo.welcome=< Bienvenu dans Jaxx Help example > Added: jaxx-help-example/src/main/resources/icons/action-about.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-about.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-accept.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-accept.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-block.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-block.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-close.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-close.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-config.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-config.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-exit.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-exit.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-fullscreen.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-fullscreen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-help.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-help.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-i18n-fr.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-i18n-fr.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-i18n-uk.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-i18n-uk.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-leave-fullscreen.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-leave-fullscreen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-show-help.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-show-help.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-site.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-site.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/action-translate.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/action-translate.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/icons/jaxx.png =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/main/resources/icons/jaxx.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/main/resources/log4j.properties =================================================================== --- jaxx-help-example/src/main/resources/log4j.properties (rev 0) +++ jaxx-help-example/src/main/resources/log4j.properties 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,11 @@ +# 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.runtime.swing.JaxxHelpBroker=INFO +log4j.logger.jaxx.demo=INFO +log4j.logger.org.nuiton=WARN Added: jaxx-help-example/src/site/rst/images/Components-screenshot.gif =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/site/rst/images/Components-screenshot.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/site/rst/images/webstart.gif =================================================================== (Binary files differ) Property changes on: jaxx-help-example/src/site/rst/images/webstart.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: jaxx-help-example/src/site/rst/index.rst =================================================================== --- jaxx-help-example/src/site/rst/index.rst (rev 0) +++ jaxx-help-example/src/site/rst/index.rst 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,43 @@ +=================== +Examples/Components +=================== + +The Components demo displays many different Swing components being used in a variety of ways; it is JAXX's equivalent +of the SwingSet demo. Various pages use advanced features such as data binding, scripting, event handling, and +CSS stylesheets. + +Examples/Calculator +=================== + +This is an implementation of Challenge #2 from the `XUL Grand Coding Challenge 2004`_ . Because this example program +has been implemented in so many different languages, you can easily compare JAXX's +syntax against the competition and decide for yourself which you prefer. + +Screen shot +----------- + +.. image:: images/Components-screenshot.gif + +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:: images/webstart.gif + +.. _following link: ./launch.jnlp + +.. _Jaxx Demo webstart: jnlp-report.html Added: jaxx-help-example/src/site/site.xml =================================================================== --- jaxx-help-example/src/site/site.xml (rev 0) +++ jaxx-help-example/src/site/site.xml 2009-10-08 16:51:56 UTC (rev 275) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <src>${site.home.url}/jaxx.png</src> + <href>index.html</href> + </bannerLeft> + + <body> + + <breadcrumbs> + <item name="${project.name}" href="${project.url}" /> + </breadcrumbs> + + <menu ref="parent"/> + + <menu name="Utilisateur" inherited="top"> + <item name="Accueil" href="index.html"/> + <item name="Lancer la démo" href="jnlp/launch.jnlp"/> + </menu> + + <menu ref="reports"/> + + <menu ref="modules"/> + + </body> +</project>