Revision 38470

View differences:

tags/v2_0_0_Build_2049/extensions/extGazetteer/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/maven-v4_0_0.xsd">
6

  
7
	<modelVersion>4.0.0</modelVersion>
8
	<artifactId>org.gvsig.gazetteer.extension</artifactId>
9
	<packaging>jar</packaging>
10
	<version>2.0-SNAPSHOT</version>
11
	<name>Web Gazetteer Service client</name>
12
	<description>Web Gazetteer Service client (geographic names locating)</description>
13
	<parent>
14
		<groupId>org.gvsig</groupId>
15
		<artifactId>gvsig-base-extension-pom</artifactId>
16
		<version>2.0-SNAPSHOT</version>
17
	</parent>	
18
	<dependencies>
19
		<dependency>
20
			<groupId>org.gvsig</groupId>
21
			<artifactId>org.gvsig.gazetteer</artifactId>
22
			<version>2.0-SNAPSHOT</version>
23
            <scope>compile</scope>
24
		</dependency>
25
		<dependency>
26
			<groupId>org.gvsig</groupId>
27
			<artifactId>org.gvsig.catalog</artifactId>
28
            <scope>compile</scope>
29
		</dependency>
30
		<dependency>
31
			<groupId>org.gvsig</groupId>
32
			<artifactId>org.gvsig.andami</artifactId>
33
            <scope>compile</scope>
34
		</dependency>
35
		<dependency>
36
			<groupId>org.gvsig</groupId>
37
			<artifactId>org.gvsig.app</artifactId>
38
			<version>2.0-SNAPSHOT</version>
39
            <scope>compile</scope>
40
		</dependency>	
41
		<dependency>
42
			<groupId>org.gvsig</groupId>
43
			<artifactId>org.gvsig.projection</artifactId>
44
            <scope>compile</scope>
45
		</dependency>
46
        <dependency>
47
            <groupId>org.gvsig</groupId>
48
            <artifactId>org.gvsig.symbology.lib.api</artifactId>
49
            <scope>compile</scope>
50
        </dependency>   
51
        <dependency>
52
            <groupId>org.gvsig</groupId>
53
            <artifactId>org.gvsig.fmap.geometry</artifactId>
54
            <scope>compile</scope>
55
        </dependency>   
56
        <dependency>
57
            <groupId>org.gvsig</groupId>
58
            <artifactId>org.gvsig.fmap.mapcontext</artifactId>
59
            <scope>compile</scope>
60
        </dependency>   
61
        <dependency>
62
            <groupId>org.gvsig</groupId>
63
            <artifactId>org.gvsig.i18n</artifactId>
64
            <scope>compile</scope>
65
        </dependency>   
66
        <dependency>
67
            <groupId>org.gvsig</groupId>
68
            <artifactId>org.gvsig.utils</artifactId>
69
            <scope>compile</scope>
70
        </dependency>   
71
        <dependency>
72
            <groupId>org.gvsig</groupId>
73
            <artifactId>org.gvsig.tools.lib</artifactId>
74
            <scope>compile</scope>
75
        </dependency>   
76
        <dependency>
77
            <groupId>org.gvsig</groupId>
78
            <artifactId>org.gvsig.fmap.control</artifactId>
79
            <scope>compile</scope>
80
        </dependency>   
81
        <dependency>
82
            <groupId>org.gvsig</groupId>
83
            <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
84
            <scope>compile</scope>
85
        </dependency>
86
	</dependencies>
87
    <build>
88
		<sourceDirectory>src</sourceDirectory>
89
		<testSourceDirectory>src-test</testSourceDirectory>			
90
		<plugins>			
91
			<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
92
			<plugin>
93
				<groupId>org.apache.maven.plugins</groupId>
94
				<artifactId>maven-surefire-plugin</artifactId>
95
				<configuration>
96
					<skipTests>true</skipTests>
97
				</configuration>
98
			</plugin>
99
		</plugins>
100
	</build>
101
	<properties>
102
		<build-dir>${basedir}/../build</build-dir>
103
		<application-name>extGazetteer</application-name>
104
        <eclipse.project.name>extGazetteer</eclipse.project.name>
105
        <package.info.state>devel</package.info.state>
106
        <package.info.categories>OGC, Remote Services</package.info.categories>
107
	</properties>
108
</project>
0 109

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/.cvsignore
1
bin
0 2

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/distribution/distribution.xml
1
<assembly>
2
  <id>distribution</id>
3
  <formats>
4
    <format>dir</format>
5
  </formats>
6
  <fileSets>
7
    <fileSet>
8
      <directory>config</directory>
9
	  <outputDirectory>${extension.install.dir.name}</outputDirectory>
10
    </fileSet>    
11
	<fileSet>
12
      <directory>images</directory>
13
	  <outputDirectory>/${extension.install.dir.name}/images</outputDirectory>
14
    </fileSet>
15
  </fileSets>
16
    <files>
17
        <file>
18
            <source>package.info</source>
19
            <outputDirectory>${extension.install.dir.name}
20
            </outputDirectory>
21
        </file>
22
    </files>
23
  	<dependencySets>
24
  		<dependencySet>			
25
  			<outputDirectory>${extension.install.dir.name}/${library-dir}
26
        	</outputDirectory>
27
          	 <includes>
28
           		<include>org.gvsig:org.gvsig.gazetteer</include>
29
        		<include>org.gvsig:org.gvsig.gazetteer.extension</include>
30
        		<include>org.geonames:geonames:jar:java5</include>
31
        		<include>com.vividsolutions:jtsio</include>
32
        	</includes>
33
  		</dependencySet>  		
34
	</dependencySets>
35
</assembly>
36

  
0 37

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/buildNumber.properties
1
#maven.buildNumber.plugin properties file
2
#Mon Jun 25 11:22:45 CEST 2012
3
buildNumber=2050
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_eu.properties
1
#Translations for language [eu]
2
#Wed Mar 21 09:03:04 CET 2007
3
arcims_load=ArcIms kargatu
4
arcims_server_error=Errorea ArcIMS zerbitzarian
5
catalog_search=Geodatuak bilatzea
6
Error_accediendo_a_los_datos=Errorea datuak atzitzean
7
gazetteer_connect=Kokatu izenaren arabera
8
gazetteer_search=Kokatu izenaren arabera
9
layer=Geruza
10
link=Lotura
11
linkError=Errorea gertatu da lotura kargatzerakoan
12
linkLoad=Web baliabide bat kargatzea
13
loadWMS=WMS kargatzea
14
mantainold=Ezabatu aurreko bilaketak
15
metadata_catalog=Geodatuak bilatzea - Lotura
16
metadata_tree=Matadatuaren zuhaitza
17
parameters=Parametroak
18
pluginNotFound=Ez duzu luzapenik mota hauetako baliabideak kargatzeko
19
pluginNotFoundTitle=Geruzak kargatzea
20
postgisError=Errorea gertatu da datu-basea kargatzerakoan
21
postgisLoad=Postgis kargatzea
22
Recursos\ Disponibles=Baliabide erabilgarriak
23
search_results=Bilaketaren emaitzak
24
server=Zerbitzaria
25
wcsError=Errorea gertatu da estaldura kargatzerakoan
26
wcsLoad=WCS kargatzea
27
wfsError=Errorea gertatu da featurea kargatzerakoan
28
wfsLoad=WFS kargatzea
29
wmsError=Errorea gertatu da mapa kargatzerakoan
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_nl.properties
1
#Translations for language [nl]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=
6
Error_accediendo_a_los_datos=
7
gazetteer_connect=
8
gazetteer_search=
9
layer=
10
link=Link
11
linkError=
12
linkLoad=
13
loadWMS=
14
mantainold=
15
metadata_catalog=
16
metadata_tree=
17
parameters=
18
pluginNotFound=
19
pluginNotFoundTitle=
20
postgisError=
21
postgisLoad=
22
Recursos\ Disponibles=
23
search_results=
24
server=
25
wcsError=
26
wcsLoad=
27
wfsError=
28
wfsLoad=
29
wmsError=
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_pl.properties
1
#Translations for language [pl]
2
#Wed Apr 18 10:44:32 CEST 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=
6
Error_accediendo_a_los_datos=
7
gazetteer_connect=
8
gazetteer_search=
9
layer=Warstwa
10
link=\u0141\u0105cze
11
linkError=
12
linkLoad=
13
loadWMS=
14
mantainold=
15
metadata_catalog=
16
metadata_tree=
17
parameters=Parametry
18
pluginNotFound=
19
pluginNotFoundTitle=
20
postgisError=
21
postgisLoad=
22
Recursos\ Disponibles=
23
search_results=
24
server=Serwer
25
wcsError=
26
wcsLoad=
27
wfsError=
28
wfsLoad=
29
wmsError=
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_it.properties
1
#Translations for language [it]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=Caricamento ArcIMS
4
arcims_server_error=Errore del server ArcIMS
5
catalog_search=Ricerca dei geodati
6
Error_accediendo_a_los_datos=Errore accedendo ai dati
7
gazetteer_connect=Cerca per toponimi
8
gazetteer_search=Cerca per toponimi
9
layer=Layer
10
link=Collegamento
11
linkError=Errore nel caricare il Link
12
linkLoad=Caricamento di una pagina web
13
loadWMS=Caricamento di WMS
14
mantainold=Elimina le ricerche precedenti
15
metadata_catalog=Ricerca di Geodati - Connessione
16
metadata_tree=Albero di Metadati
17
parameters=Parametri
18
pluginNotFound=Non trovo nessuna estensione per caricare questo tipo di risorsa
19
pluginNotFoundTitle=Caricamento di layers
20
postgisError=Errore nel caricare il database
21
postgisLoad=Caricamento Postgis
22
Recursos\ Disponibles=Risorse disponibili
23
search_results=Risultati della ricerca
24
server=Server
25
wcsError=Errore nel caricare la copertura
26
wcsLoad=Caricamento di WCS
27
wfsError=Errore nel caricare la FEATURE
28
wfsLoad=Caricamento di WFS
29
wmsError=Errore nel caricare la mappa
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text.properties
1
#Translations for language [es]
2
#Tue Mar 13 13:27:33 CET 2007
3
abstract=Resumen
4
addLayer=A\u00f1adir capa
5
allWords=Todas las palabras
6
anyResult=La b\u00fasqueda no ha producido ning\u00fan resultado
7
anyWord=Cualquier palabra
8
arcims_image_resource=Imagen ArcIMS
9
arcims_load=Carga de ArcIms
10
arcims_server_error=Error en el servidor ArcIMS
11
arcims_vect_resource=Feature ArcIMS
12
aspect=Configuraci\u00f3n de aspecto
13
attributes=Atributos
14
BRX=BRX\:
15
BRY=BRY\:
16
cancelSearchButton=Cancelar
17
catalog_search=B\u00fasqueda de geodatos
18
cathegory=categor\u00eda
19
cathegoryAny=Cualquiera
20
cathegoryBiota=Biota
21
cathegoryBoundaries=L\u00edmites
22
cathegoryClimatologyMeteorologyAtmosphere=Atmosfera climatol\u00f3gica y meteorol\u00f3gica
23
cathegoryEconomy=Econom\u00eda
24
cathegoryElevation=Elevaci\u00f3n
25
cathegoryEnvironment=Medio ambiente
26
cathegoryFarming=Agricultura
27
cathegoryGeoscientificInformation=Informaci\u00f3n geocient\u00edfica
28
cathegoryHealth=Salud
29
cathegoryImageryBaseMapsEarthCover=Cobertura de la tierra con mapas
30
cathegoryInlandWaters=Aguas interiores
31
cathegoryIntelligenceMilitary=Inteligencia militar
32
cathegoryLocation=Localizaci\u00f3n
33
cathegoryOceans=Oceanos
34
cathegoryPlanningCadastre=Planeamiento catastral
35
cathegorySociety=Sociedad
36
cathegoryStructure=Estructuras
37
cathegoryTransportation=Transporte
38
cathegoryUtilitiesCommunication=Comunicaci\u00f3n y utilidades
39
chooseAttribute=Elige un atributo para hacer la b\u00fasqueda
40
close=Cerrar
41
concordancia=Concordancia
42
connectButton=Conectar
43
coordinates=Coordenadas
44
coordinatesContains=contiene
45
coordinatesEnclose=incluye
46
coordinatesEqual=igual
47
coordinatesFullyOutsideOf=est\u00e1 totalmente fuera de
48
database=Nombre de la base de datos
49
description=Descripci\u00f3n
50
downloadColumn=Descarga
51
Error_accediendo_a_los_datos=Error accediendo a los datos
52
elementName=ElementName
53
errorFENotSupported=De momento s\u00f3lo se pueden hacer consultas usando la codificaci\u00f3n FILTER ENCODING que no est\u00e1 soportada por el servidor
54
errorGetRecords=Se ha producido un error al intentar obtener los registros (getRecords)
55
errorIsASRWServer=Es un servidor SRW\!
56
errorNotCSWSupportedProtocol=Se ha encontrado el servidor, pero no soporta el protocolo CS-W
57
errorNotParsedReply=Error al parsear la respuesta. Se ha encontrado el servidor, pero posiblemente no soporta el protocolo especificado
58
errorNotSupportedCapabilities=Error al hacer un GetCapabilities.Esto puede ser debido a dos razones\: O bien ha habido un error al intentar hacer la operaci\u00f3n, o bien el servidor no soporta el protocolo especificado
59
errorNotSupportedProtocol=El servidor no soporta el protocolo especificado
60
errorNotThesaurusSelected=El protocolo WFS no permite hacer b\u00fasquedas si no se elige un elemento del tesauro
61
errorServerException=El servidor ha devuelto una excepci\u00f3n
62
errorServerNotFound=No se encuentra el servidor
63
errorSOAPProtocol=Error en el protocolo SOAP
64
exactSentence=Frase exacta
65
from=Desde
66
gazetteer_connect=Localizar por Nomencl\u00e1tor
67
gazetteer_search=Localizar por Nomencl\u00e1tor
68
goto=Hacer un zoom a la b\u00fasqueda
69
inteligentSearch=B\u00fasqueda inteligente
70
inteligentSearchAscii=Todas las formas de la palabra
71
keyWords=Palabras clave
72
last=Anterior
73
lastUpdateDate=Fecha de \u00faltima actualizaci\u00f3n
74
layer=Capa
75
link=Enlace
76
linkColumn=P\u00e1gina Web
77
linkError=Ha ocurrido un error al cargar el enlace
78
linkLoad=Carga de un recurso web
79
loadWMS=Carga de WMS
80
localize=Localizar
81
lowerCoordinates=Inferiores
82
mantainold=Eliminar las busquedas anteriores
83
metadata_catalog=B\u00fasqueda de Geodatos - Conexi\u00f3n
84
metadata_tree=\u00c1rbol del Metadato
85
name=Nombre
86
next=Siguiente
87
of=de
88
page=P\u00e1gina
89
paint=Dibujar el resultado
90
parameters=Par\u00e1metros
91
pluginNotFound=No tienes ninguna extensi\u00f3n para cargar recursos de este tipo
92
pluginNotFoundTitle=Carga de capas
93
postgisColumn=Postgis
94
postgisError=Ha ocurrido un error al cargar la base de datos
95
postgisLoad=Carga de Postgis
96
propertiesNameWindow=Ventana de propiedades
97
protocolsGroup=Protocolos
98
provider=Proveedor
99
purpose=Prop\u00f3sito
100
Recursos\ Disponibles=Recursos Disponibles
101
reproyectar_aviso=La proyecci\u00f3n de la capa no es igual que la de la vista.\nAVISO\: Puede ser inexacto con algunas transformaciones.\nPor favor, lea la documentaci\u00f3n.
102
reproyectar_pregunta=\u00bfDesea reproyectar?
103
resourceLinkColumn=Enlace
104
resourceShowColumn=Ver
105
resourceTypeColumn=Tipo
106
restrictArea=Restringir el area de b\u00fasqueda
107
results=Resultados
108
resutsByPage=Resultados por p\u00e1gina
109
return=Volver
110
rootName=Ra\u00edz
111
scale=Escalar
112
scaleAny=cualquiera
113
scaleI=>1.000.000
114
scaleII=1.000.000 - 250.000
115
scaleIII=250.000 - 50.000
116
scaleIV=50.000 - 10.000
117
scaleV=10.000 - 5000
118
scaleVI=<5.000
119
search_results=Resultados de la b\u00fasqueda
120
searchButton=Buscar
121
server=Servidor
122
serverReply=Respuesta del servidor
123
serverURL=Introduzca la direcci\u00f3n donde se encuentra el servidor de cat\u00e1logo
124
serverURLCat=Introduzca la direcci\u00f3n donde se encuentra el servidor de nomencl\u00e1tor
125
title=T\u00edtulo
126
to=Hasta
127
type=Tipo
128
ULX=ULX\:
129
ULY=ULY\:
130
unknown=Desconocido
131
upperCoordinates=Superiores
132
value=Valor
133
version=Versi\u00f3n
134
wcsColumn=Cobertura
135
wcsError=Ha ocurrido un error al cargar la cobertura
136
wcsLoad=Carga de WCS
137
wfsColumn=Feature
138
wfsError=Ha ocurrido un error al cargar la feature
139
wfsLoad=Carga de WFS
140
wmsColumn=Mapa
141
wmsError=Ha ocurrido un error al cargar el mapa
0 142

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_ro.properties
1
#Translations for language [ro]
2
#Thu Mar 01 10:01:15 CET 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=
6
Error_accediendo_a_los_datos=
7
gazetteer_connect=
8
gazetteer_search=
9
layer=invelis
10
link=Legatura
11
linkError=
12
linkLoad=
13
loadWMS=
14
mantainold=
15
metadata_catalog=
16
metadata_tree=
17
parameters=Parametri
18
pluginNotFound=
19
pluginNotFoundTitle=
20
postgisError=
21
postgisLoad=
22
Recursos\ Disponibles=
23
search_results=
24
server=Server
25
wcsError=
26
wcsLoad=
27
wfsError=
28
wfsLoad=
29
wmsError=
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_zh.properties
1
#Translations for language [zh]
2
#Mon Feb 26 16:06:24 CET 2007
3
abstract=\u7b80\u4ecb
4
addLayer=\u6dfb\u52a0\u56fe\u5c42
5
allWords=\u6240\u6709\u6587\u5b57
6
anyResult=\u65e0\u6cd5\u627e\u5230\u60a8\u6240\u9700\u8981\u7684\u7ed3\u679c
7
anyWord=\u4efb\u4f55\u6587\u5b57
8
arcims_image_resource=ArcIMS \u56fe\u7247
9
arcims_load=\u8f7d\u5165 ArcIMS
10
arcims_server_error=ArcIMS \u670d\u52a1\u5668\u51fa\u9519
11
arcims_vect_resource=ArcIMS \u7279\u6027
12
aspect=\u5916\u89c2\u8bbe\u7f6e
13
attributes=\u7279\u6027
14
BRX=BRX\:
15
BRY=BRY\:
16
cancelSearchButton=\u53d6\u6d88
17
catalog_search=Geodata \u641c\u7d22
18
cathegory=\u7c7b\u522b
19
cathegoryAny=\u4efb\u4f55
20
cathegoryBiota=\u751f\u7269
21
cathegoryBoundaries=\u754c\u7ebf
22
cathegoryClimatologyMeteorologyAtmosphere=\u5927\u6c14\u6c14\u5019\u4e0e\u6c14\u8c61
23
cathegoryEconomy=\u7ecf\u6d4e\u5b66
24
cathegoryElevation=\u63d0\u9ad8
25
cathegoryEnvironment=\u73af\u5883
26
cathegoryFarming=\u519c\u4e1a
27
cathegoryGeoscientificInformation=\u5730\u7406\u79d1\u5b66\u4fe1\u606f
28
cathegoryHealth=\u5065\u5eb7
29
cathegoryImageryBaseMapsEarthCover=\u57fa\u4e8e\u5730\u56fe\u7684\u5730\u7403\u5c01\u9762
30
cathegoryInlandWaters=\u6e2f\u5185\u6c34\u57df
31
cathegoryIntelligenceMilitary=\u519b\u4e8b\u60c5\u62a5
32
cathegoryLocation=\u672c\u5730\u5316
33
cathegoryOceans=\u6d77\u6d0b
34
cathegoryPlanningCadastre=\u89c4\u5212\u5730\u7c4d
35
cathegorySociety=\u793e\u4f1a
36
cathegoryStructure=\u7ed3\u6784
37
cathegoryTransportation=\u8fd0\u8f93
38
cathegoryUtilitiesCommunication=\u516c\u7528\u901a\u4fe1
39
chooseAttribute=\u5728\u641c\u7d22\u4e4b\u524d\u5148\u9009\u5b9a\u4e00\u79cd\u7279\u6027
40
close=\u5173\u95ed
41
concordancia=\u63a5\u53d7
42
connectButton=\u8fde\u63a5
43
coordinates=\u5750\u6807
44
coordinatesContains=\u5305\u542b
45
coordinatesEnclose=\u5305\u62ec
46
coordinatesEqual=\u4e00\u81f4
47
coordinatesFullyOutsideOf=\u5b8c\u5168\u5728...\u4e4b\u5916
48
database=\u6570\u636e\u5e93\u540d\u79f0
49
description=\u63cf\u8ff0
50
downloadColumn=\u4e0b\u8f7d
51
Error_accediendo_a_los_datos=\u8bfb\u53d6\u6570\u636e\u65f6\u51fa\u9519
52
errorFENotSupported=gvSIG \u53ea\u652f\u6301 FILTER ENCODING \u7f16\u7801\u67e5\u8be2
53
errorGetRecords=\u8fd0\u884c getRecords \u65f6\u51fa\u9519
54
errorIsASRWServer=\u8fd9\u662f SRW \u670d\u52a1\u5668\!
55
errorNotCSWSupportedProtocol=\u670d\u52a1\u5668\u5df2\u53d1\u73b0\uff0c\u4f46\u662f\u5b83\u4e0d\u652f\u6301 CSW \u534f\u8bae
56
errorNotParsedReply=\u89e3\u6790\u7b54\u6848\u65f6\u51fa\u9519\u3002\u670d\u52a1\u5668\u5df2\u53d1\u73b0\uff0c\u4f46\u662f\u6709\u53ef\u80fd\u4e0d\u652f\u6301\u6307\u5b9a\u534f\u8bae
57
errorNotSupportedCapabilities=\u8fd0\u884c GetCapabilities \u65f6\u51fa\u9519\u3002\u53ef\u80fd\u662f\u56e0\u4e3a\u8fd9\u4e24\u79cd\u539f\u56e0\: \u6216\u662f\u5728\u8fd0\u884c\u65f6\u53d1\u751f\u9519\u8bef\u6216\u8005\u662f\u670d\u52a1\u5668\u4e0d\u652f\u6301\u6307\u5b9a\u534f\u8bae
58
errorNotSupportedProtocol=\u670d\u52a1\u5668\u4e0d\u652f\u6301\u6307\u5b9a\u534f\u8bae
59
errorNotThesaurusSelected=WFS \u534f\u8bae\u65e0\u6cd5\u5de5\u4f5c\u5982\u679c\u60a8\u6ca1\u6709\u9009\u5b9a\u8bcd\u5e93\u3002
60
errorServerException=\u670d\u52a1\u5668\u5df2\u8fd4\u56de\u4f8b\u5916
61
errorServerNotFound=\u670d\u52a1\u5668\u4e0d\u5b58\u5728
62
errorSOAPProtocol=SOAP \u534f\u8bae\u51fa\u9519
63
exactSentence=\u5b8c\u6574\u5b57\u53e5
64
from=\u6765\u81ea
65
gazetteer_connect=\u6839\u636e\u5730\u540d\u5b9a\u4f4d
66
gazetteer_search=\u6839\u636e\u5730\u540d\u5b9a\u4f4d
67
goto=\u7f29\u653e\u641c\u5bfb\u533a\u57df
68
inteligentSearch=\u667a\u80fd\u641c\u7d22
69
inteligentSearchAscii=\u6240\u6709\u8bcd\u8868
70
keyWords=\u5173\u952e\u5b57
71
last=\u4e0a\u6b21
72
lastUpdateDate=\u4e0a\u6b21\u66f4\u65b0
73
layer=\u56fe\u5c42
74
link=\u94fe\u63a5
75
linkColumn=\u7f51\u7ad9
76
linkError=\u8f7d\u5165\u94fe\u63a5\u65f6\u51fa\u9519
77
linkLoad=\u8f7d\u5165\u7f51\u9875\u8d44\u6e90
78
loadWMS=\u8f7d\u5165WMS 
79
localize=\u5b9a\u4f4d
80
lowerCoordinates=\u4e0b
81
mantainold=\u5220\u9664\u65e7\u641c\u7d22
82
metadata_catalog=Geodata \u641c\u7d22 - \u8fde\u63a5
83
metadata_tree=\u5143\u6570\u636e\u56fe\u8868
84
name=\u540d\u79f0
85
next=\u7ee7\u7eed
86
of=\u7684
87
page=\u9875
88
paint=\u63cf\u5199\u7ed3\u679c
89
parameters=\u53c2\u6570
90
pluginNotFound=\u6ca1\u6709\u6269\u5c55\u53ef\u8f7d\u5165\u6b64\u7c7b\u8d44\u6e90
91
pluginNotFoundTitle=\u8f7d\u5165\u56fe\u5c42
92
postgisColumn=PostGIS
93
postgisError=\u8f7d\u5165\u6570\u636e\u5e93\u65f6\u51fa\u9519
94
postgisLoad=\u8f7d\u5165 PostGIS
95
protocolsGroup=\u534f\u8bae
96
provider=\u4f9b\u5e94\u8005
97
purpose=\u76ee\u7684
98
Recursos\ Disponibles=\u53ef\u7528\u8d44\u6e90
99
reproyectar_aviso=\u56fe\u5c42\u6295\u5f71\u8ddf\u89c6\u56fe\u6295\u5f71\u4e0d\u4e00\u81f4\u3002\n\u6ce8\u610f\: \u5c06\u4f1a\u4e0d\u7cbe\u786e\u5730\u8fd0\u884c\u4e00\u4e9b\u8f6c\u6362\u3002\n\u8bf7\u9605\u8bfb\u8bf4\u660e\u3002
100
reproyectar_pregunta=\u60a8\u8981\u91cd\u65b0\u6295\u5f71\u5417?
101
resourceLinkColumn=\u94fe\u63a5
102
resourceShowColumn=\u663e\u793a
103
resourceTypeColumn=\u7c7b\u578b
104
restrictArea=\u9650\u5236\u641c\u7d22\u8303\u56f4
105
results=\u7ed3\u679c
106
resutsByPage=\u6bcf\u9875\u7684\u7ed3\u679c\u6761\u6570
107
return=\u8fd4\u56de
108
rootName=\u6839\u76ee\u5f55
109
scale=\u6bd4\u4f8b
110
scaleAny=\u4efb\u4f55
111
scaleI=>1.000.000
112
scaleII=1.000.000 - 250.000
113
scaleIII=250.000 - 50.000
114
scaleIV=50.000 - 10.000
115
scaleV=10.000 - 5000
116
scaleVI=<5.000
117
search_results=\u641c\u7d22\u7ed3\u679c
118
searchButton=\u641c\u7d22
119
server=\u670d\u52a1\u5668
120
serverReply=\u670d\u52a1\u5668\u7684\u7b54\u6848
121
serverURL=\u8bf7\u8f93\u5165\u76ee\u5f55\u670d\u52a1\u5668\u5730\u5740
122
serverURLCat=\u8bf7\u8f93\u5165\u5730\u540d\u670d\u52a1\u5668\u5730\u5740
123
title=\u6807\u9898
124
to=\u5230
125
type=\u7c7b\u578b
126
ULX=ULX\:
127
ULY=ULY\:
128
unknown=\u672a\u77e5
129
upperCoordinates=\u4e0a
130
value=\u6570\u636e
131
version=\u7248\u672c
132
wcsColumn=\u4fdd\u9669
133
wcsError=\u8f7d\u5165\u4fdd\u9669\u65f6\u51fa\u9519
134
wcsLoad=\u8f7d\u5165WCS
135
wfsColumn=\u7279\u6027
136
wfsError=\u8f7d\u5165\u7279\u6027\u65f6\u51fa\u9519
137
wfsLoad=\u8f7d\u5165WFS
138
wmsColumn=\u5730\u56fe
139
wmsError=\u8f7d\u5165\u5730\u56fe\u65f6\u51fa\u9519
0 140

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_ca.properties
1
#Translations for language [ca]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=C\u00e0rrega d'ArcIms
4
arcims_server_error=Error en el servidor ArcIMS
5
catalog_search=Recerca de geodades
6
Error_accediendo_a_los_datos=Error accedint a les dades
7
gazetteer_connect=Localitza per nomencl\u00e0tor
8
gazetteer_search=Localitza per nomencl\u00e0tor
9
layer=Capa
10
link=Enlla\u00e7
11
linkError=S'ha produ\u00eft un error en carregar l'enlla\u00e7
12
linkLoad=C\u00e0rrega d'un recurs web
13
loadWMS=C\u00e0rrega de WMS
14
mantainold=Elimina les recerques anteriors
15
metadata_catalog=Recerca de geodades - connexi\u00f3
16
metadata_tree=Arbre de la metadada
17
parameters=Par\u00e0metres
18
pluginNotFound=No tens cap extensi\u00f3 per a carregar recursos d'este tipus
19
pluginNotFoundTitle=C\u00e0rrega de capes
20
postgisError=S'ha produ\u00eft un error en carregar la base de dades
21
postgisLoad=C\u00e0rrega de Postgis
22
Recursos\ Disponibles=Recursos disponibles
23
search_results=Resultats de la recerca
24
server=Servidor
25
wcsError=S'ha produ\u00eft un error en carregar la cobertura
26
wcsLoad=C\u00e0rrega de WCS
27
wfsError=S'ha produ\u00eft un error en carregar la caracter\u00edstica
28
wfsLoad=C\u00e0rrega de WFS
29
wmsError=S'ha produ\u00eft un error en carregar el mapa
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_pt.properties
1
#Translations for language [pt]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=Pesquisa de geodados
6
Error_accediendo_a_los_datos=Erro ao aceder aos dados
7
gazetteer_connect=Localizar por "Nomencl\u00e1tor"
8
gazetteer_search=Localizar por "Nomencl\u00e1tor"
9
layer=Capa
10
link=Hiperliga\u00e7\u00e3o
11
linkError=Erro ao carregar a hiperliga\u00e7\u00e3o
12
linkLoad=Carga de um recurso web
13
loadWMS=Carga de WMS
14
mantainold=Eliminar as pesquisas anteriores
15
metadata_catalog=Pesquisa de geodados - Conex\u00e3o
16
metadata_tree=\u00c1rvore de metadados
17
parameters=Par\u00e2metros
18
pluginNotFound=N\u00e3o tens nenhuma extens\u00e3o para carregar recursos de este tipo
19
pluginNotFoundTitle=Carga de capas
20
postgisError=Erro ao carregar a base de dados
21
postgisLoad=Carga de PostGIS
22
Recursos\ Disponibles=
23
search_results=Resultados da pesquisa
24
server=Servidor
25
wcsError=Erro ao carregar a cobertura
26
wcsLoad=Carga de WCS
27
wfsError=Erro ao carregar a capa
28
wfsLoad=Carga de WFS
29
wmsError=Erro ao carregar o mapa
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_de.properties
1
#Translations for language [de]
2
#Wed Oct 08 17:44:19 CEST 2008
3
arcims_load=L\u00e4dt ArcIMS
4
arcims_server_error=ArcIMS Server-Fehler
5
Catalog=
6
catalog_search=Suche nach Geodaten
7
Catalogo=
8
Error_accediendo_a_los_datos=Fehler beim Datenzugriff
9
gazetteer_connect=Lokalisierung \u00fcber Namensverzeichnis
10
gazetteer_search=Suche \u00fcber Namensverzeichnis
11
layer=Layer
12
link=Link
13
linkError=Fehler beim Laden der Netzwerkressource
14
linkLoad=Netzwerkressource laden
15
loadWMS=WMS laden
16
mantainold=Vorherige Suchanfragen l\u00f6schen
17
metadata_catalog=Suche nach Geodaten - Verbindung
18
metadata_tree=Metadatenbaum
19
parameters=Parameter
20
pluginNotFound=Es fehlt die n\u00f6tige Erweiterung f\u00fcr das Laden dieser Ressource.
21
pluginNotFoundTitle=Layer laden
22
postgisError=Fehler beim Laden der PostGIS-Datenbank
23
postgisLoad=PostGIS laden
24
propertiesNameWindow=Eigenschaftsfenster
25
Recursos\ Disponibles=Verf\u00fcgbare Ressourcen
26
search_results=Suchergebnisse
27
server=Server
28
wcsError=Fehler beim Laden der Coverage
29
wcsLoad=WCS laden
30
wfsError=Fehler beim Laden des Features
31
wfsLoad=WFS laden
32
wmsError=Fehler beim Laden der Karte
0 33

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/about.htm
1
<html>
2
  <head>
3
    <title>Extesi&oacute;n de Cat&aacute;logo y Nomencl&aacute;tor.</title>
4
    <meta content="">
5
    <style></style>
6
  </head>
7
  <body>
8
<table width="60%" border="0">
9
  <tr>
10
    <td width="64%"><img src="images/logo_horiz_bicolor_gva.png" width="329" height="50"></td>
11
    <td width="36%"><div align="right"><img src="images/logoIver.png" width="87" height="50"></div></td>
12
  </tr>
13
  <tr>
14
    <td colspan="2"><font face="Arial, Helvetica, sans-serif">&copy; Copyright
15
      Generalitat Valenciana, IVER T.I. 2007.</font></td>
16
  </tr>
17
</table>
18
  <h3>Extesi&oacute;n de Cat&aacute;logo y Nomencl&aacute;tor.</h3>
19
  <p><br><br><b> Build Number: #build.number.original#.#build.number#</b></p>
20
  </body>
21
</html>
0 22

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_en.properties
1
#Translations for language [en]
2
#Mon Feb 26 16:06:24 CET 2007
3
abstract=Abstract
4
addLayer=Add Layer
5
allWords=Every word
6
anyResult=The search hasn't retrieve any result
7
anyWord=Any word
8
arcims_load=Loading ArcIms
9
arcims_server_error=ArcIMS server error
10
aspect=Aspect setup
11
attributes=Attributes
12
BRX=BRX\:
13
BRY=BRY\:
14
cancelSearchButton=Cancel
15
catalog_search=Geodata search
16
cathegory=Cathegory
17
cathegoryAny=Any
18
cathegoryBiota=Biota
19
cathegoryBoundaries=Boundaries
20
cathegoryClimatologyMeteorologyAtmosphere=Climatology meteorology and atmosphere
21
cathegoryEconomy=Economy
22
cathegoryElevation=Elevation
23
cathegoryEnvironment=Environment
24
cathegoryFarming=Farming
25
cathegoryGeoscientificInformation=Geoscientific information
26
cathegoryHealth=Health
27
cathegoryImageryBaseMapsEarthCover=Imagery base maps earth cover
28
cathegoryInlandWaters=Insland waters
29
cathegoryIntelligenceMilitary=Intelligence military
30
cathegoryLocation=Location
31
cathegoryOceans=Oceans
32
cathegoryPlanningCadastre=Planning cadastre
33
cathegorySociety=Society
34
cathegoryStructure=Structure
35
cathegoryTransportation=Transportation
36
cathegoryUtilitiesCommunication=Utilities and communication
37
chooseAttribute=Choose one attribute to do the search
38
close=Close
39
concordancia=Agreement
40
connectButton=Connect
41
coordinates=Coordinates
42
coordinatesContains=contain
43
coordinatesEnclose=enclose
44
coordinatesEqual=equal
45
coordinatesFullyOutsideOf=is fully outside of
46
database=Database name
47
description=Description
48
downloadColumn=Download
49
Error_accediendo_a_los_datos=Error getting data
50
elementName=ElementName
51
errorFENotSupported=gvSIG only supports the Filter Encoding Language to do Querys
52
errorGetRecords=Error with the getRecords operation
53
errorIsASRWServer=It is a SRW server\!
54
errorNotCSWSupportedProtocol=Server found, but it doesn't support the CSW protocol
55
errorNotParsedReply=Error parsing the reply. The server has been found, but is possible it doesn't support the specified protocol
56
errorNotSupportedCapabilities=GetCapabilities error. This error could has two reasons\: Either an error doing the operation has happened or the server doesn't support the specified protocol
57
errorNotSupportedProtocol=The server doesn't support the specified protocol
58
errorNotThesaurusSelected=The WFS protocol can't work if you dont select a thesaurus element
59
errorServerException=Server exception returned
60
errorServerNotFound=The server doesn't exist
61
errorSOAPProtocol=SOAP error
62
exactSentence=Exact sentence
63
from=From
64
gazetteer_connect=Finding by Gazetteer
65
gazetteer_search=Finding by Gazetteer
66
goto=Go to the place
67
inteligentSearch=Intelligent search
68
inteligentSearchAscii=All word forms
69
keyWords=KeyWords
70
last=Last
71
lastUpdateDate=Last update
72
layer=Layer
73
link=Link
74
linkColumn=Web Site
75
linkError=Link loading error
76
linkLoad=Web service load
77
loadWMS=WMS load
78
localize=Localize
79
lowerCoordinates=Lower
80
mantainold=Remove old searches
81
metadata_catalog=Geodata Search - Connection
82
metadata_tree=Metadata Tree
83
name=Name
84
next=Next
85
of=of
86
page=Page
87
paint=Draw result
88
parameters=Parameters
89
pluginNotFound=You don't have any extensions to load this type of resources
90
pluginNotFoundTitle=Loading Layers
91
postgisColumn=Postgis
92
postgisError=Database loading error
93
postgisLoad=Postgis load
94
propertiesNameWindow=Window properties
95
protocolsGroup=Protocols
96
provider=Provider
97
purpose=Purpose
98
Recursos\ Disponibles=Available Resources
99
reproyectar_aviso=The layer projection is not the same as the views projection.\nATENTION\: It can be unaccurate with some transformations.\nPlease read docs
100
reproyectar_pregunta=Do you want to reproject?
101
resourceLinkColumn=Link
102
resourceShowColumn=Show
103
resourceTypeColumn=Type
104
restrictArea=Restrict search area
105
results=Results
106
resutsByPage=Results per page
107
rootName=Root
108
scale=Scale
109
scaleAny=any
110
scaleI=>1.000.000
111
scaleII=1.000.000 - 250.000
112
scaleIII=250.000 - 50.000
113
scaleIV=50.000 - 10.000
114
scaleV=10.000 - 5000
115
scaleVI=<5.000
116
search_results=Search results
117
searchButton=Search
118
server=Server
119
serverReply=Server Answer
120
serverURL=Fill the catalog server address
121
serverURLCat=Fill the gazetteer server address
122
title=Title
123
to=To
124
type=Type
125
ULX=ULX\:
126
ULY=ULY\:
127
unknown=Unknown
128
upperCoordinates=Upper
129
value=Value
130
version=Version
131
wcsColumn=Coverage
132
wcsError=Cover loading error
133
wcsLoad=WCS load
134
wfsColumn=Feature
135
wfsError=feature loading error
136
wfsLoad=WFS load
137
wmsColumn=Map
138
wmsError=Map loading error
0 139

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_gl.properties
1
#Translations for language [gl]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=Carga de ArcIms
4
arcims_server_error=Erro no servidor ArcIMS
5
catalog_search=B\u00fasqueda de xeodatos
6
Error_accediendo_a_los_datos=Erro de acceso aos datos
7
gazetteer_connect=Localizar polo Nomencl\u00e1tor
8
gazetteer_search=Localizar polo Nomencl\u00e1tor
9
layer=Capa
10
link=Ligazon
11
linkError=Ocorreu un erro ao cargar a ligaz\u00f3n
12
linkLoad=Carga dun recurso web
13
loadWMS=Carga de WMS
14
mantainold=Elimina-las b\u00fasquedas anteriores
15
metadata_catalog=B\u00fasqueda de Xeodatos - Conexi\u00f3n
16
metadata_tree=\u00c1rbore de Metadato
17
parameters=Par\u00e1metros
18
pluginNotFound=Non t\u00e9s ningunha extensi\u00f3n para cargar recursos deste tipo
19
pluginNotFoundTitle=Carga de capas
20
postgisError=Ocorr\u00e9u un erro ao cargar a base de datos
21
postgisLoad=Carga de Postgis
22
Recursos\ Disponibles=Recursos Dispo\u00f1\u00edbeis
23
search_results=Resultados da b\u00fasqueda
24
server=Servidor
25
wcsError=Ocorr\u00e9u un erro ao cargar a cobertura
26
wcsLoad=Carga de WCS
27
wfsError=Ocorr\u00e9u un erro ao cargar a feature (entidade)
28
wfsLoad=Carga de WFS
29
wmsError=Ocorr\u00e9u un erro ao cargar o mapa
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="org.gvsig.app"/>
4
	<depends plugin-name="org.gvsig.catalog.extension"/>
5
	<depends plugin-name="org.gvsig.gpe.extension"/>
6
	<libraries library-dir="lib"/>
7
	<resourceBundle name="text"/>
8
	<extensions>		
9
		<extension class-name="org.gvsig.gazetteer.GazetteerExtension"
10
			description="Gazetteer extension" 
11
			active="true" 
12
			priority="3">
13
			<tool-bar name="Catalogo">
14
				<action-tool icon="gazetteer-search" 
15
					tooltip="gazetteer_search"
16
					action-command="GAZETTEER"
17
					position="2"
18
				/>
19
			</tool-bar>
20
		</extension>
21
		<extension class-name="org.gvsig.gazetteer.DeleteSearchesExtension"
22
			description="Tool to remove the previous gazetteer searches" 
23
			active="true" 
24
			priority="2">
25
			<tool-bar name="Catalogo">
26
				<action-tool icon="catalog-clear-point" 
27
					tooltip="mantainold"
28
					action-command="DELETE"
29
					position="3"
30
					name="delete"/>
31
			</tool-bar>
32
		</extension>
33
	</extensions>
34
</plugin-config>
0 35

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_cs.properties
1
#Translations for language [cs]
2
#Thu Mar 29 16:48:47 CEST 2007
3
arcims_load=Na\u010d\u00edt\u00e1m ArcIms
4
arcims_server_error=Chyba ArcIMS serveru
5
catalog_search=Vyhledat geodata
6
Error_accediendo_a_los_datos=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat
7
gazetteer_connect=Hled\u00e1n\u00ed slovn\u00edku
8
gazetteer_search=Hled\u00e1n\u00ed ve slovn\u00edku
9
layer=Vrstva
10
link=Propojit
11
linkError=Chyba spojen\u00ed
12
linkLoad=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed ze s\u00ed\u0165ov\u00e9ho zdroje
13
loadWMS=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z WMS
14
mantainold=Ostranit star\u00e9 v\u00fdsledky hled\u00e1n\u00ed
15
metadata_catalog=Vyhled\u00e1n\u00ed geodat - P\u0159ipojen\u00ed
16
metadata_tree=Strom metadat
17
parameters=Parametry
18
pluginNotFound=Nem\u00e1te pot\u0159ebn\u00e9 extenze pro na\u010dten\u00ed tohoto typu zdroje
19
pluginNotFoundTitle=Na\u010d\u00edt\u00e1n\u00ed vrstev
20
postgisError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z PostGISu
21
postgisLoad=Chyba PostGISu
22
Recursos\ Disponibles=Dostupn\u00e9 zdroje
23
search_results=V\u00fdsledky hled\u00e1n\u00ed
24
server=Server
25
wcsError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z katalogu
26
wcsLoad=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z WCS
27
wfsError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed objektu
28
wfsLoad=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z WFS
29
wmsError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed mapy
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/config/text_fr.properties
1
#Translations for language [fr]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=Rechercher des g\u00e9odonn\u00e9es
6
Error_accediendo_a_los_datos=Erreur d'acc\u00e8s aux donn\u00e9es
7
gazetteer_connect=Localisation par toponymes
8
gazetteer_search=Localisation par toponymes
9
layer=Couche
10
link=Lien
11
linkError=Erreur lors du chargement du lien
12
linkLoad=Cargement du web service
13
loadWMS=Chargement du WMS
14
mantainold=Supprimer toutes les recherches
15
metadata_catalog=Recherche de g\u00e9odonn\u00e9es - Connexion
16
metadata_tree=Arbre des metadonn\u00e9es
17
parameters=Param\u00e8tres
18
pluginNotFound=Vous ne disposez pas d'extension pour charger ce type de ressources
19
pluginNotFoundTitle=Chargement des couches
20
postgisError=Erreur lors du chargement de la base de donn\u00e9es
21
postgisLoad=Chargement de Postgis
22
Recursos\ Disponibles=
23
search_results=Resultats de la recherche
24
server=Serveur
25
wcsError=Erreur lors du chargement d'une couverture
26
wcsLoad=Chargement du WCS
27
wfsError=Erreur lors du chargement de l'entit\u00e9
28
wfsLoad=Chargement du WFS
29
wmsError=Erreur lors du chargement de la carte
0 30

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/src/org/gvsig/gazetteer/gui/ShowResultsDialog.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
*
3
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
4
*
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
*
19
* For more information, contact:
20
*
21
*  Generalitat Valenciana
22
*   Conselleria d'Infraestructures i Transport
23
*   Av. Blasco Ib??ez, 50
24
*   46010 VALENCIA
25
*   SPAIN
26
*
27
*      +34 963862235
28
*   gvsig@gva.es
29
*      www.gvsig.gva.es
30
*
31
*    or
32
*
33
*   IVER T.I. S.A
34
*   Salamanca 50
35
*   46005 Valencia
36
*   Spain
37
*
38
*   +34 963163400
39
*   dac@iver.es
40
*/
41
package org.gvsig.gazetteer.gui;
42

  
43

  
44
import javax.swing.JDialog;
45

  
46
import org.gvsig.andami.ui.mdiManager.IWindow;
47
import org.gvsig.andami.ui.mdiManager.WindowInfo;
48
import org.gvsig.gazetteer.GazetteerClient;
49
import org.gvsig.gazetteer.loaders.FeatureLoader;
50
import org.gvsig.gazetteer.querys.Feature;
51
import org.gvsig.gazetteer.querys.GazetteerQuery;
52
import org.gvsig.gazetteer.ui.showresults.ShowResultsDialogPanel;
53
import org.gvsig.i18n.Messages;
54

  
55

  
56
/**
57
 * @author Jorge Piera Llodra (piera_jor@gva.es)
58
 */
59
public class ShowResultsDialog extends ShowResultsDialogPanel implements IWindow  {
60
    private SearchDialog searchDialog = null;
61
    private JDialog frame = null;
62
    /**
63
     * @param client
64
     * @param features
65
     * @param recordsByPage
66
     */
67
    public ShowResultsDialog(JDialog frame,GazetteerClient client, Feature[] features, int recordsByPage, GazetteerQuery query) {
68
        super(client, features, recordsByPage,query);
69
        this.frame = frame;
70
    }
71

  
72
      /* (non-Javadoc)
73
     * @see com.iver.andami.ui.mdiManager.View#getViewInfo()
74
     */
75
    public WindowInfo getWindowInfo() {
76
        WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODALDIALOG);
77
		m_viewinfo.setTitle(Messages.getText( "gazetteer_search"));
78
		return m_viewinfo;
79
    }
80
    public Object getWindowProfile(){
81
		return WindowInfo.DIALOG_PROFILE;
82
	}
83
    
84
    public void closeButtonActionPerformed() {
85
	     closeJDialog();
86
	 }
87
   
88
    public void closeJDialog() {
89
        frame.setVisible(false);
90
	}
91
   
92
   /**
93
    * This method have to load the selected feature into gvSIG
94
    */
95
   public void loadButtonActionPerformed() {
96
       Feature feature = ppalPanel.getFeature();
97
       if (feature != null){
98
    
99
    	   new FeatureLoader(client.getProjection()).load(feature,query);
100
       }
101
       closeJDialog();
102
       //getSearchDialog().closeJDialog();
103
   }    
104
    
105
    /**
106
     * @return Returns the searchDialog.
107
     */
108
    public SearchDialog getSearchDialog() {
109
        return searchDialog;
110
    }
111
    /**
112
     * @param searchDialog The searchDialog to set.
113
     */
114
    public void setSearchDialog(SearchDialog searchDialog) {
115
        this.searchDialog = searchDialog;
116
    }
117
}
0 118

  
tags/v2_0_0_Build_2049/extensions/extGazetteer/src/org/gvsig/gazetteer/gui/SearchDialog.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
*
3
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
4
*
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
*
19
* For more information, contact:
20
*
21
*  Generalitat Valenciana
22
*   Conselleria d'Infraestructures i Transport
23
*   Av. Blasco Ib??ez, 50
24
*   46010 VALENCIA
25
*   SPAIN
26
*
27
*      +34 963862235
28
*   gvsig@gva.es
29
*      www.gvsig.gva.es
30
*
31
*    or
32
*
33
*   IVER T.I. S.A
34
*   Salamanca 50
35
*   46005 Valencia
36
*   Spain
37
*
38
*   +34 963163400
39
*   dac@iver.es
40
*/
41
package org.gvsig.gazetteer.gui;
42

  
43
import java.awt.Frame;
44
import java.awt.geom.Rectangle2D;
45

  
46
import javax.swing.Icon;
47
import javax.swing.JDialog;
48

  
49
import org.gvsig.andami.PluginServices;
50
import org.gvsig.andami.ui.mdiManager.IWindow;
51
import org.gvsig.andami.ui.mdiManager.WindowInfo;
52
import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
53
import org.gvsig.catalog.querys.Coordinates;
54
import org.gvsig.catalog.utils.Frames;
55
import org.gvsig.fmap.mapcontext.events.ColorEvent;
56
import org.gvsig.fmap.mapcontext.events.ExtentEvent;
57
import org.gvsig.fmap.mapcontext.events.ProjectionEvent;
58
import org.gvsig.fmap.mapcontext.events.listeners.ViewPortListener;
59
import org.gvsig.gazetteer.GazetteerClient;
60
import org.gvsig.gazetteer.querys.Feature;
61
import org.gvsig.gazetteer.ui.search.SearchDialogPanel;
62
import org.gvsig.i18n.Messages;
63

  
64

  
65

  
66
/**
67
 * @author Jorge Piera Llodra (piera_jor@gva.es)
68
 */
69
public class SearchDialog extends SearchDialogPanel
70
implements IWindow,ViewPortListener{
71
	public WindowInfo m_windowInfo = null;
72
	public ConnectDialog parentDialog = null;
73
	public JDialog frame = null;
74
	
75
    public SearchDialog(GazetteerClient client,Object serverConnectFrame){
76
        super(client,serverConnectFrame);
77
        parentDialog = (ConnectDialog)serverConnectFrame;
78
        setViewChangeListener();	
79
    	loadViewPortCoordinates();
80
    }
81
    
82
    /* (non-Javadoc)
83
     * @see com.iver.andami.ui.mdiManager.View#getViewInfo()
84
     */
85
    public WindowInfo getWindowInfo() {
86
    	 if (m_windowInfo == null){
87
    		 m_windowInfo = new WindowInfo(WindowInfo.PALETTE);
88
    		 m_windowInfo.setTitle(Messages.getText("gazetteer_search") + " [" +
89
    				 getCurrentServer() + "]");		
90
    		 m_windowInfo.setHeight(80);
91
    		 m_windowInfo.setWidth(525);
92
    	 }
93
    	return m_windowInfo;
94
    	
95
    }
96
    public Object getWindowProfile(){
97
		return WindowInfo.TOOL_PROFILE;
98
	}
99
    
100
    protected void showResultsActionPerformed(Feature[] features) {
101
      	JDialog panel = new JDialog((Frame) PluginServices.getMainFrame(), false);
102
    	Frames.centerFrame(panel,420,258);
103
    	panel.setTitle(Messages.getText( "gazetteer_search")); 
104
    	panel.setResizable(false);
105
    	
106
    	ShowResultsDialog dialog = new ShowResultsDialog(panel,
107
    			client,
108
    			features,
109
    			lowerPanel.getResultsByPage(),
110
    			getQuery());
111
    	
112
    	panel.getContentPane().add(dialog);
113
    	panel.show(); 
114
     }
115
    
116
    protected void closeButtonActionPerformed() {
117
    	closeJDialog();
118
	 }
119
    
120
	 /**
121
	  * Size button action performed
122
	  */	 
123
    protected void resizeButtonActionPerformed(){
124
	        if (isMinimized){
125
	        	frame.setSize(frame.getWidth(),450);
126
			 	frame.doLayout();
127
	        	getLowerPanel().setVisible(true);
128
				getUpperPanel().setIcon(getUpIcon());
129
	         }else{
130
	        	 frame.setSize(frame.getWidth(),115);
131
	        	 getLowerPanel().setVisible(false);	 			
132
	        	 getUpperPanel().setIcon(getDownIcon());
133
	        }
134
	        isMinimized = !isMinimized;
135
	 }
136
    
137
	/*
138
	 * (non-Javadoc)
139
	 * @see org.gvsig.gazetteer.ui.search.SearchDialogPanel#getUpIcon()
140
	 */
141
	protected Icon getUpIcon(){
142
		return PluginServices.getIconTheme().get("catalog-up");
143
	}
144
	
145
	/*
146
	 * (non-Javadoc)
147
	 * @see org.gvsig.gazetteer.ui.search.SearchDialogPanel#getDownIcon()
148
	 */
149
	protected Icon getDownIcon(){
150
		return PluginServices.getIconTheme().get("catalog-down");
151
	}
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff