Revision: 4320 http://sourceforge.net/p/jump-pilot/code/4320 Author: ma15569 Date: 2015-02-24 02:15:38 +0000 (Tue, 24 Feb 2015) Log Message: ----------- Add Help menu to Sextante
Modified Paths: -------------- plug-ins/SextantePlugIn/.classpath plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/extensions/SextanteExtension.java Added Paths: ----------- plug-ins/SextantePlugIn/dist/ojsextante_binding_feb2015.jar plug-ins/SextantePlugIn/dist/ojsextante_binding_gen2015.jar plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_ca.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_de.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_en.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_es.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fi.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fr.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_hr.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_it.properties plug-ins/SextantePlugIn/src/org/ plug-ins/SextantePlugIn/src/org/openjump/ plug-ins/SextantePlugIn/src/org/openjump/sigle/ plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/ plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/ plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpDialog.java plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpPlugIn.java Removed Paths: ------------- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_ca.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_de.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_en.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_es.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fi.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fr.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_hr.properties plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_it.properties Modified: plug-ins/SextantePlugIn/.classpath =================================================================== --- plug-ins/SextantePlugIn/.classpath 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/.classpath 2015-02-24 02:15:38 UTC (rev 4320) @@ -5,35 +5,8 @@ <classpathentry combineaccessrules="false" kind="src" path="/sextante"/> <classpathentry combineaccessrules="false" kind="src" path="/sextante_gui"/> <classpathentry combineaccessrules="false" kind="src" path="/openjump_app"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/bsh-2.0b4.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/buoy-1.8.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/jai_codec-1.1.2_01.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/jai_core-1.1.2_01.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/jama-1.0.2.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/jdom-1.1.3.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/jmatharray-20070905.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/jmathplot-20070905.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/js-1.5R4.1.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/jts-1.13.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/jython-2.2.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/log4j-1.2.16.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/OpenJUMP-20130422-r3525-nolang.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/postgresql-9.2-1002.jdbc4.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/xercesImpl-2.8.1.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/xml-apis-1.3.03.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130422-r3525-PLUS/lib/xmlParserAPIs-2.0.2.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/trove-0.1.8.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/sextante_gui.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/sextante_algorithms.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/sextante.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/libMath.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/kxml2.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/jgraph.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/jfreechart-1.0.11.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/jep-2.4.0.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/jcommon-1.0.14.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/japura-1.14.0.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/gishur_x.jar"/> - <classpathentry kind="lib" path="/home/giuseppe/Scrivania/GIS/OpenJUMP-20130520-r3558-PLUS/lib/ext/sextante/gishur_core.jar"/> + <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/OpenJUMPLibs"/> + <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/SextanteLibs"/> + <classpathentry kind="lib" path="/home/giusepppe/Scrivania/GIS/OpenJUMP-Test/lib/OpenJUMP_test.jar"/> <classpathentry kind="output" path="bin"/> </classpath> Added: plug-ins/SextantePlugIn/dist/ojsextante_binding_feb2015.jar =================================================================== (Binary files differ) Index: plug-ins/SextantePlugIn/dist/ojsextante_binding_feb2015.jar =================================================================== --- plug-ins/SextantePlugIn/dist/ojsextante_binding_feb2015.jar 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/dist/ojsextante_binding_feb2015.jar 2015-02-24 02:15:38 UTC (rev 4320) Property changes on: plug-ins/SextantePlugIn/dist/ojsextante_binding_feb2015.jar ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: plug-ins/SextantePlugIn/dist/ojsextante_binding_gen2015.jar =================================================================== (Binary files differ) Index: plug-ins/SextantePlugIn/dist/ojsextante_binding_gen2015.jar =================================================================== --- plug-ins/SextantePlugIn/dist/ojsextante_binding_gen2015.jar 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/dist/ojsextante_binding_gen2015.jar 2015-02-24 02:15:38 UTC (rev 4320) Property changes on: plug-ins/SextantePlugIn/dist/ojsextante_binding_gen2015.jar ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/extensions/SextanteExtension.java =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/extensions/SextanteExtension.java 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/extensions/SextanteExtension.java 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,38 +1,41 @@ package es.unex.sextante.openjump.extensions; -import com.vividsolutions.jump.workbench.plugin.Extension; -import com.vividsolutions.jump.workbench.plugin.PlugInContext; +import org.openjump.sigle.plugin.tutorial.HelpPlugIn; +import sun.security.x509.Extension; + public class SextanteExtension extends Extension { - /* - * Version History - * - * Sextante 1.0 2013-04-01 - * Sextante 1.0 Internationalized 2013-05-25 (Add Language codes from Kosmo Sextante (ca,es,fi,hr,it), add French) - */ - - private static final String NAME = "Sextante 1.0 Internationalized (http://www.sextantegis.com/)"; - private static final String VERSION = "(2013-05-25)";//Giuseppe Aruta - PlugIn Internationalized 2013_05_25// - - public String getName() - { - return NAME ; - } + /* + * Version History + * + * Sextante 1.0 2013-04-01 Sextante 1.0 Internationalized 2013-05-25 (Add + * Language codes from Kosmo Sextante (ca,es,fi,hr,it), add French) + */ - public String getVersion() - { - return VERSION ; - } - - public void configure(PlugInContext context) throws Exception { + private static final String NAME = "Sextante 1.0 Internationalized (http://www.sextantegis.com/)"; + private static final String VERSION = "(2013-05-25)";// Giuseppe Aruta - + // PlugIn + // Internationalized + // 2013_05_25// - new SextanteToolboxPlugin().initialize(context); - new SextanteResultsPlugin().initialize(context); - new SextanteHistoryPlugin().initialize(context); - new SextanteModelerPlugin().initialize(context); - new SextanteCommandLinePlugin().initialize(context); + public String getName() { + return NAME; + } - } + public String getVersion() { + return VERSION; + } + public void configure(PlugInContext context) throws Exception { + + new SextanteToolboxPlugin().initialize(context); + new SextanteResultsPlugin().initialize(context); + new SextanteHistoryPlugin().initialize(context); + new SextanteModelerPlugin().initialize(context); + new SextanteCommandLinePlugin().initialize(context); + new HelpPlugIn().initialize(context); + + } + } Deleted: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante.properties 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,10 +0,0 @@ -#Sextante_en.properties -es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Command line -es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Set of extensions for spatial analysis -es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=History -es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modeler -es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Results -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Help files placed on {0} -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante toolbox -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Batch processing not yet implemented -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Warning Added: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante.properties (rev 0) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,11 @@ +#Sextante_en.properties +es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Command line +es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Set of extensions for spatial analysis +es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=History +es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modeler +es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Results +es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help=Sextante help +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Help files placed on {0} +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante toolbox +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Batch processing not yet implemented +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Warning Property changes on: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante.properties ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Deleted: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_ca.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_ca.properties 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_ca.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,10 +0,0 @@ -#Sextante_ca.properties -es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=L\u00EDnia de comandes -es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Conjunt d'extensions per an\u00E0lisis espacial -es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Historial -es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modelitzador -es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Resultats -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Arxius d'ajuda situats a {0} -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Barra d'eines de Sextante -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=El processament per lots (Batch processing) encara no est\u00E0 implementat -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Atenci\u00F3 Added: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_ca.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_ca.properties (rev 0) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_ca.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,11 @@ +#Sextante_ca.properties +es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=L\u00EDnia de comandes +es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Conjunt d'extensions per an\u00E0lisis espacial +es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Historial +es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modelitzador +es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Resultats +es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help= +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Arxius d'ajuda situats a {0} +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Barra d'eines de Sextante +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=El processament per lots (Batch processing) encara no est\u00E0 implementat +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Atenci\u00F3 Property changes on: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_ca.properties ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Deleted: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_de.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_de.properties 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_de.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,10 +0,0 @@ -#Sextante_en.properties -es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Kommandozeile -es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Erweiterungen f\xFCr R\u00E4umliche Analyse -es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Verlauf -es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modell-Erzeuger / Modeler -es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Ergebnisse -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Hilfe-Datein in {0} -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante Werkzeugkasten -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Batch Verarbeitung noch nicht implementiert -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Warnung Added: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_de.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_de.properties (rev 0) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_de.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,11 @@ +#Sextante_en.properties +es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Kommandozeile +es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Erweiterungen f\xFCr R\u00E4umliche Analyse +es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Verlauf +es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modell-Erzeuger / Modeler +es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Ergebnisse +es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help= +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Hilfe-Datein in {0} +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante Werkzeugkasten +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Batch Verarbeitung noch nicht implementiert +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Warnung Property changes on: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_de.properties ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Deleted: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_en.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_en.properties 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_en.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,10 +0,0 @@ -#Sextante_en.properties -es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Command line -es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Set of extensions for spatial analysis -es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=History -es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modeler -es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Results -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Help files placed on {0} -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante toolbox -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Batch processing not yet implemented -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Warning Added: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_en.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_en.properties (rev 0) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_en.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,11 @@ +#Sextante_en.properties +es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Command line +es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Set of extensions for spatial analysis +es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=History +es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modeler +es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Results +es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help=Sextante help +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Help files placed on {0} +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante toolbox +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Batch processing not yet implemented +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Warning Property changes on: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_en.properties ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Deleted: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_es.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_es.properties 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_es.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,10 +0,0 @@ -#Sextante_es.properties -es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=L\u00EDnea de comandos -es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Conjunto de algoritmos para an\u00E1lisis espacial -es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Historial -es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modelizador -es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Resultados -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Ficheros de ayuda situados en {0} -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Barra de herramientas de Sextante -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=El procesamiento por lotes no est\u00E1 a\u00FAn implementado -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Atenci\u00F3n Added: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_es.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_es.properties (rev 0) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_es.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,11 @@ +#Sextante_es.properties +es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=L\u00EDnea de comandos +es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Conjunto de algoritmos para an\u00E1lisis espacial +es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Historial +es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modelizador +es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Resultados +es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help=Sextante Ayuda +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Ficheros de ayuda situados en {0} +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Barra de herramientas de Sextante +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=El procesamiento por lotes no est\u00E1 a\u00FAn implementado +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Atenci\u00F3n Property changes on: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_es.properties ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Deleted: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fi.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fi.properties 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fi.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,10 +0,0 @@ -#Sextante_fi.properties -es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Komentorivi -es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Kokoelma laajennoksia paikkatietoanalyysien tekemist\u00E4 varten. Kosmon k\u00E4ytt\u00E4m\u00E4 varsinainen Sextante-osa on suomentamatta. -es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Historia -es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Mallinnusty\u00F6kalu -es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Tulokset -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Ohjetiedostot l\u00F6ytyv\u00E4t hakemistosta {0} -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante-ty\u00F6kalut -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Er\u00E4ajoprosessointia ei ole viel\u00E4 toteutettu -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Varoitus Added: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fi.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fi.properties (rev 0) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fi.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,11 @@ +#Sextante_fi.properties +es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Komentorivi +es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Kokoelma laajennoksia paikkatietoanalyysien tekemist\u00E4 varten. Kosmon k\u00E4ytt\u00E4m\u00E4 varsinainen Sextante-osa on suomentamatta. +es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Historia +es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Mallinnusty\u00F6kalu +es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Tulokset +es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help= +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Ohjetiedostot l\u00F6ytyv\u00E4t hakemistosta {0} +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante-ty\u00F6kalut +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Er\u00E4ajoprosessointia ei ole viel\u00E4 toteutettu +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Varoitus Property changes on: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fi.properties ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Deleted: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fr.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fr.properties 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fr.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,9 +0,0 @@ -es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Ligne de commandes -es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Extensions pour l'analyse spatiale -es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Historique -es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Conception de processus -es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=R\xE9sultats -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Les fichiers d'aide sont dans {0} -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Bo\xEEte \xE0 outils SEXTANTE -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Le traitement par lots n'est pas disponible -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Attention \ No newline at end of file Added: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fr.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fr.properties (rev 0) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fr.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,10 @@ +es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Ligne de commandes +es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Extensions pour l'analyse spatiale +es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Historique +es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Conception de processus +es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=R\xE9sultats +es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help= +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Les fichiers d'aide sont dans {0} +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Bo\xEEte \xE0 outils SEXTANTE +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Le traitement par lots n'est pas disponible +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Attention \ No newline at end of file Property changes on: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_fr.properties ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Deleted: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_hr.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_hr.properties 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_hr.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,10 +0,0 @@ -#Sextante_hr.properties -es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Komandna linija -es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Skup ekstenzija za prostorne analize -es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Povijest -es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modeler -es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Rezultat -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Pomo\u0107ne datoteke smje\u0161tene u {0} -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante alatna traka -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Masovno procesiranje jo\u0161 nije implementirano -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Upozorenje Added: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_hr.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_hr.properties (rev 0) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_hr.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,11 @@ +#Sextante_hr.properties +es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Komandna linija +es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Skup ekstenzija za prostorne analize +es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Povijest +es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modeler +es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Rezultat +es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help= +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=Pomo\u0107ne datoteke smje\u0161tene u {0} +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Sextante alatna traka +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Masovno procesiranje jo\u0161 nije implementirano +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Upozorenje Property changes on: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_hr.properties ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Deleted: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_it.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_it.properties 2015-02-24 02:03:21 UTC (rev 4319) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_it.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -1,10 +0,0 @@ -#Sextante_it.properties -es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Linea di comando -es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Insieme di estensioni per l'analisi spaziale -es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Storia -es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modellatore -es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Risultati -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=File di aiuto situati in {0} -es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Barra strumenti di Sextante -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Il processo batch non \u00E8 stato ancora implementato -es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Attenzione Added: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_it.properties =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_it.properties (rev 0) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_it.properties 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,11 @@ +#Sextante_it.properties +es.unex.sextante.kosmo.extensions.SextanteCommandLinePlugin.Command-line=Linea di comando +es.unex.sextante.kosmo.extensions.SextanteExtension.Set-of-extensions-for-spatial-analysis=Insieme di estensioni per l'analisi spaziale +es.unex.sextante.kosmo.extensions.SextanteHistoryPlugin.History=Storia +es.unex.sextante.kosmo.extensions.SextanteModelerPlugin.Modeler=Modellatore +es.unex.sextante.kosmo.extensions.SextanteResultsPlugin.Results=Risultati +es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help=Aiuto Sextante +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Help-files-placed-on-{0}=File di aiuto situati in {0} +es.unex.sextante.kosmo.extensions.SextanteToolboxPlugin.Sextante-toolbox=Barra strumenti di Sextante +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Batch-processing-not-yet-implemented=Il processo batch non \u00E8 stato ancora implementato +es.unex.sextante.kosmo.gui.KosmoGUIFactory.Warning=Attenzione Property changes on: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/language/Sextante_it.properties ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpDialog.java =================================================================== --- plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpDialog.java (rev 0) +++ plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpDialog.java 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,250 @@ +package org.openjump.sigle.plugin.tutorial; + +import java.awt.BorderLayout; +import java.awt.Dimension; +import java.awt.GridLayout; +import java.io.IOException; +import java.net.URL; + +import javax.swing.Icon; +import javax.swing.ImageIcon; +import javax.swing.JEditorPane; +import javax.swing.JFrame; +import javax.swing.JPanel; +import javax.swing.JScrollPane; +import javax.swing.JSplitPane; +import javax.swing.JTree; +import javax.swing.SwingUtilities; +import javax.swing.event.TreeSelectionEvent; +import javax.swing.event.TreeSelectionListener; +import javax.swing.tree.DefaultMutableTreeNode; + +import com.vividsolutions.jump.workbench.ui.images.IconLoader; + +public class HelpDialog extends JPanel implements TreeSelectionListener { + /** + * Class adapted from HelpOJPlugIn.class from SIGLE OpenJump Viatoris + * 2015-02-22. Giuseppe Aruta. version 01 + */ + private static final long serialVersionUID = 1L; + private JEditorPane htmlPane; + private JTree tree; + private URL helpURL; + private static boolean DEBUG = false; + private static boolean playWithLineStyle = false; + private static String lineStyle = "Horizontal"; + ImageIcon ICON = IconLoader.icon("disk.png"); + + public HelpDialog() { + super(new GridLayout(1, 0)); + + DefaultMutableTreeNode top = new DefaultMutableTreeNode("Sextante"); + createNodes(top); + this.tree = new JTree(top); + this.tree.getSelectionModel().setSelectionMode(1); + this.tree.addTreeSelectionListener(this); + if (playWithLineStyle) { + System.out.println("line style = " + lineStyle); + this.tree.putClientProperty("JTree.lineStyle", lineStyle); + } + JScrollPane treeView = new JScrollPane(this.tree); + this.htmlPane = new JEditorPane(); + this.htmlPane.setEditable(false); + // initHelp(); + JScrollPane htmlView = new JScrollPane(this.htmlPane); + + JSplitPane splitPaneHTML = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, + treeView, htmlView); + Dimension minimumSize = new Dimension(100, 50); + htmlView.setMinimumSize(minimumSize); + treeView.setMinimumSize(minimumSize); + splitPaneHTML.setDividerLocation(100); + splitPaneHTML.setPreferredSize(new Dimension(500, 300)); + + add(splitPaneHTML, BorderLayout.CENTER); + + // add(southPanel, BorderLayout.PAGE_END); + } + + public void valueChanged(TreeSelectionEvent e) { + DefaultMutableTreeNode node = (DefaultMutableTreeNode) this.tree + .getLastSelectedPathComponent(); + if (node == null) { + return; + } + Object nodeInfo = node.getUserObject(); + if (node.isLeaf()) { + BookInfo book = (BookInfo) nodeInfo; + displayURL(book.bookURL); + if (DEBUG) { + System.out.print(book.bookURL + ": \n "); + } + } else { + displayURL(this.helpURL); + } + if (DEBUG) { + System.out.println(nodeInfo.toString()); + } + } + + private class BookInfo { + public String bookName; + public URL bookURL; + public Icon bookicon; + + public BookInfo(String book, String filename) { + this.bookName = book; + this.bookURL = HelpDialog.class.getResource(filename); + if (this.bookURL == null) { + System.err.println("Couldn't find file: " + filename); + } + } + + public String toString() { + return this.bookName; + } + + } + + private void initHelp() { + String s = "welcome.html"; + this.helpURL = ClassLoader.getSystemResource(s); + if (this.helpURL == null) { + System.err.println("Couldn't open help file: " + s); + } else if (DEBUG) { + System.out.println("Help URL is " + this.helpURL); + } + displayURL(this.helpURL); + } + + private void displayURL(URL url) { + try { + if (url != null) { + this.htmlPane.setPage(url); + } else { + this.htmlPane.setText("File Not Found"); + if (DEBUG) { + System.out.println("Attempted to display a null URL."); + } + } + } catch (IOException e) { + System.err.println("Attempted to read a bad URL: " + url); + } + } + + private void createNodes(DefaultMutableTreeNode top) { + + DefaultMutableTreeNode intro = new DefaultMutableTreeNode(new BookInfo( + "Introduction", "/sextante/help/en/general/intro.html")); + + top.add(new DefaultMutableTreeNode(new BookInfo("Introduction", + "/sextante/help/en/general/intro.html"))); + top.add(new DefaultMutableTreeNode(new BookInfo("Toolbox", + "/sextante/help/en/general/toolbox.html"))); + top.add(new DefaultMutableTreeNode(new BookInfo("History", + "/sextante/help/en/general/history.html"))); + top.add(new DefaultMutableTreeNode(new BookInfo("Modeler", + "/sextante/help/en/general/modeler.html"))); + top.add(new DefaultMutableTreeNode(new BookInfo("Command line", + "/sextante/help/en/general/cmd.html"))); + top.add(new DefaultMutableTreeNode(new BookInfo("Batch", + "/sextante/help/en/general/batch.html"))); + top.add(new DefaultMutableTreeNode(new BookInfo( + "Configure algorithm providers", + "/sextante/help/en/general/providers.html"))); + top.add(new DefaultMutableTreeNode(new BookInfo("List of algotithms", + "/sextante/help/en/general/sextante_algo.html"))); + + /* + * category = new DefaultMutableTreeNode("Sextante Manual"); + * top.add(category); + * + * book = new DefaultMutableTreeNode(new BookInfo("Introduction", + * "intro.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo("Toolbox", + * "toolbox.html")); category.add(book); + * + * category2 = new DefaultMutableTreeNode("List of Algorithms"); + * top.add(category2); + * + * book = new DefaultMutableTreeNode(new BookInfo("Sextante Algorithms", + * "sextante_algo.html")); category2.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo("2. Les menus", + * "/sextante/help/en/general/sextante.html")); category.add(book); + * + * book = new DefaultMutableTreeNode( new + * BookInfo("3. Les barres d'outils", + * "/helpfile/fr/tutorial/3_barres.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo("4. Le clic-droit", + * "/helpfile/fr/tutorial/4_clicdroit.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo( + * "5. Les données géographiques", + * "/helpfile/fr/tutorial/5_donneesgeo.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo( + * "6. La gestion des données géographiques", + * "/helpfile/fr/tutorial/6_gestiondonnees.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo("7. Les styles", + * "/helpfile/fr/tutorial/7_style.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo( + * "8. Les données attributaires", + * "/helpfile/fr/tutorial/8_attributs.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo("9. Analyse", + * "/helpfile/fr/tutorial/9_analyse.html")); category.add(book); + * + * category = new DefaultMutableTreeNode("Exercices"); + * top.add(category); + * + * book = new DefaultMutableTreeNode(new BookInfo("Exercice 1", + * "/helpfile/fr/tutorial/exercice.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo("Exercice 2", + * "/helpfile/fr/tutorial/exercice.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo("Exercice 3", + * "/helpfile/fr/tutorial/exercice.html")); category.add(book); + * + * category = new DefaultMutableTreeNode("BeanShell Editor"); + * top.add(category); + * + * book = new DefaultMutableTreeNode(new BookInfo("BeanShell Editor", + * "/helpfile/fr/tutorial/BshEditor4jump-fr.html")); category.add(book); + * + * book = new DefaultMutableTreeNode(new BookInfo("Spim", + * "/helpfile/fr/tutorial/jump-spim-fr.html")); category.add(book); + */ + } + + public static void createAndShowGUI() { + + // JFrame.setDefaultLookAndFeelDecorated(true); + + JFrame frame = new JFrame("Help Sextante"); + + HelpDialog newContentPane = new HelpDialog(); + newContentPane.setOpaque(true); + frame.setContentPane(newContentPane); + + frame.pack(); + frame.setVisible(true); + frame.setAlwaysOnTop(true); + } + + public static void main(String[] args) { + SwingUtilities.invokeLater(new Runnable() { + public void run() { + } + }); + } + + public void setAlwaysOnTop(boolean b) { + } + +} Property changes on: plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpDialog.java ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpPlugIn.java =================================================================== --- plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpPlugIn.java (rev 0) +++ plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpPlugIn.java 2015-02-24 02:15:38 UTC (rev 4320) @@ -0,0 +1,46 @@ +package org.openjump.sigle.plugin.tutorial; + +import javax.swing.ImageIcon; + +import com.vividsolutions.jump.task.TaskMonitor; +import com.vividsolutions.jump.workbench.plugin.PlugInContext; +import com.vividsolutions.jump.workbench.plugin.ThreadedPlugIn; +import com.vividsolutions.jump.workbench.ui.images.IconLoader; + +import es.unex.sextante.openjump.language.I18NPlug; + +public class HelpPlugIn implements ThreadedPlugIn { + private HelpDialog panel; + public static final ImageIcon ICON = IconLoader + .icon("information_16x16.png"); + + public void run(TaskMonitor monitor, PlugInContext context) + throws Exception { + } + + public void initialize(PlugInContext context) throws Exception { + context.getFeatureInstaller().addMainMenuPlugin(this, + new String[] { "Sextante" }, getName(), false, ICON, null); + } + + public String getName() {// Giuseppe Aruta - PlugIn Internationalized + // 2013_05_25// + + return I18NPlug + .getI18N("es.unex.sextante.kosmo.extensions.SextanteHelpPlugin.help"); + + } + + public boolean execute(PlugInContext context) throws Exception { + this.panel = new HelpDialog(); + + HelpDialog.createAndShowGUI(); + + return true; + } + + private boolean initDialog(PlugInContext context) { + return false; + } + +} Property changes on: plug-ins/SextantePlugIn/src/org/openjump/sigle/plugin/tutorial/HelpPlugIn.java ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel