Revision 32049

View differences:

tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/build.xml
1
<project name="Generate Export to gVSIG Mobile extension"
2
	default="generate-without-source" basedir=".">
3
	
4
  <!-- set global properties for this build -->
5
  <property name="src" location="src"/>
6
  <property name="build" location="bin"/>
7
  <property name="dist"  location="dist"/>
8
  <property name="plugin" value="es.prodevelop.gvsig.exportMobile"/>
9
  <property name="extension-dir" location="../_fwAndami/gvSIG/extensiones"/>
10
  <property name="install-tree-dir" location="./install/pub/bin/gvSIG/extensiones"/>
11

  
12
  <target name="init">
13
    <!-- Create the time stamp -->
14
    <tstamp/>
15
    <!-- Create the build directory structure used by compile -->
16
    <mkdir dir="${build}"/>
17
    <mkdir dir="${dist}"/>
18
  	<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
19
  	<buildnumber/> 
20
  	
21
  </target>
22

  
23
  <target name="generate-without-source" description="generate the distribution without the source file" >
24
    <!-- Create the distribution directory -->
25
    <mkdir dir="${dist}"/>
26

  
27
    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
28
    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/>
29
    <copy file="config/config.xml" todir="${dist}"/>
30
  	
31
    <copy todir="${dist}">
32
    	<fileset dir="." includes="text*.properties"/>
33
    	<fileset dir="." includes="*.number"/>
34
    </copy>
35
  	
36
    <copy todir="${dist}/images">
37
    	<fileset dir="images/" includes="*"/>
38
    </copy>
39
  	
40
    <copy todir="${dist}/about">
41
    	<fileset dir="about/" includes="*"/>
42
    </copy>
43
  	
44
    <move todir="${extension-dir}/${plugin}/">
45
    	<fileset dir="${dist}" includes="**/**"/>
46
    </move>
47
  </target>
48
	
49
	  <target name="generate-install-tree-export-only" description="generate the install tree" >
50
	  	
51
	    <!-- Create the distribution directory -->
52
	    <mkdir dir="${dist}"/>
53
	  	<mkdir dir="${install-tree-dir}/${plugin}"/>
54

  
55
	    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
56
	    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/>
57
	    <copy file="config/config.xml" todir="${dist}"/>
58
	    <copy todir="${dist}">
59
	    	<fileset dir="." includes="text*.properties"/>
60
	    	<fileset dir="." includes="*.number"/>
61
	    </copy>
62
	    <copy todir="${dist}/images">
63
	    	<fileset dir="images/" includes="*"/>
64
	    </copy>
65
	    <copy todir="${dist}/about">
66
	    	<fileset dir="about/" includes="*"/>
67
	    </copy>
68
	    <move todir="${install-tree-dir}/${plugin}/">
69
	    	<fileset dir="${dist}" includes="**/**"/>
70
	    </move>
71
	  </target>
72
	
73
	<!--
74
	
75
	<target name="clean-install-tree-export-synchro">
76
		<delete>
77
			<fileset dir="./install/pub/">
78
			    <include name="*.zip"/>
79
			</fileset>
80
			<fileset dir="./install/export_installer/">
81
			    <include name="*.jar"/>
82
			</fileset>
83
		</delete>
84
		<delete dir="./install/bin" />
85
		<mkdir dir="./install/bin" />
86
		<mkdir dir="./install/bin/gvSIG" />
87
		<mkdir dir="./install/bin/gvSIG/extensiones" />
88
	</target>
89
	-->
90
	
91
</project>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/text.properties
1
exportMobile=Exportar gvSIG mobile...
2
exporMob=Exportar gvSIG mobile
3
Vista=Vista
4
direxport=Carpeta destino
5
nomproy=Nombre Proyecto
6
acept=Ejecutar
7
ok=Aceptar
8
cancel=Cancelar
9
open=Abrir
10
close=Cerrar
11
export_done=Se ha realizado la exportaci?n a la carpeta:
12
save=Guardar
13
exe=Exe
14
type=Tipo
15
name=Nombre
16
cut=Recorte
17
select=Seleccion 
18
allyr=Toda la capa
19
layers=Capas
20
name=Nombre
21
type=Tipo
22
atrbt=Atributos
23
alatrib=ATRB
24
combo=Acciones
25
atriblayer= Atributos de la Capa
26
selall=Todos
27
dessel=Ninguno
28
invertSet=Invertir 
29
actExtent=Zona a Exportar
30
nAtrib=Nombre
31
tAtrib=Tipo
32
aAtrib=Alias
33
tLayer=Tipo
34
nLayer=Nombre
35
lyrview=En la vista
36
batLayer=Atributos
37
viewA=Vista Actual
38
exent=Encuadre
39
comLayer=Exportar
40
synchro=Sincronizar
41
exportando=Exportando
42
config=Config WMS
43
PluginServices.Procesando=Exportando Capa
44
initial_synchro=?Es la sincronizaci?n inicial
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/.classpath
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry path="src" kind="src"/>
4
	<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/>
5
	<classpathentry path="/_fwAndami" combineaccessrules="false" kind="src"/>
6
	<classpathentry path="/appgvSIG" combineaccessrules="false" kind="src"/>
7
	<classpathentry path="/extWMS" combineaccessrules="false" kind="src"/>
8
	<classpathentry path="/libFMap" combineaccessrules="false" kind="src"/>
9
	<classpathentry path="/_fwAndami/lib/castor-0.9.5.3-xml.jar" kind="lib"/>
10
	<classpathentry sourcepath="/libIverUtiles/src" path="/_fwAndami/lib/iver-utiles.jar" kind="lib"/>
11
	<classpathentry path="/_fwAndami/lib/kxml2.jar" kind="lib"/>
12
	<classpathentry path="/_fwAndami/lib/log4j-1.2.8.jar" kind="lib"/>
13
	<classpathentry sourcepath="/libDriverManager" path="/libFMap/lib/driver-manager-1.1.jar" kind="lib"/>
14
	<classpathentry sourcepath="/libGDBMS" path="/libFMap/lib/gdbms-0.8-SNAPSHOT.jar" kind="lib"/>
15
	<classpathentry path="/libFMap/lib/kxml2.jar" kind="lib"/>
16
	<classpathentry path="/libFMap/lib/log4j-1.2.8.jar" kind="lib"/>
17
	<classpathentry sourcepath="/libCq CMS for java" path="/libFMap/lib/cms.jar" kind="lib"/>
18
	<classpathentry path="/extGeoProcessing" combineaccessrules="false" kind="src"/>
19
	<classpathentry sourcepath="D:/eclipse_3_1/workspace_pruebas/jts/src" path="/libFMap/lib/jts-1.7.jar" kind="lib"/>
20
	<classpathentry path="bin" kind="output"/>
21
</classpath>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/text_en.properties
1
Vista=View
2
exportMobile=Export to gvSIG mobile...
3
exporMob=Export to gvSIG mobile
4
direxport=Export to
5
nomproy=Proyect name
6
acept=Execute
7
ok=OK
8
cancel=Cancel
9
open=Open
10
close=Close
11
export_done=Export done to folder:
12
save=Save
13
exe=Exe
14
type=Type
15
name=Name
16
cut=Cut 
17
select=Select 
18
allyr=All 
19
layers=Layers
20
exp=Export
21
name=Nombre
22
type=Type
23
atrbt=Atribute
24
alatrib=ATRB
25
combo=Actions
26
atriblayer= Layer Attributes
27
selall=Select All
28
dessel=Select None
29
invertSet=Invert 
30
actExtent=Import Zone
31
nAtrib=Name
32
tAtrib=Type
33
aAtrib=Alias
34
tLayer=Type
35
nLayer=Name
36
batLayer=Atributes
37
comLayer=Export
38
viewA=View
39
exent=Extent
40
lyrview=In View
41
synchro=Synchro
42
exportando=Export..
43
config=Config WMS
44
PluginServices.Procesando=Exporting Layer
45
initial_synchro=Is this the initial synchronization
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>extExportMobile</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
	</buildSpec>
14
	<natures>
15
		<nature>org.eclipse.jdt.core.javanature</nature>
16
	</natures>
17
</projectDescription>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/config/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="com.iver.cit.gvsig.geoprocess" />
4

  
5
	<libraries library-dir="."/>
6
	<resourceBundle name="text"/>
7
	<extensions>
8
		<extension class-name="es.prodevelop.gvsig.exportMobile.ClipExtension"
9
			description="Exports a gvSIG Mobile project"
10
			active="true"
11
			priority="50">
12
			
13
			<menu text="Vista/exportMobile"/>
14
			
15
			<tool-bar name="exportMobile" position="7">
16
				<selectable-tool icon="images/gvSIGmobile.png" />
17
			</tool-bar>
18
		</extension>		
19
	</extensions>
20
</plugin-config>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/build.number
1
#Build Number for ANT. Do not edit!
2
#Wed Feb 20 16:17:30 CET 2008
3
build.number=5
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/install.xml
1
<installation version="1.0">
2
	<info>
3
		<appname>gvSIG_1.1</appname>
4
		<appversion>1.1</appversion>
5
		<authors>
6
			<author name="Generalitat Valenciana. Conselleria d'Infraestructures i Transport" email="" />
7
			<author name="Prodevelop S.L." email="gis@prodevelop.es" />
8
		</authors>
9
		<url>http://www.prodevelop.es</url>
10
		<javaversion>1.5</javaversion>
11
		
12
		<uninstaller name="gvSIGMobile_ExportExtension_uninstaller.jar" write="yes" />		
13
	</info>
14

  
15
	<guiprefs height="600" resizable="yes" width="800">
16
		<laf name="liquid">
17
			<os family="unix" />
18
		</laf>
19
		<laf name="liquid">
20
			<os family="windows" />
21
		</laf>
22
	</guiprefs>
23

  
24
	<locale>
25
		<langpack iso3="spa"/>
26
		<langpack iso3="val"/>
27
		<langpack iso3="eng"/>
28
		<langpack iso3="cat"/>
29
		<langpack iso3="chn"/>
30
		<langpack iso3="cze"/>
31
		<langpack iso3="dan"/>
32
		<langpack iso3="deu"/>
33
		<langpack iso3="fin"/>
34
		<langpack iso3="fra"/>
35
		<langpack iso3="glg"/>
36
		<langpack iso3="hun"/>
37
		<langpack iso3="ita"/>
38
		<langpack iso3="jpn"/>
39
		<langpack iso3="mys"/>
40
		<langpack iso3="ned"/>
41
		<langpack iso3="nor"/>
42
		<langpack iso3="pol"/>
43
		<langpack iso3="por"/>
44
		<langpack iso3="rom"/>
45
		<langpack iso3="rus"/>
46
		<langpack iso3="scg"/>
47
		<langpack iso3="svk"/>
48
		<langpack iso3="swe"/>
49
		<langpack iso3="ukr"/>
50
	</locale>
51

  
52
	<resources>
53
		<res src="resources/gpl.txt" id="LicencePanel.licence"/>
54
		<res src="resources/LEEME.html" id="HTMLInfoPanel.info"/>
55
		<res src="resources/images/Logo_gvsig_gva.jpg" id="Installer.image"/>
56
                <res src="resources/userInputSpec.xml" id="userInputSpec.xml"/>
57
                <parsable os="linux" targetfile="resources/userInputSpec.xml"/>
58
                <res src="resources/userInputLang.xml_val" id="userInputLang.xml_val" />
59
                <res src="resources/userInputLang.xml_spa" id="userInputLang.xml_spa" />
60
	</resources>
61

  
62
	<panels>
63
		<panel classname="HTMLInfoPanel"/>
64
		<panel classname="LicencePanel"/>
65
		<panel classname="PacksPanel"/>
66
		<panel classname="UserInputPanel"/>
67
		<panel classname="InstallPanel"/>
68
		<panel classname="SimpleFinishPanel"/>
69
	</panels>
70

  
71
	<packs>
72

  
73
		<pack name="gvSIG Mobile Export Extension" required="yes">
74
			<description>gvSIG extension to generate gvSIG Mobile projects</description>
75
			<fileset targetdir="$INSTALL_PATH/bin" dir="./bin" override="true"
76
			excludes="**/*.svn"
77
			/>
78
			<fileset targetdir="$INSTALL_PATH/lib" dir="./lib" override="true"
79
			excludes="**/*.svn"
80
			/>
81
		</pack>
82

  
83
	</packs>
84

  
85
</installation>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/bin/gvSIG/extensiones/es.prodevelop.gvsig.exportMobile/text.properties
1
exportMobile=Exportar gvSIG mobile...
2
exporMob=Exportar gvSIG mobile
3
Vista=Vista
4
direxport=Carpeta destino
5
nomproy=Nombre Proyecto
6
acept=Ejecutar
7
ok=Aceptar
8
cancel=Cancelar
9
open=Abrir
10
save=Guardar
11
exe=Exe
12
type=Tipo
13
name=Nombre
14
cut=Recorte
15
select=Seleccion 
16
allyr=Toda la capa
17
layers=Capas
18
name=Nombre
19
type=Tipo
20
atrbt=Atributos
21
alatrib=ATRB
22
combo=Acciones
23
atriblayer= Atributos de la Capa
24
selall=Todos
25
dessel=Ninguno
26
invertSet=Invertir 
27
actExtent=Zona a Exportar
28
nAtrib=Nombre
29
tAtrib=Tipo
30
aAtrib=Alias
31
tLayer=Tipo
32
nLayer=Nombre
33
lyrview=In View
34
batLayer=Atributos
35
viewA=Vista Actual
36
exent=Encuadre
37
comLayer=Exportar
38
synchro=Sincronizar
39
exportando=Exportando
40
config=Config WMS
41
PluginServices.Procesando=Exportando Capa
42
initial_synchro=?Es la sincronizaci?n inicial
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/bin/gvSIG/extensiones/es.prodevelop.gvsig.exportMobile/text_en.properties
1
Vista=View
2
exportMobile=Export to gvSIG mobile...
3
exporMob=Export to gvSIG mobile
4
direxport=Export to
5
nomproy=Proyect name
6
acept=Execute
7
ok=OK
8
cancel=Cancel
9
open=Open
10
save=Save
11
exe=Exe
12
type=Type
13
name=Name
14
cut=Cut 
15
select=Select 
16
allyr=All 
17
layers=Layers
18
exp=Export
19
name=Nombre
20
type=Type
21
atrbt=Atribute
22
alatrib=ATRB
23
combo=Actions
24
atriblayer= Layer`s Atributes
25
selall=Select All
26
dessel=Select None
27
invertSet=Ivert 
28
actExtent=Import Zone
29
nAtrib=Name
30
tAtrib=Type
31
aAtrib=Alias
32
tLayer=Type
33
nLayer=Name
34
batLayer=Atributes
35
comLayer=to Export
36
viewA=View
37
exent=Exent
38
lyrview=In View
39
synchro=Synchro
40
exportando=Export..
41
config=Config WMS
42
PluginServices.Procesando=Exporting Layer
43
initial_synchro=Is this the initial synchronisation
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/bin/gvSIG/extensiones/es.prodevelop.gvsig.exportMobile/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="com.iver.cit.gvsig.geoprocess" />
4
	<depends plugin-name="org.synchro.mobile.openmis" />
5
	<libraries library-dir="."/>
6
	<resourceBundle name="text"/>
7
	<extensions>
8
		<extension class-name="es.prodevelop.gvsig.exportMobile.ClipExtension"
9
			description="Shows info with a customized form"
10
			active="true"
11
			priority="50">
12
			
13
			<menu text="Vista/exportMobile"/>
14
			
15
			<tool-bar name="exportMobile" position="7">
16
				<selectable-tool icon="images/gvSIGmobile.png" />
17
			</tool-bar>
18
		</extension>		
19
	</extensions>
20
</plugin-config>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputLang.xml_val
1
<langpack>
2
  <str id="text.label" txt="Ruta a gvSIG:"/>
3
</langpack>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputLang.xml_spa
1
<langpack>
2
  <str id="text.label" txt="Ruta a gvSIG:"/>
3
</langpack>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputLang.xml_cat
1
<langpack>
2
  <str id="text.label" txt="Ruta a gvSIG:"/>
3
</langpack>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputLang.xml_fra
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputLang.xml_eng
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputSpec.xml
1
<userInput>
2
	<panel order="0">
3
		<field 	type="search"
4
				variable="INSTALL_PATH"
5
				size="45">
6
  			<description align="left" />
7
  			<spec 	txt="Path to gvSIG:"
8
		  			id="text.label"
9
  					checkfilename="bin/andami.jar"
10
        			type="directory"
11
        			result="directory">
12
  			<choice value="/usr/local/gvSIG_0.6" os="unix" />
13
  			<choice value="/usr/local/gvSIG_0.6.1" os="unix" />
14
  			<choice value="/opt/gvSIG_0.6.1" os="unix" />
15
  			<choice value="/opt/gvSIG_0.6" os="unix" />
16
  			<choice value="${env[HOME]}/gvSIG_0.6" os="unix" />
17
  			<choice value="C:\Archivos de Programa\gvSIG_0.6" os="windows" />
18
  			<choice value="C:\Program Files\gvSIG_0.6" os="windows" />
19
  			</spec>
20
		</field>
21
	</panel>
22
</userInput>
23

  
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/LEEME.html
1
<html>
2
<head>
3
<style type="text/css">
4
html, body, h1, h2, h3, h4, div, p, ul, li, input {
5
   font-family: Arial, Helvetica, sans-serif;
6
}
7

  
8
h1 {
9
   font-size: large;
10
}
11

  
12
h2 {
13
   font-size: large;
14
}
15

  
16
h3 {
17
   font-size: medium;
18
}
19
</style>
20
</head>
21
<body>
22
<h1>gvSIG, el SIG en software libre de la Generalitat Valenciana
23
(http://www.gvsig.gva.es).</h1>
24

  
25
<h2>Autores:</h2>
26
<ul>
27
<li>Generalitat Valenciana
28
 (Conselleria d'Infraestructures i Transport).</li>
29
<li>Iver Tecnolog&iacute;as de la Informaci&oacute;n S.A.</li>
30
</ul>
31

  
32
<p>Software con licencia GNU/GPL
33
(http://www.fsf.org/licensing/licenses/gpl.html)</p>
34

  
35
<p>Contacto:
36
	gvsig@gva.es<p>
37

  
38
<h2>Requisitos de la aplicaci&oacute;n:</h2>
39
<h3>Sistema</h3>
40
<ul>
41
<li>M&iacute;nimos: Pentium III / 256 MB RAM.</li>
42
<li>Recomendables: Pentium IV / 512 MB RAM.</li>
43
<li>Sistemas operativos: plataformas Windows y Linux.
44
 Probado en Win98/XP, Linux Suse 8.2/9.0/9.2 y Linux Debian (Lliurex).</li>
45
</ul>
46

  
47
<h3>Software instalado</h3> (disponible en http://www.gvsig.gva.es o en http://java.sun.com)
48
<ul>
49
<li>M&aacute;quina Virtual Java 1.4.2 (06 o superior).</li>
50
<li>JAI (Java Advanced Imaging).</li>
51
<li>JAI Image I/O.</li>
52
</ul>
53

  
54
<p style="text-align:justify">Nota: Las librer&iacute;as JAI y JAI Image I/O deben estar instaladas sobre la M&aacute;quina Virtual Java que gvSIG utilice en su ejecuci&oacute;n. Si se instala una nueva JVM en el sistema y se usa para ejecutar gvSIG ser&aacute; indispensable instalar las librer&iacute;as sobre &eacute;sta (gvSIG se ejecuta con la JVM que tenga por defecto el sistema operativo; para saber cu&aacute;l es, ejecutar <span style="monospace">"java&nbsp;-version"</span> en un interfaz de comandos o consola).</p>
55

  
56
<h2>M&aacute;s informaci&oacute;n y soporte en:</h2>
57
<h3> Web oficial del proyecto:</h3>
58
	http://www.gvsig.gva.es
59

  
60
<h3>Listas de distribuci&oacute;n:</h3>
61
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios</span> (soporte para usuarios).
62
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores</span> (soporte para desarrolladores).
63
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional</span> (soporte para desarrolladores o usuarios de habla no hispana).
64

  
65
</body>
66
</html>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputLang.xml_deu
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputLang.xml_ita
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputLang.xml_por
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/gpl.txt
1
	GNU GENERAL PUBLIC LICENSE
2
	Version 2, June 1991
3

  
4
	 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
5

  
6
		Preamble
7

  
8
	The licenses for most software are designed to take away your freedom to share and change it.  By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.  This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it.  (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.)  You can apply it to your programs, too.
9

  
10
	When we speak of free software, we are referring to freedom, not price.  Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
11

  
12
	To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
13

  
14
	For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have.  You must make sure that they, too, receive or can get the source code.  And you must show them these terms so they know their
15
rights.
16

  
17
	We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
18

  
19
	Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software.  If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
20

  
21
	Finally, any free program is threatened constantly by software	patents.  We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary.  To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
22

  
23
	The precise terms and conditions for copying, distribution and modification follow.
24

  
25
				GNU GENERAL PUBLIC LICENSE
26
	TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
27

  
28
	0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License.  The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language.  (Hereinafter, translation is included without limitation in the term "modification".)  Each licensee is addressed as "you".
29

  
30
	Activities other than copying, distribution and modification are not covered by this License; they are outside its scope.  The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
31

  
32
1.	You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
33

  
34
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
35

  
36
2.	You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
37

  
38
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
39

  
40
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
41

  
42
c)	If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License.  (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
43

  
44
These requirements apply to the modified work as a whole.  If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works.  But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
45

  
46
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
47

  
48
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
49

  
50
3.	You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
51

  
52
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
53

  
54
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
55

  
56
c)	Accompany it with the information you received as to the offer to distribute corresponding source code.  (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
57

  
58
The source code for a work means the preferred form of the work for making modifications to it.  For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable.  However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
59

  
60
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
61

  
62
4.	You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License.  Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License.
63
However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
64

  
65
5.	You are not required to accept this License, since you have not signed it.  However, nothing else grants you permission to modify or distribute the Program or its derivative works.  These actions are prohibited by law if you do not accept this License.  Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
66

  
67
6.	Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions.  You may not impose any further restrictions on the recipients' exercise of the rights granted herein.
68
You are not responsible for enforcing compliance by third parties to this License.
69

  
70
7.	If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License.  If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all.  For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
71

  
72
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
73

  
74
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices.  Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
75

  
76
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
77

  
78
8.	If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded.  In such case, this License incorporates the limitation as if written in the body of this License.
79

  
80
9.	The Free Software Foundation may publish revised and/or new versions of the 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.
81

  
82
Each version is given a distinguishing version number.  If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation.  If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
83

  
84
10.	If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission.  For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this.  Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
85

  
86
NO WARRANTY
87

  
88
11.	BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
89

  
90
12.	IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
91

  
92
END OF TERMS AND CONDITIONS
93

  
94
How to Apply These Terms to Your New Programs
95

  
96
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
97

  
98
To do so, attach the following notices to the program.  It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
99

  
100
<one line to give the program's name and a brief idea of what it does.> Copyright (C) <year>  <name of author>
101

  
102
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
103

  
104
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
105

  
106
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
107

  
108

  
109
Also add information on how to contact you by electronic and paper mail.
110

  
111
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
112

  
113
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
114
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
115

  
116
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License.  Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
117

  
118
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary.  Here is a sample; alter the names:
119

  
120
Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.
121

  
122
<signature of Ty Coon>, 1 April 1989
123
Ty Coon, President of Vice
124

  
125
This General Public License does not permit incorporating your program into proprietary programs.  If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library.  If this is what you want to do, use the GNU Library General Public License instead of this License.
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/resources/userInputLang.xml_cze
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/build.xml
1
<project name="instalador-extJDBC" default="doit" basedir=".">
2
	
3
	<property name="output_dir" location="./export_installer"/>
4
	<property name="zip_output_dir" location="./pub"/>
5
	
6
	<property name="dir_inst" location="C:\Archivos de programa"/>
7
	<property name="base_dir" location="./"/>		
8
	<property name="dir_libs" location="C:\Archivos de programa\IzPack\lib"/>
9
	<property name="vers" location="1.1"/>
10
	<property name="izpack_dir" location="C:\Archivos de programa\IzPack"/>
11
	<property name="GVSIG_VERSION" value="1.1"/>
12
	
13
	<!--<buildnumber file="./../ospatial.number"/>-->
14
	<property name="JARNAME" value="gvSIGMobile_Export_Extension"/>
15
	<property name="zip-bin" value="gvSIGMobile_Export_Extension"/>
16

  
17
	<!--
18
	<property name="dir_inst" location="/usr/local"/>
19
	<property name="base_dir" location="./"/>		
20
	
21
	<property name="izpack_dir" location="../../IzPack"/>
22
	<property name="dir_libs" location="${izpack_dir}/lib"/>
23
	<property name="vers" value="0.6"/>
24
	<property name="JARNAME" value="arcims-0.6"/>
25
	<property name="GVSIG_VERSION" value="0.6"/>
26
	-->
27
	
28
	<taskdef name="izpack" classpath="${dir_libs}/compiler.jar" classname="com.izforge.izpack.ant.IzPackTask"/>
29
	
30
	<target name="doit">
31
		<izpack input="${base_dir}/install.xml" 
32
				output="${output_dir}/${JARNAME}" 
33
				installerType="standard" 
34
				basedir="${base_dir}" 
35
				izPackDir="${izpack_dir}/"/>
36
		
37
		<zip destfile="${zip_output_dir}/${zip-bin}.zip"
38
			basedir="${output_dir}" includes="**/**"/>
39
	</target>
40
	
41
	
42
</project>
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/export_installer/install.bat
1
java -jar gvSIGMobile_Export_Extension.jar
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/install/export_installer/install.sh
1
#!/bin/sh
2
java -jar oracle_spatial_driver.jar
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/text_fr.properties
1
Vista=View
2
exportMobile=Exporter vers gvSIG mobile...
3
exporMob=Exporter vers gvSIG mobile
4
direxport=Exporter vers
5
nomproy=Nom du Projet
6
acept=Executer
7
ok=OK
8
cancel=Annuler
9
open=Ouvrir
10
close=Fermer
11
export_done=Export r?alis? vers le dossier:
12
save=Sauvegarder
13
exe=Exe
14
type=Type
15
name=Nom
16
cut=Couper 
17
select=Selectionner 
18
allyr=Complet
19
layers=Layers
20
exp=Exporter
21
name=Nom
22
type=Type
23
atrbt=Atribut
24
alatrib=ATRB
25
combo=Actions
26
atriblayer= Layer Attributs
27
selall=Select Tous
28
dessel=Select Aucun
29
invertSet=Inverser 
30
actExtent=Importer la zone
31
nAtrib=Nom
32
tAtrib=Type
33
aAtrib=Alias
34
tLayer=Type
35
nLayer=Nom
36
batLayer=Atributs
37
comLayer=Exporter
38
viewA=Vue
39
exent=Etendue
40
lyrview=De la Vue
41
synchro=Synchroniser
42
exportando=Export en cours..
43
config=Configuration WMS
44
PluginServices.Procesando=Export des Layers en cours
45
initial_synchro=Est-ce la premi?re synchronisation
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/build_javi.xml
1
<project name="Generar extension en Andami" default="generate-without-source" basedir=".">
2
    <description>
3
        Instala el plugin de ejemplo en Andami.
4
    </description>
5
  <!-- set global properties for this build -->
6
  <property name="src" location="src"/>
7
  <property name="build" location="bin"/>
8
  <property name="dist"  location="dist"/>
9
  <property name="plugin" value="es.prodevelop.gvsig.exportMobile"/>
10
  <property name="extension-dir" location="C:/Archivos de programa/gvSIG_1.1final/bin/gvSIG/extensiones"/>
11
  <property name="install-tree-dir" location="C:/Archivos de programa/gvSIG_1.1final/bin/gvSIG/extensiones"/>
12

  
13
  <target name="init">
14
    <!-- Create the time stamp -->
15
    <tstamp/>
16
    <!-- Create the build directory structure used by compile -->
17
    <mkdir dir="${build}"/>
18
    <mkdir dir="${dist}"/>
19
  	<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
20
  	<buildnumber/> 
21
  	
22
  </target>
23

  
24
  <target name="generate-without-source" description="generate the distribution without the source file" >
25
    <!-- Create the distribution directory -->
26
    <mkdir dir="${dist}"/>
27

  
28
    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
29
    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/>
30
    <copy file="config/config.xml" todir="${dist}"/>
31
    <copy todir="${dist}">
32
    	<fileset dir="." includes="text*.properties"/>
33
    </copy>
34
    <copy todir="${dist}/images">
35
    	<fileset dir="images/" includes="*"/>
36
    </copy>
37
    <move todir="${extension-dir}/${plugin}/">
38
    	<fileset dir="${dist}" includes="**/**"/>
39
    </move>
40
  </target>
41
	
42
	  <target name="generate-install-tree-export-only" description="generate the install tree" >
43
	    <!-- Create the distribution directory -->
44
	    <mkdir dir="${dist}"/>
45

  
46
	    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
47
	    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/>
48
	    <copy file="config/config.xml" todir="${dist}"/>
49
	    <copy todir="${dist}">
50
	    	<fileset dir="." includes="text*.properties"/>
51
	    </copy>
52
	    <copy todir="${dist}/images">
53
	    	<fileset dir="images/" includes="*"/>
54
	    </copy>
55
	    <move todir="./install/bin/gvSIG/extensiones/${plugin}/">
56
	    	<fileset dir="${dist}" includes="**/**"/>
57
	    </move>
58
	  </target>
59
	
60
	<!--
61
	
62
	<target name="clean-install-tree-export-synchro">
63
		<delete>
64
			<fileset dir="./install/pub/">
65
			    <include name="*.zip"/>
66
			</fileset>
67
			<fileset dir="./install/export_installer/">
68
			    <include name="*.jar"/>
69
			</fileset>
70
		</delete>
71
		<delete dir="./install/bin" />
72
		<mkdir dir="./install/bin" />
73
		<mkdir dir="./install/bin/gvSIG" />
74
		<mkdir dir="./install/bin/gvSIG/extensiones" />
75
	</target>
76
	-->
77
	
78
</project>
79

  
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/src/es/prodevelop/gvsig/exportMobile/ui/order/OrderLayers.java
1
package es.prodevelop.gvsig.exportMobile.ui.order;
2

  
3
import java.util.ArrayList;
4

  
5
/**
6
 * Order a list layer
7
 * @author Anabel Moreno
8
 *
9
 */
10
public class OrderLayers {
11

  
12
	public OrderLayers() {
13

  
14
	}
15

  
16
	/**
17
	 * Get layer name and compare it with the others names, if this name is
18
	 * duplicate, rename it.
19
	 * 
20
	 * @param dimList
21
	 * @param array
22
	 */
23
	public void ordNotDuplicate(int dimList, ArrayList array) {
24

  
25
		if (dimList == 1) {
26
		} else {
27

  
28
			for (int i = 0; i < dimList; i++) {
29

  
30
				int cont = 1;
31

  
32
				/* get name object i */
33
				String namelayer = (String) array.get(i);
34

  
35
				if (cont == 1) {
36

  
37
					int sig = i + 1;
38
					for (int j = sig; j < dimList; j++) {
39

  
40
						/* get name object j */
41
						String nameComp = (String) array.get(j);
42

  
43
						/* compare names */
44
						if (namelayer.equals(nameComp)) {
45

  
46
							cont = cont + 1;
47
							nameComp = cont + nameComp;
48
							/* rename object j */
49
							array.set(j, nameComp);
50
						}
51
					}
52
				}
53
			}
54
		}
55
	}
56
}
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/src/es/prodevelop/gvsig/exportMobile/ui/order/OrderTOCArray.java
1
package es.prodevelop.gvsig.exportMobile.ui.order;
2

  
3
import java.util.ArrayList;
4

  
5
import com.iver.cit.gvsig.fmap.layers.FLayer;
6
import com.iver.cit.gvsig.fmap.layers.FLayers;
7

  
8
/**
9
 * Order the layers in TOC
10
 * @author Anabel Moreno
11
 *
12
 */
13
public class OrderTOCArray {
14

  
15
	/**
16
	 * 
17
	 * @param root
18
	 * @return
19
	 */
20
	public static ArrayList orderTree(FLayers root) {
21
		
22
		return null;
23

  
24
	}
25
}
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/src/es/prodevelop/gvsig/exportMobile/ui/order/LayerNamesComparator.java
1
package es.prodevelop.gvsig.exportMobile.ui.order;
2

  
3
import java.util.Comparator;
4

  
5
public class LayerNamesComparator implements Comparator {
6

  
7
	public  LayerNamesComparator() {}
8
	
9
	public int compare(Object arg0, Object arg1) {
10
		
11
		if ((arg0 instanceof FLayerWithNewName) && (arg0 instanceof FLayerWithNewName)) {
12
			
13
			FLayerWithNewName a0 = (FLayerWithNewName) arg0;
14
			FLayerWithNewName a1 = (FLayerWithNewName) arg1;
15
			return a0.getNewNameNoDiff().compareToIgnoreCase(a1.getNewNameNoDiff());
16
			
17
		} else {
18
			
19
			return arg0.toString().compareTo(arg1.toString());
20
			
21
		}
22
	}
23

  
24
}
tags/gvsig_topologia-0_1_0-1235/prototypes/mobile/desktop/extensions/extExportMobile/src/es/prodevelop/gvsig/exportMobile/ui/order/FLayerWithNewName.java
1
package es.prodevelop.gvsig.exportMobile.ui.order;
2

  
3
import java.util.ArrayList;
4
import java.util.Arrays;
5

  
6
import com.iver.cit.gvsig.fmap.layers.FLayer;
7
import com.iver.cit.gvsig.fmap.layers.FLayers;
8

  
9
public class FLayerWithNewName {
10
	
11
	private FLayer lyr = null;
12
	private String suffix = "";
13
	private String differencer = "";
14

  
15
	public FLayerWithNewName(FLayer l) {
16
		lyr = l;
17
		suffix = getSuffix(lyr);
18
	}
19
	
20
	public static String getSuffix(FLayer l) {
21

  
22
		String suff = "";
23
		FLayer item = l.getParentLayer();
24
		while ((item != null) && (item.getParentLayer() != null)) {
25
			suff = suff + "." + item.getName();
26
			item = item.getParentLayer();
27
		}
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff