Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/pom.xml	(revision 38318)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+                      http://maven.apache.org/maven-v4_0_0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>org.gvsig.catalog.extension</artifactId>
+	<packaging>jar</packaging>
+	<version>2.0-SNAPSHOT</version>
+	<name>Web Catalog Service support</name>
+	<description>Web Catalog Service client (geodata search)</description>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>gvsig-base-extension-pom</artifactId>
+		<version>2.0-SNAPSHOT</version>
+	</parent>	
+	<dependencies>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.lib</artifactId>
+            <scope>compile</scope>
+        </dependency>
+         <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.i18n</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.utils</artifactId>
+            <scope>compile</scope>
+        </dependency>
+   		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.catalog</artifactId>
+            <scope>compile</scope>
+		</dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.mapcontext</artifactId>
+            <scope>compile</scope>
+        </dependency>     
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.remoteclient</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal</artifactId>
+            <classifier>spi</classifier>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.projection</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.control</artifactId>
+            <scope>compile</scope>
+        </dependency>
+  		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.andami</artifactId>
+            <scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.app</artifactId>
+			<version>2.0-SNAPSHOT</version>
+            <scope>compile</scope>
+		</dependency>
+		<dependency>
+		    <groupId>com.ostermiller</groupId>
+  			<artifactId>ostermillerutils</artifactId>
+            <scope>compile</scope>
+  		</dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>castor</groupId>
+            <artifactId>castor</artifactId>
+            <scope>compile</scope>
+        </dependency>
+	</dependencies>
+	<build>
+		<sourceDirectory>src</sourceDirectory>
+		<testSourceDirectory>src-test</testSourceDirectory>
+		<resources>
+			<resource>
+				<directory>src</directory>
+				<includes>
+					<include>**/*.gif</include>
+					<include>**/*.png</include>
+					<include>**/*.PNG</include>
+					<include> **/*.bmp</include>
+					<include> **/*.jpg</include>
+					<include> **/*.jpeg</include>
+					<include> **/*.properties</include>
+				</includes>
+			</resource>
+			<resource>
+				<directory>${basedir}/resources</directory>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.4</source>
+					<target>1.4</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+					<includes>
+						<include>**</include>
+					</includes>					
+			    </configuration>
+			</plugin>
+			<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<configuration>
+					<skipTests>true</skipTests>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	<properties>
+		<build-dir>${basedir}/../build</build-dir>
+		<application-name>extCatalog</application-name>
+        <eclipse.project.name>extCatalog</eclipse.project.name>
+        <package.info.state>devel</package.info.state>
+        <package.info.categories>OGC,Remote Services</package.info.categories>
+	</properties>
+</project>

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/.cvsignore
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/.cvsignore	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/.cvsignore	(revision 38318)
@@ -0,0 +1 @@
+bin

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/.cvsignore
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/TestContext.properties
===================================================================

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/TestContext.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/ApplicationContextAlone.xml
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/ApplicationContextAlone.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/ApplicationContextAlone.xml	(revision 38318)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+
+<beans>
+
+  <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+    <property name="location"><value>config/TestContext.properties</value></property>
+  </bean>
+
+  <!-- ========================= GENERAL DEFINITIONS ========================= -->
+
+  <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
+    <property name="basename"><value>messages</value></property>
+  </bean>
+
+
+  <!-- ========================= PERSISTENCE DEFINITIONS ========================= -->
+
+  <!-- ========================= BUSINESS DEFINITIONS ========================= -->
+
+  <bean id="OIDRegister" class="org.jzkit.a2j.codec.util.OIDRegister">
+    <constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/a2j.properties</value></constructor-arg>
+  </bean>
+
+  <!-- conversion rules -->
+  <bean id="RPNToInternalRules" class="org.jzkit.util.PropsHolder">
+    <constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/InternalAttrTypes.properties</value></constructor-arg>
+  </bean>
+
+  <bean id="InternalToType1ConversionRules" class="org.jzkit.z3950.QueryModel.PropsBasedInternalToType1ConversionRules">
+    <constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/InternalToType1Rules.properties</value></constructor-arg>
+  </bean>
+
+</beans>

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/ApplicationContextAlone.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/ApplicationContext.xml
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/ApplicationContext.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/ApplicationContext.xml	(revision 38318)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<beans>
+	<bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+    	<property name="location"><value>gvSIG/extensiones/es.gva.cit.gvsig.catalogClient/config/TestContext.properties</value></property>
+	</bean>
+<!-- ========================= GENERAL DEFINITIONS ========================= -->
+	<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
+    	<property name="basename"><value>messages</value></property>
+	</bean>
+<!-- ========================= PERSISTENCE DEFINITIONS ========================= -->
+
+<!-- ========================= BUSINESS DEFINITIONS ========================= -->
+
+	<bean id="OIDRegister" class="org.jzkit.a2j.codec.util.OIDRegister">
+    	<constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/a2j.properties</value></constructor-arg>
+	</bean>
+
+<!-- conversion rules -->
+	<bean id="RPNToInternalRules" class="org.jzkit.util.PropsHolder">
+    	<constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/InternalAttrTypes.properties</value></constructor-arg>
+	</bean>
+
+  	<bean id="InternalToType1ConversionRules" class="org.jzkit.z3950.QueryModel.PropsBasedInternalToType1ConversionRules">
+    	<constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/InternalToType1Rules.properties</value></constructor-arg>
+	</bean>
+</beans>

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/configbeans/ApplicationContext.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/distribution/distribution.xml
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/distribution/distribution.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/distribution/distribution.xml	(revision 38318)
@@ -0,0 +1,51 @@
+<assembly>
+  <id>distribution</id>
+  <formats>
+    <format>dir</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>config</directory>
+	  <outputDirectory>${extension.install.dir.name}</outputDirectory>
+    </fileSet>  
+    <fileSet>
+      <directory>configbeans</directory>
+	  <outputDirectory>${extension.install.dir.name}/config</outputDirectory>
+    </fileSet>    
+	<fileSet>
+      <directory>images</directory>
+	  <outputDirectory>${extension.install.dir.name}/images</outputDirectory>
+    </fileSet>
+  </fileSets>
+    <files>
+        <file>
+            <source>package.info</source>
+            <outputDirectory>${extension.install.dir.name}
+            </outputDirectory>
+        </file>
+    </files>
+  	<dependencySets>
+  		<dependencySet>		
+  			<outputDirectory>${extension.install.dir.name}/${library-dir}
+        	</outputDirectory>
+          	 <includes>
+           		<include>org.gvsig:org.gvsig.catalog</include>
+        		<include>org.gvsig:org.gvsig.catalog.extension</include>
+        		<include>org.gvsig:org.gvsig.remoteclient</include>
+        		<include>org.jzkit:a2j-runtime</include>
+        		<include>org.jzkit:a2j</include>
+        		<include>commons-beanutils:commons-beanutils</include>
+        		<include>commons-httpclient:commons-httpclient</include>
+        		<include>org.dspace:cql-java</include>
+        		<include>jdom:jdom</include>
+        		<include>org.jzkit:jzkit2-core</include>
+        		<include>org.jzkit:jzkit2-z3950</include>
+        		<include>org.jzkit:jzkit2-origin</include>
+        		<include>soap:soap</include>
+        		<include>net.swing:amic-util</include>
+        		<include>org.springframework:spring</include> 
+        	</includes>
+  		</dependencySet>  		
+	</dependencySets>
+</assembly>
+

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/distribution/distribution.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/buildNumber.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/buildNumber.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/buildNumber.properties	(revision 38318)
@@ -0,0 +1,3 @@
+#maven.buildNumber.plugin properties file
+#Tue May 29 16:39:38 CEST 2012
+buildNumber=2048
Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_ca.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_ca.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_ca.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [ca]
+#Mon Feb 26 16:06:24 CET 2007
+arcims_load=C\u00e0rrega d'ArcIms
+arcims_server_error=Error en el servidor ArcIMS
+catalog_search=Recerca de geodades
+Error_accediendo_a_los_datos=Error accedint a les dades
+gazetteer_connect=Localitza per nomencl\u00e0tor
+gazetteer_search=Localitza per nomencl\u00e0tor
+layer=Capa
+link=Enlla\u00e7
+linkError=S'ha produ\u00eft un error en carregar l'enlla\u00e7
+linkLoad=C\u00e0rrega d'un recurs web
+loadWMS=C\u00e0rrega de WMS
+mantainold=Elimina les recerques anteriors
+metadata_catalog=Recerca de geodades - connexi\u00f3
+metadata_tree=Arbre de la metadada
+parameters=Par\u00e0metres
+pluginNotFound=No tens cap extensi\u00f3 per a carregar recursos d'este tipus
+pluginNotFoundTitle=C\u00e0rrega de capes
+postgisError=S'ha produ\u00eft un error en carregar la base de dades
+postgisLoad=C\u00e0rrega de Postgis
+Recursos\ Disponibles=Recursos disponibles
+search_results=Resultats de la recerca
+server=Servidor
+wcsError=S'ha produ\u00eft un error en carregar la cobertura
+wcsLoad=C\u00e0rrega de WCS
+wfsError=S'ha produ\u00eft un error en carregar la caracter\u00edstica
+wfsLoad=C\u00e0rrega de WFS
+wmsError=S'ha produ\u00eft un error en carregar el mapa

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_ca.properties
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_pt.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_pt.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_pt.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [pt]
+#Mon Feb 26 16:06:24 CET 2007
+arcims_load=
+arcims_server_error=
+catalog_search=Pesquisa de geodados
+Error_accediendo_a_los_datos=Erro ao aceder aos dados
+gazetteer_connect=Localizar por "Nomencl\u00e1tor"
+gazetteer_search=Localizar por "Nomencl\u00e1tor"
+layer=Capa
+link=Hiperliga\u00e7\u00e3o
+linkError=Erro ao carregar a hiperliga\u00e7\u00e3o
+linkLoad=Carga de um recurso web
+loadWMS=Carga de WMS
+mantainold=Eliminar as pesquisas anteriores
+metadata_catalog=Pesquisa de geodados - Conex\u00e3o
+metadata_tree=\u00c1rvore de metadados
+parameters=Par\u00e2metros
+pluginNotFound=N\u00e3o tens nenhuma extens\u00e3o para carregar recursos de este tipo
+pluginNotFoundTitle=Carga de capas
+postgisError=Erro ao carregar a base de dados
+postgisLoad=Carga de PostGIS
+Recursos\ Disponibles=
+search_results=Resultados da pesquisa
+server=Servidor
+wcsError=Erro ao carregar a cobertura
+wcsLoad=Carga de WCS
+wfsError=Erro ao carregar a capa
+wfsLoad=Carga de WFS
+wmsError=Erro ao carregar o mapa

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_pt.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_de.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_de.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_de.properties	(revision 38318)
@@ -0,0 +1,32 @@
+#Translations for language [de]
+#Wed Oct 08 17:44:19 CEST 2008
+arcims_load=L\u00e4dt ArcIMS
+arcims_server_error=ArcIMS Server-Fehler
+Catalog=
+catalog_search=Suche nach Geodaten
+Catalogo=
+Error_accediendo_a_los_datos=Fehler beim Datenzugriff
+gazetteer_connect=Lokalisierung \u00fcber Namensverzeichnis
+gazetteer_search=Suche \u00fcber Namensverzeichnis
+layer=Layer
+link=Link
+linkError=Fehler beim Laden der Netzwerkressource
+linkLoad=Netzwerkressource laden
+loadWMS=WMS laden
+mantainold=Vorherige Suchanfragen l\u00f6schen
+metadata_catalog=Suche nach Geodaten - Verbindung
+metadata_tree=Metadatenbaum
+parameters=Parameter
+pluginNotFound=Es fehlt die n\u00f6tige Erweiterung f\u00fcr das Laden dieser Ressource.
+pluginNotFoundTitle=Layer laden
+postgisError=Fehler beim Laden der PostGIS-Datenbank
+postgisLoad=PostGIS laden
+propertiesNameWindow=Eigenschaftsfenster
+Recursos\ Disponibles=Verf\u00fcgbare Ressourcen
+search_results=Suchergebnisse
+server=Server
+wcsError=Fehler beim Laden der Coverage
+wcsLoad=WCS laden
+wfsError=Fehler beim Laden des Features
+wfsLoad=WFS laden
+wmsError=Fehler beim Laden der Karte

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_de.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_en.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_en.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_en.properties	(revision 38318)
@@ -0,0 +1,138 @@
+#Translations for language [en]
+#Mon Feb 26 16:06:24 CET 2007
+abstract=Abstract
+addLayer=Add Layer
+allWords=Every word
+anyResult=The search hasn't retrieve any result
+anyWord=Any word
+arcims_load=Loading ArcIms
+arcims_server_error=ArcIMS server error
+aspect=Aspect setup
+attributes=Attributes
+BRX=BRX\:
+BRY=BRY\:
+cancelSearchButton=Cancel
+catalog_search=Geodata search
+cathegory=Cathegory
+cathegoryAny=Any
+cathegoryBiota=Biota
+cathegoryBoundaries=Boundaries
+cathegoryClimatologyMeteorologyAtmosphere=Climatology meteorology and atmosphere
+cathegoryEconomy=Economy
+cathegoryElevation=Elevation
+cathegoryEnvironment=Environment
+cathegoryFarming=Farming
+cathegoryGeoscientificInformation=Geoscientific information
+cathegoryHealth=Health
+cathegoryImageryBaseMapsEarthCover=Imagery base maps earth cover
+cathegoryInlandWaters=Insland waters
+cathegoryIntelligenceMilitary=Intelligence military
+cathegoryLocation=Location
+cathegoryOceans=Oceans
+cathegoryPlanningCadastre=Planning cadastre
+cathegorySociety=Society
+cathegoryStructure=Structure
+cathegoryTransportation=Transportation
+cathegoryUtilitiesCommunication=Utilities and communication
+chooseAttribute=Choose one attribute to do the search
+close=Close
+concordancia=Agreement
+connectButton=Connect
+coordinates=Coordinates
+coordinatesContains=contain
+coordinatesEnclose=enclose
+coordinatesEqual=equal
+coordinatesFullyOutsideOf=is fully outside of
+database=Database name
+description=Description
+downloadColumn=Download
+Error_accediendo_a_los_datos=Error getting data
+elementName=ElementName
+errorFENotSupported=gvSIG only supports the Filter Encoding Language to do Querys
+errorGetRecords=Error with the getRecords operation
+errorIsASRWServer=It is a SRW server\!
+errorNotCSWSupportedProtocol=Server found, but it doesn't support the CSW protocol
+errorNotParsedReply=Error parsing the reply. The server has been found, but is possible it doesn't support the specified protocol
+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
+errorNotSupportedProtocol=The server doesn't support the specified protocol
+errorNotThesaurusSelected=The WFS protocol can't work if you dont select a thesaurus element
+errorServerException=Server exception returned
+errorServerNotFound=The server doesn't exist
+errorSOAPProtocol=SOAP error
+exactSentence=Exact sentence
+from=From
+gazetteer_connect=Finding by Gazetteer
+gazetteer_search=Finding by Gazetteer
+goto=Go to the place
+inteligentSearch=Intelligent search
+inteligentSearchAscii=All word forms
+keyWords=KeyWords
+last=Last
+lastUpdateDate=Last update
+layer=Layer
+link=Link
+linkColumn=Web Site
+linkError=Link loading error
+linkLoad=Web service load
+loadWMS=WMS load
+localize=Localize
+lowerCoordinates=Lower
+mantainold=Remove old searches
+metadata_catalog=Geodata Search - Connection
+metadata_tree=Metadata Tree
+name=Name
+next=Next
+of=of
+page=Page
+paint=Draw result
+parameters=Parameters
+pluginNotFound=You don't have any extensions to load this type of resources
+pluginNotFoundTitle=Loading Layers
+postgisColumn=Postgis
+postgisError=Database loading error
+postgisLoad=Postgis load
+propertiesNameWindow=Window properties
+protocolsGroup=Protocols
+provider=Provider
+purpose=Purpose
+Recursos\ Disponibles=Available Resources
+reproyectar_aviso=The layer projection is not the same as the views projection.\nATENTION\: It can be unaccurate with some transformations.\nPlease read docs
+reproyectar_pregunta=Do you want to reproject?
+resourceLinkColumn=Link
+resourceShowColumn=Show
+resourceTypeColumn=Type
+restrictArea=Restrict search area
+results=Results
+resutsByPage=Results per page
+rootName=Root
+scale=Scale
+scaleAny=any
+scaleI=>1.000.000
+scaleII=1.000.000 - 250.000
+scaleIII=250.000 - 50.000
+scaleIV=50.000 - 10.000
+scaleV=10.000 - 5000
+scaleVI=<5.000
+search_results=Search results
+searchButton=Search
+server=Server
+serverReply=Server Answer
+serverURL=Fill the catalog server address
+serverURLCat=Fill the gazetteer server address
+title=Title
+to=To
+type=Type
+ULX=ULX\:
+ULY=ULY\:
+unknown=Unknown
+upperCoordinates=Upper
+value=Value
+version=Version
+wcsColumn=Coverage
+wcsError=Cover loading error
+wcsLoad=WCS load
+wfsColumn=Feature
+wfsError=feature loading error
+wfsLoad=WFS load
+wmsColumn=Map
+wmsError=Map loading error

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_en.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_gl.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_gl.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_gl.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [gl]
+#Mon Feb 26 16:06:24 CET 2007
+arcims_load=Carga de ArcIms
+arcims_server_error=Erro no servidor ArcIMS
+catalog_search=B\u00fasqueda de xeodatos
+Error_accediendo_a_los_datos=Erro de acceso aos datos
+gazetteer_connect=Localizar polo Nomencl\u00e1tor
+gazetteer_search=Localizar polo Nomencl\u00e1tor
+layer=Capa
+link=Ligazon
+linkError=Ocorreu un erro ao cargar a ligaz\u00f3n
+linkLoad=Carga dun recurso web
+loadWMS=Carga de WMS
+mantainold=Elimina-las b\u00fasquedas anteriores
+metadata_catalog=B\u00fasqueda de Xeodatos - Conexi\u00f3n
+metadata_tree=\u00c1rbore de Metadato
+parameters=Par\u00e1metros
+pluginNotFound=Non t\u00e9s ningunha extensi\u00f3n para cargar recursos deste tipo
+pluginNotFoundTitle=Carga de capas
+postgisError=Ocorr\u00e9u un erro ao cargar a base de datos
+postgisLoad=Carga de Postgis
+Recursos\ Disponibles=Recursos Dispo\u00f1\u00edbeis
+search_results=Resultados da b\u00fasqueda
+server=Servidor
+wcsError=Ocorr\u00e9u un erro ao cargar a cobertura
+wcsLoad=Carga de WCS
+wfsError=Ocorr\u00e9u un erro ao cargar a feature (entidade)
+wfsLoad=Carga de WFS
+wmsError=Ocorr\u00e9u un erro ao cargar o mapa

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_gl.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/config.xml
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/config.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/config.xml	(revision 38318)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<plugin-config>
+	<depends plugin-name="org.gvsig.app"/>
+	<libraries library-dir="lib"/>
+	<resourceBundle name="text"/>
+	<extensions>
+		<extension class-name="org.gvsig.catalog.CatalogClientExtension"
+			description="Catalog extension"
+			active="true" 
+			priority="3">
+			<tool-bar name="Catalogo">
+				<action-tool icon="catalog-search" 
+					tooltip="catalog_search"
+					position="1"
+				/>
+			</tool-bar>		
+		</extension>
+	</extensions>
+</plugin-config>

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/config.xml
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_cs.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_cs.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_cs.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [cs]
+#Thu Mar 29 16:48:47 CEST 2007
+arcims_load=Na\u010d\u00edt\u00e1m ArcIms
+arcims_server_error=Chyba ArcIMS serveru
+catalog_search=Vyhledat geodata
+Error_accediendo_a_los_datos=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat
+gazetteer_connect=Hled\u00e1n\u00ed slovn\u00edku
+gazetteer_search=Hled\u00e1n\u00ed ve slovn\u00edku
+layer=Vrstva
+link=Propojit
+linkError=Chyba spojen\u00ed
+linkLoad=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed ze s\u00ed\u0165ov\u00e9ho zdroje
+loadWMS=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z WMS
+mantainold=Ostranit star\u00e9 v\u00fdsledky hled\u00e1n\u00ed
+metadata_catalog=Vyhled\u00e1n\u00ed geodat - P\u0159ipojen\u00ed
+metadata_tree=Strom metadat
+parameters=Parametry
+pluginNotFound=Nem\u00e1te pot\u0159ebn\u00e9 extenze pro na\u010dten\u00ed tohoto typu zdroje
+pluginNotFoundTitle=Na\u010d\u00edt\u00e1n\u00ed vrstev
+postgisError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z PostGISu
+postgisLoad=Chyba PostGISu
+Recursos\ Disponibles=Dostupn\u00e9 zdroje
+search_results=V\u00fdsledky hled\u00e1n\u00ed
+server=Server
+wcsError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z katalogu
+wcsLoad=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z WCS
+wfsError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed objektu
+wfsLoad=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z WFS
+wmsError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed mapy

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_cs.properties
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_fr.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_fr.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_fr.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [fr]
+#Mon Feb 26 16:06:24 CET 2007
+arcims_load=
+arcims_server_error=
+catalog_search=Rechercher des g\u00e9odonn\u00e9es
+Error_accediendo_a_los_datos=Erreur d'acc\u00e8s aux donn\u00e9es
+gazetteer_connect=Localisation par toponymes
+gazetteer_search=Localisation par toponymes
+layer=Couche
+link=Lien
+linkError=Erreur lors du chargement du lien
+linkLoad=Cargement du web service
+loadWMS=Chargement du WMS
+mantainold=Supprimer toutes les recherches
+metadata_catalog=Recherche de g\u00e9odonn\u00e9es - Connexion
+metadata_tree=Arbre des metadonn\u00e9es
+parameters=Param\u00e8tres
+pluginNotFound=Vous ne disposez pas d'extension pour charger ce type de ressources
+pluginNotFoundTitle=Chargement des couches
+postgisError=Erreur lors du chargement de la base de donn\u00e9es
+postgisLoad=Chargement de Postgis
+Recursos\ Disponibles=
+search_results=Resultats de la recherche
+server=Serveur
+wcsError=Erreur lors du chargement d'une couverture
+wcsLoad=Chargement du WCS
+wfsError=Erreur lors du chargement de l'entit\u00e9
+wfsLoad=Chargement du WFS
+wmsError=Erreur lors du chargement de la carte

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_fr.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/plugin.dtd
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/plugin.dtd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_eu.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_eu.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_eu.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [eu]
+#Wed Mar 21 09:03:04 CET 2007
+arcims_load=ArcIms kargatu
+arcims_server_error=Errorea ArcIMS zerbitzarian
+catalog_search=Geodatuak bilatzea
+Error_accediendo_a_los_datos=Errorea datuak atzitzean
+gazetteer_connect=Kokatu izenaren arabera
+gazetteer_search=Kokatu izenaren arabera
+layer=Geruza
+link=Lotura
+linkError=Errorea gertatu da lotura kargatzerakoan
+linkLoad=Web baliabide bat kargatzea
+loadWMS=WMS kargatzea
+mantainold=Ezabatu aurreko bilaketak
+metadata_catalog=Geodatuak bilatzea - Lotura
+metadata_tree=Matadatuaren zuhaitza
+parameters=Parametroak
+pluginNotFound=Ez duzu luzapenik mota hauetako baliabideak kargatzeko
+pluginNotFoundTitle=Geruzak kargatzea
+postgisError=Errorea gertatu da datu-basea kargatzerakoan
+postgisLoad=Postgis kargatzea
+Recursos\ Disponibles=Baliabide erabilgarriak
+search_results=Bilaketaren emaitzak
+server=Zerbitzaria
+wcsError=Errorea gertatu da estaldura kargatzerakoan
+wcsLoad=WCS kargatzea
+wfsError=Errorea gertatu da featurea kargatzerakoan
+wfsLoad=WFS kargatzea
+wmsError=Errorea gertatu da mapa kargatzerakoan

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_eu.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_nl.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_nl.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_nl.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [nl]
+#Mon Feb 26 16:06:24 CET 2007
+arcims_load=
+arcims_server_error=
+catalog_search=
+Error_accediendo_a_los_datos=
+gazetteer_connect=
+gazetteer_search=
+layer=
+link=Link
+linkError=
+linkLoad=
+loadWMS=
+mantainold=
+metadata_catalog=
+metadata_tree=
+parameters=
+pluginNotFound=
+pluginNotFoundTitle=
+postgisError=
+postgisLoad=
+Recursos\ Disponibles=
+search_results=
+server=
+wcsError=
+wcsLoad=
+wfsError=
+wfsLoad=
+wmsError=

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_nl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_pl.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_pl.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_pl.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [pl]
+#Wed Apr 18 10:44:32 CEST 2007
+arcims_load=
+arcims_server_error=
+catalog_search=
+Error_accediendo_a_los_datos=
+gazetteer_connect=
+gazetteer_search=
+layer=Warstwa
+link=\u0141\u0105cze
+linkError=
+linkLoad=
+loadWMS=
+mantainold=
+metadata_catalog=
+metadata_tree=
+parameters=Parametry
+pluginNotFound=
+pluginNotFoundTitle=
+postgisError=
+postgisLoad=
+Recursos\ Disponibles=
+search_results=
+server=Serwer
+wcsError=
+wcsLoad=
+wfsError=
+wfsLoad=
+wmsError=

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_pl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_it.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_it.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_it.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [it]
+#Mon Feb 26 16:06:24 CET 2007
+arcims_load=Caricamento ArcIMS
+arcims_server_error=Errore del server ArcIMS
+catalog_search=Ricerca dei geodati
+Error_accediendo_a_los_datos=Errore accedendo ai dati
+gazetteer_connect=Cerca per toponimi
+gazetteer_search=Cerca per toponimi
+layer=Layer
+link=Collegamento
+linkError=Errore nel caricare il Link
+linkLoad=Caricamento di una pagina web
+loadWMS=Caricamento di WMS
+mantainold=Elimina le ricerche precedenti
+metadata_catalog=Ricerca di Geodati - Connessione
+metadata_tree=Albero di Metadati
+parameters=Parametri
+pluginNotFound=Non trovo nessuna estensione per caricare questo tipo di risorsa
+pluginNotFoundTitle=Caricamento di layers
+postgisError=Errore nel caricare il database
+postgisLoad=Caricamento Postgis
+Recursos\ Disponibles=Risorse disponibili
+search_results=Risultati della ricerca
+server=Server
+wcsError=Errore nel caricare la copertura
+wcsLoad=Caricamento di WCS
+wfsError=Errore nel caricare la FEATURE
+wfsLoad=Caricamento di WFS
+wmsError=Errore nel caricare la mappa

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_it.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text.properties	(revision 38318)
@@ -0,0 +1,141 @@
+#Translations for language [es]
+#Tue Mar 13 13:27:33 CET 2007
+abstract=Resumen
+addLayer=A\u00f1adir capa
+allWords=Todas las palabras
+anyResult=La b\u00fasqueda no ha producido ning\u00fan resultado
+anyWord=Cualquier palabra
+arcims_image_resource=Imagen ArcIMS
+arcims_load=Carga de ArcIms
+arcims_server_error=Error en el servidor ArcIMS
+arcims_vect_resource=Feature ArcIMS
+aspect=Configuraci\u00f3n de aspecto
+attributes=Atributos
+BRX=BRX\:
+BRY=BRY\:
+cancelSearchButton=Cancelar
+catalog_search=B\u00fasqueda de geodatos
+cathegory=categor\u00eda
+cathegoryAny=Cualquiera
+cathegoryBiota=Biota
+cathegoryBoundaries=L\u00edmites
+cathegoryClimatologyMeteorologyAtmosphere=Atmosfera climatol\u00f3gica y meteorol\u00f3gica
+cathegoryEconomy=Econom\u00eda
+cathegoryElevation=Elevaci\u00f3n
+cathegoryEnvironment=Medio ambiente
+cathegoryFarming=Agricultura
+cathegoryGeoscientificInformation=Informaci\u00f3n geocient\u00edfica
+cathegoryHealth=Salud
+cathegoryImageryBaseMapsEarthCover=Cobertura de la tierra con mapas
+cathegoryInlandWaters=Aguas interiores
+cathegoryIntelligenceMilitary=Inteligencia militar
+cathegoryLocation=Localizaci\u00f3n
+cathegoryOceans=Oceanos
+cathegoryPlanningCadastre=Planeamiento catastral
+cathegorySociety=Sociedad
+cathegoryStructure=Estructuras
+cathegoryTransportation=Transporte
+cathegoryUtilitiesCommunication=Comunicaci\u00f3n y utilidades
+chooseAttribute=Elige un atributo para hacer la b\u00fasqueda
+close=Cerrar
+concordancia=Concordancia
+connectButton=Conectar
+coordinates=Coordenadas
+coordinatesContains=contiene
+coordinatesEnclose=incluye
+coordinatesEqual=igual
+coordinatesFullyOutsideOf=est\u00e1 totalmente fuera de
+database=Nombre de la base de datos
+description=Descripci\u00f3n
+downloadColumn=Descarga
+Error_accediendo_a_los_datos=Error accediendo a los datos
+elementName=ElementName
+errorFENotSupported=De momento s\u00f3lo se pueden hacer consultas usando la codificaci\u00f3n FILTER ENCODING que no est\u00e1 soportada por el servidor
+errorGetRecords=Se ha producido un error al intentar obtener los registros (getRecords)
+errorIsASRWServer=Es un servidor SRW\!
+errorNotCSWSupportedProtocol=Se ha encontrado el servidor, pero no soporta el protocolo CS-W
+errorNotParsedReply=Error al parsear la respuesta. Se ha encontrado el servidor, pero posiblemente no soporta el protocolo especificado
+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
+errorNotSupportedProtocol=El servidor no soporta el protocolo especificado
+errorNotThesaurusSelected=El protocolo WFS no permite hacer b\u00fasquedas si no se elige un elemento del tesauro
+errorServerException=El servidor ha devuelto una excepci\u00f3n
+errorServerNotFound=No se encuentra el servidor
+errorSOAPProtocol=Error en el protocolo SOAP
+exactSentence=Frase exacta
+from=Desde
+gazetteer_connect=Localizar por Nomencl\u00e1tor
+gazetteer_search=Localizar por Nomencl\u00e1tor
+goto=Hacer un zoom a la b\u00fasqueda
+inteligentSearch=B\u00fasqueda inteligente
+inteligentSearchAscii=Todas las formas de la palabra
+keyWords=Palabras clave
+last=Anterior
+lastUpdateDate=Fecha de \u00faltima actualizaci\u00f3n
+layer=Capa
+link=Enlace
+linkColumn=P\u00e1gina Web
+linkError=Ha ocurrido un error al cargar el enlace
+linkLoad=Carga de un recurso web
+loadWMS=Carga de WMS
+localize=Localizar
+lowerCoordinates=Inferiores
+mantainold=Eliminar las busquedas anteriores
+metadata_catalog=B\u00fasqueda de Geodatos - Conexi\u00f3n
+metadata_tree=\u00c1rbol del Metadato
+name=Nombre
+next=Siguiente
+of=de
+page=P\u00e1gina
+paint=Dibujar el resultado
+parameters=Par\u00e1metros
+pluginNotFound=No tienes ninguna extensi\u00f3n para cargar recursos de este tipo
+pluginNotFoundTitle=Carga de capas
+postgisColumn=Postgis
+postgisError=Ha ocurrido un error al cargar la base de datos
+postgisLoad=Carga de Postgis
+propertiesNameWindow=Ventana de propiedades
+protocolsGroup=Protocolos
+provider=Proveedor
+purpose=Prop\u00f3sito
+Recursos\ Disponibles=Recursos Disponibles
+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.
+reproyectar_pregunta=\u00bfDesea reproyectar?
+resourceLinkColumn=Enlace
+resourceShowColumn=Ver
+resourceTypeColumn=Tipo
+restrictArea=Restringir el area de b\u00fasqueda
+results=Resultados
+resutsByPage=Resultados por p\u00e1gina
+return=Volver
+rootName=Ra\u00edz
+scale=Escalar
+scaleAny=cualquiera
+scaleI=>1.000.000
+scaleII=1.000.000 - 250.000
+scaleIII=250.000 - 50.000
+scaleIV=50.000 - 10.000
+scaleV=10.000 - 5000
+scaleVI=<5.000
+search_results=Resultados de la b\u00fasqueda
+searchButton=Buscar
+server=Servidor
+serverReply=Respuesta del servidor
+serverURL=Introduzca la direcci\u00f3n donde se encuentra el servidor de cat\u00e1logo
+serverURLCat=Introduzca la direcci\u00f3n donde se encuentra el servidor de nomencl\u00e1tor
+title=T\u00edtulo
+to=Hasta
+type=Tipo
+ULX=ULX\:
+ULY=ULY\:
+unknown=Desconocido
+upperCoordinates=Superiores
+value=Valor
+version=Versi\u00f3n
+wcsColumn=Cobertura
+wcsError=Ha ocurrido un error al cargar la cobertura
+wcsLoad=Carga de WCS
+wfsColumn=Feature
+wfsError=Ha ocurrido un error al cargar la feature
+wfsLoad=Carga de WFS
+wmsColumn=Mapa
+wmsError=Ha ocurrido un error al cargar el mapa

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_ro.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_ro.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_ro.properties	(revision 38318)
@@ -0,0 +1,29 @@
+#Translations for language [ro]
+#Thu Mar 01 10:01:15 CET 2007
+arcims_load=
+arcims_server_error=
+catalog_search=
+Error_accediendo_a_los_datos=
+gazetteer_connect=
+gazetteer_search=
+layer=invelis
+link=Legatura
+linkError=
+linkLoad=
+loadWMS=
+mantainold=
+metadata_catalog=
+metadata_tree=
+parameters=Parametri
+pluginNotFound=
+pluginNotFoundTitle=
+postgisError=
+postgisLoad=
+Recursos\ Disponibles=
+search_results=
+server=Server
+wcsError=
+wcsLoad=
+wfsError=
+wfsLoad=
+wmsError=

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_ro.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_zh.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_zh.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_zh.properties	(revision 38318)
@@ -0,0 +1,139 @@
+#Translations for language [zh]
+#Mon Feb 26 16:06:24 CET 2007
+abstract=\u7b80\u4ecb
+addLayer=\u6dfb\u52a0\u56fe\u5c42
+allWords=\u6240\u6709\u6587\u5b57
+anyResult=\u65e0\u6cd5\u627e\u5230\u60a8\u6240\u9700\u8981\u7684\u7ed3\u679c
+anyWord=\u4efb\u4f55\u6587\u5b57
+arcims_image_resource=ArcIMS \u56fe\u7247
+arcims_load=\u8f7d\u5165 ArcIMS
+arcims_server_error=ArcIMS \u670d\u52a1\u5668\u51fa\u9519
+arcims_vect_resource=ArcIMS \u7279\u6027
+aspect=\u5916\u89c2\u8bbe\u7f6e
+attributes=\u7279\u6027
+BRX=BRX\:
+BRY=BRY\:
+cancelSearchButton=\u53d6\u6d88
+catalog_search=Geodata \u641c\u7d22
+cathegory=\u7c7b\u522b
+cathegoryAny=\u4efb\u4f55
+cathegoryBiota=\u751f\u7269
+cathegoryBoundaries=\u754c\u7ebf
+cathegoryClimatologyMeteorologyAtmosphere=\u5927\u6c14\u6c14\u5019\u4e0e\u6c14\u8c61
+cathegoryEconomy=\u7ecf\u6d4e\u5b66
+cathegoryElevation=\u63d0\u9ad8
+cathegoryEnvironment=\u73af\u5883
+cathegoryFarming=\u519c\u4e1a
+cathegoryGeoscientificInformation=\u5730\u7406\u79d1\u5b66\u4fe1\u606f
+cathegoryHealth=\u5065\u5eb7
+cathegoryImageryBaseMapsEarthCover=\u57fa\u4e8e\u5730\u56fe\u7684\u5730\u7403\u5c01\u9762
+cathegoryInlandWaters=\u6e2f\u5185\u6c34\u57df
+cathegoryIntelligenceMilitary=\u519b\u4e8b\u60c5\u62a5
+cathegoryLocation=\u672c\u5730\u5316
+cathegoryOceans=\u6d77\u6d0b
+cathegoryPlanningCadastre=\u89c4\u5212\u5730\u7c4d
+cathegorySociety=\u793e\u4f1a
+cathegoryStructure=\u7ed3\u6784
+cathegoryTransportation=\u8fd0\u8f93
+cathegoryUtilitiesCommunication=\u516c\u7528\u901a\u4fe1
+chooseAttribute=\u5728\u641c\u7d22\u4e4b\u524d\u5148\u9009\u5b9a\u4e00\u79cd\u7279\u6027
+close=\u5173\u95ed
+concordancia=\u63a5\u53d7
+connectButton=\u8fde\u63a5
+coordinates=\u5750\u6807
+coordinatesContains=\u5305\u542b
+coordinatesEnclose=\u5305\u62ec
+coordinatesEqual=\u4e00\u81f4
+coordinatesFullyOutsideOf=\u5b8c\u5168\u5728...\u4e4b\u5916
+database=\u6570\u636e\u5e93\u540d\u79f0
+description=\u63cf\u8ff0
+downloadColumn=\u4e0b\u8f7d
+Error_accediendo_a_los_datos=\u8bfb\u53d6\u6570\u636e\u65f6\u51fa\u9519
+errorFENotSupported=gvSIG \u53ea\u652f\u6301 FILTER ENCODING \u7f16\u7801\u67e5\u8be2
+errorGetRecords=\u8fd0\u884c getRecords \u65f6\u51fa\u9519
+errorIsASRWServer=\u8fd9\u662f SRW \u670d\u52a1\u5668\!
+errorNotCSWSupportedProtocol=\u670d\u52a1\u5668\u5df2\u53d1\u73b0\uff0c\u4f46\u662f\u5b83\u4e0d\u652f\u6301 CSW \u534f\u8bae
+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
+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
+errorNotSupportedProtocol=\u670d\u52a1\u5668\u4e0d\u652f\u6301\u6307\u5b9a\u534f\u8bae
+errorNotThesaurusSelected=WFS \u534f\u8bae\u65e0\u6cd5\u5de5\u4f5c\u5982\u679c\u60a8\u6ca1\u6709\u9009\u5b9a\u8bcd\u5e93\u3002
+errorServerException=\u670d\u52a1\u5668\u5df2\u8fd4\u56de\u4f8b\u5916
+errorServerNotFound=\u670d\u52a1\u5668\u4e0d\u5b58\u5728
+errorSOAPProtocol=SOAP \u534f\u8bae\u51fa\u9519
+exactSentence=\u5b8c\u6574\u5b57\u53e5
+from=\u6765\u81ea
+gazetteer_connect=\u6839\u636e\u5730\u540d\u5b9a\u4f4d
+gazetteer_search=\u6839\u636e\u5730\u540d\u5b9a\u4f4d
+goto=\u7f29\u653e\u641c\u5bfb\u533a\u57df
+inteligentSearch=\u667a\u80fd\u641c\u7d22
+inteligentSearchAscii=\u6240\u6709\u8bcd\u8868
+keyWords=\u5173\u952e\u5b57
+last=\u4e0a\u6b21
+lastUpdateDate=\u4e0a\u6b21\u66f4\u65b0
+layer=\u56fe\u5c42
+link=\u94fe\u63a5
+linkColumn=\u7f51\u7ad9
+linkError=\u8f7d\u5165\u94fe\u63a5\u65f6\u51fa\u9519
+linkLoad=\u8f7d\u5165\u7f51\u9875\u8d44\u6e90
+loadWMS=\u8f7d\u5165WMS 
+localize=\u5b9a\u4f4d
+lowerCoordinates=\u4e0b
+mantainold=\u5220\u9664\u65e7\u641c\u7d22
+metadata_catalog=Geodata \u641c\u7d22 - \u8fde\u63a5
+metadata_tree=\u5143\u6570\u636e\u56fe\u8868
+name=\u540d\u79f0
+next=\u7ee7\u7eed
+of=\u7684
+page=\u9875
+paint=\u63cf\u5199\u7ed3\u679c
+parameters=\u53c2\u6570
+pluginNotFound=\u6ca1\u6709\u6269\u5c55\u53ef\u8f7d\u5165\u6b64\u7c7b\u8d44\u6e90
+pluginNotFoundTitle=\u8f7d\u5165\u56fe\u5c42
+postgisColumn=PostGIS
+postgisError=\u8f7d\u5165\u6570\u636e\u5e93\u65f6\u51fa\u9519
+postgisLoad=\u8f7d\u5165 PostGIS
+protocolsGroup=\u534f\u8bae
+provider=\u4f9b\u5e94\u8005
+purpose=\u76ee\u7684
+Recursos\ Disponibles=\u53ef\u7528\u8d44\u6e90
+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
+reproyectar_pregunta=\u60a8\u8981\u91cd\u65b0\u6295\u5f71\u5417?
+resourceLinkColumn=\u94fe\u63a5
+resourceShowColumn=\u663e\u793a
+resourceTypeColumn=\u7c7b\u578b
+restrictArea=\u9650\u5236\u641c\u7d22\u8303\u56f4
+results=\u7ed3\u679c
+resutsByPage=\u6bcf\u9875\u7684\u7ed3\u679c\u6761\u6570
+return=\u8fd4\u56de
+rootName=\u6839\u76ee\u5f55
+scale=\u6bd4\u4f8b
+scaleAny=\u4efb\u4f55
+scaleI=>1.000.000
+scaleII=1.000.000 - 250.000
+scaleIII=250.000 - 50.000
+scaleIV=50.000 - 10.000
+scaleV=10.000 - 5000
+scaleVI=<5.000
+search_results=\u641c\u7d22\u7ed3\u679c
+searchButton=\u641c\u7d22
+server=\u670d\u52a1\u5668
+serverReply=\u670d\u52a1\u5668\u7684\u7b54\u6848
+serverURL=\u8bf7\u8f93\u5165\u76ee\u5f55\u670d\u52a1\u5668\u5730\u5740
+serverURLCat=\u8bf7\u8f93\u5165\u5730\u540d\u670d\u52a1\u5668\u5730\u5740
+title=\u6807\u9898
+to=\u5230
+type=\u7c7b\u578b
+ULX=ULX\:
+ULY=ULY\:
+unknown=\u672a\u77e5
+upperCoordinates=\u4e0a
+value=\u6570\u636e
+version=\u7248\u672c
+wcsColumn=\u4fdd\u9669
+wcsError=\u8f7d\u5165\u4fdd\u9669\u65f6\u51fa\u9519
+wcsLoad=\u8f7d\u5165WCS
+wfsColumn=\u7279\u6027
+wfsError=\u8f7d\u5165\u7279\u6027\u65f6\u51fa\u9519
+wfsLoad=\u8f7d\u5165WFS
+wmsColumn=\u5730\u56fe
+wmsError=\u8f7d\u5165\u5730\u56fe\u65f6\u51fa\u9519

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/config/text_zh.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/SearchButton.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/SearchButton.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/logo_horiz_bicolor_gva.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/logo_horiz_bicolor_gva.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/serverProperties.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/serverProperties.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/up.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/up.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/logoIver.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/logoIver.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/down.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/images/down.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ServerPropertiesDialog.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ServerPropertiesDialog.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ServerPropertiesDialog.java	(revision 38318)
@@ -0,0 +1,105 @@
+package org.gvsig.catalog.gui;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.andami.ui.mdiManager.WindowInfo;
+import org.gvsig.catalog.CatalogClient;
+import org.gvsig.catalog.drivers.profiles.IProfile;
+import org.gvsig.catalog.ui.serverproperties.ServerPropertiesDialogPanel;
+import org.gvsig.i18n.Messages;
+import org.gvsig.utils.swing.jcomboServer.ServerData;
+
+
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+/* CVS MESSAGES:
+ *
+ * $Id$
+ * $Log$
+ *
+ */
+/**
+ * @author Jorge Piera LLodrá (jorge.piera@iver.es)
+ */
+public class ServerPropertiesDialog extends ServerPropertiesDialogPanel implements IWindow {
+	private WindowInfo m_windowinfo = null;
+	
+	public ServerPropertiesDialog(ServerData serverData, CatalogClient client, 
+			IProfile profile, Object parentFrame) {
+		super(serverData, client, profile, parentFrame);		
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see es.gva.cit.catalog.ui.serverproperties.ServerPropertiesDialogPanel#closeButtonActionPerformed()
+	 */
+	protected void closeButtonActionPerformed() {        
+		client.setServerData(updateServerData());
+		PluginServices.getMDIManager().closeWindow(this);
+	} 
+	
+	/*
+	 * (non-Javadoc)
+	 * @see es.gva.cit.catalog.ui.serverproperties.ServerPropertiesDialogPanel#cancelButtonActionPerformed()
+	 */
+	protected void cancelButtonActionPerformed() {        
+		PluginServices.getMDIManager().closeWindow(this);
+	} 
+
+	
+	/*
+	 * (non-Javadoc)
+	 * @see com.iver.andami.ui.mdiManager.IWindow#getWindowInfo()
+	 */
+	public WindowInfo getWindowInfo() {
+		if (m_windowinfo == null){
+			m_windowinfo = new WindowInfo(WindowInfo.MODALDIALOG);
+			m_windowinfo.setTitle(Messages.getText("propertiesNameWindow"));
+			m_windowinfo.setWidth(500);
+			m_windowinfo.setHeight(280);
+		}
+		return m_windowinfo;
+	}
+	public Object getWindowProfile(){
+		return WindowInfo.DIALOG_PROFILE;
+	}
+
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ServerPropertiesDialog.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/SearchDialog.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/SearchDialog.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/SearchDialog.java	(revision 38318)
@@ -0,0 +1,213 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.gui;
+
+import java.awt.Frame;
+import java.awt.geom.Rectangle2D;
+
+import javax.swing.Icon;
+import javax.swing.JDialog;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.andami.ui.mdiManager.WindowInfo;
+import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
+import org.gvsig.catalog.CatalogClient;
+import org.gvsig.catalog.drivers.GetRecordsReply;
+import org.gvsig.catalog.querys.Coordinates;
+import org.gvsig.catalog.ui.search.SearchDialogPanel;
+import org.gvsig.catalog.utils.Frames;
+import org.gvsig.fmap.mapcontext.events.ColorEvent;
+import org.gvsig.fmap.mapcontext.events.ExtentEvent;
+import org.gvsig.fmap.mapcontext.events.ProjectionEvent;
+import org.gvsig.fmap.mapcontext.events.listeners.ViewPortListener;
+import org.gvsig.i18n.Messages;
+
+
+/**
+ * This class is used to search a record using the catalog client
+ * @author luisw
+ * @modified by Jorge Piera
+ */
+public class SearchDialog extends SearchDialogPanel implements
+IWindow,ViewPortListener {    
+	public WindowInfo m_windowInfo = null;
+	public ConnectDialog parentDialog = null;
+	public JDialog frame = null;
+
+	public SearchDialog(CatalogClient client, Object serverConnectFrame) {
+		super(client,serverConnectFrame);
+		parentDialog = (ConnectDialog)serverConnectFrame;
+		setViewChangeListener();		
+		loadViewPortCoordinates();
+	}
+
+	/* (non-Javadoc)
+	 * @see com.iver.andami.ui.mdiManager.View#getViewInfo()
+	 */
+	public WindowInfo getWindowInfo() {
+		if (m_windowInfo == null){
+			m_windowInfo = new WindowInfo(WindowInfo.PALETTE);
+			m_windowInfo.setTitle(Messages.getText("gazetteer_search") + " [" +
+					getCurrentServer() + "]");		
+			m_windowInfo.setHeight(80);
+			m_windowInfo.setWidth(525);
+		}
+		return m_windowInfo;
+
+	}
+	public Object getWindowProfile(){
+		return WindowInfo.TOOL_PROFILE;
+	}
+
+	protected void showResultsActionPerformed(GetRecordsReply recordsReply) {
+		JDialog panel = new JDialog((Frame) PluginServices.getMainFrame(), false);
+		Frames.centerFrame(panel,620,420);
+		panel.setTitle(Messages.getText( "search_results")); 
+		panel.setResizable(false);
+		ShowResultsDialog dialog = new ShowResultsDialog(panel,
+				client,
+				recordsReply,
+				1);
+		panel.getContentPane().add(dialog);
+		panel.setVisible(true); 
+	}
+
+	protected void closeButtonActionPerformed() {
+		closeJDialog();
+	}
+
+	/**
+	 * Size button action performed
+	 */	 
+	protected void resizeButtonActionPerformed(){
+		if (isMinimized){
+			frame.setSize(frame.getWidth(),495);
+			getLowerPanel().setVisible(true);
+			getUpperPanel().setIcon(getUpIcon());
+		}else{
+			frame.setSize(frame.getWidth(),165);
+			getLowerPanel().setVisible(false);	 			
+			getUpperPanel().setIcon(getDownIcon());
+		}
+		isMinimized = !isMinimized;
+	}
+	
+	/*
+	 * (non-Javadoc)
+	 * @see org.gvsig.catalog.ui.search.SearchDialogPanel#getUpIcon()
+	 */
+	protected Icon getUpIcon(){
+		return PluginServices.getIconTheme().get("catalog-up");
+	}
+	
+	/*
+	 * (non-Javadoc)
+	 * @see org.gvsig.catalog.ui.search.SearchDialogPanel#getDownIcon()
+	 */
+	protected Icon getDownIcon(){
+		return PluginServices.getIconTheme().get("catalog-down");
+	}
+	
+	/**
+	 * Return button action
+	 */
+	protected void lastButtonActionPerformed() {  
+		closeJDialog();
+		ConnectDialog serverConnect = (ConnectDialog)serverConnectFrame;
+		serverConnect.setVisible(true);
+		serverConnect.getControlsPanel().enableSearchButton(false);
+		PluginServices.getMDIManager().addWindow(serverConnect);
+	} 
+
+	public void closeJDialog() {
+		frame.setVisible(false);
+	}
+
+	/**
+	 * This method loads the view coordinates to the catalog search dialog
+	 *
+	 */
+	private void loadViewPortCoordinates(){
+		AbstractViewPanel activeView = 
+			(AbstractViewPanel) PluginServices.getMDIManager().getActiveWindow();
+
+		Rectangle2D r2d= activeView.getMapControl().getViewPort().getExtent();
+
+		try{
+			getLowerPanel().setCoordinates(new Coordinates(r2d.getMinX(),
+					r2d.getMaxY(),
+					r2d.getMaxX(),
+					r2d.getMinY()));
+		}catch(NullPointerException E){
+			//We cant retrieve the coordinates if it doesn't 
+			//exist a loaded layer
+		}
+	}
+	/*
+	 * This method joins the viewPort event to the listener
+	 */
+	private void setViewChangeListener(){
+		AbstractViewPanel activeView = 
+			(AbstractViewPanel) PluginServices.getMDIManager().getActiveWindow();
+
+		activeView.getMapControl().getViewPort().addViewPortListener(this);
+
+	}
+
+	public void extentChanged(ExtentEvent e) {
+		loadViewPortCoordinates();   
+
+	}
+
+	public void backColorChanged(ColorEvent e) {
+		// TODO Auto-generated method stub
+
+	}
+
+	public void projectionChanged(ProjectionEvent e) {
+		loadViewPortCoordinates();		
+	}
+
+	public void setFrame(JDialog frame) {
+		this.frame = frame;
+	} 	 	    
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/SearchDialog.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ChooseResourceDialog.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ChooseResourceDialog.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ChooseResourceDialog.java	(revision 38318)
@@ -0,0 +1,145 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.gui;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+
+import javax.swing.JOptionPane;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.andami.ui.mdiManager.WindowInfo;
+import org.gvsig.catalog.CatalogLocator;
+import org.gvsig.catalog.CatalogManager;
+import org.gvsig.catalog.loaders.LayerLoader;
+import org.gvsig.catalog.loaders.LayerLoaderException;
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.catalog.ui.chooseresource.ChooseResourceDialogPanel;
+import org.gvsig.i18n.Messages;
+
+
+
+/**
+ * This class implements the resources list view.
+ * 
+ * @author Jorge Piera Llodra (piera_jor@gva.es)
+ */
+public class ChooseResourceDialog extends ChooseResourceDialogPanel
+implements IWindow {
+	private static final CatalogManager catalogManager = CatalogLocator.getCatalogManager();
+	/**
+	 * @param resources
+	 * Found resources array
+	 */
+	public ChooseResourceDialog(Collection resources) {
+		super(resources);
+	}   
+	
+	public WindowInfo getWindowInfo() {
+		WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODALDIALOG);
+		m_viewinfo.setTitle(getName());
+		return m_viewinfo;
+	}
+	
+	
+	public Object getWindowProfile(){
+		return WindowInfo.DIALOG_PROFILE;
+	}
+	
+	public void closeButtonActionPerformed() {
+		closeJDialog();
+	}
+	
+	public void closeJDialog() {
+		setVisible(true);
+		PluginServices.getMDIManager().closeWindow(ChooseResourceDialog.this);
+	}
+	
+	/**
+	 * This method is invocated when a resource button is clicked
+	 */
+	public void resourceButtonActionPerformed(Resource resource){
+		LayerLoader loader = null;
+		try {
+			loader = catalogManager.getLayerLoader(resource);
+			if (loader != null) {
+				loader.loadLayer();
+			} else {
+				JOptionPane.showMessageDialog(this,
+						Messages.getText("pluginNotFound") ,
+						Messages.getText("pluginNotFoundTitle"),			
+						JOptionPane.INFORMATION_MESSAGE);	
+				return;
+			}
+			
+		} catch (IllegalArgumentException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (SecurityException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (InstantiationException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (IllegalAccessException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (InvocationTargetException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (NoSuchMethodException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (LayerLoaderException e) {
+			JOptionPane.showMessageDialog(this,
+					e.getMessage(),
+					e.getWindowMessage(),			
+					JOptionPane.ERROR_MESSAGE);	
+		}		
+		closeJDialog();
+	}   
+}
+
+
+
+
+

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ChooseResourceDialog.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ConnectDialog.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ConnectDialog.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ConnectDialog.java	(revision 38318)
@@ -0,0 +1,177 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.gui;
+
+import java.awt.Frame;
+
+import javax.swing.Icon;
+import javax.swing.JDialog;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.persistence.serverData.ServerDataPersistence;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.andami.ui.mdiManager.WindowInfo;
+import org.gvsig.catalog.drivers.ICatalogServiceDriver;
+import org.gvsig.catalog.ui.serverconnect.ServerConnectDialogPanel;
+import org.gvsig.catalog.utils.Frames;
+import org.gvsig.i18n.Messages;
+import org.gvsig.utils.swing.jcomboServer.ServerData;
+
+
+/**
+ * Inicia la consulta de catálogo de metadatos
+ *
+ * @author luisw
+ */
+public class ConnectDialog extends ServerConnectDialogPanel implements IWindow {
+	public WindowInfo m_windowInfo = null;
+
+	/**
+	 * Constructor de la ventana de dialogo.
+	 */
+	public ConnectDialog() {
+		super(null);
+		init();
+	}
+
+	/**
+	 * Inicializa el Dialog
+	 */
+	private void init() {
+		this.setBounds(0, 0, 597, 238);
+		setName("connectDialog");
+	}
+
+	/**
+	 * Add a server
+	 *
+	 * @param server
+	 */
+	public static void addServer(ServerData server) {
+		ServerConnectDialogPanel.addTreeMapServer(server);
+	}
+
+	/**
+	 * Search Button action
+	 */
+	protected void searchButtonActionPerformed() {
+		addCurrentHost();
+		closeJDialog();
+
+		JDialog panel = new JDialog((Frame) PluginServices.getMainFrame(), false);
+		Frames.centerFrame(panel,525,165);
+		panel.setTitle(Messages.getText( "catalog_search")); 
+		SearchDialog dialog = new SearchDialog(getClient(),this);
+		dialog.setCurrentServer(getCurrentServer());
+		dialog.setFrame(panel);
+		panel.getContentPane().add(dialog);
+		panel.setVisible(true);   
+	}
+
+	/**
+	 * Save the current host (if is neccessary) in a file using the andami
+	 * persistence
+	 */
+	private void addCurrentHost() {
+		String host = getClient().getSUri();
+		ServerDataPersistence persistence = new ServerDataPersistence(this,ServerData.SERVER_TYPE_CATALOG);
+		ServerData newServerData = new ServerData(host, ServerData.SERVER_TYPE_CATALOG, getClient().getProtocol(),getControlsPanel().getDatabase());
+		if (client.getServerData() != null){
+			if ((client.getServerData() .getServerAddress().compareTo(newServerData.getServerAddress()) == 0) &&
+					(client.getServerData() .getServiceSubType().compareTo(newServerData.getServiceSubType()) == 0)){
+				newServerData.setProperies(client.getServerData().getProperies());
+			}
+		}
+		persistence.addServerData(newServerData);
+		persistence.setPersistent();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see es.gva.cit.catalog.ui.serverconnect.ServerConnectDialogPanel#closeButtonActionPerformed()
+	 */
+	protected void closeButtonActionPerformed() {   
+		closeJDialog();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see es.gva.cit.catalog.ui.serverconnect.ServerConnectDialogPanel#serverPropertiesButtonActionPerformed()
+	 */
+	protected void serverPropertiesButtonActionPerformed(){
+		createClient();
+		PluginServices.getMDIManager().addWindow(new ServerPropertiesDialog(
+				getControlsPanel().getServer(),
+				client,
+				((ICatalogServiceDriver)getControlsPanel().getDriver()).getProfile(),
+				null));
+	}
+
+	/**
+	 * Close the dialog
+	 */
+	public void closeJDialog() {
+		PluginServices.getMDIManager().closeWindow(ConnectDialog.this);
+	}
+
+	/* (non-Javadoc)
+	 * @see com.iver.andami.ui.mdiManager.View#getViewInfo()
+	 */
+	public WindowInfo getWindowInfo() {
+		if (m_windowInfo == null){
+			m_windowInfo = new WindowInfo(WindowInfo.MODALDIALOG);
+			m_windowInfo.setTitle(Messages.getText("metadata_catalog"));
+			m_windowInfo.setHeight(200);
+			m_windowInfo.setWidth(600);
+		}
+		return m_windowInfo;
+	}
+	public Object getWindowProfile(){
+		return WindowInfo.DIALOG_PROFILE;
+	}
+
+	/* (non-Javadoc)
+	 * @see org.gvsig.catalog.ui.serverconnect.ServerConnectDialogPanel#getPropertiesIcon()
+	 */	
+	protected Icon getPropertiesIcon() {
+		return PluginServices.getIconTheme().get("catalog-properties");
+	}	
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ConnectDialog.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ShowTreeDialog.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ShowTreeDialog.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ShowTreeDialog.java	(revision 38318)
@@ -0,0 +1,102 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.gui;
+
+import javax.swing.JDialog;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.andami.ui.mdiManager.WindowInfo;
+import org.gvsig.catalog.metadataxml.XMLNode;
+import org.gvsig.catalog.ui.showtree.ShowTreeDialogPanel;
+
+
+
+/**
+ * DOCUMENT ME!
+ *
+ * @author jorpiell TODO To change the template for this generated type comment
+ *         go to Window - Preferences - Java - Code Style - Code Templates
+ */
+public class ShowTreeDialog extends ShowTreeDialogPanel implements IWindow {
+	 private JDialog frame = null;
+	/**
+     * DOCUMENT ME!
+     *
+     * @param node
+     */
+    public ShowTreeDialog(JDialog frame,XMLNode node) {
+        super(node);
+        this.frame = frame;
+        //8 --> Modal window
+        PluginServices.getMDIManager().getWindowInfo(this).setWindowInfo(new WindowInfo(
+                8));
+    }
+
+    /**
+     * DOCUMENT ME!
+     */
+    public void closeButtonActionPerformed() {
+        closeJDialog();
+    }
+
+    /**
+     * DOCUMENT ME!
+     */
+    public void closeJDialog() {
+    	frame.setVisible(false);
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return DOCUMENT ME!
+     */
+    public WindowInfo getWindowInfo() {
+        WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODALDIALOG);
+        m_viewinfo.setTitle(getName());
+
+        return m_viewinfo;
+    }
+    public Object getWindowProfile(){
+		return WindowInfo.DIALOG_PROFILE;
+	}
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ShowTreeDialog.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ShowResultsDialog.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ShowResultsDialog.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ShowResultsDialog.java	(revision 38318)
@@ -0,0 +1,153 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.gui;
+
+import java.awt.Frame;
+import java.util.Collection;
+
+import javax.swing.JDialog;
+import javax.swing.JOptionPane;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.andami.ui.mdiManager.WindowInfo;
+import org.gvsig.catalog.CatalogClient;
+import org.gvsig.catalog.drivers.GetRecordsReply;
+import org.gvsig.catalog.metadataxml.XMLNode;
+import org.gvsig.catalog.schemas.Record;
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.catalog.ui.showresults.ShowResultsDialogPanel;
+import org.gvsig.catalog.utils.Frames;
+import org.gvsig.i18n.Messages;
+
+
+
+/**
+ * DOCUMENT ME!
+ *
+ * @author luisw
+ */
+public class ShowResultsDialog extends ShowResultsDialogPanel implements IWindow {
+    private JDialog frame = null;
+    /**
+     * DOCUMENT ME!
+     *
+     * @param client
+     * @param nodes
+     * @param currentRecord
+     */
+    public ShowResultsDialog(JDialog frame,CatalogClient client, GetRecordsReply recordsReply,
+        int currentRecord) {
+        super(client, recordsReply, currentRecord);
+        this.frame = frame;
+    }
+
+    /**
+     * DOCUMENT ME!
+     */
+    public void descriptionButtonActionPerformed() {
+    	Record record = recordsReply.getRecordAt(getCurrentNode());
+    	if (record == null){
+    		return;
+    	}
+    	XMLNode node = record.getNode();
+    	if (node == null){
+    		JOptionPane.showMessageDialog(this,Messages.getText("Error_accediendo_a_los_datos"));
+    	}else{
+    		
+    		JDialog panel = new JDialog((Frame) PluginServices.getMainFrame(), false);
+    		Frames.centerFrame(panel, 796, 675);
+    		//panel.setBounds(0, 0, 796, 675);
+    		panel.setTitle(Messages.getText("metadata_tree"));
+    		panel.setResizable(false);
+    		
+    		ShowTreeDialog dialog = new ShowTreeDialog(panel,node);
+    		
+    		panel.getContentPane().add(dialog);
+    		panel.show();
+    	}
+        
+//        PluginServices.getMDIManager().addView(dialog);
+    }
+
+    /**
+     * DOCUMENT ME!
+     */
+    public void mapButtonActionPerformed() {
+        Resource[] resources = controlsPanel.getRecord().getResources();
+        Collection col = new java.util.ArrayList();
+        for (int i=0 ; i<resources.length ;i++){
+            col.add(resources[i]);
+        }
+        ChooseResourceDialog dialog = new ChooseResourceDialog(col);
+        dialog.setBounds(0, 0, 586, 145);
+        dialog.setName(Messages.getText("Recursos Disponibles"));
+        dialog.setVisible(true);
+        PluginServices.getMDIManager().addWindow(dialog);
+    }
+
+    /**
+     * DOCUMENT ME!
+     */
+    public void closeButtonActionPerformed() {
+        closeJDialog();
+    }
+
+    /**
+     * Cierra el Dialog
+     */
+    public void closeJDialog() {
+        frame.setVisible(false);
+    }
+
+    /* (non-Javadoc)
+     * @see com.iver.andami.ui.mdiManager.View#getViewInfo()
+     */
+    public WindowInfo getWindowInfo() {
+        WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODALDIALOG);
+        m_viewinfo.setTitle(getName());
+
+        return m_viewinfo;
+    }
+    public Object getWindowProfile(){
+		return WindowInfo.DIALOG_PROFILE;
+	}
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/gui/ShowResultsDialog.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/CatalogClientExtension.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/CatalogClientExtension.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/CatalogClientExtension.java	(revision 38318)
@@ -0,0 +1,209 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog;
+
+import java.util.Calendar;
+import java.util.Date;
+import java.util.GregorianCalendar;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.persistence.serverData.ServerDataPersistence;
+import org.gvsig.andami.plugins.Extension;
+import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
+import org.gvsig.catalog.gui.ConnectDialog;
+import org.gvsig.catalog.loaders.ARCIMSLayerLoader;
+import org.gvsig.catalog.loaders.LinkLoader;
+import org.gvsig.catalog.loaders.PostgisLayerLoader;
+import org.gvsig.catalog.loaders.WCSLayerLoader;
+import org.gvsig.catalog.loaders.WFSLayerLoader;
+import org.gvsig.catalog.loaders.WMSLayerLoader;
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.tools.ToolsLocator;
+import org.gvsig.tools.extensionpoint.ExtensionPointManager;
+import org.gvsig.utils.swing.jcomboServer.ServerData;
+
+
+
+
+/**
+ * DOCUMENT ME!
+ *
+ * @author Luis W. Sevilla
+ */
+public class CatalogClientExtension extends Extension {
+	private static final Logger LOG = LoggerFactory.getLogger(CatalogClientExtension.class);
+	private static final String CATALOGLAYERS = "CatalogLayers";
+
+	public void initialize() {
+		ExtensionPointManager extensionPointManager = ToolsLocator
+		    .getExtensionPointManager();
+		extensionPointManager.add(CATALOGLAYERS, "List of possible layers that can be loaded from a catalog");
+		registerIcons();
+	}
+
+	private void registerIcons(){
+		PluginServices.getIconTheme().registerDefault(
+				"catalog-search",
+				this.getClass().getClassLoader().getResource("images/SearchButton.png")
+		);
+		PluginServices.getIconTheme().registerDefault(
+				"catalog-up",
+				this.getClass().getClassLoader().getResource("images/up.png")
+		);
+		PluginServices.getIconTheme().registerDefault(
+				"catalog-down",
+				this.getClass().getClassLoader().getResource("images/down.png")
+		);
+		PluginServices.getIconTheme().registerDefault(
+				"catalog-record",
+				this.getClass().getClassLoader().getResource("images/IcoRecord.png")
+		);
+		PluginServices.getIconTheme().registerDefault(
+				"catalog-no-image",
+				this.getClass().getClassLoader().getResource("images/no_image.png")
+		);
+		PluginServices.getIconTheme().registerDefault(
+				"catalog-properties",
+				this.getClass().getClassLoader().getResource("images/serverProperties.png")
+		);
+	}
+
+	public void postInitialize(){
+		//Initialazing the layer loaders
+		CatalogManager catalogManager = CatalogLocator.getCatalogManager();
+		catalogManager.addLayerLoader(Resource.WMS, WMSLayerLoader.class);
+		catalogManager.addLayerLoader(Resource.POSTGIS, PostgisLayerLoader.class);
+		catalogManager.addLayerLoader(Resource.WCS, WCSLayerLoader.class);
+		catalogManager.addLayerLoader(Resource.WEBSITE, LinkLoader.class);
+		catalogManager.addLayerLoader(Resource.DOWNLOAD, LinkLoader.class);
+		catalogManager.addLayerLoader(Resource.WFS, WFSLayerLoader.class);
+		catalogManager.addLayerLoader(Resource.ARCIMS_IMAGE, ARCIMSLayerLoader.class);
+		catalogManager.addLayerLoader(Resource.ARCIMS_VECTORIAL, ARCIMSLayerLoader.class);
+	}
+
+	public void execute(String actionCommand) {
+		actionConnectDialogStart();
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 */
+	private void actionConnectDialogStart() {
+		System.out.println("Botón Cliente de metadatos pulsado");
+		restoreServerList();
+
+		ConnectDialog connectDialog = new ConnectDialog();
+		PluginServices.getMDIManager().addWindow(connectDialog);
+	}
+
+	/**
+	 * It restores a server list. If this list does't exist it create  a server
+	 * list by default.
+	 */
+	private void restoreServerList() {
+		ServerDataPersistence persistence = new ServerDataPersistence(this,ServerData.SERVER_TYPE_CATALOG);
+
+		ServerData[] servers = persistence.getArrayOfServerData();
+
+		boolean found = false;
+		for (int i=0 ; i<servers.length ; i++){
+			if (servers[i].getServiceType().equals(ServerData.SERVER_TYPE_CATALOG)){
+				found = true;
+			}
+		}       
+
+		if (!found){
+			if (servers.length == 0){
+				servers = getDefaultServers();
+			}else{
+				ServerData[] newServers = new ServerData[servers.length + getDefaultServers().length ];
+				System.arraycopy(servers, 0, newServers, 0, servers.length);
+				System.arraycopy(getDefaultServers(), 0, newServers, servers.length, getDefaultServers().length);
+				servers = newServers;
+			}
+			persistence.setArrayOfServerData(servers);
+		}
+
+
+		for (int i = 0; i < servers.length; i++) {
+			if (servers[i].getServiceType().equals(ServerData.SERVER_TYPE_CATALOG)){
+				ConnectDialog.addServer(servers[i]);
+			}
+		}
+
+
+	}
+
+	/**
+	 * It creates a server list by default
+	 *
+	 * @return
+	 */
+	private ServerData[] getDefaultServers() {
+		ServerData[] servers = new ServerData[0];
+		Calendar cal = new GregorianCalendar();
+		Date date = cal.getTime();
+
+		//servers[0] = new ServerData("http://delta.icc.es/indicio/csw", date, date, ServerData.SERVER_TYPE_CATALOG, ServerData.SERVER_SUBTYPE_CATALOG_CSW);
+		//servers[1] = new ServerData("mapas.euitto.upm.es:2100", date, date, ServerData.SERVER_TYPE_CATALOG, ServerData.SERVER_SUBTYPE_CATALOG_Z3950);
+		//servers[2] = new ServerData("193.43.36.137:2100", date, date, ServerData.SERVER_TYPE_CATALOG, ServerData.SERVER_SUBTYPE_CATALOG_Z3950);
+		//servers[3] = new ServerData("http://idee.unizar.es/SRW/servlet/search/ExplainSOAP",date,date,ServerData.SERVER_TYPE_CATALOG,ServerData.SERVER_SUBTYPE_CATALOG_SRW);
+		return servers;
+	}
+
+	public boolean isEnabled() {
+		return true;
+	}
+
+	public boolean isVisible() {
+		org.gvsig.andami.ui.mdiManager.IWindow f = PluginServices.getMDIManager()
+		.getActiveWindow();
+
+		if (f == null) {
+			return false;
+		}
+
+		return (f instanceof AbstractViewPanel);
+	}
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/CatalogClientExtension.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WMSLayerLoader.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WMSLayerLoader.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WMSLayerLoader.java	(revision 38318)
@@ -0,0 +1,118 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.loaders;
+
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.exception.InitializeException;
+import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
+import org.gvsig.i18n.Messages;
+
+
+/**
+ * This class is used to load a WMS layer in gvSIG
+ * 
+ * @author Jorge Piera Llodra (piera_jor@gva.es)
+ */
+public class WMSLayerLoader extends GvSigLayerLoader{
+    private static final String FIELD_NAME = "name";
+    private static final String FIELD_SRSSTR = "srsstr";
+    private static final String FIELD_FORMAT = "format";
+    private static final String FIELD_TRANSPARENCY = "transparency";
+    private static final String FIELD_LAYERQUERY = "layer_query";
+    private static final String FIELD_URI = "uri";
+    private static final String FIELD_ONLINERESOURC = "onlineresources";
+    
+    public WMSLayerLoader(Resource resource) {
+        super(resource);		
+    }	
+
+    protected boolean hasSpecificLayer() {        
+        return true;
+    }
+
+    protected String getLayerName() {      
+        return getResource().getName();
+    }    
+
+    protected DataStoreParameters createDataStoreParameters()
+        throws InitializeException, ProviderNotRegisteredException {
+        DataStoreParameters dataStoreParameters = DATA_MANAGER.createStoreParameters("Wms Store");        
+        dataStoreParameters.setDynValue(FIELD_URI, getResource().getLinkage());
+        dataStoreParameters.setDynValue(FIELD_FORMAT, "image/png");
+        dataStoreParameters.setDynValue(FIELD_LAYERQUERY, getResource().getName());
+        AbstractViewPanel activeView = 
+            (AbstractViewPanel) PluginServices.getMDIManager().getActiveWindow();
+        dataStoreParameters.setDynValue(FIELD_SRSSTR, activeView.getProjection().getAbrev());
+        dataStoreParameters.setDynValue(FIELD_TRANSPARENCY, Boolean.TRUE);
+        dataStoreParameters.setDynValue(FIELD_NAME, getLayerName());
+        dataStoreParameters.setDynValue(FIELD_ONLINERESOURC, createOnlineResources());
+        return dataStoreParameters;
+    }   
+    
+    protected Map createOnlineResources() {
+        Map args = new HashMap();
+        args.put("GepMap", getResource().getLinkage());      
+        return args;
+    }
+   
+    protected String extensionPointName() {
+        return "OGC:WMS";
+    }
+
+    protected String getErrorMessage() {
+        return Messages.getText("wmsError") + ".\n" +
+        Messages.getText("server") + ": " + 
+        getResource().getLinkage() + "\n" +
+        Messages.getText("layer") + ": " +
+        getResource().getName();		
+    }
+
+    protected String getWindowMessage() {
+        return Messages.getText("loadWMS");
+    }
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WMSLayerLoader.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/PostgisLayerLoader.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/PostgisLayerLoader.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/PostgisLayerLoader.java	(revision 38318)
@@ -0,0 +1,131 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.loaders;
+
+import java.util.StringTokenizer;
+import java.util.TreeMap;
+
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.catalog.utils.Strings;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.exception.InitializeException;
+import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
+import org.gvsig.i18n.Messages;
+
+
+
+/**
+ * This class is used to load a POSTGIS resource in gvSIG
+ * 
+ * @author Jorge Piera Llodra (piera_jor@gva.es)
+ */
+
+public class PostgisLayerLoader extends GvSigLayerLoader{
+        
+    public PostgisLayerLoader(Resource resource) {
+        super(resource);
+    }
+
+    protected boolean hasSpecificLayer() {
+        return false;
+    }
+
+    protected String getLayerName() {        
+        return getResource().getName();
+    }   
+    
+    protected DataStoreParameters createDataStoreParameters()
+    throws InitializeException, ProviderNotRegisteredException {
+        String jdbcUrl = getResource().getLinkage();
+        String table = getResource().getName();
+        
+        DataStoreParameters dataStoreParameters = DATA_MANAGER.createStoreParameters("PostgreSQL");
+        parseParams(dataStoreParameters, jdbcUrl, table);
+        
+        return dataStoreParameters;
+    }
+
+    private void parseParams(DataStoreParameters dataStoreParameters, String jdbcUrl, String table){
+        StringTokenizer sti = new StringTokenizer(jdbcUrl,"?");
+        String dbURL = sti.nextToken();
+        String p = sti.nextToken();
+        TreeMap map = separateParams(p);
+        String user = (String) map.get((String) "USER");
+        String pwd = (String) map.get((String) "PASSWORD");
+        map = Strings.separateParams(table);
+        dataStoreParameters.setDynValue("USER", user);
+        dataStoreParameters.setDynValue("PASSWORD",pwd);        
+        dataStoreParameters.setDynValue("WHERECLAUSE","");
+        dataStoreParameters.setDynValue("DBURL",dbURL);        
+    }
+
+    private TreeMap separateParams(String pairValues){
+        TreeMap map = new TreeMap(); 
+        String[] params = pairValues.split("&");
+        for (int i = 0; i < params.length; i++) {
+            String[] nameValue = params[i].split("=");
+            map.put(nameValue[0].toUpperCase(), nameValue[1]);
+        }
+        return map;
+    }
+
+    /*
+     *  (non-Javadoc)
+     * @see es.gva.cit.gvsig.catalogClient.loaders.LayerLoader#getErrorMessage()
+     */
+    protected String getErrorMessage() {
+        return Messages.getText("postgisError") + ".\n" +
+        Messages.getText("server") + ": " + 
+        getResource().getLinkage() + "\n" +
+        Messages.getText("parameters") + ": " +
+        getResource().getName();
+    }
+
+    /*
+     *  (non-Javadoc)
+     * @see es.gva.cit.gvsig.catalogClient.loaders.LayerLoader#getWindowMessage()
+     */
+    protected String getWindowMessage() {
+        return Messages.getText("postgisLoad");
+    }
+
+
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/PostgisLayerLoader.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WCSLayerLoader.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WCSLayerLoader.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WCSLayerLoader.java	(revision 38318)
@@ -0,0 +1,154 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.loaders;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.TreeMap;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.exception.InitializeException;
+import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
+import org.gvsig.i18n.Messages;
+
+
+/**
+ * This class is used to load a WCS  layer in gvSIG
+ * 
+ * @author Jorge Piera Llodra (piera_jor@gva.es)
+ */
+public class WCSLayerLoader extends GvSigLayerLoader{
+    private static final String FIELD_FORMAT = "format";
+    private static final String FIELD_NAME = "name";
+    private static final String FIELD_SRSSTR = "srsstr";
+    private static final String FIELD_URI = "uri";
+    private static final String FIELD_ONLINERESOURC = "onlineresources";
+    private static final String FIELD_WIDTH = "width";
+    private static final String FIELD_HEIGHT = "height";
+    private static final String FIELD_PARAM = "parameter";
+    
+    public WCSLayerLoader(Resource resource) {
+        super(resource);
+    }	
+
+    protected boolean hasSpecificLayer() {        
+        return true;
+    }
+
+    protected String getLayerName() {      
+        return getResource().getName();
+    } 
+
+    protected DataStoreParameters createDataStoreParameters()
+    throws InitializeException, ProviderNotRegisteredException {
+        DataStoreParameters dataStoreParameters = DATA_MANAGER.createStoreParameters("Wcs Store");
+        
+        parseQuery(dataStoreParameters, getResource().getLinkage());        
+        dataStoreParameters.setDynValue(FIELD_NAME, getLayerName());
+        dataStoreParameters.setDynValue(FIELD_ONLINERESOURC, createOnlineResources());
+        return dataStoreParameters;
+    }
+    
+    protected Map createOnlineResources() {
+        Map args = new HashMap();
+        args.put("GepCoverage", getResource().getLinkage());      
+        return args;
+    }
+
+    protected String extensionPointName() {
+        return "OGC:WCS";
+    }
+
+    /**
+     * Builds a coverage starting from a full GetCoverage URL.
+     * (Using this is not a regular function)
+     */
+    private void parseQuery(DataStoreParameters dataStoreParameters, String link){
+                
+        String host = null;
+        String queryString = null;
+        int index = link.indexOf("?");
+        if (index > 0){        
+            host = link.substring(0, index);
+            queryString = link.substring(index+1);
+        }else{
+            host = link;
+            queryString = "";
+        }
+        
+        queryString = link.substring(link.indexOf('?')+1);
+        dataStoreParameters.setDynValue(FIELD_URI, link.substring(0,link.indexOf('?')));
+               
+        String[] params = queryString.split("&");
+        for (int i = 0; i < params.length; i++) {
+            if (params[i]!= null){
+                String[] nameValue = params[i].split("=");
+                if(nameValue.length == 2){
+                    String param = nameValue[0].toUpperCase();
+                    if (param.equals("CRS")){
+                        dataStoreParameters.setDynValue(FIELD_SRSSTR, nameValue[1]);
+                    }else if (param.equals("FORMAT")){
+                        dataStoreParameters.setDynValue(FIELD_FORMAT, nameValue[1]);
+                    }else if (param.equals("WIDTH")){
+                        dataStoreParameters.setDynValue(FIELD_WIDTH, nameValue[1]);
+                    }else if (param.equals("HEIGHT")){
+                        dataStoreParameters.setDynValue(FIELD_HEIGHT, nameValue[1]);
+                    }else if (param.equals("BANDS")){
+                        dataStoreParameters.setDynValue(FIELD_PARAM, nameValue[1]);
+                    }                   
+                }
+            }
+        }  
+    }	
+
+    protected String getErrorMessage() {
+        return Messages.getText("wcsError") + ".\n" +
+        Messages.getText("link") + ": " + 
+        getResource().getLinkage();		
+    }
+
+    protected String getWindowMessage() {
+        return Messages.getText("wcsLoad");
+    }	
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WCSLayerLoader.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/ARCIMSLayerLoader.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/ARCIMSLayerLoader.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/ARCIMSLayerLoader.java	(revision 38318)
@@ -0,0 +1,117 @@
+package org.gvsig.catalog.loaders;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.exception.InitializeException;
+import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
+import org.gvsig.i18n.Messages;
+
+
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+
+/**
+ * @author Jorge Piera Llodrá (piera_jor@gva.es)
+ */
+public class ARCIMSLayerLoader extends GvSigLayerLoader {
+
+    public ARCIMSLayerLoader(Resource resource) {
+        super(resource);		
+    }
+
+    protected boolean hasSpecificLayer() {        
+        return false;
+    }
+
+    protected String getLayerName() {      
+        return getResource().getName();
+    }      
+
+    protected DataStoreParameters createDataStoreParameters()
+    throws InitializeException, ProviderNotRegisteredException {
+        //TODO provider for ArcIMS
+        return null;
+    }
+    
+    protected Map createArgs() {
+        String host = getResource().getLinkage();
+        String sLayer = getResource().getName();
+        String protocol = getResource().getProtocol();
+        AbstractViewPanel activeView = 
+            (AbstractViewPanel) PluginServices.getMDIManager().getActiveWindow();
+        String srs = activeView.getProjection().getAbrev();
+        
+        Map args = new HashMap();
+        args.put("host", host);
+        args.put("service_name", sLayer);
+        args.put("layer_name", sLayer);
+        args.put("srs", srs);
+        return args;
+    }
+
+    protected String extensionPointName() {
+        String protocol = getResource().getProtocol();
+        if (protocol.toUpperCase().indexOf(Resource.ARCIMS_IMAGE) >= 0){
+           return "arcims_raster";
+        }else if (protocol.toUpperCase().indexOf(Resource.ARCIMS_VECTORIAL) >= 0){
+            return "arcims_vectorial";
+        }
+        return null;
+    }
+    
+    protected String getErrorMessage() {
+        return Messages.getText("arcims_server_error") + ".\n" +
+        Messages.getText("server") + ": " + 
+        getResource().getLinkage() + "\n" +
+        Messages.getText("layer") + ": " +
+        getResource().getName();		
+    }
+
+    protected String getWindowMessage() {
+        return Messages.getText("arcims_load");
+    }	
+}
+

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/ARCIMSLayerLoader.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/GvSigLayerLoader.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/GvSigLayerLoader.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/GvSigLayerLoader.java	(revision 38318)
@@ -0,0 +1,129 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.loaders;
+
+import java.util.Map;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.fmap.dal.DALLocator;
+import org.gvsig.fmap.dal.DataManager;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.exception.InitializeException;
+import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
+import org.gvsig.fmap.mapcontext.MapContextLocator;
+import org.gvsig.fmap.mapcontext.MapContextManager;
+import org.gvsig.fmap.mapcontext.exceptions.LoadLayerException;
+import org.gvsig.fmap.mapcontext.layers.FLayer;
+import org.gvsig.tools.ToolsLocator;
+import org.gvsig.tools.extensionpoint.ExtensionPoint;
+import org.gvsig.tools.extensionpoint.ExtensionPointManager;
+
+
+/**
+ * This class has to be inherited by all the classes
+ * that have to load a layer in the current view
+ * @author Jorge Piera Llodra (piera_jor@gva.es)
+ */
+public abstract class GvSigLayerLoader extends LayerLoader{
+    private static final MapContextManager MAP_CONTEXT_MANAGER = 
+        MapContextLocator.getMapContextManager();
+    protected static final DataManager DATA_MANAGER =
+        DALLocator.getDataManager();
+    private static final ExtensionPointManager EXTENSION_POINT_MANAGER =
+        ToolsLocator.getExtensionPointManager();
+
+    /**
+     * @param resource
+     */
+    public GvSigLayerLoader(Resource resource) {
+        super(resource);		
+    }
+
+    public void loadLayer() throws LayerLoaderException {
+        FLayer layer;
+        try{
+            if (hasSpecificLayer()){
+                layer = createLayerFromExtensionPoint();       
+            }else{
+                layer = createLayerFromParameters();                 
+            }
+        } catch (Exception e) {
+            throw new LayerLoaderException(e.getMessage(), e, getWindowMessage());
+        } 
+        if (layer != null){
+            addLayerToView(layer);
+        }
+    }	
+
+    private FLayer createLayerFromParameters() throws InitializeException, ProviderNotRegisteredException, LoadLayerException{
+        DataStoreParameters dataStoreParameters = createDataStoreParameters();    
+        return MAP_CONTEXT_MANAGER.createLayer(getLayerName(), dataStoreParameters);    
+    }
+
+    private FLayer createLayerFromExtensionPoint() throws Exception{
+        DataStoreParameters dataStoreParameters = createDataStoreParameters();            
+        ExtensionPoint extensionPoint = EXTENSION_POINT_MANAGER.get("CatalogLayers");
+        return (FLayer)extensionPoint.create(extensionPointName(), new Object[]{dataStoreParameters});
+    }
+
+    /**
+     * It adds a new layer to the current view
+     * @param lyr
+     * Layer lo load
+     */
+    private void addLayerToView(FLayer lyr) {
+        AbstractViewPanel theView = 
+            (AbstractViewPanel) PluginServices.getMDIManager().getActiveWindow();
+        theView.getMapControl().getMapContext().getLayers().addLayer(lyr);			
+    }	
+
+    protected abstract boolean hasSpecificLayer();
+
+    protected String extensionPointName(){
+        return null;
+    }
+
+    protected abstract DataStoreParameters createDataStoreParameters() throws InitializeException, ProviderNotRegisteredException;
+       
+    protected abstract String getLayerName();
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/GvSigLayerLoader.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WFSLayerLoader.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WFSLayerLoader.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WFSLayerLoader.java	(revision 38318)
@@ -0,0 +1,109 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ibáñez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package org.gvsig.catalog.loaders;
+
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.exception.InitializeException;
+import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
+import org.gvsig.i18n.Messages;
+
+
+
+/**
+ * This class is used to load a WFS layer in gvSIG
+ * 
+ * @author Jorge Piera Llodra (piera_jor@gva.es)
+ */
+public class WFSLayerLoader extends GvSigLayerLoader{
+	public static final String DYNFIELDNAME_URL = "url";
+	public static final String DYNFIELDNAME_VERSION = "version";
+	public static final String DYNFIELDNAME_TYPENAME = "typeName";
+	public static final String DYNFIELDNAME_NAMESPACE = "namespace";
+	public static final String DYNFIELDNAME_NAMESPACEPREFIX = "namespacePrefix";
+	public static final String DYNFIELDNAME_FIELDS = "fields";
+	public static final String DYNFIELDNAME_FILTERENCODING = "filterEncoding";
+	public static final String DYNFIELDNAME_MAXFEATURES = "maxFeatures";
+	public static final String DYNFIELDNAME_TIMEOUT = "timeOut";
+	public static final String DYNFIELDNAME_USER = "user";
+	public static final String DYNFIELDNAME_PASSWORD = "password";
+		
+	public WFSLayerLoader(Resource resource) {
+		super(resource);
+	}	
+
+    protected boolean hasSpecificLayer() {
+        return false;
+    }
+
+    protected String getLayerName() {        
+        return getResource().getName();
+    }   
+	
+	protected DataStoreParameters createDataStoreParameters()
+        throws InitializeException, ProviderNotRegisteredException {
+	    String host = getResource().getLinkage();
+        String featureType = getResource().getName();
+        
+	    DataStoreParameters dataStoreParameters = DATA_MANAGER.createStoreParameters("WFSStore");
+        dataStoreParameters.setDynValue(DYNFIELDNAME_URL, host);
+        int index = featureType.indexOf(":");
+        if (index > 0){
+            dataStoreParameters.setDynValue(DYNFIELDNAME_NAMESPACEPREFIX, featureType.substring(0, index));
+        }
+        dataStoreParameters.setDynValue(DYNFIELDNAME_TYPENAME, featureType);
+        dataStoreParameters.setDynValue(DYNFIELDNAME_USER, "");
+        dataStoreParameters.setDynValue(DYNFIELDNAME_PASSWORD, "");
+        return dataStoreParameters;
+    }
+
+	protected String getErrorMessage() {
+		return Messages.getText("wfsError") + ".\n" +
+		Messages.getText("server") + ": " + 
+		getResource().getLinkage() + "\n" +
+		Messages.getText("layer") + ": " +
+		getResource().getName();		
+	}
+
+	protected String getWindowMessage() {
+		return Messages.getText("wfsLoad");
+	}	
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/WFSLayerLoader.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/LinkLoader.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/LinkLoader.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/LinkLoader.java	(revision 38318)
@@ -0,0 +1,88 @@
+/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
+*
+* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+*
+* 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.
+*
+* 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.
+*
+* 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.
+*
+* For more information, contact:
+*
+*  Generalitat Valenciana
+*   Conselleria d'Infraestructures i Transport
+*   Av. Blasco Ibáñez, 50
+*   46010 VALENCIA
+*   SPAIN
+*
+*      +34 963862235
+*   gvsig@gva.es
+*      www.gvsig.gva.es
+*
+*    or
+*
+*   IVER T.I. S.A
+*   Salamanca 50
+*   46005 Valencia
+*   Spain
+*
+*   +34 963163400
+*   dac@iver.es
+*/
+package org.gvsig.catalog.loaders;
+
+import java.io.IOException;
+
+import com.Ostermiller.util.Browser;
+
+import org.gvsig.catalog.schemas.Resource;
+import org.gvsig.i18n.Messages;
+
+public class LinkLoader extends LayerLoader{
+	
+	public LinkLoader(Resource resource) {
+		super(resource);		
+	}
+
+	/**
+	 * It loads the resource to the gvSIG view
+	 * @throws LayerLoaderException 
+	 */
+	public void loadLayer() throws LayerLoaderException {
+		String link = getResource().getLinkage();
+		Browser.init();
+		try {
+			Browser.displayURL(link);
+		} catch (IOException e) {
+			throw new LayerLoaderException(e.getMessage(),getWindowMessage());
+		}			
+	}
+
+	/*
+	 *  (non-Javadoc)
+	 * @see es.gva.cit.gvsig.catalogClient.loaders.LayerLoader#getErrorMessage()
+	 */
+	protected String getErrorMessage() {
+		return Messages.getText("linkError") + ".\n" +
+				Messages.getText("link") + ": " + 
+				getResource().getLinkage();						
+	}
+
+	/*
+	 *  (non-Javadoc)
+	 * @see es.gva.cit.gvsig.catalogClient.loaders.LayerLoader#getWindowMessage()
+	 */
+	protected String getWindowMessage() {
+		return Messages.getText("linkLoad");
+	}
+
+}

Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog/src/org/gvsig/catalog/loaders/LinkLoader.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2047/extensions/extCatalog/extCatalog
___________________________________________________________________
Added: svn:ignore
   + .classpath 
.project 
.settings 
maven-eclipse.xml
target
bin
hs_err_pid*
.externalToolBuilders
.settings
.classpath
.project
package.info


