Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/package.html
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/package.html	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/package.html	(revision 38349)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>org.gvsig.annotation package documentation</title>
+</head>
+<body>
+
+	<p>Annotation library testing and demo application.</p>
+
+</body>
+</html>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/package.html
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/Main.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/Main.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/Main.java	(revision 38349)
@@ -0,0 +1,88 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.main;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationLocator;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.swing.AnnotationSwingLocator;
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+import org.gvsig.annotation.swing.AnnotationWindowManager;
+import org.gvsig.annotation.swing.JAnnotationCreationServicePanel;
+import org.gvsig.fmap.crs.CRSFactory;
+import org.gvsig.fmap.dal.DALLocator;
+import org.gvsig.fmap.dal.DataManager;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.tools.library.impl.DefaultLibrariesInitializer;
+
+/**
+ * Main executable class for testing the Annotation library.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class Main {
+
+    private static final Logger LOG = LoggerFactory.getLogger(Main.class);
+
+    private AnnotationManager annotationManager;
+    private AnnotationSwingManager annotationSwingManager;
+    private DataManager dataManager;
+
+    public static void main(String args[]) throws Exception {
+        new DefaultLibrariesInitializer().fullInitialize();
+        Main main = new Main();
+        main.show();
+    }    
+    
+    @SuppressWarnings("serial")
+    public void show() throws Exception {
+        annotationManager = AnnotationLocator.getManager();
+        annotationSwingManager = AnnotationSwingLocator.getSwingManager();
+        dataManager = DALLocator.getDataManager();
+        
+        
+        JAnnotationCreationServicePanel annotationCreationService = annotationSwingManager.createAnnotation(createService());
+        annotationSwingManager.getWindowManager().showWindow(annotationCreationService, "Annotation App. example", AnnotationWindowManager.MODE_DIALOG);
+    }   
+    
+    /**
+     * Returns an instance of the {@link AnnotationCreationService}.
+     * 
+     * @return a {@link AnnotationCreationService} instance
+     * @throws Exception
+     *             if there is any error creating the instance
+     */
+    protected AnnotationCreationService createService() throws Exception {
+    	String sourceFileName = getClass().getClassLoader().getResource("org/gvsig/annotation/data/andalucia.shp").getFile();
+    	DataStoreParameters sourceParameters = dataManager.createStoreParameters("Shape");
+     	sourceParameters.setDynValue("shpfile", sourceFileName);
+     	sourceParameters.setDynValue("crs", CRSFactory.getCRS("EPSG:23030"));
+     	FeatureStore sourceStore = (FeatureStore) dataManager.openStore("Shape", sourceParameters);
+    	return annotationManager.getAnnotationCreationService(sourceStore);
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/Main.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/PreferencesMain.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/PreferencesMain.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/PreferencesMain.java	(revision 38349)
@@ -0,0 +1,88 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.main;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationLocator;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.swing.AnnotationSwingLocator;
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+import org.gvsig.annotation.swing.AnnotationWindowManager;
+import org.gvsig.annotation.swing.JAnnotationPreferencesPanel;
+import org.gvsig.fmap.crs.CRSFactory;
+import org.gvsig.fmap.dal.DALLocator;
+import org.gvsig.fmap.dal.DataManager;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.tools.library.impl.DefaultLibrariesInitializer;
+
+/**
+ * Main executable class for testing the Annotation library.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class PreferencesMain {
+
+    private static final Logger LOG = LoggerFactory.getLogger(PreferencesMain.class);
+
+    private AnnotationManager annotationManager;
+    private AnnotationSwingManager annotationSwingManager;
+    private DataManager dataManager;
+
+    public static void main(String args[]) throws Exception {
+        new DefaultLibrariesInitializer().fullInitialize();
+        PreferencesMain main = new PreferencesMain();
+        main.show();
+    }    
+    
+    @SuppressWarnings("serial")
+    public void show() throws Exception {
+        annotationManager = AnnotationLocator.getManager();
+        annotationSwingManager = AnnotationSwingLocator.getSwingManager();
+        dataManager = DALLocator.getDataManager();
+        
+        
+        JAnnotationPreferencesPanel annotationPreferencesPanel = annotationSwingManager.createAnnotationPreferences();
+        annotationSwingManager.getWindowManager().showPreferencesWindow(annotationPreferencesPanel, "Annotation Preferences. example", AnnotationWindowManager.MODE_DIALOG);
+    }   
+    
+    /**
+     * Returns an instance of the {@link AnnotationCreationService}.
+     * 
+     * @return a {@link AnnotationCreationService} instance
+     * @throws Exception
+     *             if there is any error creating the instance
+     */
+    protected AnnotationCreationService createService() throws Exception {
+    	String sourceFileName = getClass().getClassLoader().getResource("org/gvsig/annotation/data/andalucia.shp").getFile();
+    	DataStoreParameters sourceParameters = dataManager.createStoreParameters("Shape");
+     	sourceParameters.setDynValue("shpfile", sourceFileName);
+     	sourceParameters.setDynValue("crs", CRSFactory.getCRS("EPSG:23030"));
+     	FeatureStore sourceStore = (FeatureStore) dataManager.openStore("Shape", sourceParameters);
+    	return annotationManager.getAnnotationCreationService(sourceStore);
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/java/org/gvsig/annotation/main/PreferencesMain.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/README.txt
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/README.txt	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/README.txt	(revision 38349)
@@ -0,0 +1,8 @@
+Put into this folder the resources needed by your classes.
+
+This folder is added to the classpath, so you can load any resources 
+through the ClassLoader.
+
+By default, in this folder you can find an example of log4j configuration,
+prepared to log messages through the console, so logging works when you
+run your classes.
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/README.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/log4j.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/log4j.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/log4j.xml	(revision 38349)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- 
+Log4J configuration file for unit tests execution.
+ -->
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+
+	<!-- Appender configuration to show logging messages through the console -->
+	<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+		<layout class="org.apache.log4j.PatternLayout">
+			<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{2}.%M()]\n  %m%n" />
+		</layout>
+	</appender>
+
+	<!-- 
+	Activate logging messages of DEBUG level of higher only for the
+	org.gvsig.tools packages.
+	You can put full classes names or packages instead, to configure
+	logging for all the classes and subpackages of the package.
+	-->
+	<category name="org.gvsig.tools">
+		<priority value="DEBUG" />
+	</category>
+	<category name="org.gvsig.annotation">
+		<priority value="DEBUG" />
+	</category>
+
+	<!-- 
+	By default, show only logging messages of INFO level or higher, 
+	through the previously configured CONSOLE appender. 
+	-->
+	<root>
+		<priority value="INFO" />
+		<appender-ref ref="CONSOLE" />
+	</root>
+</log4j:configuration>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/log4j.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/org/gvsig/annotation/data/andalucia.shx
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/org/gvsig/annotation/data/andalucia.shx
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/org/gvsig/annotation/data/andalucia.shp
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/org/gvsig/annotation/data/andalucia.shp
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream
Added: svn:executable
   + *

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/org/gvsig/annotation/data/andalucia.dbf
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/src/main/resources/org/gvsig/annotation/data/andalucia.dbf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream
Added: svn:executable
   + *

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/pom.xml	(revision 38349)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<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.annotation.main</artifactId>
+	<packaging>jar</packaging>
+	<name>org.gvsig.annotation.main</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.annotation</artifactId>
+		<version>1.0.0-SNAPSHOT</version>
+	</parent>
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.annotation.lib.api</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+            <scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.annotation.lib.impl</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+			<scope>runtime</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.annotation.swing.api</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+            <scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.annotation.swing.impl</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+			<scope>runtime</scope>
+		</dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.lib</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.swing.impl</artifactId>
+            <scope>runtime</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.projection</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+	</dependencies>
+</project>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.main
___________________________________________________________________
Added: svn:ignore
   + target
bin
.settings
.classpath
.project


Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/pom.xml	(revision 38349)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+		 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>org.gvsig.annotation.lib</artifactId>
+	<packaging>pom</packaging>
+	<name>org.gvsig.annotation.lib</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.annotation</artifactId>
+		<version>1.0.0-SNAPSHOT</version>
+	</parent>
+
+	<modules>
+		<module>org.gvsig.annotation.lib.api</module>
+		<module>org.gvsig.annotation.lib.impl</module>
+	</modules>
+</project>

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 38349)
@@ -0,0 +1 @@
+org.gvsig.annotation.AnnotationLibrary
\ No newline at end of file
Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationService.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationService.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationService.java	(revision 38349)
@@ -0,0 +1,126 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+
+package org.gvsig.annotation;
+
+import org.gvsig.annotation.calculator.AnnotationPositionCalculator;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.tools.task.MonitorableTask;
+
+/**
+ * <p>
+ * This service is used to create an annotation layer.
+ * </p>
+ * <p>
+ * It inherits if {@link MonitorableTask}, and it means that the annotation 
+ * process can be monitorized by one or more observers that can listen
+ * all the export events.
+ * <p>
+ * @author gvSIG team
+ * @version $Id$
+ */
+public interface AnnotationCreationService extends MonitorableTask {
+
+	/**
+	 * @return
+	 * the store that is used like input.
+	 */
+	public FeatureStore getFeatureStore();
+	
+	/**
+	 * This method creates a {@link FeatureStore} with the annotations. 
+	 * @param destinationShapeFile 
+	 * path there the shape this the annotation information is created.
+	 * @param textValueAttributeIndex
+	 * attribute index of the original {@link FeatureStore} that contains the text.
+	 * @return
+	 * a new store with the annotation information.
+	 * @throws AnnotationCreationException
+	 * if there is an error creating the annotation store. 
+	 */
+    public FeatureStore createAnnotationStore(String destinationShapeFile, int textValueAttributeIndex) throws AnnotationCreationException;
+	
+    /**
+	 * This method creates a {@link FeatureStore} with the annotations. 
+	 * @param destinationShapeFile 
+	 * path there the shape this the annotation information is created.
+	 * @param textValueAttributeName
+	 * attribute name of the original {@link FeatureStore} that contains the text.
+	 * @return
+	 * a new store with the annotation information.
+	 * @throws AnnotationCreationException
+	 * if there is an error creating the annotation store. 
+	 */
+    public FeatureStore createAnnotationStore(String destinationShapeFile, String textValueAttributeName) throws AnnotationCreationException;   
+    
+    /**
+     * Sets the {@link AnnotationCreationFinishAction} that is used at the end
+     * of the annotation creation service. 
+     * @param annotationCreationFinishAction
+     * it contains an action that can be executed at the end of the annotation
+     * creation process.
+     */
+    public void setAnnotationCreationFinishAction(AnnotationCreationFinishAction annotationCreationFinishAction);
+    
+    /**
+     * @return
+     * the {@link AnnotationCreationFinishAction} used at the end of the annotation
+     * creation process.
+     */
+    public AnnotationCreationFinishAction getAnnotationCreationFinishAction();
+    
+    /**
+     * Sets an {@link AnnotationPositionCalculator} used to calculate the
+     * position of the 
+     * @param annotationPositionCalculator
+     */
+    public void setAnnotationPositionCalculator(AnnotationPositionCalculator annotationPositionCalculator);
+       
+    public void setFontTypetAttribute(int index) throws DataException;
+    
+    public void setFontStyleAttribute(int index) throws DataException;
+    			
+    public void setFontColorAttribute(int index) throws DataException;
+    
+    public void setFontHeigthAttribute(int index) throws DataException;
+    
+    public void setFontRotationAttribute(int index) throws DataException;
+    
+    public void setFontTypetAttribute(String attributeName) throws DataException;
+    
+    public void setFontStyleAttribute(String attributeName) throws DataException;
+    		
+    public void setFontColorAttribute(String attributeName) throws DataException;
+    
+    public void setFontHeigthAttribute(String attributeName) throws DataException;
+    
+    public void setFontRotationAttribute(String attributeName) throws DataException;
+    
+    /**
+     * Returns the {@link AnnotationManager}
+     * 
+     * @return {@link AnnotationManager}
+     * @see {@link AnnotationManager}
+     */
+    public AnnotationManager getManager();
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationService.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationManager.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationManager.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationManager.java	(revision 38349)
@@ -0,0 +1,250 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation;
+
+import java.awt.Color;
+import java.util.List;
+
+import org.gvsig.annotation.calculator.AnnotationPositionCalculator;
+import org.gvsig.annotation.calculator.AnnotationPositionCalculatorCreationException;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.tools.service.ServiceException;
+
+/**
+ * This class is responsible of the management of the library's business logic.
+ * It is the library's main entry point, and provides all the services to manage
+ * {@link AnnotationCreationService}s.
+ * 
+ * @see AnnotationCreationService
+ * @author gvSIG team
+ * @version $Id$
+ */
+public interface AnnotationManager {
+	/**
+	 * Name of the datastore attribute that contains the text
+	 * of the annotation.
+	 */
+	public static final String TEXTVALUE_ATTRIBUTE_NAME = "Text";
+	
+	/**
+	 * Name of the datastore attribute that contains the font type
+	 * of the annotation.
+	 */
+	public static final String FONTTYPE_ATTRIBUTE_NAME = "FontType";
+	
+	/**
+	 * Name of the datastore attribute that contains the font style
+	 * of the annotation.
+	 */
+	public static final String FONTSTYLE_ATTRIBUTE_NAME = "FontStyle";
+	
+	/**
+	 * Name of the datastore attribute that contains the font color
+	 * of the annotation.
+	 */
+	public static final String FONTCOLOR_ATTRIBUTE_NAME = "FontColor";
+	
+	/**
+	 * Name of the datastore attribute that contains the font rotation
+	 * of the annotation.
+	 */
+	public static final String FONTROTATION_ATTRIBUTE_NAME = "Rotation";
+	
+	/**
+	 * Name of the datastore attribute that contains the font heigth
+	 * of the annotation.
+	 */
+	public static final String FONTHEGTH_ATTRIBUTE_NAME = "Heigth";
+
+	/**
+	 * Create an instance of a {@link AnnotationCreationService}.
+	 * 
+	 * @param the feature store that is used like input.
+	 * @return {@link AnnotationCreationService}
+	 * @throws ServiceException
+	 *             if there is an error getting the service
+	 */
+	public AnnotationCreationService getAnnotationCreationService(FeatureStore featureStore)
+	throws ServiceException;
+
+	/**
+	 * It registers a class that can be used to caclulate the position of an
+	 * annotation.
+	 * @param name
+	 * The name used to register the class.
+	 * @param annotationPositionCalculatorClass
+	 * The class that is able to calculate an annotation point.
+	 */
+	public void registerAnnotationPositionCalculator(String name, Class annotationPositionCalculatorClass);
+
+	/**
+	 * It registers the default implementation of an {@link AnnotationPositionCalculator}
+	 * class. It will be used by default if the user don't specify any of them.
+	 * @param annotationPositionCalculatorClass
+	 * A class that is able to calculate an annotation point.
+	 */
+	public void registerDefaultAnnotationPositionCalculator(Class annotationPositionCalculatorClass);
+
+	/**
+	 * It returns an object that can be used to create the point
+	 * where the annotation is displayed.
+	 * @param name
+	 * the name used to register the class.
+	 * @return
+	 * a class that is able to calculate an annotation point.
+	 * @throws AnnotationPositionCalculatorCreationException
+	 * if is not possible to create the object.
+	 */
+	public AnnotationPositionCalculator getAnnotationPositionCalculator(String name) throws AnnotationPositionCalculatorCreationException;
+
+	/**
+	 * It returns the default {@link AnnotationPositionCalculator}.
+	 * @return
+	 * the default {@link AnnotationPositionCalculator}.
+	 * @throws AnnotationPositionCalculatorCreationException
+	 * if is not possible to create the object.
+	 */
+	public AnnotationPositionCalculator getDefaultAnnotationPositionCalculator() throws AnnotationPositionCalculatorCreationException;
+
+	/**
+	 * @return
+	 * the list of the names used to register the {@link AnnotationPositionCalculator} classes.
+	 */
+	public List<String> getAnnotationPositionCalculatorList();
+
+	/**
+	 * Value used like the default value for the text field.
+	 * @return
+	 * the default text value.
+	 */
+	public String getDefaultTextValue();
+
+	/**
+	 * Set the default value for the text field.
+	 * @param textValue
+	 * the default text value.
+	 */
+	public void setDefaultTextValue(String textValue);
+
+	/**
+	 * Value used like the default value for the font type field.
+	 * @return
+	 * the default font type value.
+	 */
+	public String getDefaultFontType();
+
+	/**
+	 * Set the default value for the font type field.
+	 * @param fontType
+	 * the default font type value.
+	 */
+	public void setDefaultFontType(String fontType);
+
+	/**
+	 * @return
+	 * the list of possible values for the font type field.
+	 */
+	public List<String> getFontTypes();
+
+	/**
+	 * It adds a new value for the font type field.
+	 * @param fontType
+	 * the new font type.
+	 */
+	public void addFontType(String fontType);
+
+	/**
+	 * Value used like the default value for the font style field.
+	 * @return
+	 * the default font style value.
+	 */
+	public String getDefaultFontStyle();
+
+	/**
+	 * Set the default value for the font style field.
+	 * @param fontStyle
+	 * the default font style value.
+	 */
+	public void setDefaultFontStyle(String fontStyle);
+
+	/**
+	 * @return
+	 * the list of possible values for the font style field.
+	 */
+	public List<String> getFontStyles();
+
+	/**
+	 * It adds a new value for the font style field.
+	 * @param fontStyle
+	 * the new font style.
+	 */
+	public void addFontStyle(String fontStyle);
+
+	/**
+	 * Value used like the default value for the font color field.
+	 * @return
+	 * the default font color value.
+	 */
+	public int getDefaultFontColor();
+
+	/**
+	 * Set the default value for the font color field.
+	 * @param fontColor
+	 * the default font color value.
+	 */
+	public void setDefaultFontColor(int fontColor);
+	
+	/**
+	 * Set the default value for the font color field.
+	 * @param fontColor
+	 * the default font color value.
+	 */
+	public void setDefaultFontColor(Color fontColor);
+
+	/**
+	 * Value used like the default value for the font height field.
+	 * @return
+	 * the default font height value.
+	 */
+	public double getDefaultFontHeight();
+
+	/**
+	 * Set the default value for the font height field.
+	 * @param fontHeight
+	 * the default font height value.
+	 */
+	public void setDefaultFontHeight(double fontHeight);
+
+	/**
+	 * Value used like the default value for the font rotation field.
+	 * @return
+	 * the default font rotation value.
+	 */
+	public double getDefaultFontRotation();
+
+	/**
+	 * Set the default value for the font rotation field.
+	 * @param fontRotation
+	 * the default font rotation value.
+	 */
+	public void setDefaultFontRotation(double fontRotation);        
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationManager.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationDataTypes.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationDataTypes.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationDataTypes.java	(revision 38349)
@@ -0,0 +1,46 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * 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., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+/*
+ * AUTHORS (In addition to CIT):
+ * 2010 {Prodevelop}   {Task}
+ */
+
+package org.gvsig.annotation;
+
+import org.gvsig.fmap.dal.DataStore;
+import org.gvsig.tools.dataTypes.DataTypes;
+
+/**
+ * DataTypes for the fields that are created in an annotation {@link DataStore}.
+ * 
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class AnnotationDataTypes {
+	public static int TEXT = DataTypes.STRING;
+	public static int FONTROTATION = DataTypes.DOUBLE;
+	public static int FONTCOLOR = DataTypes.INT;
+	public static int FONTHEIGHT = DataTypes.DOUBLE;
+	public static int FONTTYPE = DataTypes.STRING;
+	public static int FONTSTYLE = DataTypes.STRING;
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationDataTypes.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationException.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationException.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationException.java	(revision 38349)
@@ -0,0 +1,96 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation;
+
+import org.gvsig.tools.exception.BaseException;
+
+/**
+ * Generic exception thrown in the Annotation API when the exception or error
+ * may be dealt by the program or the user of the program which is a client of
+ * the Annotation API.
+ * 
+ * @see {@link AnnotationCreationService}
+ * @see {@link AnnotationManager}
+ * @author gvSIG team.
+ * @version $Id$
+ */
+public class AnnotationException extends BaseException {
+
+    private static final long serialVersionUID = 6756475060924237176L;
+
+    private static final String MESSAGE =
+        "An error has been produced in the Annotation library";
+
+    private static final String KEY = "_AnnotationException";
+
+    /**
+     * Constructor to be used in rare cases, usually you must create a new child
+     * exception class for each case.
+     * <strong>Don't use this constructor in child classes.</strong>
+     */
+    public AnnotationException() {
+        super(MESSAGE, KEY, serialVersionUID);
+    }
+
+    /**
+     * Constructor to be used in rare cases, usually you must create a new child
+     * exception class for each case.
+     * <p>
+     * <strong>Don't use this constructor in child classes.</strong>
+     * </p>
+     * 
+     * @param cause
+     *            the original cause of the exception
+     */
+    public AnnotationException(Exception cause) {
+        super(MESSAGE, cause, KEY, serialVersionUID);
+    }
+
+    /**
+     * @see BaseException#BaseException(String, String, long).
+     * @param message
+     *            the default messageFormat to describe the exception
+     * @param key
+     *            the key to use to search a localized messageFormnata
+     * @param code
+     *            the unique code to identify the exception
+     */
+    protected AnnotationException(String message, String key, long code) {
+        super(message, key, code);
+    }
+
+    /**
+     * @see BaseException#BaseException(String, Throwable, String, long).
+     * @param message
+     *            the default messageFormat to describe the exception
+     * @param cause
+     *            the original cause of the exception
+     * @param key
+     *            the key to use to search a localized messageFormnata
+     * @param code
+     *            the unique code to identify the exception
+     */
+    protected AnnotationException(String message, Throwable cause,
+        String key, long code) {
+        super(message, cause, key, code);
+    }
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationException.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculationException.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculationException.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculationException.java	(revision 38349)
@@ -0,0 +1,55 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.calculator;
+
+import org.gvsig.annotation.AnnotationException;
+
+/**
+ * This exception is thrown if there is a problem calculating the
+ * point where the annotation has to be displayed.
+ * 
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class AnnotationPositionCalculationException extends AnnotationException {
+	private static final long serialVersionUID = -2759803769427383259L;
+
+	private static final String MESSAGE =
+        "An error has been produced calculating the annotation position";
+
+    private static final String KEY = "_AnnotationPositionCalculationException";
+
+    /**
+     * Creates a new {@link AnnotationPositionCalculationException}.
+     * 
+     * @param cause
+     *            the original cause
+     */
+    public AnnotationPositionCalculationException(Throwable cause) {
+        super(MESSAGE, cause, KEY, serialVersionUID);
+    }
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculationException.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculatorCreationException.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculatorCreationException.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculatorCreationException.java	(revision 38349)
@@ -0,0 +1,59 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.calculator;
+
+import org.gvsig.annotation.AnnotationException;
+
+
+/**
+ * This exception is thrown if it is not possible to create an
+ * {@link AnnotationPositionCalculator} object.
+ * 
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class AnnotationPositionCalculatorCreationException extends AnnotationException {
+	private static final long serialVersionUID = 8725010909175451070L;
+	private String name = null;
+	
+	private static final String MESSAGE =
+        "An error has been produced creating the %(name) AnnotationPositionCalculator";
+
+    private static final String KEY = "_CreationAnnotationPositionCalculatoException";
+
+    /**
+     * Creates a new {@link AnnotationPositionCalculatorCreationException}.
+     * 
+     * @param cause
+     *            the original cause
+     */
+    public AnnotationPositionCalculatorCreationException(String name, Throwable cause) {
+        super(MESSAGE, cause, KEY, serialVersionUID);
+        setValue("name", name);
+    }      
+ 
+}
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculatorCreationException.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculator.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculator.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculator.java	(revision 38349)
@@ -0,0 +1,54 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.calculator;
+
+import org.gvsig.fmap.dal.feature.Feature;
+import org.gvsig.fmap.geom.primitive.Point;
+
+/**
+ * This class calculates the position of an annotation layer. It has a 
+ * method that calculates the {@link Point} where the annotation has to
+ * be displayed.
+ * 
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public interface AnnotationPositionCalculator {
+
+	/**
+	 * This method returns the position where the annotation has to be displayed.
+	 * @param feature 
+	 * the feature that is used like input. 
+	 * @return
+	 * the point where the annotation is displayed.
+	 * @throws AnnotationPositionCalculationException
+	 * if there is an exception calculating the point
+	 */
+	public Point getAnnotationPosition(Feature feature) throws AnnotationPositionCalculationException;	
+
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/calculator/AnnotationPositionCalculator.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationException.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationException.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationException.java	(revision 38349)
@@ -0,0 +1,52 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation;
+
+/**
+ * Exception thrown when there is an error creating an Annotation layer.
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class AnnotationCreationException extends AnnotationException {
+
+    private static final long serialVersionUID = -4051458353306878010L;
+
+    private static final String MESSAGE =
+        "An error has been produced " + "creating the Annotation layer";
+
+    private static final String KEY = "_AnnotationCreationException";
+
+    /**
+     * Creates a new {@link AnnotationCreationException}.
+     * 
+     * @param cause
+     *            the original cause
+     */
+    public AnnotationCreationException(Throwable cause) {
+        super(MESSAGE, cause, KEY, serialVersionUID);
+    }
+    
+    public AnnotationCreationException(String message) {
+        super(message, KEY, serialVersionUID);
+    }
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationException.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationFinishAction.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationFinishAction.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationFinishAction.java	(revision 38349)
@@ -0,0 +1,49 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation;
+
+import org.gvsig.fmap.dal.feature.FeatureStore;
+
+/**
+ * Action that can be executed at the end of the annotation 
+ * creation process. An example of action can be load the destination
+ * {@link FeatureStore} like a layer in a view.
+ * 
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public interface AnnotationCreationFinishAction {
+
+	/**
+	 * This method is called at the end of an annotation
+	 * creation process.
+	 * @param featureStore
+	 * the destination store.
+	 */
+	public void finished(FeatureStore featureStore);
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationFinishAction.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationLocator.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationLocator.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationLocator.java	(revision 38349)
@@ -0,0 +1,98 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation;
+
+import org.gvsig.tools.locator.BaseLocator;
+import org.gvsig.tools.locator.Locator;
+import org.gvsig.tools.locator.LocatorException;
+
+/**
+ * This locator is the entry point for the Annotation library, providing
+ * access to all Annotation services through the {@link AnnotationManager}
+ * .
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class AnnotationLocator extends BaseLocator {
+
+    /**
+     * Annotation manager name.
+     */
+    public static final String MANAGER_NAME = "Annotation.manager";
+
+    /**
+     * Annotation manager description.
+     */
+    public static final String MANAGER_DESCRIPTION = "Annotation Manager";
+
+    private static final String LOCATOR_NAME = "Annotation.locator";
+
+    /**
+     * Unique instance.
+     */
+    private static final AnnotationLocator INSTANCE =
+        new AnnotationLocator();
+
+    /**
+     * Return the singleton instance.
+     * 
+     * @return the singleton instance
+     */
+    public static AnnotationLocator getInstance() {
+        return INSTANCE;
+    }
+
+    /**
+     * Return the Locator's name.
+     * 
+     * @return a String with the Locator's name
+     */
+    public final String getLocatorName() {
+        return LOCATOR_NAME;
+    }
+
+    /**
+     * Return a reference to the AnnotationManager.
+     * 
+     * @return a reference to the AnnotationManager
+     * @throws LocatorException
+     *             if there is no access to the class or the class cannot be
+     *             instantiated
+     * @see Locator#get(String)
+     */
+    public static AnnotationManager getManager() throws LocatorException {
+        return (AnnotationManager) getInstance().get(MANAGER_NAME);
+    }
+
+    /**
+     * Registers the Class implementing the AnnotationManager interface.
+     * 
+     * @param clazz
+     *            implementing the AnnotationManager interface
+     */
+    public static void registerManager(
+        Class<? extends AnnotationManager> clazz) {
+        getInstance().register(MANAGER_NAME, MANAGER_DESCRIPTION, clazz);
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationLocator.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/package.html
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/package.html	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/package.html	(revision 38349)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>org.gvsig.annotation package documentation</title>
+</head>
+<body>
+
+	<p>Annotation library API.</p>
+	
+	<p>
+	It allows to get new Annotation and get their text.
+	</p>
+
+</body>
+</html>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/package.html
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationServiceException.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationServiceException.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationServiceException.java	(revision 38349)
@@ -0,0 +1,46 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation;
+
+import org.gvsig.tools.service.ServiceException;
+
+/**
+ * Exception thrown by the {@link AnnotationCreationService}.
+ * 
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class AnnotationCreationServiceException extends ServiceException {
+	private static final long serialVersionUID = -4200816057552322619L;
+	private final static String MESSAGE_KEY = "_AnnotationCreationServiceException";	
+
+
+	public AnnotationCreationServiceException(String message, Throwable e) {
+		super(message, e, MESSAGE_KEY, serialVersionUID);
+		this.initCause(e);		
+	}
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationServiceException.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationLibrary.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationLibrary.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationLibrary.java	(revision 38349)
@@ -0,0 +1,61 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation;
+
+import org.gvsig.fmap.dal.DALLibrary;
+import org.gvsig.tools.library.AbstractLibrary;
+import org.gvsig.tools.library.LibraryException;
+import org.gvsig.tools.locator.ReferenceNotRegisteredException;
+
+/**
+ * Library for API initialization and configuration.
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class AnnotationLibrary extends AbstractLibrary {
+	
+    @Override
+    public void doRegistration() {
+        registerAsAPI(AnnotationLibrary.class);
+        require(DALLibrary.class);
+    }
+
+	@Override
+    protected void doInitialize() throws LibraryException {
+        // Do nothing
+		
+    }
+
+    @Override
+    protected void doPostInitialize() throws LibraryException {
+    	
+    	// Validate there is any implementation registered.
+        AnnotationManager manager = AnnotationLocator.getManager();
+        if (manager == null) {
+            throw new ReferenceNotRegisteredException(
+                AnnotationLocator.MANAGER_NAME, AnnotationLocator
+                    .getInstance());
+        }
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/resources/org/gvsig/annotation/data/andalucia.shx
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/resources/org/gvsig/annotation/data/andalucia.shx
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream
Added: svn:executable
   + *

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/resources/org/gvsig/annotation/data/andalucia.shp
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/resources/org/gvsig/annotation/data/andalucia.shp
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream
Added: svn:executable
   + *

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/resources/org/gvsig/annotation/data/andalucia.dbf
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/resources/org/gvsig/annotation/data/andalucia.dbf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream
Added: svn:executable
   + *

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/java/org/gvsig/annotation/AnnotationCreationServiceTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/java/org/gvsig/annotation/AnnotationCreationServiceTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/java/org/gvsig/annotation/AnnotationCreationServiceTest.java	(revision 38349)
@@ -0,0 +1,204 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.gvsig.fmap.crs.CRSFactory;
+import org.gvsig.fmap.dal.DALLocator;
+import org.gvsig.fmap.dal.DataManager;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.feature.Feature;
+import org.gvsig.fmap.dal.feature.FeatureSet;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.fmap.dal.feature.FeatureType;
+import org.gvsig.fmap.geom.Geometry;
+import org.gvsig.fmap.geom.exception.CreateGeometryException;
+import org.gvsig.fmap.geom.primitive.Point;
+import org.gvsig.i18n.Messages;
+import org.gvsig.tools.dispose.DisposableIterator;
+import org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase;
+
+
+/**
+ * API compatibility tests for {@link AnnotationCreationService} implementations.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public abstract class AnnotationCreationServiceTest extends
+    AbstractLibraryAutoInitTestCase {
+
+    protected AnnotationManager manager;
+    protected DataManager dataManager;
+
+    @Override
+    protected void doSetUp() throws Exception {
+        manager = AnnotationLocator.getManager();
+        dataManager = DALLocator.getDataManager();
+    }
+
+    /**
+     * Returns an instance of the {@link AnnotationCreationService}.
+     * 
+     * @return a {@link AnnotationCreationService} instance
+     * @throws Exception
+     *             if there is any error creating the instance
+     */
+    protected AnnotationCreationService createService() throws Exception {
+    	String sourceFileName = getClass().getClassLoader().getResource("org/gvsig/annotation/data/andalucia.shp").getFile();
+    	DataStoreParameters sourceParameters = dataManager.createStoreParameters("Shape");
+     	sourceParameters.setDynValue("shpfile", sourceFileName);
+     	sourceParameters.setDynValue("crs", CRSFactory.getCRS("EPSG:23030"));
+     	FeatureStore sourceStore = (FeatureStore) dataManager.openStore("Shape", sourceParameters);
+    	return manager.getAnnotationCreationService(sourceStore);
+    }
+
+    /**
+     * Test for the {@link AnnotationCreationService#getMessage()} method.
+     * 
+     * @throws Exception
+     *             if there is any error in the tests
+     */
+    public void testAnnotationServiceMessage() throws Exception {
+        AnnotationCreationService annotationCreationService = createService();
+            
+        File temporalFolder = new File(System.getProperty("java.io.tmpdir") +  File.separator + "tmp_gvsig_annotation");
+        if (!temporalFolder.exists()){
+        	if (!temporalFolder.mkdir()){
+        		throw new Exception("Impossible to create the destination folder");
+        	}
+        }
+        
+        String destinationFileName =  temporalFolder.getAbsolutePath() + File.separator + Math.random() + ".shp";		
+                    
+        annotationCreationService.createAnnotationStore(destinationFileName, 1);
+        
+        DataStoreParameters destinationParameters = dataManager.createStoreParameters("Shape");
+        destinationParameters.setDynValue("shpfile", destinationFileName);
+        destinationParameters.setDynValue("crs", CRSFactory.getCRS("EPSG:23030"));
+    	FeatureStore destinationStore = (FeatureStore) dataManager.openStore("Shape", destinationParameters);
+        
+    	assertNotNull(destinationStore);
+    	
+    	FeatureType featureType = destinationStore.getDefaultFeatureType();
+    	assertEquals(7, featureType.getAttributeDescriptors().length);
+    	
+     	assertEquals(destinationStore.getFeatureCount(), annotationCreationService.getFeatureStore().getFeatureCount());
+    	
+    	assertNotNull(featureType.getDefaultGeometryAttribute());
+    	assertEquals(featureType.getDefaultGeometryAttribute().getGeometryType(), Geometry.TYPES.POINT);
+    	    
+    	//Check the geometries
+    	FeatureSet featureSet = destinationStore.getFeatureSet();
+    	DisposableIterator iterator = featureSet.iterator();
+    	
+    	Feature feature;
+    	TextPointPairList textPointPairList = getResult();
+    	while (iterator.hasNext()){
+    		feature = (Feature)iterator.next();
+    		assertNotNull(feature.get(Messages.getText(AnnotationManager.TEXTVALUE_ATTRIBUTE_NAME)));
+    		String text = feature.getString(AnnotationManager.TEXTVALUE_ATTRIBUTE_NAME);
+    		TextPointPair textPointPair = textPointPairList.search(text);
+    		if (textPointPair != null){
+	    		//Check the geometry
+	    		Point point = (Point)feature.getDefaultGeometry();
+	    		assertEquals(point.getX(), textPointPair.getPoint().getX(), 0.01);
+	    		assertEquals(point.getY(), textPointPair.getPoint().getY(), 0.01);
+	    	}
+    		int color = feature.getInt(AnnotationManager.FONTCOLOR_ATTRIBUTE_NAME);
+    		assertEquals(color, manager.getDefaultFontColor()); 
+    		
+    		double heigth = feature.getDouble(AnnotationManager.FONTHEGTH_ATTRIBUTE_NAME);
+    		assertEquals(heigth, manager.getDefaultFontHeight()); 
+    		
+    		double rotation = feature.getDouble(AnnotationManager.FONTROTATION_ATTRIBUTE_NAME);
+    		assertEquals(rotation, manager.getDefaultFontRotation()); 
+    		
+    		String type = feature.getString(AnnotationManager.FONTTYPE_ATTRIBUTE_NAME);
+    		assertEquals(type, manager.getDefaultFontType()); 
+    		
+    		String style = feature.getString(AnnotationManager.FONTSTYLE_ATTRIBUTE_NAME);
+    		assertEquals(style, manager.getDefaultFontStyle());     		
+    	}
+    	
+    	destinationStore.dispose();
+    	annotationCreationService.getFeatureStore().dispose();
+    }
+    
+    public abstract TextPointPairList getResult() throws CreateGeometryException;
+    
+    public class TextPointPairList{
+    	List<TextPointPair> textPointPairs = new ArrayList<TextPointPair>();
+
+		public TextPointPairList() {
+			super();
+		}
+    	
+		public void addPoint(String text, Point point){
+			textPointPairs.add(new TextPointPair(text, point));
+		}
+		
+		public TextPointPair search(String text){
+			for (TextPointPair textPointPair : textPointPairs) {
+				if (textPointPair.getText().equals(text)){
+					return textPointPair;
+				}
+			}
+			return null;
+		}    	
+    }
+    
+    
+    
+    private class TextPointPair{
+    	private String text;
+		private Point point;
+		
+    	public TextPointPair(String text, Point point) {
+			super();
+			this.text = text;
+			this.point = point;
+		}
+    	
+    	public String getText() {
+			return text;
+		}
+
+		public Point getPoint() {
+			return point;
+		}    	
+    }
+
+    /**
+     * Test for the {@link AnnotationCreationService#getManager()} method.
+     * 
+     * @throws Exception
+     *             if there is any error in the tests
+     */
+    public void testAnnotationServiceManager() throws Exception {
+        AnnotationCreationService annotationCreationService = createService();
+        assertEquals(manager, annotationCreationService.getManager());
+    }
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/java/org/gvsig/annotation/AnnotationCreationServiceTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/java/org/gvsig/annotation/AnnotationManagerTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/java/org/gvsig/annotation/AnnotationManagerTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/java/org/gvsig/annotation/AnnotationManagerTest.java	(revision 38349)
@@ -0,0 +1,53 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation;
+
+import org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase;
+
+/**
+ * API compatibility tests for {@link AnnotationManager} implementations.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public abstract class AnnotationManagerTest extends
+    AbstractLibraryAutoInitTestCase {
+
+    protected AnnotationManager manager;
+
+    @Override
+    protected void doSetUp() throws Exception {
+        manager = AnnotationLocator.getManager();
+    }
+
+    /**
+     * Test for the {@link AnnotationManager#getAnnotationCreationService()}
+     * method.
+     * 
+     * @throws Exception
+     *             if there is any error in the tests
+     */
+    public void testGetAnnotationCreationService() throws Exception {
+       
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/test/java/org/gvsig/annotation/AnnotationManagerTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/pom.xml	(revision 38349)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<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.annotation.lib.api</artifactId>
+    <packaging>jar</packaging>
+    <name>org.gvsig.annotation.lib.api</name>
+    <parent>
+        <groupId>org.gvsig</groupId>
+        <artifactId>org.gvsig.annotation.lib</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+    </parent>
+    <dependencies>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.lib</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.lib</artifactId>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.geometry</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.i18n</artifactId>
+            <scope>compile</scope>
+        </dependency>
+    </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                </configuration>
+                <executions>
+                    <!-- Generates a jar file only with the test classes -->
+                    <execution>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api
___________________________________________________________________
Added: svn:ignore
   + target
bin
.settings
.classpath
.project


Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/pom.xml	(revision 38349)
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<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.annotation.lib.impl</artifactId>
+	<packaging>jar</packaging>
+	<name>org.gvsig.annotation.lib.impl</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.annotation.lib</artifactId>
+		<version>1.0.0-SNAPSHOT</version>
+	</parent>
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.annotation.lib.api</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+            <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.i18n</artifactId>		
+            <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.geometry</artifactId>			
+            <scope>compile</scope>
+		</dependency>				
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.geometry</artifactId>
+			<classifier>operation</classifier>		
+            <scope>compile</scope>
+		</dependency>	
+        <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.timesupport.lib.api</artifactId>
+            <scope>compile</scope>
+        </dependency>             
+		<dependency>
+			<groupId>org.opengis</groupId>
+		    <artifactId>geoapi</artifactId>
+			<scope>runtime</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.geotools</groupId>
+			<artifactId>gt2-main</artifactId>
+			<scope>runtime</scope>
+		</dependency>
+		<dependency>
+			<groupId>javax.media</groupId>
+			<artifactId>jai_core</artifactId>
+			<scope>runtime</scope>
+		</dependency>
+		<dependency>
+			<groupId>javax.media</groupId>
+			<artifactId>jai_codec</artifactId>
+			<scope>runtime</scope>
+		</dependency>		
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.annotation.lib.api</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+			<type>test-jar</type>
+			<scope>test</scope>
+		</dependency>	
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.dal</artifactId>
+			<classifier>spi</classifier>
+			<scope>runtime</scope>		
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.dal</artifactId>			
+			<classifier>impl</classifier>
+			<scope>runtime</scope>
+		</dependency>	
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.dal.file</artifactId>		
+            <scope>compile</scope>
+		</dependency>	
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.dal.file</artifactId>
+			<classifier>store.shp</classifier>
+			<scope>test</scope>	
+		</dependency>	
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.dal.file</artifactId>
+			<classifier>store.dbf</classifier>
+			<scope>test</scope>	
+		</dependency>
+		<dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.projection</artifactId>  
+            <classifier>cresques-impl</classifier>
+            <scope>runtime</scope>		
+		</dependency>	
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.geometry</artifactId>			
+			<classifier>impl</classifier>
+			<scope>runtime</scope>		
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.compat</artifactId>			
+			<scope>runtime</scope>		
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.compat</artifactId>			
+			<classifier>se</classifier>		
+			<scope>runtime</scope>		
+		</dependency>	
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.dal.index.spatial</artifactId>
+			<classifier>jts</classifier>
+			<scope>runtime</scope>
+		</dependency>		
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.i18n</artifactId>           
+            <scope>compile</scope>      
+        </dependency>   
+	</dependencies>
+</project>

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/java/org/gvsig/annotation/impl/DefaultAnnotationManagerTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/java/org/gvsig/annotation/impl/DefaultAnnotationManagerTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/java/org/gvsig/annotation/impl/DefaultAnnotationManagerTest.java	(revision 38349)
@@ -0,0 +1,37 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.impl;
+
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.AnnotationManagerTest;
+
+/**
+ * {@link AnnotationManager} API compatibility tests for the
+ * {@link DefaultAnnotationManager} implementation.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultAnnotationManagerTest extends AnnotationManagerTest {
+
+    // Nothing to add
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/java/org/gvsig/annotation/impl/DefaultAnnotationManagerTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/java/org/gvsig/annotation/impl/DefaultAnnotationCreationServiceTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/java/org/gvsig/annotation/impl/DefaultAnnotationCreationServiceTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/java/org/gvsig/annotation/impl/DefaultAnnotationCreationServiceTest.java	(revision 38349)
@@ -0,0 +1,51 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.impl;
+
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationCreationServiceTest;
+import org.gvsig.fmap.geom.Geometry;
+import org.gvsig.fmap.geom.GeometryLocator;
+import org.gvsig.fmap.geom.GeometryManager;
+import org.gvsig.fmap.geom.exception.CreateGeometryException;
+
+/**
+ * {@link AnnotationCreationService} API compatibility tests for the
+ * {@link DefaultAnnotationCreationService} implementation.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultAnnotationCreationServiceTest extends AnnotationCreationServiceTest {
+		
+	public DefaultAnnotationCreationServiceTest() {
+		super();		
+	}
+
+	@Override
+	public TextPointPairList getResult() throws CreateGeometryException {
+		GeometryManager geometryManager = GeometryLocator.getGeometryManager();
+		TextPointPairList textPointPairList = new TextPointPairList();
+		textPointPairList.addPoint("Sevilla", geometryManager.createPoint(262760.53, 4146732.91, Geometry.SUBTYPES.GEOM2D));
+		return textPointPairList;
+	}
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/java/org/gvsig/annotation/impl/DefaultAnnotationCreationServiceTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/resources/README.txt
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/resources/README.txt	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/resources/README.txt	(revision 38349)
@@ -0,0 +1,8 @@
+Put into this folder the resources needed by your test classes.
+
+This folder is added to the Tests classpath, so you can load any resources 
+through the ClassLoader.
+
+By default, in this folder you can find an example of log4j configuration,
+prepared to log messages through the console, so logging works when you
+run your tests classes.
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/resources/README.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/resources/log4j.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/resources/log4j.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/resources/log4j.xml	(revision 38349)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- 
+Log4J configuration file for unit tests execution.
+ -->
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+
+	<!-- Appender configuration to show logging messages through the console -->
+	<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+		<layout class="org.apache.log4j.PatternLayout">
+			<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{2}.%M()]\n  %m%n" />
+		</layout>
+	</appender>
+
+	<!-- 
+	Activate logging messages of DEBUG level of higher only for the
+	org.gvsig.tools packages.
+	You can put full classes names or packages instead, to configure
+	logging for all the classes and subpackages of the package.
+	-->
+	<category name="org.gvsig.tools">
+		<priority value="DEBUG" />
+	</category>
+	<category name="org.gvsig.annotation">
+		<priority value="DEBUG" />
+	</category>
+
+	<!-- 
+	By default, show only logging messages of INFO level or higher, 
+	through the previously configured CONSOLE appender. 
+	-->
+	<root>
+		<priority value="INFO" />
+		<appender-ref ref="CONSOLE" />
+	</root>
+</log4j:configuration>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/test/resources/log4j.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/locale/text.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/locale/text.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/locale/text.properties	(revision 38349)
@@ -0,0 +1,3 @@
+# Resource bundle texts for the Spanish language locale (es)
+centroid=Centroide
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/locale/text.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/locale/text_en.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/locale/text_en.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/locale/text_en.properties	(revision 38349)
@@ -0,0 +1,3 @@
+# Resource bundle texts for the English language locale (en)
+centroid=Centroid
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/locale/text_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 38349)
@@ -0,0 +1 @@
+org.gvsig.annotation.impl.AnnotationDefaultImplLibrary
Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/template.gvslab
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/template.gvslab
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/DefaultAnnotationCreationService.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/DefaultAnnotationCreationService.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/DefaultAnnotationCreationService.java	(revision 38349)
@@ -0,0 +1,399 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.impl;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.gvsig.annotation.AnnotationCreationException;
+import org.gvsig.annotation.AnnotationCreationFinishAction;
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationDataTypes;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.calculator.AnnotationPositionCalculationException;
+import org.gvsig.annotation.calculator.AnnotationPositionCalculator;
+import org.gvsig.annotation.calculator.AnnotationPositionCalculatorCreationException;
+import org.gvsig.fmap.dal.DALLocator;
+import org.gvsig.fmap.dal.DataManager;
+import org.gvsig.fmap.dal.DataTypes;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.fmap.dal.exception.InitializeException;
+import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
+import org.gvsig.fmap.dal.exception.ValidateDataParametersException;
+import org.gvsig.fmap.dal.feature.EditableFeature;
+import org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor;
+import org.gvsig.fmap.dal.feature.EditableFeatureType;
+import org.gvsig.fmap.dal.feature.Feature;
+import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
+import org.gvsig.fmap.dal.feature.FeatureSet;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters;
+import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemServerExplorer;
+import org.gvsig.fmap.geom.Geometry;
+import org.gvsig.tools.dispose.DisposableIterator;
+import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException;
+import org.gvsig.tools.task.AbstractMonitorableTask;
+
+
+/**
+ * Default {@link AnnotationCreationService} implementation.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultAnnotationCreationService extends AbstractMonitorableTask implements AnnotationCreationService {
+	private static final Logger LOG = LoggerFactory.getLogger(DefaultAnnotationCreationService.class);
+	private static final String TEMPLATE_NAME = "template.gvslab";
+	private static DataManager dataManager = DALLocator.getDataManager();
+
+	private AnnotationManager manager;
+	private FeatureStore sourceStore;
+
+	private int sourceFontTypeAttribute = -1;
+	private int sourceFontStyleAttribute = -1;
+	private int sourceFontColorAttribute = -1;
+	private int sourceRotationAttribute = -1;
+	private int sourceHeigthAttribute = -1;
+	private AnnotationPositionCalculator annotationPositionCalculator = null;
+
+	private String destinationGeometryAttributeName = null;
+
+	private AnnotationCreationFinishAction annotationCreationFinishAction = null; 
+
+	/**
+	 * {@link DefaultAnnotationCreationService} constructor with a
+	 * {@link AnnotationManager}.
+	 * 
+	 * @param manager
+	 *            to use in the service
+	 * @throws DataException 
+	 */
+	public DefaultAnnotationCreationService(FeatureStore featureStore, AnnotationManager manager) throws DataException {
+		super("annotation");
+	    this.sourceStore = featureStore; 
+		this.manager = manager;
+		destinationGeometryAttributeName = featureStore.getDefaultFeatureType().getDefaultGeometryAttributeName();
+	}
+
+	public AnnotationManager getManager() {
+		return this.manager;
+	}
+
+	public FeatureStore createAnnotationStore(String destinationShapeFile, int textValueAttribute)
+	throws AnnotationCreationException {		
+		try {
+			if (destinationShapeFile == null){
+				throw new AnnotationCreationException("File can not be null");
+			}	
+
+			String destinationShapeFileWithoutExtension = destinationShapeFile.toLowerCase().replaceAll("\\.shp", "");
+			if (destinationShapeFileWithoutExtension.length() == destinationShapeFile.length()-4){
+				destinationShapeFileWithoutExtension =  destinationShapeFile.substring(0, destinationShapeFile.length()-4);
+			}else{
+				destinationShapeFileWithoutExtension = destinationShapeFile;
+			}			
+
+			NewFeatureStoreParameters newFeatureStoreParameters = (NewFeatureStoreParameters)dataManager.createNewStoreParameters("FilesystemExplorer", "Shape");
+			newFeatureStoreParameters.setDynValue("shpfile", destinationShapeFileWithoutExtension + ".shp");
+			newFeatureStoreParameters.setDynValue("dbffile", destinationShapeFileWithoutExtension + ".dbf");
+			newFeatureStoreParameters.setDynValue("shxfile", destinationShapeFileWithoutExtension + ".shx");
+			newFeatureStoreParameters.setDynValue("crs", sourceStore.getDefaultFeatureType().getDefaultSRS());
+
+			EditableFeatureType editableFeatureType = sourceStore.getDefaultFeatureType().getEditable();//newFeatureStoreParameters.getDefaultFeatureType().getEditable();
+			FeatureAttributeDescriptor[] featureAttributeDescriptors = editableFeatureType.getAttributeDescriptors();
+			for (int i=featureAttributeDescriptors.length-1  ; i>=0 ; i--){
+				editableFeatureType.remove(i);
+			}
+			initializeFeatureType(editableFeatureType);
+			newFeatureStoreParameters.setDefaultFeatureType(editableFeatureType);
+
+			dataManager.newStore("FilesystemExplorer", "Shape", newFeatureStoreParameters, true);
+
+			//If there is not an annotationPositionCalculator it gets the default 
+			if (annotationPositionCalculator == null){
+				annotationPositionCalculator = manager.getDefaultAnnotationPositionCalculator();
+			}	
+
+			FeatureStore destinationStore = (FeatureStore) dataManager.openStore("Shape", newFeatureStoreParameters);
+
+			copyFeatureStore(sourceStore, 
+					destinationStore,
+					textValueAttribute);	
+
+			try {
+				copyLegend(destinationStore);
+			} catch (IOException e) {
+				LOG.error("Error copying the legend");
+			}
+
+			if (annotationCreationFinishAction != null){
+				annotationCreationFinishAction.finished(destinationStore);
+			}
+
+			return destinationStore;
+		} catch (InitializeException e) {
+			throw new AnnotationCreationException(e);
+		} catch (ProviderNotRegisteredException e) {
+			throw new AnnotationCreationException(e);
+		} catch (ValidateDataParametersException e) {
+			throw new AnnotationCreationException(e);
+		} catch (DynFieldNotFoundException e) {
+			throw new AnnotationCreationException(e);
+		} catch (DataException e) {
+			throw new AnnotationCreationException(e);
+		} catch (AnnotationPositionCalculatorCreationException e) {
+			throw new AnnotationCreationException(e);
+		} 			
+	}	
+
+	public FeatureStore createAnnotationStore(String destinationShapeFile,
+			String textValueAttributeName) throws AnnotationCreationException {
+		try {
+			return createAnnotationStore(destinationShapeFile, getIndex(textValueAttributeName));
+		} catch (DataException e) {
+			throw new AnnotationCreationException(e);
+		}			
+	}
+
+	private void initializeFeatureType(EditableFeatureType editableFeatureType) throws DataException
+	{		
+		EditableFeatureAttributeDescriptor geometryType = editableFeatureType.add(destinationGeometryAttributeName, DataTypes.GEOMETRY);
+		geometryType.setAllowNull(false);		
+		geometryType.setGeometryType(Geometry.TYPES.POINT).setGeometrySubType(Geometry.SUBTYPES.GEOM2D);
+		geometryType.setSRS(sourceStore.getDefaultFeatureType().getDefaultSRS());
+		geometryType.setObjectClass(Geometry.class);
+		editableFeatureType.setDefaultGeometryAttributeName(destinationGeometryAttributeName);
+
+		editableFeatureType.add(AnnotationManager.TEXTVALUE_ATTRIBUTE_NAME, AnnotationDataTypes.TEXT, 256).setAllowNull(true);
+		editableFeatureType.add(AnnotationManager.FONTTYPE_ATTRIBUTE_NAME, AnnotationDataTypes.FONTTYPE, 30).setAllowNull(true);
+		editableFeatureType.add(AnnotationManager.FONTSTYLE_ATTRIBUTE_NAME, AnnotationDataTypes.FONTSTYLE, 30).setAllowNull(true);
+		editableFeatureType.add(AnnotationManager.FONTCOLOR_ATTRIBUTE_NAME, AnnotationDataTypes.FONTCOLOR, 20).setAllowNull(true);
+		editableFeatureType.add(AnnotationManager.FONTROTATION_ATTRIBUTE_NAME, AnnotationDataTypes.FONTROTATION, 5).setAllowNull(true);
+		editableFeatureType.add(AnnotationManager.FONTHEGTH_ATTRIBUTE_NAME, AnnotationDataTypes.FONTHEIGHT, 5).setAllowNull(true);
+	}
+
+	private AttributeInserter createInserter(int attributePosition, Object defaultValue)
+	{
+		if (attributePosition > -1){
+			return new StoreAttributeInserter(attributePosition);
+		}else{
+			return new DefaultAttributeInserter(defaultValue);
+		}
+	}
+
+	private void copyFeatureStore(FeatureStore sourceStore,
+			FeatureStore destinationStore, int textAttribute)
+	throws AnnotationCreationException, DataException {		
+
+		//Start the edition
+		destinationStore.edit();
+
+		//Copy data
+		FeatureSet featureSet = sourceStore.getFeatureSet();
+		DisposableIterator iterator = featureSet.iterator();
+		
+		taskStatus.setRangeOfValues(0, featureSet.getSize());
+
+		//Create the attribute inserter's
+		AttributeInserter fontTypeAttributeInserter = createInserter(sourceFontTypeAttribute, manager.getDefaultFontType());		
+		AttributeInserter fontStyleAttributeInserter = createInserter(sourceFontStyleAttribute, manager.getDefaultFontStyle());		
+		AttributeInserter fontColorAttributeInserter = createInserter(sourceFontColorAttribute, manager.getDefaultFontColor());		
+		AttributeInserter fontRotationAttributeInserter = createInserter(sourceRotationAttribute, manager.getDefaultFontRotation());		
+		AttributeInserter fontHeigthAttributeInserter = createInserter(sourceHeigthAttribute, manager.getDefaultFontHeight());		
+
+		Feature sourceFeature;
+		long featureCount = 0;
+		while (iterator.hasNext()) {			
+			sourceFeature = (Feature) iterator.next();
+
+			EditableFeature destinationFeature = destinationStore.createNewFeature().getEditable();
+			try {
+				destinationFeature.set(destinationGeometryAttributeName, annotationPositionCalculator.getAnnotationPosition(sourceFeature));
+			} catch (AnnotationPositionCalculationException e) {
+				LOG.error("Not possible to get the point for the geometry", e);				
+			}
+			destinationFeature.set(AnnotationManager.TEXTVALUE_ATTRIBUTE_NAME, sourceFeature.get(textAttribute));
+			destinationFeature.set(AnnotationManager.FONTTYPE_ATTRIBUTE_NAME, fontTypeAttributeInserter.getValue(sourceFeature));
+			destinationFeature.set(AnnotationManager.FONTSTYLE_ATTRIBUTE_NAME, fontStyleAttributeInserter.getValue(sourceFeature));
+			destinationFeature.set(AnnotationManager.FONTCOLOR_ATTRIBUTE_NAME, fontColorAttributeInserter.getValue(sourceFeature));
+			destinationFeature.set(AnnotationManager.FONTROTATION_ATTRIBUTE_NAME, fontRotationAttributeInserter.getValue(sourceFeature));
+			destinationFeature.set(AnnotationManager.FONTHEGTH_ATTRIBUTE_NAME, fontHeigthAttributeInserter.getValue(sourceFeature));
+
+			destinationStore.insert(destinationFeature);
+    		featureCount++;  
+    		this.taskStatus.setCurValue(featureCount);
+    
+            if (this.taskStatus.isCancellationRequested()) {
+                return;
+            }
+		}
+
+		//Finish the edition
+		destinationStore.finishEditing();
+
+		//Dispose resources
+		iterator.dispose();		
+		featureSet.dispose();
+		
+		this.taskStatus.terminate();
+        this.taskStatus.remove();		
+	}
+
+	private void copyLegend(FeatureStore destinationStore) throws ValidateDataParametersException, DataException, IOException {
+		FilesystemServerExplorer filesystemServerExplorer = (FilesystemServerExplorer)destinationStore.getExplorer();
+		File target = filesystemServerExplorer.getResourcePath(destinationStore, "gvslab");
+
+		//Copy the template
+		InputStream in = getClass().getClassLoader().getResourceAsStream(TEMPLATE_NAME);
+		OutputStream out = null;
+
+		out = new FileOutputStream(target);
+
+		byte[] buf = new byte[1024];
+		int len;
+		while ((len = in.read(buf)) > 0) { 
+			out.write(buf, 0, len); 
+		} 
+		in.close();
+		out.close(); 		
+	}
+
+	private void checkAttribute(int index, int type) throws DataException{
+		if (index >= sourceStore.getDefaultFeatureType().size()){
+			throw new IllegalArgumentException("Attribute not found");
+		}
+		if (sourceStore.getDefaultFeatureType().getAttributeDescriptor(index).getDataType().getType() != type){
+			throw new IllegalArgumentException("The Attribute has not have the fine type");
+		}
+	}
+
+
+	public void setFontTypetAttribute(int index) throws DataException {
+		checkAttribute(index, AnnotationDataTypes.FONTTYPE);
+		this.sourceFontTypeAttribute = index;		
+	}
+
+	public void setFontStyleAttribute(int index) throws DataException {
+		checkAttribute(index, AnnotationDataTypes.FONTSTYLE);
+		this.sourceFontStyleAttribute = index;		
+	}
+
+	public void setFontColorAttribute(int index) throws DataException {
+		checkAttribute(index, AnnotationDataTypes.FONTCOLOR);
+		this.sourceFontColorAttribute = index;		
+	}
+
+	public void setFontHeigthAttribute(int index) throws DataException {
+		checkAttribute(index, AnnotationDataTypes.FONTHEIGHT);
+		this.sourceHeigthAttribute = index;		
+	}
+
+	public void setFontRotationAttribute(int index) throws DataException {
+		checkAttribute(index, AnnotationDataTypes.FONTROTATION);
+		this.sourceRotationAttribute = index;		
+	}
+
+	public void setAnnotationPositionCalculator(
+			AnnotationPositionCalculator annotationPositionCalculator) {		
+		this.annotationPositionCalculator = annotationPositionCalculator;		
+	}
+
+	public int getIndex(String attributeName) throws DataException{
+		FeatureAttributeDescriptor featureAttributeDescriptor = sourceStore.getDefaultFeatureType().getAttributeDescriptor(attributeName);
+		if (featureAttributeDescriptor != null){
+			return featureAttributeDescriptor.getIndex();
+		}
+		return -1;
+	}
+
+	public void setFontColorAttribute(String attributeName) throws DataException {
+		setFontColorAttribute(getIndex(attributeName));		
+	}
+
+	public void setFontHeigthAttribute(String attributeName) throws DataException {
+		setFontHeigthAttribute(getIndex(attributeName));				
+	}
+
+	public void setFontRotationAttribute(String attributeName) throws DataException {
+		setFontRotationAttribute(getIndex(attributeName));				
+	}
+
+	public void setFontStyleAttribute(String attributeName) throws DataException {
+		setFontStyleAttribute(getIndex(attributeName));				
+	}
+
+	public void setFontTypetAttribute(String attributeName) throws DataException {
+		setFontTypetAttribute(getIndex(attributeName));				
+	}
+
+
+	public FeatureStore getFeatureStore() {
+		return sourceStore;
+	}
+
+	private interface AttributeInserter{
+		public Object getValue(Feature feature);
+	}
+
+
+	private class StoreAttributeInserter implements AttributeInserter{
+		private int attributePosition = -1;
+
+		public StoreAttributeInserter(int attributePosition) {
+			super();
+			this.attributePosition = attributePosition;			
+		}
+
+		public Object getValue(Feature feature){
+			return feature.get(attributePosition);
+		}
+	}
+
+	private class DefaultAttributeInserter implements AttributeInserter{
+		private Object defaultValue = null;
+
+		public DefaultAttributeInserter(Object defaultValue) {
+			super();	
+			this.defaultValue = defaultValue;
+		}
+
+		public Object getValue(Feature feature){
+			return defaultValue;
+		}
+	}
+
+	public AnnotationCreationFinishAction getAnnotationCreationFinishAction() {
+		return annotationCreationFinishAction;
+	}
+
+
+	public void setAnnotationCreationFinishAction(
+			AnnotationCreationFinishAction annotationCreationFinishAction) {
+		this.annotationCreationFinishAction = annotationCreationFinishAction;	
+	}
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/DefaultAnnotationCreationService.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/AnnotationDefaultImplLibrary.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/AnnotationDefaultImplLibrary.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/AnnotationDefaultImplLibrary.java	(revision 38349)
@@ -0,0 +1,106 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.impl;
+
+import java.awt.Color;
+
+import org.gvsig.annotation.AnnotationLibrary;
+import org.gvsig.annotation.AnnotationLocator;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.impl.calculator.CentroidPositionCalculatior;
+import org.gvsig.tools.library.AbstractLibrary;
+import org.gvsig.tools.library.LibraryException;
+import org.gvsig.tools.locator.ReferenceNotRegisteredException;
+
+/**
+ * Library for default implementation initialization and configuration.
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class AnnotationDefaultImplLibrary extends AbstractLibrary {
+	  	
+    @Override
+    public void doRegistration() {
+        registerAsImplementationOf(AnnotationLibrary.class);
+    }
+
+	@Override
+    protected void doInitialize() throws LibraryException {
+		AnnotationLocator.registerManager(DefaultAnnotationManager.class);           
+    }
+
+    @Override
+    protected void doPostInitialize() throws LibraryException {
+        AnnotationManager annotationManager = AnnotationLocator.getManager();
+                
+        if (annotationManager == null) {
+            throw new ReferenceNotRegisteredException(
+                AnnotationLocator.MANAGER_NAME, AnnotationLocator
+                    .getInstance());
+        }
+        
+        annotationManager.registerDefaultAnnotationPositionCalculator(CentroidPositionCalculatior.class);
+       
+        //Adding font types
+        annotationManager.addFontType("Arial");
+        annotationManager.addFontType("Dialog");
+        annotationManager.addFontType("DialogInput");
+        annotationManager.addFontType("Serif");
+        annotationManager.addFontType("SansSerif");
+        annotationManager.addFontType("Monospaced");
+        annotationManager.addFontType("Courier");
+        annotationManager.addFontType("TimesRoman");
+        annotationManager.addFontType("Helvetica");
+        
+           //Adding font styles
+        annotationManager.addFontStyle("Plain");
+        annotationManager.addFontStyle("Italic");
+        annotationManager.addFontStyle("Bold");
+        
+        //Setting the default values if there are not registered
+        if (annotationManager.getDefaultTextValue() == null){
+        	annotationManager.setDefaultTextValue("Text");
+        }
+        
+        if (annotationManager.getDefaultFontColor() == -1){
+        	annotationManager.setDefaultFontColor(Color.BLACK);
+        }
+        
+        if (annotationManager.getDefaultFontHeight() == -1){
+        	annotationManager.setDefaultFontHeight(10);
+        }
+        
+        if (annotationManager.getDefaultFontRotation() == -1){
+        	annotationManager.setDefaultFontRotation(0);
+        }
+        
+        if (annotationManager.getDefaultFontStyle() == null){
+        	annotationManager.setDefaultFontStyle("Plain");
+        }
+        
+        if (annotationManager.getDefaultFontType() == null){
+        	annotationManager.setDefaultFontType("Arial");
+        }        
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/AnnotationDefaultImplLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/calculator/CentroidPositionCalculatior.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/calculator/CentroidPositionCalculatior.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/calculator/CentroidPositionCalculatior.java	(revision 38349)
@@ -0,0 +1,57 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.impl.calculator;
+
+import org.gvsig.annotation.calculator.AnnotationPositionCalculationException;
+import org.gvsig.annotation.calculator.AnnotationPositionCalculator;
+import org.gvsig.fmap.dal.feature.Feature;
+import org.gvsig.fmap.geom.operation.GeometryOperationException;
+import org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException;
+import org.gvsig.fmap.geom.primitive.Point;
+import org.gvsig.i18n.Messages;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class CentroidPositionCalculatior implements AnnotationPositionCalculator{
+
+	public Point getAnnotationPosition(Feature feature) throws AnnotationPositionCalculationException {
+		try {
+			return feature.getDefaultGeometry().centroid();
+		} catch (GeometryOperationNotSupportedException e) {
+			throw new AnnotationPositionCalculationException(e);
+		} catch (GeometryOperationException e) {
+			throw new AnnotationPositionCalculationException(e);
+		}
+	}
+
+	public String getName() {
+		return Messages.getText("centroid");
+	}
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/calculator/CentroidPositionCalculatior.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/DefaultAnnotationManager.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/DefaultAnnotationManager.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/DefaultAnnotationManager.java	(revision 38349)
@@ -0,0 +1,182 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.impl;
+
+import java.awt.Color;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationCreationServiceException;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.calculator.AnnotationPositionCalculator;
+import org.gvsig.annotation.calculator.AnnotationPositionCalculatorCreationException;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.tools.ToolsLocator;
+import org.gvsig.tools.extensionpoint.ExtensionPoint;
+import org.gvsig.tools.extensionpoint.ExtensionPointManager;
+import org.gvsig.tools.service.ServiceException;
+
+/**
+ * Default {@link AnnotationManager} implementation.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultAnnotationManager implements AnnotationManager {
+	private static final String ANNOTATION_POSITION_CALCULATOR_EXTENSION_POINT = "AnnotationPositionCalculatorExtensionPoint";
+	private ExtensionPointManager extensionPointManager = ToolsLocator.getExtensionPointManager();
+	private static final String DEFAULT_ANNOTATION_POSITION_CALCULATOR = "DefaultAnnotationPositionCalculator";
+	
+	private String defaultTextValue = null;
+	private int defaultFontColor = -1;
+	private double defaultFontHeight = -1;
+	private double defaultFontRotation = -1;
+	private String defaultFontStyle = null;
+	private String defaultFontType = null;
+	
+	private List<String> fontTypes = Collections.synchronizedList(new ArrayList<String>());
+	private List<String> fontStyles = Collections.synchronizedList(new ArrayList<String>());
+	
+	
+    public AnnotationCreationService getAnnotationCreationService(FeatureStore featureStore)
+        throws ServiceException {
+        AnnotationCreationService fc;
+		try {
+			fc = new DefaultAnnotationCreationService(featureStore, this);
+		} catch (DataException e) {
+			throw new AnnotationCreationServiceException("Impossible to create the annotation service", e);
+		}
+        return fc;
+    }
+
+	public AnnotationPositionCalculator getAnnotationPositionCalculator(
+			String name) throws AnnotationPositionCalculatorCreationException {
+		if (extensionPointManager.get(ANNOTATION_POSITION_CALCULATOR_EXTENSION_POINT).has(name)){
+			try {
+				return (AnnotationPositionCalculator)extensionPointManager.get(ANNOTATION_POSITION_CALCULATOR_EXTENSION_POINT).create(name);
+			} catch (InstantiationException e) {
+				throw new AnnotationPositionCalculatorCreationException(name, e);
+			} catch (IllegalAccessException e) {
+				throw new AnnotationPositionCalculatorCreationException(name, e);
+			}
+		}else{
+			throw new IllegalArgumentException("There is not an annotation position calculator registered with this name"); 
+		}		
+	}
+
+	public List<String> getAnnotationPositionCalculatorList() {
+		return extensionPointManager.get(ANNOTATION_POSITION_CALCULATOR_EXTENSION_POINT).getNames();
+	}
+
+	public AnnotationPositionCalculator getDefaultAnnotationPositionCalculator() throws AnnotationPositionCalculatorCreationException {
+		return getAnnotationPositionCalculator(DEFAULT_ANNOTATION_POSITION_CALCULATOR);
+	}
+
+	public void registerAnnotationPositionCalculator(String name,
+			Class annotationPositionCalculatorClass) {
+		if (!AnnotationPositionCalculator.class.isAssignableFrom(annotationPositionCalculatorClass)) {
+			throw new IllegalArgumentException(annotationPositionCalculatorClass.getName()
+					+ " must implement the AnnotationPositionCalculator interface");
+		}
+		
+		ExtensionPoint extensionPoint = extensionPointManager.add(ANNOTATION_POSITION_CALCULATOR_EXTENSION_POINT, "");
+		extensionPoint.append(name, name, annotationPositionCalculatorClass);		
+	}
+
+	public void registerDefaultAnnotationPositionCalculator(Class annotationPositionCalculatorClass) {
+		registerAnnotationPositionCalculator(DEFAULT_ANNOTATION_POSITION_CALCULATOR,
+				annotationPositionCalculatorClass);
+	}
+
+	public void addFontStyle(String fontStyle) {
+		fontStyles.add(fontStyle);		
+	}
+
+	public void addFontType(String fontType) {
+		fontTypes.add(fontType);		
+	}
+
+	public int getDefaultFontColor() {
+		return defaultFontColor;
+	}
+
+	public double getDefaultFontHeight() {
+		return defaultFontHeight;
+	}
+
+	public double getDefaultFontRotation() {
+		return defaultFontRotation;
+	}
+
+	public String getDefaultFontStyle() {
+		return defaultFontStyle;
+	}
+
+	public String getDefaultFontType() {
+		return defaultFontType;
+	}
+
+	public String getDefaultTextValue() {
+		return defaultTextValue;
+	}
+
+	public List<String> getFontStyles() {
+		return fontStyles;
+	}
+
+	public List<String> getFontTypes() {
+		return fontTypes;
+	}
+
+	public void setDefaultFontColor(int fontColor) {
+		this.defaultFontColor = fontColor;		
+	}
+	
+	public void setDefaultFontColor(Color fontColor) {
+		this.defaultFontColor = fontColor.getRGB();		
+	}
+
+	public void setDefaultFontHeight(double fontHeight) {
+		this.defaultFontHeight = fontHeight;		
+	}
+
+	public void setDefaultFontRotation(double fontRotation) {
+		this.defaultFontRotation = fontRotation;		
+	}
+
+	public void setDefaultFontStyle(String fontStyle) {
+		this.defaultFontStyle = fontStyle;		
+	}
+
+	public void setDefaultFontType(String fontType) {
+		this.defaultFontType = fontType;		
+	}
+
+	public void setDefaultTextValue(String textValue) {
+		this.defaultTextValue = textValue;		
+	}
+
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/DefaultAnnotationManager.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/package.html
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/package.html	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/package.html	(revision 38349)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>org.gvsig.annotation package documentation</title>
+</head>
+<body>
+
+	<p>Annotation library API default implementation.</p>
+
+</body>
+</html>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/java/org/gvsig/annotation/impl/package.html
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl
___________________________________________________________________
Added: svn:ignore
   + target
bin
.settings
.classpath
.project



Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.lib
___________________________________________________________________
Added: svn:ignore
   + target
bin
.settings
.classpath
.project


Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 38349)
@@ -0,0 +1 @@
+org.gvsig.annotation.swing.impl.AnnotationSwingDefaultImplLibrary
\ No newline at end of file
Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/images/wizard-icon.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/images/wizard-icon.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_it.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_it.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_it.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [it]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(Simbolo unico)
+Aceptar=Accetta
+annotation=Annotazione
+Annotation_layer_not_valid=Livello di annotazioni non valido
+Annotation_layers=Livelli di Annotazioni
+annotation_preferences=Preferenze di annotazione
+annotation_tools=Strumenti di annotazioni
+annotations=Annotazioni
+Annotations=
+Aplicar=Applica
+avoid_overlapping=Evita sovrapposizione
+Capa=Layer
+cargar=Carica
+centered=Centrato
+Cerrar=Chiudi
+change_options_of_annotations=Cambio opzioni di annotazione
+create_annotation_layer=Crea layer di annotazioni
+Create_Open_layer=Crea/Apri Livello
+Define_the_labeling_expression_=Definire l'espressione di etichettatura\:
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Per utilizzare valori comuni per tutti i campi del layer lasciare i valori di default. Per personalizzare l'aspetto delle etichette selezionare i campi che contengono i valori corrispondenti.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Un nuovo layer pu\u00f2 essere creato utilizzando questo strumento, basato su un layer preesistente che permette di operare etichettature avanzate. <br>Modifica la visualizzazione del layer selezionato mostrando il valore di uno dei suoi campi.</HTML>
+draw_text_only=Disegna il solo testo
+duplicate=Controllo dei duplicati
+duplicate.none=Nessuno
+En_metros=In metri
+En_pixels=In pixels
+en_unidades=in unit\u00e0
+Error_creating_annotation_layer=Errore nella creazione del Livello di annotazioni
+Error_exportando_SLD=Errore d'esportazione SLD
+Error_guardando_la_leyenda=Errore nel salvare la legenda
+Error_opening_annotation_layer=Errore nell'apertura del Livello di annotazioni
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=Esporta...
+exporting_=Esportando
+fichero_incorrecto=File non corretto
+fichero_ya_existe_seguro_desea_guardarlo=Il file esiste gi\u00e0, continuare?
+fontcolor=Colore testo
+fontheight=Altezza testo
+fontrotate=Rotazione testo
+fontstyle=Stile testo
+fonttext=Testo
+fonttype=Tipo carattere
+formato_incorrecto=Formato non corretto
+General=Generale
+guardar=Salva
+Guardar_leyenda=Salva legenda
+incorrect_annotation_format=Formato di annotazione errato
+insertar_capa=Inserisci Layer
+insertar_en_la_vista_la_capa_creada=Aggiungere il nuovo layer nella vista attuale?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Inserire il nome del nuovo layer di annotazioni
+Label_properties=Propriet\u00e0 dell'etichetta
+Layer_=Livello\:
+Layer_from_active_view=Livello dalla Vista attuale
+meters=Metri
+metros=Metri
+modify_annotation=Modifica annotazione
+no_es_posible_aplicar_leyenda_vacia=Impossibile applicare una legenda vuota.
+options=Opzioni
+options.annotations=
+over_write=Sovrascrivi
+pixels=Pixels
+Point\ Shape\ Files=
+propiedades_de_la_capa=Propriet\u00e0 del layer
+Recuperar_leyenda=Recupera legenda
+remove_annotation_overlapping=Rimuovi annotazioni sovrapposte
+reproyectar_aviso=La proiezione del Layer non s' la stessa della Vista.\nAVVISO\: Puo' essere incorretto in alcune trasformazioni.\nLeggere la documentazione.
+reproyectar_pregunta=Riproiettare?
+seleccionar_fichero=Seleziona file
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Selezionare il campo contenente il valore d'inclinazione per la rappresentazione delle eichette</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Selezionare il campo contenente il valore di colore per la rappresentazione delle eichette</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Seleziona il campo da etichettare.</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Selezionare il campo contenente il font per la rappresentazione delle eichette</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Selezionare il campo contenente il valore di dimensione del testo per la rappresentazione delle eichette</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Seleziona il Livello di annotazioni dove conservare le etichette
+Set_labeling_expression=Imposta espressione dell'etichetta
+Set_target_layer=Imposta Livello di destinazione
+shp_files=SHP files
+Simbologia=Simbologia
+Single_labeling=Etichettatura singola
+SingleLabelingTool=Strumento di etichettatura singola
+Target_annotation_layer=Livello annotazioni di destinazione
+text=Testo
+tipo_de_leyenda=Tipo legenda
+to_annotation=Trasforma in layer annotazioni
+units_of_annotations=Unit\u00e0 delle annotazioni
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_it.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text.properties	(revision 38349)
@@ -0,0 +1,90 @@
+#Translations for language [es]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(S\u00edmbolo \u00fanico)
+Aceptar=Aceptar
+annotation=Anotaci\u00f3n
+Annotation_layer=Capa de Anotaciones
+Annotation_layer_not_valid=Capa de anotaciones no v\u00e1lida
+Annotation_layers=Capas de Anotaciones
+annotation_preferences=Anotaciones
+annotation_tools=Herramientas de anotaciones
+annotations=Anotaciones
+Annotations=
+Aplicar=Aplicar
+avoid_overlapping=Evitar solapes
+Capa=Capa
+cargar=Cargar
+centered=Centrado
+Cerrar=Cerrar
+change_options_of_annotations=Cambio opciones de las anotaciones
+create_annotation_layer=Crea capa de anotaciones
+Create_Open_layer=Crear/Abrir capa
+Define_the_labeling_expression_=Defina la expresi\u00f3n de etiquetado\:
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Si desea utilizar valores comunes a todos los atributos de la capa deje los valores por defecto. Si desea personalizar como se muestran la etiquetas seleccione los campos que almacenan los valores.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Con esta herramienta puede crear una capa basada en otra ya existente que le permita realizar un etiquetado avanzado. <br>Cambia la visualizaci\u00f3n de la capa seleccionada mostrando el valor de uno de sus campos.</HTML>
+draw_text_only=Dibujar s\u00f3lo el texto
+duplicate=Control de los duplicados
+duplicate.none=Ninguno
+En_metros=En metros
+En_pixels=En pixels
+en_unidades=en unidades
+Error_creating_annotation_layer=Error creando la capa de anotaciones
+Error_exportando_SLD=Error exportando SLD
+Error_guardando_la_leyenda=Error guardando la leyenda
+Error_opening_annotation_layer=Error abriendo la capa de anotaciones
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=Exportar a ...
+exporting_=Exportando
+fichero_incorrecto=Fichero incorrecto
+fichero_ya_existe_seguro_desea_guardarlo=El fichero ya existe, \u00bfdesea continuar?
+fontcolor=Color del texto
+fontheight=Altura del texto
+fontrotate=Rotaci\u00f3n del texto
+fontstyle=Estilo del texto
+fonttext=Texto
+fonttype=Tipo de fuente
+formato_incorrecto=Formato incorrecto
+General=General
+guardar=Guardar
+Guardar_leyenda=Guardar leyenda
+incorrect_annotation_format=Formato de anotaci\u00f3n incorrecto.
+insertar_capa=Insertar capa
+insertar_en_la_vista_la_capa_creada=\u00bfDesea insertar en la vista la capa creada?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Introduzca el nombre para la nueva capa de anotaciones
+Label_properties=Propiedades de etiqueta
+Layer_=Capa\:
+Layer_from_active_view=Capa de la vista activa
+meters=Metros
+metros=Metros
+modify_annotation=Modificar anotaci\u00f3n
+no_es_posible_aplicar_leyenda_vacia=No es posible aplicar la leyenda vac\u00eda.
+none=None
+options=Opciones
+options.annotations=
+pixels=p\u00edxeles
+Point\ Shape\ Files=
+propiedades_de_la_capa=Propiedades de la capa
+Recuperar_leyenda=Recuperar leyenda
+remove_annotation_overlapping=Borrar anotationes solapadas
+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?
+seleccionar_fichero=Seleccionar fichero
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Seleccione el campo donde se almacenar\u00e1 el \u00e1ngulo con el que se mostrar\u00e1 el texto de la etiqueta</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Selecione el campo donde se almacenar\u00e1 el color con el que se mostrar\u00e1 la etiqueta</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Seleccione el campo a etiquetar.</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Selecione el campo donde se almacenar\u00e1 la fuente con el que se mostrar\u00e1 de la etiqueta</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Selecione el campo donde se almacenar\u00e1 el alto con el que se mostrar\u00e1 la etiqueta</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Seleccione la capa de anotaciones que almacenar\u00e1 las etiquetas
+Set_labeling_expression=Definir expresi\u00f3n de etiquetado
+Set_target_layer=Configurar la capa destino
+shp_files=Ficheros .shp
+Simbologia=Simbolog\u00eda
+Single_labeling=Etiquetado individual
+SingleLabelingTool=Herramienta de etiquetado individual
+Target_annotation_layer=Capa de anotaciones destino
+text=Texto
+tipo_de_leyenda=Tipo de leyenda
+to_annotation=Transformar a capa de anotationes
+units_of_annotations=Unidades de las anotationes
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ro.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ro.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ro.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [ro]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=Simbol unic
+Aceptar=Accept\u0103
+annotation=Adnota\u0163ie
+Annotation_layer_not_valid=Strat adnotar invalid
+Annotation_layers=Strate adnot\u0103ri
+annotation_preferences=Preferin\u0163e adnota\u0163ie
+annotation_tools=Instrumente adnotare
+annotations=Adnota\u0163ii
+Annotations=
+Aplicar=Aplic\u0103
+avoid_overlapping=Evit\u0103 suprapunere
+Capa=Strat
+cargar=\u00cencarc\u0103
+centered=Centrat
+Cerrar=\u00cenchide
+change_options_of_annotations=Schimb\u0103 op\u0163iuni adnotare
+create_annotation_layer=Creaz\u0103 strat adnota\u0163ie
+Create_Open_layer=Creare/Deschidere strat
+Define_the_labeling_expression_=Define\u0219te expresie de etichetare
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Pentru utilizarea valorilor comune tuturo c\u00e2mpurilor stratului p\u0103stra\u0163i valorile predefinite. Pentru personalizarea aspectului etichetelor selecta\u0163i c\u00e2mpurile ce con\u0163in valorile corespunz\u0103toare</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Un strat nou poate fi creat utiliz\u00e2nd acest instrument, \u00een baza unuia existent ce permite operarea unei etichet\u0103ri avansate. <br>Schimb\u0103 vizualizarea stratului selectat ar\u0103t\u00e2nd valorile unia dintre c\u00e2mpurile sale.</HTML>
+draw_text_only=Reprezint\u0103 doar text
+duplicate=Control dublicate
+duplicate.none=Nimic
+En_metros=\u00cen metri
+En_pixels=\u00cen pixeli
+en_unidades=\u00een unit\u0103\u0163i
+Error_creating_annotation_layer=Eroare de creare strat adnota\u021bie
+Error_exportando_SLD=Eroare la export SLD
+Error_guardando_la_leyenda=Eroare \u00een timpul salv\u0103rii legendei
+Error_opening_annotation_layer=Eroare de deschidere strat adnota\u021bie
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=Export\u0103 la ...
+exporting_=Exportare
+fichero_incorrecto=Fi\u015fier invalid
+fichero_ya_existe_seguro_desea_guardarlo=Fi\u015fier deja existent. Dori\u0163i s\u0103 continua\u0163i?
+fontcolor=Culoare caracter
+fontheight=Dimensiune caracter
+fontrotate=Rotire caracter
+fontstyle=Stil caracter
+fonttext=Text
+fonttype=Tip caracter
+formato_incorrecto=Format incorect
+General=General
+guardar=Salveaz\u0103
+Guardar_leyenda=Salveaz\u0103 legend\u0103
+incorrect_annotation_format=Format incorect pentru adnota\u0163ie
+insertar_capa=Inserare strat
+insertar_en_la_vista_la_capa_creada=Dori\u0163i s\u0103 ad\u0103uga\u0163i acest strat nou la vederea activ\u0103?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Introduce\u0163i numele noului strat-anota\u0163ie
+Label_properties=Propriet\u0103\u021bi etichetare
+Layer_=Strat\:
+Layer_from_active_view=Strat din vederea activ\u0103
+meters=Metri
+metros=Metri
+modify_annotation=Modific\u0103 adnota\u0163ie
+no_es_posible_aplicar_leyenda_vacia=Imposibil de aplicat legend\u0103 goal\u0103
+options=Op\u0163iuni
+options.annotations=
+over_write=Suprascrie
+pixels=Pixeli
+Point\ Shape\ Files=
+propiedades_de_la_capa=Propriet\u0103\u0163i strat
+Recuperar_leyenda=\u00cencarc\u0103 legend\u0103
+remove_annotation_overlapping=Elimin\u0103 suprapunere adnota\u0163ii
+reproyectar_aviso=Proiec\u0163ia stratului nu coincide cu a vederii.\nATEN\u0162IE\: Pot ap\u0103rea probleme de transformare.\nConsulta\u0163i documenta\u0163ia.
+reproyectar_pregunta=Dori\u0163i s\u0103 reproiecta\u0163i?
+seleccionar_fichero=Selecteaz\u0103 fi\u015fier
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Selecteaz\u0103 c\u00e2mpul de utilizat pentru salvarea \u00eenclin\u0103rii textului etichetelor</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Selecteaz\u0103 c\u00e2mpul de utilizat pentru salvarea culorii etichetelor</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Alege\u0163i c\u00e2mpul utilizat pentru etichetare</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Selecteaz\u0103 c\u00e2mpul de utilizat pentru salvarea caracterului etichetelor</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Selecteaz\u0103 c\u00e2mpul de utilizat pentru salvarea \u00een\u0103l\u0163imii textului etichetelor</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Selecta\u0163i strat adnota\u021bie care va stoca etichetele\:
+Set_labeling_expression=Setare expresie de etichetare
+Set_target_layer=Stabile\u0219te strat \u021bint\u0103
+shp_files=Fi\u015fier SHP
+Simbologia=Simbololie
+Single_labeling=Etichetare individual\u0103
+SingleLabelingTool=Instrument etichetare simpl\u0103
+Target_annotation_layer=Strat adnota\u021bie \u021bint\u0103
+text=Text
+tipo_de_leyenda=Tip legend\u0103
+to_annotation=Transform\u0103 \u00een strat-anota\u0163ie
+units_of_annotations=Unit\u0103\u0163i adnota\u0163ie
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ro.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_zh.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_zh.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_zh.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [zh]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(\u552f\u4e00\u7b26\u53f7)
+Aceptar=\u786e\u5b9a
+annotation=
+Annotation_layer_not_valid=
+Annotation_layers=
+annotation_preferences=
+annotation_tools=
+annotations=
+Annotations=
+Aplicar=\u5e94\u7528
+avoid_overlapping=
+Capa=\u56fe\u5c42
+cargar=\u8f7d\u5165
+centered=
+Cerrar=\u5173\u95ed
+change_options_of_annotations=
+create_annotation_layer=
+Create_Open_layer=
+Define_the_labeling_expression_=
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>\u60a8\u8981\u662f\u8ba9\u56fe\u5c42\u7684\u6240\u6709\u7279\u6027\u4f7f\u7528\u5171\u540c\u503c\u7684\u8bdd\uff0c\u5c06\u8981\u4fdd\u6301\u9ed8\u8ba4\u503c\u3002\u5982\u679c\u60a8\u8981\u5b9a\u5236\u6807\u7b7e\u8bf7\u9009\u62e9\u6709\u5173\u5b57\u6bb5\u3002</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=
+draw_text_only=\u53ea\u53ef\u7f16\u5199\u6587\u5b57
+duplicate=
+duplicate.none=
+En_metros=\u5398\u7c73
+En_pixels=\u50cf\u7d20
+en_unidades=\u5355\u4f4d
+Error_creating_annotation_layer=
+Error_exportando_SLD=\u8f93\u51fa SLD \u65f6\u51fa\u9519
+Error_guardando_la_leyenda=\u5b58\u76d8\u56fe\u4f8b\u65f6\u51fa\u9519
+Error_opening_annotation_layer=
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=\u8f93\u51fa\u6210 ...
+exporting_=\u8f93\u51fa\u4e2d
+fichero_incorrecto=\u6587\u4ef6\u4e0d\u6b63\u786e
+fichero_ya_existe_seguro_desea_guardarlo=\u6587\u4ef6\u5df2\u5b58\u5728\uff0c\u60a8\u8981\u7ee7\u7eed\u5417?
+fontcolor=
+fontheight=
+fontrotate=
+fontstyle=
+fonttext=
+fonttype=
+formato_incorrecto=\u683c\u5f0f\u4e0d\u6b63\u786e
+General=\u57fa\u672c\u8bbe\u7f6e
+guardar=\u5b58\u76d8
+Guardar_leyenda=\u4fdd\u5b58\u56fe\u4f8b
+incorrect_annotation_format=
+insertar_capa=\u63d2\u5165\u56fe\u5c42
+insertar_en_la_vista_la_capa_creada=\u60a8\u8981\u628a\u8fd9\u65b0\u5efa\u56fe\u5c42\u6dfb\u52a0\u5230\u6d3b\u52a8\u89c6\u56fe\u91cc\u5417?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=\u8bf7\u7ed9\u65b0\u5efa\u6ce8\u89e3\u5c42\u8f93\u5165\u65b0\u540d\u79f0
+Label_properties=
+Layer_=
+Layer_from_active_view=
+meters=\u7c73
+metros=\u7c73
+modify_annotation=
+no_es_posible_aplicar_leyenda_vacia=\u65e0\u6cd5\u5e94\u7528\u7a7a\u56fe\u4f8b\u3002
+options=\u9009\u9879
+options.annotations=
+over_write=
+pixels=\u50cf\u7d20
+Point\ Shape\ Files=
+propiedades_de_la_capa=\u56fe\u5c42\u5c5e\u6027
+Recuperar_leyenda=\u8f7d\u5165\u56fe\u4f8b
+remove_annotation_overlapping=
+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?
+seleccionar_fichero=\u9009\u62e9\u6587\u4ef6
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>\u9009\u62e9\u4fdd\u5b58\u6807\u7b7e\u6b63\u6587\u89d2\u5ea6\u7684\u5b57\u6bb5\u3002</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>\u9009\u62e9\u4fdd\u5b58\u6807\u7b7e\u989c\u8272\u7684\u5b57\u6bb5\u3002</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>\u9009\u62e9\u4fdd\u5b58\u6807\u7b7e\u5b57\u7b26\u7684\u5b57\u6bb5\u3002</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>\u9009\u62e9\u4fdd\u5b58\u6807\u7b7e\u9ad8\u5ea6\u7684\u5b57\u6bb5\u3002</HTML>
+Select_the_annotation_layer_to_store_the_labels_=
+Set_labeling_expression=
+Set_target_layer=
+shp_files=.shp \u6587\u4ef6
+Simbologia=\u6807\u7b7e
+Single_labeling=
+SingleLabelingTool=
+Target_annotation_layer=
+text=
+tipo_de_leyenda=\u56fe\u4f8b\u7c7b\u578b
+to_annotation=\u6539\u53d8\u4e3a\u6ce8\u89e3\u5c42
+units_of_annotations=
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_zh.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ca.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ca.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ca.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [ca]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(S\u00edmbol \u00fanic)
+Aceptar=Acceptar
+annotation=Anotaci\u00f3
+Annotation_layer_not_valid=Capa d'anotacions no v\u00e0lida
+Annotation_layers=Capes d'anotacions
+annotation_preferences=Anotacions
+annotation_tools=Eines d'anotacions
+annotations=Anotacions
+Annotations=
+Aplicar=Aplicar
+avoid_overlapping=Evitar solapes
+Capa=Capa
+cargar=Carregar
+centered=Centrat
+Cerrar=Tancar
+change_options_of_annotations=Canvi d'opcions de les anotacions
+create_annotation_layer=Crea capa d'anotacions
+Create_Open_layer=Crear/Obrir capa
+Define_the_labeling_expression_=Definisca l'expressi\u00f3 d'etiquetatge\:
+descripcion_de_configuracion_capa_de_anotaciones=<HTML> Si vol utilitzar valors comuns a tots els atributs de la capa deixe els valors per defecte. Si vol personalitzar com es mostren les etiquetes seleccione els camps que emmagatzemen els valors. </HTML>\n\n\n\n\n\n
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Amb esta eina pot crear una capa basada en una altra ja existent que li permeta realitzar un etiquetatge avan\u00e7at. <br>Canvia la visualitzaci\u00f3 de la capa seleccionada i mostra el valor d'un dels seus camps. </HTML>\n\n
+draw_text_only=Dibuixar nom\u00e9s el text
+duplicate=Control dels duplicats
+duplicate.none=
+En_metros=En metres
+En_pixels=En pixels
+en_unidades=en unitats
+Error_creating_annotation_layer=Error en crear la capa d'anotacions
+Error_exportando_SLD=Error exportant SLD
+Error_guardando_la_leyenda=Error guardant la llegenda
+Error_opening_annotation_layer=Error en obrir la capa d'anotacions
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=Exportar a
+exporting_=S'est\u00e0 exportant
+fichero_incorrecto=Fitxer incorrecte
+fichero_ya_existe_seguro_desea_guardarlo=El fitxer ja existix, voleu continuar?
+fontcolor=Color del text
+fontheight=Altura del text
+fontrotate=Rotaci\u00f3 del text
+fontstyle=Estil del text
+fonttext=Text
+fonttype=Tipus de font
+formato_incorrecto=Format incorrecte
+General=General
+guardar=Guardar
+Guardar_leyenda=Guardar llegenda
+incorrect_annotation_format=Format d'anotaci\u00f3 incorrecte.
+insertar_capa=Inserir capa
+insertar_en_la_vista_la_capa_creada=Vol inserir en la vista la capa creada?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Introdu\u00efsca el nom per a la nova capa d'anotacions
+Label_properties=Propietats d'etiqueta
+Layer_=Capa\:
+Layer_from_active_view=Capa de la vista activa
+meters=Metres
+metros=Metres
+modify_annotation=Modificar anotaci\u00f3
+no_es_posible_aplicar_leyenda_vacia=No \u00e9s possible aplicar la llegenda buida.
+options=Opcions
+options.annotations=
+over_write=Sobreescriure
+pixels=pixels
+Point\ Shape\ Files=
+propiedades_de_la_capa=Propietats de la capa
+Recuperar_leyenda=Recuperar llegenda
+remove_annotation_overlapping=Esborrar anotacions solapades
+reproyectar_aviso=La projecci\u00f3 de la capa no \u00e9s igual que la de la vista.\nAVISO\: pot ser inexacte amb algunes transformaciones.\nPer favor, llija la documentaci\u00f3
+reproyectar_pregunta=Vol reprojectar-la?
+seleccionar_fichero=Seleccionar fitxer
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Seleccione el camp on s'emmagatzemar\u00e0 l'angle amb el qual es mostrar\u00e0 el text de l'etiqueta</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Seleccione el camp on s'emmagatzemar\u00e0 el color amb el qual es mostrar\u00e0 l'etiqueta</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Seleccione el camp que s'ha d'etiquetar.<HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Seleccione el camp on s'emmagatzemar\u00e0 la font de l'etiqueta amb la qual es mostrar\u00e0 
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Seleccione el camp on s'emmagatzemar\u00e0 l'altura amb la qual es mostrar\u00e0 l'etiqueta
+Select_the_annotation_layer_to_store_the_labels_=Seleccione la capa d'anotacions que emmagatzemar\u00e0 les etiquetes
+Set_labeling_expression=Definir expressi\u00f3 d'etiquetatge
+Set_target_layer=Configurar la capa dest\u00ed
+shp_files=Fitxers .shp
+Simbologia=Simbologia
+Single_labeling=Etiquetatge individual
+SingleLabelingTool=Eina d'etiquetatge individual
+Target_annotation_layer=Capa d'anotacions dest\u00ed
+text=Text
+tipo_de_leyenda=Tipus de llegenda
+to_annotation=Transformar a capa d'anotacions
+units_of_annotations=Unitats de les anotacions
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ca.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pt.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pt.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pt.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [pt]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(S\u00edmbolo \u00fanico)
+Aceptar=Aceitar
+annotation=Anota\u00e7\u00e3o
+Annotation_layer_not_valid=
+Annotation_layers=
+annotation_preferences=Prefer\u00eancias das anota\u00e7\u00f5es
+annotation_tools=
+annotations=Anota\u00e7\u00f5es
+Annotations=Anota\u00e7\u00f5es
+Aplicar=Aplicar
+avoid_overlapping=Evitar sobreposi\u00e7\u00e3o
+Capa=Capa
+cargar=Carregar
+centered=Centrado
+Cerrar=Fechar
+change_options_of_annotations=Alterar as op\u00e7\u00f5es das anota\u00e7\u00f5es
+create_annotation_layer=Criar tema de anota\u00e7\u00f5es
+Create_Open_layer=
+Define_the_labeling_expression_=
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Se deseja utilizar valores comuns a todos os atributos do tema, deixe os valores por defeito. Se deseja personalizar como se mostram as etiquetas, selecione os campos que armazenam os valores. </HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Usando esta ferramenta \u00e9 poss\u00edvel criar um novo tema baseado num j\u00e1 existente que permite realizar etiquetagem avan\u00e7ada. Modifica a visualiza\u00e7\u00e3o de um tema seleccionado mostrando o valor de um dos seus campos.</HTML>
+draw_text_only=Desenhar apenas o texto
+duplicate=Controle dos duplicados
+duplicate.none=Nenhum
+En_metros=Em metros
+En_pixels=Em pixels
+en_unidades=em unidades
+Error_creating_annotation_layer=
+Error_exportando_SLD=Erro ao exportar o SLD
+Error_guardando_la_leyenda=Erro ao guardar a legenda
+Error_opening_annotation_layer=
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=N\u00e3o \u00e9 possivel abrir este ficheiro como tema de anota\u00e7\u00f5es
+export_to=Exportar para...
+exporting_=Exportando
+fichero_incorrecto=Ficheiro incorrecto
+fichero_ya_existe_seguro_desea_guardarlo=O ficheiro j\u00e1 existe, deseja continuar?
+fontcolor=Cor do texto
+fontheight=Altura do texto
+fontrotate=Rota\u00e7\u00e3o do texto
+fontstyle=Estilo do texto
+fonttext=Texto
+fonttype=Tipo de fonte
+formato_incorrecto=Formato incorrecto
+General=Geral
+guardar=Guardar
+Guardar_leyenda=Guardar legenda
+incorrect_annotation_format=Formato incorrecto de anota\u00e7\u00f5es
+insertar_capa=Inserir tema
+insertar_en_la_vista_la_capa_creada=Deseja adicionar \u00e0 vista o tema creado?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Inserir o nome do tema de anota\u00e7\u00f5es
+Label_properties=
+Layer_=
+Layer_from_active_view=
+meters=Metros
+metros=Metros
+modify_annotation=Modificar anota\u00e7\u00f5es
+no_es_posible_aplicar_leyenda_vacia=N\u00e3o \u00e9 poss\u00edvel inserir uma legenda vazia.
+options=Op\u00e7\u00f5es
+options.annotations=
+over_write=Reescrever
+pixels=pixels
+Point\ Shape\ Files=Tema de pontos
+propiedades_de_la_capa=Propriedades do tema
+Recuperar_leyenda=Recuperar legenda
+remove_annotation_overlapping=Eliminar anota\u00e7\u00f5es sobrepostas
+reproyectar_aviso=A projec\u00e7\u00e3o da capa n\u00e3o \u00e9 a mesma da que a vista.\nAVISO\: Isto pode gerar imprecis\u00e3o com algumas transforma\u00e7\u00f5es.\nPor favor, leia a documenta\u00e7\u00e3o
+reproyectar_pregunta=Deseja voltar a projectar?
+seleccionar_fichero=Seleccionar ficheiro
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Seleccione o campo onde se vai guardar o \u00e2ngulo da etiqueta</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Seleccione o campo onde se vai guardar a cor da etiqueta</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Seleccione o campo da etiqueta</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Seleccione o campo onde se vai guardar o estilo de texto</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Seleccione o campo onde se vai guardar a altura da etiqueta</HTML>
+Select_the_annotation_layer_to_store_the_labels_=
+Set_labeling_expression=
+Set_target_layer=
+shp_files=SHP files
+Simbologia=Simbologia
+Single_labeling=
+SingleLabelingTool=
+Target_annotation_layer=
+text=Texto
+tipo_de_leyenda=Tipo de legenda
+to_annotation=Transformar a capa de anota\u00e7\u00f5es
+units_of_annotations=Unidades das anota\u00e7\u00f5es
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pt.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_sr.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_sr.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_sr.properties	(revision 38349)
@@ -0,0 +1,66 @@
+#Translations for language [sr]
+#Mon Nov 02 08:36:02 CET 2009
+annotation=Komentar
+Annotation_layer_not_valid=Lejer sa komentarima nije validan
+Annotation_layers=Lejeri sa komentarima
+annotation_preferences=Parametri  komentara
+annotation_tools=Alati za komentare
+annotations=Komentari
+Annotations=
+avoid_overlapping=Izbegni preklapanje
+Capa=Lejer
+cargar=U\u010ditaj
+centered=Centriran
+create_annotation_layer=Kreiraj lejer sa komentarima
+Create_Open_layer=Kreiraj/Otvori lejer
+Define_the_labeling_expression_=Defini\u0161i izraz etikete\:
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Ako \u017eelite da koristite vrednosti koje su zajedni\u010dke za sve atribute lejera zadr\u017eite default vrednosti. Ukoliko \u017eelite da kreirate izgled etiketa izaberite polja koja sadr\u017ee te vrednosti.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Uz pomo\u0107 ove alatke mo\u017eete kreirati jedan lejer zasnovan na nekom ve\u0107 postoje\u0107em lejeru \u0161to \u0107e vam omogu\u0107iti da vr\u0161ite napredno etiketiranje. Menja vizualizaciju izabranog lejera prikazuju\u0107i vrednost jednog njegovog polja.</HTML>
+draw_text_only=Nacrtaj samo tekst
+duplicate=Kontrola duplikata.
+duplicate.none=Nijedan
+En_metros=U metrima
+En_pixels=U pikselima
+en_unidades=u jedinicama
+Error_creating_annotation_layer=Gre\u0161ka pri kreiranju lejera sa komentarima
+Error_opening_annotation_layer=Gre\u0161ka pri otvaranju lejera sa komentarima
+export_to=Eksportuj u ...
+exporting_=Eksportovanje
+fichero_ya_existe_seguro_desea_guardarlo=Datoteka ve\u0107 postoji. \u017delite li da nastavite?
+fontcolor=Boja teksta
+fontheight=Visina teksta
+fontrotate=Rotacija teksta
+fontstyle=Stil teksta
+fonttext=Tekst
+fonttype=Tip slova
+guardar=Sa\u010duvaj
+incorrect_annotation_format=Pogre\u0161an format komentara.
+insertar_capa=Unesi lejer
+insertar_en_la_vista_la_capa_creada=Da li \u017eelite da dodate ovaj novi lejer u aktivni prikaz?
+Label_properties=Karakteristike etikete
+Layer_=Lejer\:
+Layer_from_active_view=Lejer iz aktivnog prikaza
+modify_annotation=Izmeni napomene
+options=Opcije
+pixels=piksela
+Point\ Shape\ Files=
+propiedades_de_la_capa=Karakteristike lejera
+remove_annotation_overlapping=Ukloni komentare koji se preklapaju
+seleccionar_fichero=Izaberi fajl
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Izaberi polje u kome \u0107e se sa\u010duvati ugao pod kojim \u0107e se prikazivati tekst etikete</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Izaberi polje u okviru koga \u0107e se \u010duvati boja etikete</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Izaberi polje za etiketiranje.</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Izaberi polje u kome \u017eeli\u0161 da arhivira\u0161 font etikete</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Izaberi polje koje \u0107e\u0161 koristiti za arhiviranje visine etikete</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Izaberite lejer sa komentarima koji \u0107e \u010duvati etikete
+Set_labeling_expression=Defini\u0161i izraz etikete
+Set_target_layer=Podesi krajnji lejer
+shp_files=SHP fajlovi
+Single_labeling=Individualno etiketiranje
+SingleLabelingTool=Alatka individualnog etiketiranja
+Target_annotation_layer=Krajnji lejer sa komentarima
+text=Tekst
+to_annotation=Pretvori u lejer sa napomenama
+units_of_annotations=Jedinice napomena
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_sr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_tr.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_tr.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_tr.properties	(revision 38349)
@@ -0,0 +1,64 @@
+#Translations for language [tr]
+#Mon Sep 21 10:01:59 CEST 2009
+annotation=A\u00e7\u0131klama
+Annotation_layer_not_valid=A\u00e7\u0131klama katman\u0131 ge\u00e7erli de\u011fil
+Annotation_layers=A\u00e7\u0131klama katmanlar\u0131
+annotation_preferences=A\u00e7\u0131klamalar
+annotation_tools=A\u00e7\u0131klama ara\u00e7lar\u0131
+annotations=A\u00e7\u0131klamalar
+Annotations=
+avoid_overlapping=\u00d6rt\u00fc\u015fmeden ka\u00e7\u0131n
+Capa=Katman
+cargar=Y\u00fckle
+centered=Ortalanm\u0131\u015f
+create_annotation_layer=A\u00e7\u0131klama katman\u0131 olu\u015ftur
+Create_Open_layer=Olu\u015ftur/A\u00e7 katman
+Define_the_labeling_expression_=Etiketleme ifadesini belirle
+descripcion_de_configuracion_capa_de_anotaciones=
+descripcion_de_crear_capa_de_anotaciones_nueva=
+draw_text_only=Sadece metin \u00e7iz
+duplicate=Tekrar kontrolu.
+duplicate.none=Hi\u00e7biri
+En_metros=Metre olarak
+En_pixels=Piksel olarak
+en_unidades=birimlerde
+Error_creating_annotation_layer=A\u00e7\u0131klama katman\u0131 olu\u015fturmada hata
+Error_opening_annotation_layer=A\u00e7\u0131klama katman\u0131n\u0131 a\u00e7mada hata
+export_to=D\u0131\u015fa aktar ...
+exporting_=Aktar\u0131l\u0131yor
+fichero_ya_existe_seguro_desea_guardarlo=Dosya zaten var, devam edeyim mi?
+fontcolor=Yaz\u0131 tipi rengi
+fontheight=Yaz\u0131 tipi y\u00fcksekli\u011fi
+fontrotate=
+fontstyle=Font bi\u00e7emi
+fonttext=
+fonttype=Yaz\u0131 tipi
+guardar=Kaydet
+incorrect_annotation_format=
+insertar_capa=Katman ekle
+insertar_en_la_vista_la_capa_creada=Bu yeni katman\u0131 aktif pencereye eklemek ister misin?
+Label_properties=Etiket \u00f6zellikleri
+Layer_=
+Layer_from_active_view=Aktif penceredeki katman
+modify_annotation=A\u00e7\u0131klamay\u0131 de\u011fi\u015ftir
+options=Se\u00e7imler
+Point\ Shape\ Files=
+propiedades_de_la_capa=Katman \u00f6zellikleri
+remove_annotation_overlapping=
+seleccionar_fichero=Dosyay\u0131 se\u00e7
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=
+seleccione_el_campo_color_de_la_capa_de_anotaciones=
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=
+Select_the_annotation_layer_to_store_the_labels_=Etiketleri depolayacak a\u00e7\u0131klama katman\u0131n\u0131 se\u00e7\:
+Set_labeling_expression=Etiketleme ifadesini ayarla
+Set_target_layer=Hedef katman\u0131 ayarla
+shp_files=SHP dosyalar\u0131
+Single_labeling=Tek etiketleme
+SingleLabelingTool=Tek Etiketleme Arac\u0131
+Target_annotation_layer=Hedef A\u00e7\u0131klama katman\u0131
+text=Metin
+to_annotation=A\u00e7\u0131klama katman\u0131na d\u00f6n\u00fc\u015ft\u00fcr
+units_of_annotations=A\u00e7\u0131klamalar\u0131n birimleri
+View_Tools=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_tr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ru.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ru.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ru.properties	(revision 38349)
@@ -0,0 +1,64 @@
+#Translations for language [ru]
+#Mon Sep 21 10:01:59 CEST 2009
+annotation=\u0410\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f
+Annotation_layer_not_valid=
+Annotation_layers=
+annotation_preferences=\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0439
+annotation_tools=
+annotations=\u0410\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438
+Annotations=
+avoid_overlapping=\u0411\u0435\u0437 \u043d\u0430\u043b\u043e\u0436\u0435\u043d\u0438\u044f
+Capa=\u0421\u043b\u043e\u0439
+cargar=\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c
+centered=\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443
+create_annotation_layer=\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043b\u043e\u0439 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0439
+Create_Open_layer=
+Define_the_labeling_expression_=
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u043e\u043b\u044f \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0439 \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>\u0414\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u043b\u043e\u044f \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u043c\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0439. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043f\u043e\u043b\u0435\u0439 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u044f.</HTML>
+draw_text_only=\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043a\u0441\u0442
+duplicate=\u041c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435
+duplicate.none=\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442
+En_metros=\u0412 \u043c\u0435\u0442\u0440\u0430\u0445
+En_pixels=\u0412 \u043f\u0438\u043a\u0441\u0435\u043b\u044f\u0445
+en_unidades=\u0432 \u0435\u0434\u0438\u043d\u0438\u0446\u0430\u0445 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f
+Error_creating_annotation_layer=
+Error_opening_annotation_layer=
+export_to=\u042d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432 ...
+exporting_=\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435
+fichero_ya_existe_seguro_desea_guardarlo=\u0424\u0430\u0439\u043b \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b?
+fontcolor=\u0426\u0432\u0435\u0442 \u0448\u0440\u0438\u0444\u0442\u0430
+fontheight=\u0412\u044b\u0441\u043e\u0442\u0430 \u0448\u0440\u0438\u0444\u0442\u0430
+fontrotate=\u0423\u0433\u043e\u043b \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u0430
+fontstyle=\u0421\u0442\u0438\u043b\u044c \u0448\u0440\u0438\u0444\u0442\u0430
+fonttext=\u0422\u0435\u043a\u0441\u0442
+fonttype=\u0428\u0440\u0438\u0444\u0442
+guardar=\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c
+incorrect_annotation_format=\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438.
+insertar_capa=\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043b\u043e\u0439
+insertar_en_la_vista_la_capa_creada=\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0441\u043b\u043e\u0439 \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u041a\u0430\u0440\u0442\u0443?
+Label_properties=
+Layer_=
+Layer_from_active_view=
+modify_annotation=\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044e
+options=\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438
+Point\ Shape\ Files=
+propiedades_de_la_capa=\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0441\u043b\u043e\u044f
+remove_annotation_overlapping=\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438
+seleccionar_fichero=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0444\u0430\u0439\u043b
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u043e\u043b\u0435 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0443\u0433\u043b\u0430 \u043d\u0430\u043a\u043b\u043e\u043d\u0430 \u043d\u0430\u0434\u043f\u0438\u0441\u0438</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u043e\u043b\u0435 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0446\u0432\u0435\u0442\u0430 \u043d\u0430\u0434\u043f\u0438\u0441\u0438</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u043e\u043b\u0435 \u043d\u0430\u0434\u043f\u0438\u0441\u0438</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u043e\u043b\u0435 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0448\u0440\u0438\u0444\u0442\u0430 \u043d\u0430\u0434\u043f\u0438\u0441\u0438</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u043e\u043b\u0435 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0432\u044b\u0441\u043e\u0442\u044b \u043d\u0430\u0434\u043f\u0438\u0441\u0438</HTML>
+Select_the_annotation_layer_to_store_the_labels_=
+Set_labeling_expression=
+Set_target_layer=
+shp_files=SHP \u0444\u0430\u0439\u043b\u044b
+Single_labeling=
+SingleLabelingTool=
+Target_annotation_layer=
+text=\u0422\u0435\u043a\u0441\u0442
+to_annotation=\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0441\u043b\u043e\u0439 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0439 
+units_of_annotations=\u0415\u0434\u0438\u043d\u0438\u0446\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0439
+View_Tools=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_ru.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_de.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_de.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_de.properties	(revision 38349)
@@ -0,0 +1,90 @@
+#Translations for language [de]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(Einmaliges Symbol)
+Aceptar=OK
+annotation=Beschriftung
+Annotation_layer=Beschriftung-Layer
+Annotation_layer_not_valid=Beschriftung-Layer nicht g\u00fcltig
+Annotation_layers=Beschriftung-Layer
+annotation_preferences=Einstellungen zur Objektbeschriftung 
+annotation_tools=Beschriftungswerkzeuge
+annotations=Beschriftungen
+Annotations=Beschriftungen
+Aplicar=Anwenden
+avoid_overlapping=\u00dcberlappungen vermeiden
+Capa=Layer
+cargar=laden
+centered=Zentriert
+Cerrar=schlie\u00dfen
+change_options_of_annotations=Einstellungen f\u00fcr Beschriftungen \u00e4ndern
+create_annotation_layer=Beschriftungslayer erzeugen
+Create_Open_layer=Layer hinzuf\u00fcgen/\u00f6ffnen
+Define_the_labeling_expression_=Ausdruck f\u00fcr die Beschriftung definieren
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Akzeptieren sie die -Default- Einstellungen, so werden die Spalten 'TypeFont', 'StyleFont', 'Color', 'Heigth' und 'Rotate' automatisiert in die Attributtabelle, f\u00fcr alle vorhandenen Datens\u00e4tze geschrieben. Bei bereits vorhandenen Beschriftungslayer haben sie die M\u00f6glichkeit die einzelnen Werte frei zu vergeben.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Hier kann ein neuer Beschriftungslayer erzeugt werden. Bei einem bereits bestehenden Beschriftungslayer kann dieses Werkzeug verwendet werden um erneuten oder neue Felder zu vergebn. Dies  ver\u00e4ndert die Ansicht des ausgew\u00e4hlten Layers.</HTML>
+draw_text_only=nur Text zeichnen
+duplicate=Duplikate zulassen
+duplicate.none=Keine Duplikate
+En_metros=in Metern
+En_pixels=in Pixeln
+en_unidades=in Einheiten
+Error_creating_annotation_layer=Fehler beim Erzeugen des Beschriftung-Layers
+Error_exportando_SLD=Fehler beim SLD Export
+Error_guardando_la_leyenda=Fehler beim Speichern der Legende
+Error_opening_annotation_layer=Fehler beim \u00d6ffnen des Beschriftungs-Layers
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=Von dieser Datei kann kein Kommentar Layer abgeleitet werden
+export_to=Exportieren nach...
+exporting_=Exportiert
+fichero_incorrecto=ung\u00fcltige Datei
+fichero_ya_existe_seguro_desea_guardarlo=Diese Datei existiert bereits. Soll sie \u00fcberschrieben werden?
+fontcolor=Schriftfarbe
+fontheight=Schriftgr\u00f6\u00dfe
+fontrotate=Schriftrichtung
+fontstyle=Schriftdarstellung
+fonttext=Schrifttext
+fonttype=Schrifttyp
+formato_incorrecto=Ung\u00fcltiges Format
+General=Allgemein
+guardar=Speichern
+Guardar_leyenda=Legende speichern
+incorrect_annotation_format=Falsches Beschriftungsformat
+insertar_capa=Layer hinzuf\u00fcgen
+insertar_en_la_vista_la_capa_creada=Layer zur aktuellen Ansicht hinzuf\u00fcgen
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Namen f\u00fcr neuen Kommentarlayer eingeben
+Label_properties=Eigenschaften Beschriftung
+Layer_=Layer\:
+Layer_from_active_view=Layer aus aktiver Ansicht
+meters=Meter
+metros=Meter
+modify_annotation=Beschriftung anpassen
+no_es_posible_aplicar_leyenda_vacia=Leere Legenden, k\u00f6nnen nicht verwendet werden
+options=Optionen
+options.annotations=Kommentar-Optionen
+over_write=\u00fcberschreiben
+pixels=Pixel
+Point\ Shape\ Files=Punktshape
+propiedades_de_la_capa=Layereigenschaften
+Recuperar_leyenda=Legende laden
+remove_annotation_overlapping=\u00dcberlappende Beschriftungen entfernen
+reproyectar_aviso=Die Layerprojektion entspricht nicht der Ansichtsprojektion. \nACHTUNG\: Bei einigen Transformationen k\u00f6nnte sie ungenau sein.\nLesen Sie bitte die Dokumentation.
+reproyectar_pregunta=Wollen Sie reprojizieren?
+seleccionar_fichero=Datei ausw\u00e4hlen
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Winkelfeld f\u00fcr Kommentarlayer w\u00e4hlen</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Farbfeld f\u00fcr Kommentarlayer w\u00e4hlen</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>W\u00e4hlen sie das Beschriftungsfeld</HTML>  
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>W\u00e4hlen sie das Feld, in dem die Beschriftung gespeichert werden soll</HTML>  
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>W\u00e4hlen sie das Feld, in dem die Gr\u00f6\u00dfe der Beschriftung gespeichert werden soll</HTML>  
+Select_the_annotation_layer_to_store_the_labels_=Beschriftung-Layer zur Speicherung von Beschriftungen w\u00e4hlen
+Set_labeling_expression=Ausdruck f\u00fcr die Beschriftung eingeben
+Set_target_layer=Ziel- Layer festlegen
+shp_files=SHP-Dateien
+Simbologia=Symbole
+Single_labeling=Individuelle Beschriftung
+SingleLabelingTool=Werkzeug Individuelle Beschriftung
+Target_annotation_layer=Ziel-Beschriftung-Layer
+text=Text
+tipo_de_leyenda=Legendentyp
+to_annotation=in Beschriftungen umwandeln
+units_of_annotations=Einheiten f\u00fcr Beschriftungen
+View_Tools=
+View_Tools_Zooms=Ansicht_Werkzeuge_Zoom

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_de.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_sw.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_sw.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_sw.properties	(revision 38349)
@@ -0,0 +1,65 @@
+#Translations for language [sw]
+#Mon Sep 21 10:01:59 CEST 2009
+annotation=Maelezo
+Annotation_layer_not_valid=
+Annotation_layers=
+annotation_preferences=upendeleo katika  maelezo
+annotation_tools=vifaa vya kutengenezea maelezo
+annotations=Maelezo
+Annotations=
+avoid_overlapping=Zuia Kukaa juu ya Nyingine
+Capa=Safu/Tabata
+cargar=Beba
+centered=Imewekwa Kati
+create_annotation_layer=
+Create_Open_layer=
+Define_the_labeling_expression_=
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Weka Vipimo vya Kawaida ambavyo vinatumiwa na Tabia zote za Safu. Chagua Safu ambazo zinaweza Kuweka Vipimo hivyo kwa ajili ya Kutumia Alama Zenye Mtizamo wa Kienyeji<HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Tabaka Halisi inaweza Kutengenezwa  kwa kutumia kifaa hiki, kutegemea Tabaka iliyopo ambayo  inaruhusu Uwekaji Mzuri wa Jina. Inabadilisha Muonekano waTabaka<br> Iliyochanguliwa Ikionesha Thamani ya moja ya safu zake</ HTML>
+draw_text_only=Chora Maandishi Tu
+duplicate=Thibiti Kunanakili
+duplicate.none=
+En_metros=Katika mita
+En_pixels=Katika Pixels
+en_unidades=Katika Vizio
+Error_creating_annotation_layer=
+Error_opening_annotation_layer=
+export_to=Toa Nje Kupeleka kwa.......
+exporting_=Peleka Nje 
+fichero_ya_existe_seguro_desea_guardarlo=Faili hili tayari lipo, je wataka kuendelea?
+fontcolor=Rangi ya Herufi
+fontheight=Urefu wa Herufi
+fontrotate=Mzunguko wa Herufi
+fontstyle=Aina ya Herufi
+fonttext=Maandishi ya herufi
+fonttype=Aina ya Herufi.
+guardar=Weka Akiba
+incorrect_annotation_format=
+insertar_capa=Ingiza Tabaka
+insertar_en_la_vista_la_capa_creada=Je Wataka Kuongeza Tabaka Hii Mpya Kwenye Muonekano Hai?
+Label_properties=
+Layer_=
+Layer_from_active_view=
+modify_annotation=Rekebisha Maelezo
+options=Uchaguzi
+Point\ Shape\ Files=
+propiedades_de_la_capa=Tabia/Sifa za Tabaka
+remove_annotation_overlapping=Ondoa Maelezo Yanayopishana
+seleccionar_fichero=Chagua Faili
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML> Chagua Safu iliyotumika kuweka maandishi ya mteremko</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML> Chagua Safu iliyotumika kuweka Rangi za Majina</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML> Chagua Safu ya kupewa jina</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML> Chagua Safu iliyotumika kuweka Herufi za Majina</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML> Chagua Safu iliyotumika kuweka Urefu wa Majina</HTML>
+Select_the_annotation_layer_to_store_the_labels_=
+Set_labeling_expression=
+Set_target_layer=
+shp_files=Maifaili ya SHP
+Single_labeling=
+SingleLabelingTool=
+Target_annotation_layer=
+text=Maandishi ya kawaida
+to_annotation=Badili kwenda Tabaka ya Maelezo
+units_of_annotations=Vipimo vya Maelezo
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_sw.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_el.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_el.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_el.properties	(revision 38349)
@@ -0,0 +1,64 @@
+#Translations for language [el]
+#Mon Sep 21 10:01:59 CEST 2009
+annotation=\u0395\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03af\u03c9\u03c3\u03b7
+Annotation_layer_not_valid=
+Annotation_layers=
+annotation_preferences=\u03a0\u03c1\u03bf\u03c4\u03b9\u03bc\u03ae\u03c3\u03b5\u03b9\u03c2 \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03c9\u03bd
+annotation_tools=\u0395\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03b1 \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03c9\u03bd
+annotations=\u0395\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03b9\u03c2
+Annotations=
+avoid_overlapping=\u0391\u03c0\u03bf\u03c6\u03c5\u03b3\u03ae \u03b5\u03c0\u03b9\u03ba\u03ac\u03bb\u03c5\u03c8\u03b7\u03c2
+Capa=\u0395\u03c0\u03af\u03c0\u03b5\u03b4\u03bf
+cargar=\u03a6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7
+centered=\u039a\u03b5\u03bd\u03c4\u03c1\u03b1\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf\u03c2
+create_annotation_layer=\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b5\u03c0\u03b9\u03c0\u03ad\u03b4\u03bf\u03c5 \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03c9\u03bd
+Create_Open_layer=
+Define_the_labeling_expression_=
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>\u0395\u03ac\u03bd \u03b5\u03c0\u03b9\u03b8\u03c5\u03bc\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03ba\u03bf\u03b9\u03bd\u03ad\u03c2 \u03c4\u03b9\u03bc\u03ad\u03c2 \u03b3\u03b9\u03b1 \u03cc\u03bb\u03b1 \u03c4\u03b1 \u03c7\u03b1\u03c1\u03b1\u03ba\u03c4\u03b7\u03c1\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac \u03c4\u03bf\u03c5 \u03c0\u03b5\u03b4\u03af\u03bf\u03c5 \u03ba\u03c1\u03b1\u03c4\u03ae\u03c3\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03c0\u03c1\u03bf\u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03b5\u03c2 \u03c4\u03b9\u03bc\u03ad\u03c2. \u0393\u03b9\u03b1 \u03bd\u03b1 \u03c0\u03c1\u03bf\u03c3\u03b1\u03c1\u03bc\u03cc\u03c3\u03b5\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03c4\u03b9\u03ba\u03ad\u03c4\u03b5\u03c2 \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03b1 \u03c0\u03b5\u03b4\u03af\u03b1 \u03cc\u03c0\u03bf\u03c5 \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03cd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03bf\u03b9 \u03c4\u03b9\u03bc\u03ad\u03c2.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>\u039c\u03b5 \u03c4\u03b7 \u03c7\u03c1\u03ae\u03c3\u03b7 \u03b1\u03c5\u03c4\u03bf\u03cd \u03c4\u03bf\u03c5 \u03b5\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03bf\u03c5 \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b7\u03b8\u03b5\u03af \u03ad\u03bd\u03b1 \u03bd\u03ad\u03bf \u03b5\u03b9\u03ba\u03bf\u03bd\u03b9\u03ba\u03cc \u03b5\u03c0\u03af\u03c0\u03b5\u03b4\u03bf \u03b2\u03ac\u03c3\u03b7 \u03b5\u03bd\u03cc\u03c2 \u03c5\u03c0\u03ac\u03c1\u03c7\u03bf\u03bd\u03c4\u03bf\u03c2 \u03b5\u03c0\u03b9\u03c0\u03ad\u03b4\u03bf\u03c5 \u03c0\u03bf\u03c5 \u03b5\u03c0\u03b9\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bc\u03ad\u03bd\u03b7 \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7 \u03b5\u03c4\u03b9\u03ba\u03b5\u03c4\u03ce\u03bd. \u0391\u03bb\u03bb\u03ac\u03b6\u03b5\u03b9 \u03c4\u03b7\u03bd \u03b1\u03c0\u03b5\u03b9\u03ba\u03cc\u03bd\u03b7\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03bf\u03c5 \u03b5\u03c0\u03b9\u03c0\u03ad\u03b4\u03bf\u03c5 <br>\u03bc\u03b5 \u03c4\u03b7\u03bd \u03b5\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c4\u03b7\u03c2 \u03c4\u03b9\u03bc\u03ae\u03c2 \u03b5\u03bd\u03cc\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b1 \u03c0\u03b5\u03b4\u03af\u03b1 \u03c4\u03bf\u03c5.</HTML>
+draw_text_only=\u0391\u03c0\u03bf\u03c4\u03cd\u03c0\u03c9\u03c3\u03b7 \u03bc\u03cc\u03bd\u03bf \u03ba\u03b5\u03b9\u03bc\u03ad\u03bd\u03bf\u03c5 
+duplicate=\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u03b4\u03b9\u03c0\u03bb\u03cc\u03c4\u03c5\u03c0\u03c9\u03bd
+duplicate.none=\u039a\u03b1\u03bd\u03ad\u03bd\u03b1
+En_metros=\u03a3\u03b5 \u03bc\u03ad\u03c4\u03c1\u03b1
+En_pixels=\u03a3\u03b5 \u03c0\u03af\u03be\u03b5\u03bb
+en_unidades=\u03c3\u03b5 \u03bc\u03bf\u03bd\u03ac\u03b4\u03b5\u03c2
+Error_creating_annotation_layer=
+Error_opening_annotation_layer=
+export_to=\u0395\u03be\u03b1\u03b3\u03c9\u03b3\u03ae \u03c3\u03b5 ...
+exporting_=\u0395\u03be\u03b1\u03b3\u03c9\u03b3\u03ae
+fichero_ya_existe_seguro_desea_guardarlo=\u03a4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03ae\u03b4\u03b7, \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b5\u03c7\u03af\u03c3\u03b5\u03c4\u03b5;
+fontcolor=\u03a7\u03c1\u03ce\u03bc\u03b1 \u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\u03c4\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac\u03c2
+fontheight=\u039c\u03ad\u03b3\u03b5\u03b8\u03bf\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\u03c4\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac\u03c2
+fontrotate=\u03a0\u03b5\u03c1\u03b9\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae \u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\u03c4\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac\u03c2
+fontstyle=\u03a3\u03c4\u03c5\u03bb \u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\u03c4\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac\u03c2
+fonttext=\u039a\u03b5\u03af\u03bc\u03b5\u03bd\u03bf
+fonttype=\u03a4\u03cd\u03c0\u03bf\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\u03c4\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac\u03c2
+guardar=\u0391\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7
+incorrect_annotation_format=\u0395\u03c3\u03c6\u03b1\u03bb\u03bc\u03ad\u03bd\u03bf \u03c6\u03bf\u03c1\u03bc\u03ac\u03c4 \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03af\u03c9\u03c3\u03b7\u03c2
+insertar_capa=\u0395\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03b5\u03c0\u03af\u03c0\u03b5\u03b4\u03bf
+insertar_en_la_vista_la_capa_creada=\u0395\u03c0\u03b9\u03b8\u03c5\u03bc\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c0\u03c1\u03bf\u03c3\u03b8\u03ad\u03c3\u03b5\u03c4\u03b5 \u03c3\u03c4\u03b7\u03bd \u03cc\u03c8\u03b7 \u03c4\u03bf \u03bd\u03ad\u03bf \u03b5\u03c0\u03af\u03c0\u03b5\u03b4\u03bf;
+Label_properties=
+Layer_=
+Layer_from_active_view=
+modify_annotation=\u03a4\u03c1\u03bf\u03c0\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03af\u03c9\u03c3\u03b7\u03c2
+options=\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ad\u03c2
+Point\ Shape\ Files=
+propiedades_de_la_capa=\u0399\u03b4\u03b9\u03cc\u03c4\u03b7\u03c4\u03b5\u03c2 \u03b5\u03c0\u03b9\u03c0\u03ad\u03b4\u03bf\u03c5
+remove_annotation_overlapping=\u0391\u03c6\u03b1\u03af\u03c1\u03b5\u03c3\u03b7 \u03b5\u03c0\u03b9\u03ba\u03b1\u03bb\u03c5\u03c0\u03c4\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03c9\u03bd
+seleccionar_fichero=\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03c4\u03bf\u03c5 \u03c0\u03b5\u03b4\u03af\u03bf\u03c5 \u03b1\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7\u03c2 \u03c4\u03b7\u03c2 \u03ba\u03bb\u03af\u03c3\u03b7\u03c2 \u03c4\u03bf\u03c5 \u03ba\u03b5\u03b9\u03bc\u03ad\u03bd\u03bf\u03c5 \u03c4\u03c9\u03bd \u03b5\u03c4\u03b9\u03ba\u03b5\u03c4\u03ce\u03bd</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03bf \u03c0\u03b5\u03b4\u03af\u03bf \u03c0\u03bf\u03c5 \u03b8\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b7\u03b8\u03b5\u03af \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b1\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03c7\u03c1\u03ce\u03bc\u03b1\u03c4\u03bf\u03c2 \u03c4\u03b7\u03c2 \u03b5\u03c4\u03b9\u03ba\u03ad\u03c4\u03b1\u03c2</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5  \u03c0\u03b5\u03b4\u03af\u03bf \u03b3\u03b9\u03b1 \u03b5\u03c4\u03b9\u03ba\u03ad\u03c4\u03b1</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03bf \u03c0\u03b5\u03b4\u03af\u03bf \u03c0\u03bf\u03c5 \u03b8\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b7\u03b8\u03b5\u03af \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b1\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03c4\u03b7\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\u03c4\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac\u03c2 \u03c4\u03b7\u03c2 \u03b5\u03c4\u03b9\u03ba\u03ad\u03c4\u03b1\u03c2</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03bf \u03c0\u03b5\u03b4\u03af\u03bf \u03c0\u03bf\u03c5 \u03b8\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b7\u03b8\u03b5\u03af \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b1\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03cd\u03c8\u03bf\u03c5\u03c2 \u03c4\u03b7\u03c2 \u03b5\u03c4\u03b9\u03ba\u03ad\u03c4\u03b1\u03c2</HTML>
+Select_the_annotation_layer_to_store_the_labels_=
+Set_labeling_expression=
+Set_target_layer=
+shp_files=\u0391\u03c1\u03c7\u03b5\u03af\u03b1 SHP
+Single_labeling=
+SingleLabelingTool=
+Target_annotation_layer=
+text=\u0394\u03bf\u03ba\u03b9\u03bc\u03ae
+to_annotation=\u039c\u03b5\u03c4\u03b1\u03c3\u03c7\u03b7\u03bc\u03b1\u03c4\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c3\u03b5 \u03b5\u03c0\u03af\u03c0\u03b5\u03b4\u03bf \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03c9\u03bd
+units_of_annotations=\u039c\u03bf\u03bd\u03ac\u03b4\u03b5\u03c2 \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03c9\u03bd
+View_Tools=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_el.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_gl.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_gl.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_gl.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [gl]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(S\u00edmbolo \u00fanico)
+Aceptar=Aceptar
+annotation=Anotaci\u00f3n
+Annotation_layer_not_valid=Capa de anotaci\u00f3ns non v\u00e1lida
+Annotation_layers=Capas de Anotaci\u00f3ns
+annotation_preferences=Anotaci\u00f3ns
+annotation_tools=Ferramentas de anotaci\u00f3ns
+annotations=Anotaci\u00f3ns
+Annotations=
+Aplicar=Aplicar
+avoid_overlapping=Evitar solapes
+Capa=Capa
+cargar=Cargar
+centered=Centrado
+Cerrar=Pechar
+change_options_of_annotations=Cambio opci\u00f3ns das anotaci\u00f3ns
+create_annotation_layer=Crea capa de anotaci\u00f3ns
+Create_Open_layer=Crear/Abrir capa
+Define_the_labeling_expression_=Defina a expresi\u00f3n de etiquetado\:
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Se desexa utilizar valores com\u00fans a todos os atributos da capa deixe os valores por defecto. Se desexa personalizar o xeito no que se amosan as etiquetas seleccione os campos que almacenan os valores.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Con esta ferramenta pode crear unha capa baseada noutra xa existente que lle permita realizar un etiquetado avanzado. <br>Cambia a visualizaci\u00f3n da capa seleccionada amosando o valor dun dos seus campos.</HTML>
+draw_text_only=Debuxar s\u00f3 o texto
+duplicate=Control dos duplicados
+duplicate.none=Ning\u00fan
+En_metros=En metros
+En_pixels=En pixels
+en_unidades=en unidades
+Error_creating_annotation_layer=Erro ao crear a capa de anotaci\u00f3ns
+Error_exportando_SLD=Erro exportando SLD
+Error_guardando_la_leyenda=Erro ao gardar a lenda
+Error_opening_annotation_layer=Erro ao abrir a capa de anotaci\u00f3ns
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=Exportar a...
+exporting_=Exportando
+fichero_incorrecto=Arquivo incorrecto
+fichero_ya_existe_seguro_desea_guardarlo=O arquivo xa existe, \u00bfdesexa continuar?
+fontcolor=Cor do texto
+fontheight=Altura do texto
+fontrotate=Rotaci\u00f3n do texto
+fontstyle=Estilo do texto
+fonttext=Texto
+fonttype=Tipo de fonte
+formato_incorrecto=Formato incorrecto
+General=Xeral
+guardar=Gardar
+Guardar_leyenda=Gardar lenda
+incorrect_annotation_format=Formato de anotaci\u00f3n incorrecto.
+insertar_capa=Inserir capa
+insertar_en_la_vista_la_capa_creada=\u00bfDesexa inserir na vista a capa creada?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Introduza o nome para a nova capa de anotaci\u00f3ns
+Label_properties=Propiedades de etiqueta
+Layer_=Capa\:
+Layer_from_active_view=Capa da vista activa
+meters=Metros
+metros=Metros
+modify_annotation=Modificar anotaci\u00f3n
+no_es_posible_aplicar_leyenda_vacia=Non \u00e9 posible aplicar a lenda vac\u00eda.
+options=Opci\u00f3ns
+options.annotations=
+over_write=
+pixels=pixels
+Point\ Shape\ Files=
+propiedades_de_la_capa=Propiedades da capa
+Recuperar_leyenda=Recuperar lenda
+remove_annotation_overlapping=Borrar anotaci\u00f3ns solapadas
+reproyectar_aviso=A proxecci\u00f3n da capa non \u00e9 igual que a da vista\nAVISO\: Pode ser inexacto con algunhas transformaci\u00f3ns.\nPor favor, lea a documentaci\u00f3n
+reproyectar_pregunta=Desexa reproxectar?
+seleccionar_fichero=Seleccionar arquivo
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Seleccione o campo onde se almacenar\u00e1 o \u00e1ngulo co que se amosar\u00e1 o texto da etiqueta</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Seleccione o campo onde se almacenar\u00e1 a cor coa que se amosar\u00e1 a etiqueta</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Seleccione o campo a etiquetar.</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Seleccione o campo onde se almacenar\u00e1 a fonte coa que se amosar\u00e1 a etiqueta</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Seleccione o campo onde se almacenar\u00e1 o alto co que se amosar\u00e1 a etiqueta</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Seleccione a capa de anotaci\u00f3ns que almacenar\u00e1 as etiquetas
+Set_labeling_expression=Definir expresi\u00f3n de etiquetado
+Set_target_layer=Configurar a capa destino
+shp_files=Arquivos .shp
+Simbologia=Simbolox\u00eda
+Single_labeling=Etiquetado individual
+SingleLabelingTool=Ferramenta de etiquetado individual
+Target_annotation_layer=Capa de anotaci\u00f3ns destino
+text=Texto
+tipo_de_leyenda=Tipo de lenda
+to_annotation=Transforma a capa de anotaci\u00f3ns
+units_of_annotations=Unidades das anotaci\u00f3ns
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_gl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_en.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_en.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_en.properties	(revision 38349)
@@ -0,0 +1,90 @@
+#Translations for language [en]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(Unique symbols)
+Aceptar=Accept
+annotation=Annotation
+Annotation_layer=Annotation layer
+Annotation_layer_not_valid=Annotation layer not valid
+Annotation_layers=Annotation layers
+annotation_preferences=Annotation preferences
+annotation_tools=Annotation tools
+annotations=Annotations
+Annotations=
+Aplicar=Apply
+avoid_overlapping=Avoid overlapping
+Capa=Layer
+cargar=Load
+centered=Centered
+Cerrar=Close
+change_options_of_annotations=Change options of annotations
+create_annotation_layer=Create annotation layer
+Create_Open_layer=Create/Open layer
+Define_the_labeling_expression_=Define the labeling expression
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Keep the default values to use the values which are shared by all the attributes of the layer. Select the fields which store the values in order to customize the label aspect.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>A new layer can be created using this tool, based on an already existing layer which allows to perform advanced labeling. <br>It changes the visualization of the selected layer showing the value of one of its fields.</HTML>
+draw_text_only=Draw text only
+duplicate=Duplicate control.
+duplicate.none=None
+En_metros=In meters
+En_pixels=In pixels
+en_unidades=in units
+Error_creating_annotation_layer=Error creating annotation layer
+Error_exportando_SLD=Error exporting SLD
+Error_guardando_la_leyenda=Error saving legend
+Error_opening_annotation_layer=Error opening annotation layer
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=Export to ...
+exporting_=Exporting
+fichero_incorrecto=Invalid file
+fichero_ya_existe_seguro_desea_guardarlo=The file already exists, do you want to continue?
+fontcolor=Font color
+fontheight=Font height
+fontrotate=Font rotate
+fontstyle=Font style
+fonttext=Texto
+fonttype=Font type
+formato_incorrecto=Invalid format
+General=General
+guardar=Save
+Guardar_leyenda=Save legend
+incorrect_annotation_format=Incorrect annotation format.
+insertar_capa=Insert layer
+insertar_en_la_vista_la_capa_creada=Would you like to add this new layer to the active view?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Insert the name of the new annotation layer
+Label_properties=Label properties
+Layer_=Capa\:
+Layer_from_active_view=Layer from active view
+meters=Meters
+metros=Meters
+modify_annotation=Modify annotation
+no_es_posible_aplicar_leyenda_vacia=It's imposible to apply empty legend.
+none=none
+options=Options
+options.annotations=
+pixels=pixels
+Point\ Shape\ Files=
+propiedades_de_la_capa=Layer properties
+Recuperar_leyenda=Load legend
+remove_annotation_overlapping=Remove annotation overlapping
+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?
+seleccionar_fichero=Select file
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Choose the field used to store the slope of the label\u0092s text</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Choose the field used to store the label\u0092s color</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Choose the field to label.</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Choose the field used to store the label\u0092s font</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Choose the field used to store the label\u0092s height</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Select the annotation layer to store the labels\:
+Set_labeling_expression=Set labeling expression
+Set_target_layer=Set target layer
+shp_files=SHP files
+Simbologia=Symbols
+Single_labeling=Single labeling
+SingleLabelingTool=Single Labeling Tool
+Target_annotation_layer=Target annotation layer
+text=Text
+tipo_de_leyenda=Type of legend
+to_annotation=Transform to annotation layer
+units_of_annotations=Units of annotations
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_cs.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_cs.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_cs.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [cs]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(Unik\u00e1tn\u00ed symboly)
+Aceptar=Budi\u017e
+annotation=Koment\u00e1\u0159
+Annotation_layer_not_valid=
+Annotation_layers=
+annotation_preferences=Vlastnosti koment\u00e1\u0159e
+annotation_tools=
+annotations=Koment\u00e1\u0159e
+Annotations=
+Aplicar=Pou\u017e\u00edt
+avoid_overlapping=Vyhnout se p\u0159ekryvu
+Capa=Vrstva
+cargar=Nahrej
+centered=Centrovan\u00fd
+Cerrar=Zav\u0159\u00edt
+change_options_of_annotations=Zm\u011bnit nastaven\u00ed koment\u00e1\u0159\u016f
+create_annotation_layer=Vytvo\u0159it vrstvu koment\u00e1\u0159\u016f
+Create_Open_layer=
+Define_the_labeling_expression_=
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Nechte implicitn\u00ed hodnoty, kter\u00e9 jsou sd\u00edlen\u00e9 v\u0161emi atributy vrstvy. Zvolte pole, kter\u00e1 obsahuj\u00ed hodnoty pro \u00fapavu popisu.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Nov\u00e1 vrstva m\u016f\u017ee b\u00fdt vytvo\u0159ena t\u00edmto n\u00e1strojem na z\u00e1klad\u011b existuj\u00edc\u00ed vrstvy, kter\u00e1 umo\u017e\u0148uje vylep\u0161en\u00e9 popisov\u00e1n\u00ed.<br> Zm\u011bn\u00ed se zobrazen\u00ed zvolen\u00e9 vrstvy, zobraz\u00ed se hodnota jednoho pole. </HTML>
+draw_text_only=Vykresl\u00ed jenom text
+duplicate=Rozdvojit ovl\u00e1d\u00e1n\u00ed
+duplicate.none=Nic
+En_metros=V metrech
+En_pixels=V pixelech
+en_unidades=v jednotk\u00e1ch
+Error_creating_annotation_layer=
+Error_exportando_SLD=Chyba p\u0159i exportu do SLD
+Error_guardando_la_leyenda=Chyba p\u0159i ukl\u00e1d\u00e1n\u00ed legendy
+Error_opening_annotation_layer=
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=Exportovat jako...
+exporting_=Exportov\u00e1n\u00ed
+fichero_incorrecto=Chybn\u00fd soubor
+fichero_ya_existe_seguro_desea_guardarlo=Soubor u\u017e existuje, chcete pokra\u010dovat?
+fontcolor=Barva p\u00edsma
+fontheight=V\u00fd\u0161ka p\u00edsma
+fontrotate=Rotace p\u00edsma
+fontstyle=Styl p\u00edsma
+fonttext=Text
+fonttype=Typ p\u00edsma
+formato_incorrecto=Chybn\u00fd form\u00e1t
+General=Obecn\u00fd
+guardar=Ulo\u017eit
+Guardar_leyenda=Ulo\u017eit styl
+incorrect_annotation_format=Nespr\u00e1vn\u00fd form\u00e1t koment\u00e1\u0159e.
+insertar_capa=Vlo\u017e vrstvu
+insertar_en_la_vista_la_capa_creada=P\u0159ejete si p\u0159idat novou vrstvu do aktivn\u00edho pohledu?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Vlo\u017ete n\u00e1zev nov\u00e9 vrstvy pozn\u00e1mek
+Label_properties=
+Layer_=
+Layer_from_active_view=
+meters=Metry
+metros=Metry
+modify_annotation=Zm\u011bna koment\u00e1\u0159e
+no_es_posible_aplicar_leyenda_vacia=Nelze pou\u017e\u00edt pr\u00e1zdnou legendu.
+options=Mo\u017enosti
+options.annotations=
+over_write=P\u0159epsat
+pixels=pixels
+Point\ Shape\ Files=
+propiedades_de_la_capa=Vlastnosti vrstvy
+Recuperar_leyenda=Nahr\u00e1t legendu
+remove_annotation_overlapping=Odstranit p\u0159ekr\u00fdv\u00e1n\u00ed koment\u00e1\u0159\u016f
+reproyectar_aviso=Projekce vrstvy se neshoduje s projekc\u00ed pohledu.\nUpozorn\u011bn\u00ed\: N\u011bkter\u00e9 transformace mohou b\u00fdt nep\u0159esn\u00e9.\nPros\u00edm prostudujte dokumentaci
+reproyectar_pregunta=Chcete p\u0159ev\u00e9st projekci?
+seleccionar_fichero=vyber soubor
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Vyber atribut pou\u017e\u00edvan\u00fd pro ulo\u017een\u00ed \u00faklonu textov\u00e9ho popisku</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Vyberte polo\u017eku pro ulo\u017een\u00ed barvy popisu</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Vylba pole k pojmenov\u00e1n\u00ed.</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Zvolte polo\u017eku pro ulo\u017een\u00ed fontu p\u00edsma.</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Zvolte polo\u017eku pro ulo\u017een\u00ed velikosti popisu.</HTML>
+Select_the_annotation_layer_to_store_the_labels_=
+Set_labeling_expression=
+Set_target_layer=
+shp_files=SHP files
+Simbologia=Symboly
+Single_labeling=
+SingleLabelingTool=
+Target_annotation_layer=
+text=Text
+tipo_de_leyenda=Druh legendy
+to_annotation=Zm\u011b\u0148 na vrstvu popisk\u016f
+units_of_annotations=Jednotky v koment\u00e1\u0159\u00edch
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_cs.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pt_BR.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pt_BR.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pt_BR.properties	(revision 38349)
@@ -0,0 +1,64 @@
+#Translations for language [pt_BR]
+#Mon Sep 21 10:01:59 CEST 2009
+annotation=Anota\u00e7\u00e3o
+Annotation_layer_not_valid=Anota\u00e7\u00e3o do plano de informa\u00e7\u00e3o n\u00e3o \u00e9 v\u00e1lido
+Annotation_layers=Anota\u00e7\u00e3o dos planos de informa\u00e7\u00e3o
+annotation_preferences=Prefer\u00eancias de anota\u00e7\u00f5es
+annotation_tools=Ferramentas de anota\u00e7\u00f5es
+annotations=Anota\u00e7\u00f5es
+Annotations=
+avoid_overlapping=Evitar sobreposi\u00e7\u00e3o.
+Capa=Plano de Informa\u00e7\u00e3o
+cargar=Abrir
+centered=Centrado
+create_annotation_layer=Criar plano de informa\u00e7\u00e3o de anota\u00e7\u00f5es
+Create_Open_layer=Criar/Abrir plano de informa\u00e7\u00e3o
+Define_the_labeling_expression_=Defina a express\u00e3o de etiquetado\:
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Caso deseje utilizar o valor comum a todos os atributos do plano de informa\u00e7\u00e3o deixe os valores padr\u00f5es. Caso deseje personalizar como mostram as etiquetas selecione os campos que armazenam os valores.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML> Com esta ferramenta, voc\u00ea pode criar um plano de informa\u00e7\u00e3o baseada em outra ja existente que permita realizar etiquetagem avan\u00e7ada. <br> Modifique a visualiza\u00e7\u00e3o do plano de informa\u00e7\u00e3o selecionado mostrando o valor de um de seus campos.</HTML>
+draw_text_only=Desenhar apenas o texto
+duplicate=Duplicar controle.
+duplicate.none=
+En_metros=Em metros
+En_pixels=Em pixels
+en_unidades=em unidades
+Error_creating_annotation_layer=Erro na cria\u00e7\u00e3o do plano de informa\u00e7\u00e3o de anota\u00e7\u00f5es.
+Error_opening_annotation_layer=Erro ao abrir o plano de informa\u00e7\u00e3o de anota\u00e7\u00f5es.
+export_to=Exportar para ...
+exporting_=Exportando
+fichero_ya_existe_seguro_desea_guardarlo=O arquivo ja existe. Deseja continuar?
+fontcolor=Cor do texto
+fontheight=Altura do texto
+fontrotate=Rota\u00e7\u00e3o do texto
+fontstyle=Estilo do texto
+fonttext=Texto
+fonttype=Tipo de fonte
+guardar=Salvar
+incorrect_annotation_format=Formato de anota\u00e7\u00e3o incompat\u00edvel.
+insertar_capa=Inserir plano de informa\u00e7\u00e3o
+insertar_en_la_vista_la_capa_creada=Deseja inserir no Bloco o plano de informa\u00e7\u00e3o criado?
+Label_properties=Propriedade da etiqueta
+Layer_=Plano de informa\u00e7\u00e3o
+Layer_from_active_view=Plano de informa\u00e7\u00e3o do Bloco ativo
+modify_annotation=Modificar anota\u00e7\u00e3o
+options=Op\u00e7\u00f5es
+Point\ Shape\ Files=
+propiedades_de_la_capa=Propriedades do plano de informa\u00e7\u00e3o
+remove_annotation_overlapping=Apagar anota\u00e7\u00f5es sobrepostas
+seleccionar_fichero=Selecionar arquivo
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML> Escolha o campo utilizado para armazenar o \u00e2ngulo das etiquetas texto </ HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Selecione o campo onde se definir\u00e1 a cor com ser\u00e1 visualizada a etiqueta.</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Selecione o campo para etiquetar.</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Selecione o campo onde ser\u00e1 usada a fonte definida para a etiqueta.</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Selecione o campo onde ser\u00e1 definida a altura de visualiza\u00e7\u00e3o da etiqueta.</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Selecione o plano de informa\u00e7\u00e3o de anota\u00e7\u00f5es armazenar\u00e1 as etiquetas\:
+Set_labeling_expression=Definir expre\u00e7\u00e3o das etiquetas
+Set_target_layer=Configurar o plano de informa\u00e7\u00e3o destino
+shp_files=Arquivo SHP
+Single_labeling=Etiquetado individualmente
+SingleLabelingTool=Ferramenta de etiquetamento individual
+Target_annotation_layer=Plano de informa\u00e7\u00e3o de anota\u00e7\u00f5es destino
+text=Texto
+to_annotation=Transformar o plano de informa\u00e7\u00e3o de anota\u00e7\u00f5es
+units_of_annotations=Unidades das anota\u00e7\u00f5es
+View_Tools=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pt_BR.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_fr.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_fr.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_fr.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [fr]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(Symbole unique)
+Aceptar=Accepter
+annotation=Annotations
+Annotation_layer_not_valid=Couche d'annotation non valide
+Annotation_layers=Couches d'annotation
+annotation_preferences=Annotations
+annotation_tools=Outils d'annotations
+annotations=Annotations
+Annotations=Annotations
+Aplicar=Appliquer
+avoid_overlapping=Eviter les chevauchements
+Capa=Couche
+cargar=Charger
+centered=Centr\u00e9
+Cerrar=Fermer
+change_options_of_annotations=S\u00e9lectionner les options des annotations \:
+create_annotation_layer=Cr\u00e9er une couche d'annotations
+Create_Open_layer=Cr\u00e9er/Ouvrir une couche
+Define_the_labeling_expression_=D\u00e9finir l'expression de l'\u00e9tiquette \:
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Pour utiliser des valeurs communes \u00e0 tous les champs de la couche, laisser les valeurs par d\u00e9faut. Sinon, pour personnaliser l'apparence des \u00e9tiquettes, s\u00e9lectionner les champs qui contiennent les valeurs.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Une nouvelle couche peut \u00eatre cr\u00e9\u00e9e avec cet outil \u00e0 partir d'une couche existante afin de d\u00e9finir un \u00e9tiquetage avanc\u00e9. <br> Modifie la visualisation de la couche s\u00e9lectionn\u00e9e en affichant la valeur d'un de ses champs.</HTML>
+draw_text_only=Tracer le texte seulement
+duplicate=Contr\u00f4le des doublons
+duplicate.none=Aucun
+En_metros=En m\u00e8tres
+En_pixels=En pixels
+en_unidades=En unit\u00e9
+Error_creating_annotation_layer=Erreur lors de la cr\u00e9ation de la couche annotation
+Error_exportando_SLD=Erreur en exportant le SLD (system level definition)
+Error_guardando_la_leyenda=Erreur en sauvegardant la l\u00e9gende
+Error_opening_annotation_layer=Erreur lors l'ouverture de la couche d'annotations
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=Ce fichier ne peut \u00eatre ouvert en tant que couche d'annotations
+export_to=Exporter en...
+exporting_=En cours d'exportation
+fichero_incorrecto=Fichier incorrect
+fichero_ya_existe_seguro_desea_guardarlo=Le fichier existe d\u00e9j\u00e0, \u00eates-vous s\u00fbr de vouloir continuer ?
+fontcolor=Couleur des caract\u00e8res
+fontheight=Taille des caract\u00e8res
+fontrotate=Rotation des caract\u00e8res
+fontstyle=Style des caract\u00e8res
+fonttext=Texte
+fonttype=Type de caract\u00e8res
+formato_incorrecto=Format incorrect
+General=G\u00e9n\u00e9ral
+guardar=Enregistrer
+Guardar_leyenda=Enregistrer une l\u00e9gende
+incorrect_annotation_format=Format d'annotation incorrect.
+insertar_capa=Ins\u00e9rer une couche
+insertar_en_la_vista_la_capa_creada=Souhaitez-vous ajouter cette nouvelle couche \u00e0 la vue active ?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Saisir le nom de la nouvelle couche d'annotations
+Label_properties=Propri\u00e9t\u00e9s des \u00e9tiquettes
+Layer_=Couche \:
+Layer_from_active_view=Couche de la vue active
+meters=M\u00e8tres
+metros=M\u00e8tres
+modify_annotation=Modifier l'annotation
+no_es_posible_aplicar_leyenda_vacia=Il est impossible d'appliquer une l\u00e9gende vide.
+options=Options
+options.annotations=annotations
+over_write=Ecrase
+pixels=Pixels
+Point\ Shape\ Files=Fichier couche point
+propiedades_de_la_capa=Propri\u00e9t\u00e9s de la couche\n
+Recuperar_leyenda=Charger une l\u00e9gende
+remove_annotation_overlapping=Enl\u00e8ve les annotations qui se chevauchent
+reproyectar_aviso=Le syst\u00e8me de projection de la couche est diff\u00e9rent de celui de la vue.\nAttention\: \=Des probl\u00e8mes peuvent \u00eatre rencontr\u00e9s avec certaines projections. \nVeuillez vous reporter \u00e0 la documentation.
+reproyectar_pregunta=Souhaitez-vous reprojeter ?
+seleccionar_fichero=S\u00e9lectionner le fichier
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>S\u00e9lectionner le champ contenant les valeurs d'inclinaison pour repr\u00e9senter les \u00e9tiquettes</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>S\u00e9lectionner le champ contenant les codes de couleur pour repr\u00e9senter les \u00e9tiquettes</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>S\u00e9lectionner le champ \u00e0 \u00e9tiqueter</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>S\u00e9lectionner le champ contenant les valeurs \u00e0 \u00e9tiqueter</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>S\u00e9lectionner le champ d\u00e9finissant la taille des \u00e9tiquettes</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Couche annotation pour le stockage des \u00e9tiquettes \:
+Set_labeling_expression=D\u00e9finir l'\u00e9tiquette
+Set_target_layer=D\u00e9finir la couche de destination
+shp_files=Fichiers .shp
+Simbologia=Apparence
+Single_labeling=Etiquette individuelle
+SingleLabelingTool=Outil d'\u00e9tiquetage individuel
+Target_annotation_layer=Couche annotation de destination
+text=Texte
+tipo_de_leyenda=Type de l\u00e9gende
+to_annotation=Transformer la couche en \u00e9tiquettes
+units_of_annotations=Unit\u00e9 des annotations
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_fr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_en_US.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_en_US.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_en_US.properties	(revision 38349)
@@ -0,0 +1,64 @@
+#Translations for language [en_US]
+#Mon Sep 21 10:01:59 CEST 2009
+annotation=Annotation
+Annotation_layer_not_valid=Invalid annotation layer
+Annotation_layers=Annotation layers
+annotation_preferences=Annotations
+annotation_tools=Annotation tools
+annotations=Annotations
+Annotations=
+avoid_overlapping=Avoid overlaps
+Capa=Layer
+cargar=Load...
+centered=Center point
+create_annotation_layer=Create annotation layer
+Create_Open_layer=Create/open layer
+Define_the_labeling_expression_=Define labeling expression
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Leave at default to use the same settings for all features in the layer. For per-feature settings, select the attribute fields that hold the respective values.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>This tool will create a new annotation layer based on an existing layer which allows to perform advanced labeling.<p>An annotation layer labels features in the selected layer with the value of an attribute table field.</HTML>
+draw_text_only=Show label text only
+duplicate=Position of label points\:
+duplicate.none=None
+En_metros=In meters
+En_pixels=In pixels
+en_unidades=in selectable units.
+Error_creating_annotation_layer=Error creating annotation layer.
+Error_opening_annotation_layer=Error opening annotation layer.
+export_to=Export to
+exporting_=Exporting\: 
+fichero_ya_existe_seguro_desea_guardarlo=The file already exists. Do you want to continue?
+fontcolor=Font color\:
+fontheight=Font height\:
+fontrotate=Font rotation\:
+fontstyle=Font style\:
+fonttext=Text\:
+fonttype=Font type\:
+guardar=Save
+incorrect_annotation_format=Invalid annotation format.
+insertar_capa=Insert layer
+insertar_en_la_vista_la_capa_creada=Add the new layer to the active view?
+Label_properties=Label properties
+Layer_=Capa\:
+Layer_from_active_view=Layer from active view
+modify_annotation=Modify annotation
+options=Options
+Point\ Shape\ Files=
+propiedades_de_la_capa=Layer properties
+remove_annotation_overlapping=Remove overlapping labels
+seleccionar_fichero=Select file
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Rotation field\:</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Color field\:</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Field to use for labeling\:</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Font field\:</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Height field\:</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Select the annotation layer that stores the labels
+Set_labeling_expression=Define labeling expression
+Set_target_layer=Set target layer
+shp_files=Shapefiles (.shp)
+Single_labeling=Individual labeling
+SingleLabelingTool=Individual labeling tool
+Target_annotation_layer=Target annotation layer
+text=Text
+to_annotation=Export to annotation layer...
+units_of_annotations=Annotation units\:
+View_Tools=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_en_US.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_eu.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_eu.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_eu.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [eu]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(Ikur bakarra)
+Aceptar=Ados
+annotation=Oharpena
+Annotation_layer_not_valid=Oharpen-geruza baliogabea
+Annotation_layers=Oharpen-geruza
+annotation_preferences=Oharpenen lehentasunak
+annotation_tools=Oharpen erremintak
+annotations=Oharpenak
+Annotations=
+Aplicar=Aplikatu
+avoid_overlapping=Saihestu gainjarpenak
+Capa=Geruza
+cargar=Kargatu
+centered=Erdian
+Cerrar=Itxi
+change_options_of_annotations=Aldatu oharpenen aukerak
+create_annotation_layer=Sortu oharpen geruza
+Create_Open_layer=Sortu/Ireki geruza
+Define_the_labeling_expression_=Definitu etiketatuaren espresioa\:
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Geruzaren ezaugarri guztietarako balio komunak erabili nahi badituzu, hautatu lehenetsitako balioak. Etiketen bistaratzea pertsonalizatu nahi baduzu, balioak dituzten eremuak hautatu.</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=<HTML>Tresna honekin etiketatu aurreratua ahalbidetuko dizun geruza bat sortu dezakezu, lehendik dagoen beste geruza batean oinarrituta. <br>Hautatutako geruzaren bistaratzea aldatzen du eremuetako baten balioa erakutsiz.</HTML>
+draw_text_only=Marraztu testua bakarrik
+duplicate=Kopien kontrola
+duplicate.none=Bat ere ez
+En_metros=Metrotan
+En_pixels=Pixeletan
+en_unidades=unitateetan
+Error_creating_annotation_layer=Errorea oharpenen geruza sortzean
+Error_exportando_SLD=Errorea SLD esportatzean
+Error_guardando_la_leyenda=Errorea legenda gordetzean
+Error_opening_annotation_layer=Errorea oharpenen-geruza irekitzean
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=Hona esportatu\:
+exporting_=Esportatzen
+fichero_incorrecto=Fitxategia ez da zuzena
+fichero_ya_existe_seguro_desea_guardarlo=Fitxategia lehendik ere badago, jarraitu nahi duzu?
+fontcolor=Testuaren kolorea
+fontheight=Testuaren altura
+fontrotate=Testuaren biraketa
+fontstyle=Testuaren estiloa
+fonttext=Testua
+fonttype=Letra tipoa
+formato_incorrecto=Formatoa ez da zuzena
+General=Orokorra
+guardar=Gorde
+Guardar_leyenda=Gorde legenda
+incorrect_annotation_format=Oharpenaren formatua oker.
+insertar_capa=Txertatu geruza
+insertar_en_la_vista_la_capa_creada=Sortutako geruza bistan txertatu nahi duzu?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Sartu oharpen geruza berriaren izena
+Label_properties=Etiketa ezaugarriak
+Layer_=Geruza\:
+Layer_from_active_view=Bista aktiboaren geruza
+meters=Metroak 
+metros=Metroak
+modify_annotation=Aldatu oharpena
+no_es_posible_aplicar_leyenda_vacia=Ezin da hutsik dagoen legenda aplikatu.
+options=Aukerak
+options.annotations=
+over_write=Gainidatzi
+pixels=pixels
+Point\ Shape\ Files=
+propiedades_de_la_capa=Geruzaren ezaugarriak
+Recuperar_leyenda=Berreskuratu legenda
+remove_annotation_overlapping=Ezabatu gainjarritako oharpenak
+reproyectar_aviso=Geruzaren proiekzioa ez da bistaren proiekzioaren berdina. OHARRA\: Zehaztugabea izan daiteke aldaketa batzuekin. Mesedez, irakurri dokumentazioa.
+reproyectar_pregunta=Berriro proiektatu nahi duzu?
+seleccionar_fichero=Hautatu fitxategia
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Hautatu etiketaren testuak bistaratzean izango duen angelua zein eremutan gordeko den</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Hautatu etiketak bistaratzean izango duen kolorea zein eremutan gordeko den</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=<HTML>Hautatu etiketatu beharreko eremua.</HTML>
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Hautatu etiketak bistaratzean izango duen iturria zein eremutan gordeko den</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Hautatu etiketak bistaratzean izango duen altuera zein eremutan gordeko den</HTML>
+Select_the_annotation_layer_to_store_the_labels_=Hautatu etiketak gordetzeko oharpen geruza
+Set_labeling_expression=Definitu etiketatuaren espresioa
+Set_target_layer=Konfiguratu helburu-geruza
+shp_files=.shp fitxategiak
+Simbologia=Sinbologia
+Single_labeling=Banakako etiketatua
+SingleLabelingTool=Banakako etiketatuaren tresna
+Target_annotation_layer=Helburuko oharpen geruza
+text=Testua
+tipo_de_leyenda=Legenda-mota
+to_annotation=Bihurtu oharpen-geruza
+units_of_annotations=Oharpenen unitateak
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_eu.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_nl.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_nl.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_nl.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [nl]
+#Tue Aug 11 10:49:14 CEST 2009
+_(Simbolo_unico)=(Uniek symbool)
+Aceptar=OK
+annotation=
+Annotation_layer_not_valid=
+Annotation_layers=
+annotation_preferences=
+annotation_tools=
+annotations=
+Annotations=
+Aplicar=Toepassen
+avoid_overlapping=
+Capa=Laag
+cargar=
+centered=
+Cerrar=Sluiten
+change_options_of_annotations=
+create_annotation_layer=
+Create_Open_layer=
+Define_the_labeling_expression_=
+descripcion_de_configuracion_capa_de_anotaciones=
+descripcion_de_crear_capa_de_anotaciones_nueva=
+draw_text_only=
+duplicate=
+duplicate.none=
+En_metros=In meters
+En_pixels=In pixels
+en_unidades=
+Error_creating_annotation_layer=
+Error_exportando_SLD=
+Error_guardando_la_leyenda=Fout bij het bewaren van de legende
+Error_opening_annotation_layer=
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=
+exporting_=
+fichero_incorrecto=Invalid file
+fichero_ya_existe_seguro_desea_guardarlo=
+fontcolor=
+fontheight=
+fontrotate=
+fontstyle=
+fonttext=
+fonttype=
+formato_incorrecto=Incorrect formaat
+General=Algemeen
+guardar=
+Guardar_leyenda=Bewaar legende
+incorrect_annotation_format=
+insertar_capa=
+insertar_en_la_vista_la_capa_creada=
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=
+Label_properties=
+Layer_=
+Layer_from_active_view=
+meters=
+metros=Meters
+modify_annotation=
+no_es_posible_aplicar_leyenda_vacia=
+options=
+options.annotations=
+over_write=
+pixels=
+Point\ Shape\ Files=
+propiedades_de_la_capa=
+Recuperar_leyenda=Herladen van de legende
+remove_annotation_overlapping=
+reproyectar_aviso=De projectie van de laag is niet dezelfde als die van het kaartbeeld. \nOPGELET\: Kan onnauwkeurigheden geven bij sommige transformaties.\nLees de ducumentatie aub.
+reproyectar_pregunta=Wilt u herprojecteren?
+seleccionar_fichero=
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=
+seleccione_el_campo_color_de_la_capa_de_anotaciones=
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=
+Select_the_annotation_layer_to_store_the_labels_=
+Set_labeling_expression=
+Set_target_layer=
+shp_files=
+Simbologia=Symbolen
+Single_labeling=
+SingleLabelingTool=
+Target_annotation_layer=
+text=
+tipo_de_leyenda=Legende type
+to_annotation=
+units_of_annotations=
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_nl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pl.properties
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pl.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pl.properties	(revision 38349)
@@ -0,0 +1,89 @@
+#Translations for language [pl]
+#Mon Sep 21 10:01:59 CEST 2009
+_(Simbolo_unico)=(unikalne symbole)
+Aceptar=Akceptuj
+annotation=
+Annotation_layer_not_valid=
+Annotation_layers=
+annotation_preferences=
+annotation_tools=
+annotations=
+Annotations=
+Aplicar=Zastosuj
+avoid_overlapping=
+Capa=Warstwa
+cargar=Wczytaj
+centered=
+Cerrar=Zamknij
+change_options_of_annotations=
+create_annotation_layer=
+Create_Open_layer=
+Define_the_labeling_expression_=
+descripcion_de_configuracion_capa_de_anotaciones=<HTML>Utrzymaj domy\u015blne warto\u015bci, aby u\u017cy\u0107 warto\u015bci wsp\u00f3\u0142dzielonych przez wszystkie atrybuty warstwy. Wybierz kolumny z warto\u015bciami, aby dostosowa\u0107 etykiety</HTML>
+descripcion_de_crear_capa_de_anotaciones_nueva=
+draw_text_only=Tylko text
+duplicate=
+duplicate.none=
+En_metros=W metrach
+En_pixels=W pikselach
+en_unidades=w jednostkach
+Error_creating_annotation_layer=
+Error_exportando_SLD=B\u0142\u0105d eksportu SLD
+Error_guardando_la_leyenda=B\u0142\u0105d zapisu legendy
+Error_opening_annotation_layer=
+Este\ fichero\ no\ es\ posible\ abirlo\ como\n\ \ \ \ \ \ \ \ //\ capa\ de\ anotaciones=
+export_to=Eksportuj do...
+exporting_=Eksportowanie
+fichero_incorrecto=Niew\u0142a\u015bciwy plik
+fichero_ya_existe_seguro_desea_guardarlo=Plik ju\u017c istnieje, czy chcesz kontynuowac?
+fontcolor=
+fontheight=
+fontrotate=
+fontstyle=
+fonttext=
+fonttype=
+formato_incorrecto=Niew\u0142a\u015bciwy format
+General=Og\u00f3lne
+guardar=Zapisz
+Guardar_leyenda=Zapisz legend\u0119
+incorrect_annotation_format=
+insertar_capa=Wstaw warstw\u0119
+insertar_en_la_vista_la_capa_creada=Czy chcesz wstawi\u0107 now\u0105 warstw\u0119 do aktywnego widoku?
+introduzca_el_nombre_de_la_nueva_capa_de_anotaciones=Wpisz nazw\u0119 nowej wartwy adnotacji
+Label_properties=
+Layer_=
+Layer_from_active_view=
+meters=
+metros=Metry
+modify_annotation=
+no_es_posible_aplicar_leyenda_vacia=Nie mo\u017cna zatwierdzi\u0107 pustej legendy
+options=Opcje
+options.annotations=
+over_write=
+pixels=piksele
+Point\ Shape\ Files=
+propiedades_de_la_capa=W\u0142a\u015bciwo\u015bci warstwy
+Recuperar_leyenda=Za\u0142aduj legend\u0119
+remove_annotation_overlapping=
+reproyectar_aviso=Odwzorowanie warstwy i widoku nie s\u0105 zgodne.\nUWAGA\: Mo\u017ce to doprowadzi\u0107 do nie\u015bcis\u0142o\u015bci dla pewnych transformacji.\nProsz\u0119 przeczyta\u0107 dokumentacj\u0119.
+reproyectar_pregunta=Zmieni\u0107 odwzorowanie?
+seleccionar_fichero=Wybierz plik
+seleccione_el_campo_angulo_de_la_capa_de_anotaciones=<HTML>Wybierz kolumn\u0119 u\u017cyt\u0105 do przechowania nachylenia etykiet</HTML>
+seleccione_el_campo_color_de_la_capa_de_anotaciones=<HTML>Wybierz kolumn\u0119 do przechowania koloru etykiet</HTML>
+seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa=
+seleccione_el_campo_fuente_de_la_capa_de_anotaciones=<HTML>Wybierz kolumn\u0119 do przechowania czcionki etykiet</HTML>
+seleccione_el_campo_tamano_de_la_capa_de_anotaciones=<HTML>Wybierz kolumn\u0119 do przechowania wysoko\u015bci etykiet</HTML>
+Select_the_annotation_layer_to_store_the_labels_=
+Set_labeling_expression=
+Set_target_layer=
+shp_files=Pliki .shp
+Simbologia=Symbole
+Single_labeling=
+SingleLabelingTool=
+Target_annotation_layer=
+text=
+tipo_de_leyenda=Typ legendy
+to_annotation=Przekszta\u0142\u0107 do warstwy adnotacji
+units_of_annotations=
+View_Tools=
+View_Tools_Zooms=

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/resources/org/gvsig/annotation/swing/impl/i18n/text_pl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/WizardListenerAdapter.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/WizardListenerAdapter.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/WizardListenerAdapter.java	(revision 38349)
@@ -0,0 +1,77 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * 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., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+/*
+ * AUTHORS (In addition to CIT):
+ * 2010 {Prodevelop}   {Task}
+ */
+
+package org.gvsig.annotation.swing.impl;
+
+import java.io.File;
+
+import org.gvsig.annotation.swing.AnnotationSwingLocator;
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+import org.gvsig.gui.beans.wizard.WizardPanel;
+import org.gvsig.gui.beans.wizard.WizardPanelActionListener;
+import org.gvsig.i18n.Messages;
+
+
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class WizardListenerAdapter implements WizardPanelActionListener {
+	private DefaultJAnnotationCreationServicePanel annotationCreationServicePanel;
+	private AnnotationSwingManager annotationSwingManager = null;
+
+	public WizardListenerAdapter(
+			DefaultJAnnotationCreationServicePanel annotationCreationServicePanel) {
+		super();
+		this.annotationCreationServicePanel = annotationCreationServicePanel;
+		this.annotationSwingManager = AnnotationSwingLocator.getSwingManager();
+	}
+
+	public void cancel(WizardPanel wizardPanel) {
+		if (annotationCreationServicePanel.getAnnotationServicePanelActionListener() != null){
+			annotationCreationServicePanel.getAnnotationServicePanelActionListener().cancel(annotationCreationServicePanel);	
+		}
+	}
+
+	public void finish(WizardPanel wizardPanel) {
+		if (annotationCreationServicePanel.getAnnotationServicePanelActionListener() != null){
+			File file = new File(annotationCreationServicePanel.getDestinationShapeFile());
+
+			boolean continueIfExists = true;
+
+			if (file.exists()){
+				continueIfExists = annotationSwingManager.getWindowManager().showFileExistsPopup(Messages.getText("guardar"),
+						Messages.getText("fichero_ya_existe_seguro_desea_guardarlo"));
+			}
+
+			if (continueIfExists){
+			    annotationCreationServicePanel.createAnnotation();
+			}
+		}
+	}
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/WizardListenerAdapter.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationPreferencesPanel.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationPreferencesPanel.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationPreferencesPanel.java	(revision 38349)
@@ -0,0 +1,291 @@
+package org.gvsig.annotation.swing.impl;
+
+import java.awt.Color;
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.awt.Insets;
+import java.util.List;
+
+import javax.swing.JComboBox;
+import javax.swing.JLabel;
+import javax.swing.JTextField;
+
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.swing.AnnotationSwingLocator;
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+import org.gvsig.annotation.swing.JAnnotationPreferencesPanel;
+import org.gvsig.gui.beans.colorchooser.ColorChooser;
+
+/**
+ * 
+ * @author Cesar Martinez Izquierdo <cesar.martinez@iver.es> 01/11/2008
+ *
+ */
+public class DefaultJAnnotationPreferencesPanel extends JAnnotationPreferencesPanel{
+	private static final long serialVersionUID = 8893693122931478526L;
+	private JLabel jLabel1 = null;
+	private JComboBox cmbTypeFont = null;
+	private JLabel jLabel2 = null;
+	private JComboBox cmbStyleFont = null;
+	private JLabel jLabel3 = null;
+	private JTextField txtHeight = null;
+	private JLabel jLabel4 = null;
+	private ColorChooser colorPanel = null;
+	private JLabel jLabel5 = null;
+	private JTextField txtRotate = null;
+	
+	private AnnotationManager annotationManager = null;
+	private AnnotationSwingManager annotationSwingManager = null;
+	
+	/**
+	 * This is the default constructor
+	 */
+	public DefaultJAnnotationPreferencesPanel(AnnotationManager annotationManager) {
+		super();
+		this.annotationSwingManager = AnnotationSwingLocator.getSwingManager();
+		this.annotationManager = annotationManager;
+		initialize();		
+	}
+
+	/**
+	 * This method initializes this
+	 *
+	 * @return void
+	 */
+	private void initialize() {
+		this.setLayout(new GridBagLayout());
+		Insets rightInsets = new Insets(4,4,4,0);
+		Insets leftInsets = new Insets(4,0,4,4);
+		GridBagConstraints txtRotationConstraints = new GridBagConstraints();
+		txtRotationConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		txtRotationConstraints.gridy = 5;
+		txtRotationConstraints.weightx = 1.0;
+		txtRotationConstraints.gridx = 1;
+		txtRotationConstraints.insets = rightInsets;
+		
+		GridBagConstraints gridBagConstraints10 = new GridBagConstraints();
+		gridBagConstraints10.gridx = 0;
+		gridBagConstraints10.gridy = 5;
+		gridBagConstraints10.insets = leftInsets;
+		gridBagConstraints10.anchor = GridBagConstraints.WEST;
+		
+		jLabel5 = new JLabel();
+		jLabel5.setText(annotationSwingManager.getTranslation("fontrotate"));
+		
+		GridBagConstraints colorChooserConstraints = new GridBagConstraints();
+		colorChooserConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		colorChooserConstraints.anchor = GridBagConstraints.WEST;
+		colorChooserConstraints.gridy = 4;
+		colorChooserConstraints.weightx = 1.0;
+		colorChooserConstraints.gridx = 1;
+		colorChooserConstraints.insets = rightInsets;
+		
+		GridBagConstraints gridBagConstraints8 = new GridBagConstraints();
+		gridBagConstraints8.gridx = 0;
+		gridBagConstraints8.gridy = 4;
+		gridBagConstraints8.anchor = GridBagConstraints.WEST;
+		gridBagConstraints8.insets = leftInsets;
+		
+		jLabel4 = new JLabel();
+		jLabel4.setText(annotationSwingManager.getTranslation("fontcolor"));
+		
+		GridBagConstraints txtHeightConstraints = new GridBagConstraints();
+		txtHeightConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		txtHeightConstraints.gridy = 3;
+		txtHeightConstraints.weightx = 1.0;
+		txtHeightConstraints.gridx = 1;
+		txtHeightConstraints.insets = rightInsets;
+		
+		GridBagConstraints gridBagConstraints6 = new GridBagConstraints();
+		gridBagConstraints6.gridx = 0;
+		gridBagConstraints6.gridy = 3;
+		gridBagConstraints6.anchor = GridBagConstraints.WEST;
+		gridBagConstraints6.insets = leftInsets;
+		
+		jLabel3 = new JLabel();
+		jLabel3.setText(annotationSwingManager.getTranslation("fontheight"));
+		
+		GridBagConstraints fontStyleConstraints = new GridBagConstraints();
+		fontStyleConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		fontStyleConstraints.gridy = 2;
+		fontStyleConstraints.weightx = 1.0;
+		fontStyleConstraints.gridx = 1;
+		fontStyleConstraints.insets = rightInsets;
+		
+		GridBagConstraints gridBagConstraints4 = new GridBagConstraints();
+		gridBagConstraints4.gridx = 0;
+		gridBagConstraints4.gridy = 2;
+		gridBagConstraints4.anchor = GridBagConstraints.WEST;
+		gridBagConstraints4.insets = leftInsets;
+		
+		
+		jLabel2 = new JLabel();
+		jLabel2.setText(annotationSwingManager.getTranslation("fontstyle"));
+		
+		GridBagConstraints fontTypeConstraints = new GridBagConstraints();
+		fontTypeConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		fontTypeConstraints.gridy = 1;
+		fontTypeConstraints.weightx = 1.0;
+		fontTypeConstraints.gridx = 1;
+		fontTypeConstraints.insets = rightInsets;
+		
+		GridBagConstraints gridBagConstraints2 = new GridBagConstraints();
+		gridBagConstraints2.gridx = 0;
+		gridBagConstraints2.gridy = 1;
+		gridBagConstraints2.anchor = GridBagConstraints.WEST;
+		gridBagConstraints2.insets = leftInsets;
+		
+		jLabel1 = new JLabel();
+		jLabel1.setText(annotationSwingManager.getTranslation("fonttype"));
+		jLabel1.setHorizontalTextPosition(javax.swing.SwingConstants.TRAILING);
+		jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.LEADING);
+		
+		GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints1.gridy = 0;
+		gridBagConstraints1.weightx = 1.0;
+		gridBagConstraints1.gridx = 1;
+		gridBagConstraints1.insets = rightInsets;
+		
+		GridBagConstraints gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 0;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.insets = leftInsets;
+		
+		this.add(jLabel1, gridBagConstraints2);
+		this.add(getCmbFontType(), fontTypeConstraints);
+		this.add(jLabel2, gridBagConstraints4);
+		this.add(getCmbFontStyle(), fontStyleConstraints);
+		this.add(jLabel3, gridBagConstraints6);
+		this.add(getTxtHeightField(), txtHeightConstraints);
+		this.add(jLabel4, gridBagConstraints8);
+		this.add(getColorChooser(), colorChooserConstraints);
+		this.add(jLabel5, gridBagConstraints10);
+		this.add(getTxtRotationField(), txtRotationConstraints);		
+	}
+
+	/**
+	 * This method initializes txtTypeFont
+	 *
+	 * @return javax.swing.JTextField
+	 */
+	private JComboBox getCmbFontType() {
+		if (cmbTypeFont == null) {
+			cmbTypeFont = new JComboBox();
+			List<String> types = annotationManager.getFontTypes();
+			for (int i=0 ; i<types.size() ; i++){
+				cmbTypeFont.addItem(types.get(i));
+			}
+			cmbTypeFont.setSelectedItem(annotationManager.getDefaultFontType());
+
+		}
+		return cmbTypeFont;
+	}
+
+	/**
+	 * This method initializes txtStyleFont
+	 *
+	 * @return javax.swing.JTextField
+	 */
+	private JComboBox getCmbFontStyle() {
+		if (cmbStyleFont == null) {
+			cmbStyleFont = new JComboBox();
+			List<String> styles = annotationManager.getFontStyles();
+			for (int i=0 ; i<styles.size() ; i++){
+				cmbStyleFont.addItem(styles.get(i));
+			}
+			cmbStyleFont.setSelectedItem(annotationManager.getDefaultFontStyle());
+		}
+		return cmbStyleFont;
+	}
+
+	/**
+	 * This method initializes txtHeight
+	 *
+	 * @return javax.swing.JTextField
+	 */
+	private JTextField getTxtHeightField() {
+		if (txtHeight == null) {
+			txtHeight = new JTextField();
+			txtHeight.setText("10");
+		}
+		return txtHeight;
+	}
+
+	/**
+	 * This method initializes txtColor
+	 *
+	 * @return javax.swing.JTextField
+	 */
+	private ColorChooser getColorChooser() {
+		if (colorPanel == null) {
+			colorPanel = new ColorChooser();
+			colorPanel.setColor(Color.BLACK);
+		}
+		return colorPanel;
+	}
+
+	/**
+	 * This method initializes txtRotate
+	 *
+	 * @return javax.swing.JTextField
+	 */
+	private JTextField getTxtRotationField() {
+		if (txtRotate == null) {
+			txtRotate = new JTextField();
+			txtRotate.setText("0.0");
+		}
+		return txtRotate;
+	}
+
+	public String getDefaultFontType() {
+		return getCmbFontType().getSelectedItem().toString();
+	}
+
+	public void setDefaultFontType(String typeFont) {
+		getCmbFontType().setSelectedItem(typeFont);
+	}
+
+	/**
+	 * @return {@link java.awt.Font#PLAIN}, {@link java.awt.Font#BOLD}
+	 * or {@link java.awt.Font#ITALIC}
+	 */
+	public String getDefaultFontStyle() {
+		return (String)getCmbFontStyle().getSelectedItem();
+	}
+
+	/**
+	 * One of {@link java.awt.Font#PLAIN}, {@link java.awt.Font#BOLD}
+	 * or {@link java.awt.Font#ITALIC}
+	 * @param style
+	 */
+	public void setDefaultFontStyle(String style) {
+		getCmbFontStyle().setSelectedItem(style);
+	}
+
+	public double getDefaultFontHeight() {
+		return Double.parseDouble(getTxtHeightField().getText());
+	}
+
+	public void setDefaultFontHeight(double height) {
+		getTxtHeightField().setText(new Double(height).toString());
+	}
+
+	public int getDefaultFontColor() {
+		return getColorChooser().getColor().getRGB();
+	}
+
+	public void setDefaultFontColor(int color) {
+		getColorChooser().setColor(new Color(color));
+	}
+
+	public double getDefaultFontRotation() {
+		return Double.parseDouble(getTxtRotationField().getText());
+	}
+
+	public void setDefaultFontRotation(double rotation) {
+		getTxtRotationField().setText(new Double(rotation).toString());
+	}
+
+}  //  @jve:decl-index=0:visual-constraint="10,10"

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationPreferencesPanel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/AnnotationSwingDefaultImplLibrary.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/AnnotationSwingDefaultImplLibrary.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/AnnotationSwingDefaultImplLibrary.java	(revision 38349)
@@ -0,0 +1,63 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing.impl;
+
+import java.util.Locale;
+
+import org.gvsig.annotation.swing.AnnotationSwingLibrary;
+import org.gvsig.annotation.swing.AnnotationSwingLocator;
+import org.gvsig.i18n.Messages;
+import org.gvsig.tools.library.AbstractLibrary;
+import org.gvsig.tools.library.LibraryException;
+
+/**
+ * Library for default swing implementation initialization and configuration.
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class AnnotationSwingDefaultImplLibrary extends AbstractLibrary {
+
+    @Override
+    public void doRegistration() {
+        registerAsImplementationOf(AnnotationSwingLibrary.class);
+    }
+
+    @Override
+    protected void doInitialize() throws LibraryException {
+        AnnotationSwingLocator
+            .registerSwingManager(DefaultAnnotationSwingManager.class);
+    }
+
+    @Override
+    protected void doPostInitialize() throws LibraryException {
+        AnnotationSwingLocator.getSwingManager().registerWindowManager(new DefaultAnnotationWindowManager());
+        
+        if (!Messages.hasLocales()) {
+            Messages.addLocale(Locale.getDefault());
+        }
+        Messages.addResourceFamily("org.gvsig.annotation.swing.impl.i18n.text",
+            AnnotationSwingDefaultImplLibrary.class.getClassLoader(),
+            AnnotationSwingDefaultImplLibrary.class.getClass().getName());
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/AnnotationSwingDefaultImplLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/package.html
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/package.html	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/package.html	(revision 38349)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>org.gvsig.annotation package documentation</title>
+</head>
+<body>
+
+	<p>Annotation swing library API default implementation.</p>
+
+</body>
+</html>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/package.html
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationCreationServicePanel.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationCreationServicePanel.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationCreationServicePanel.java	(revision 38349)
@@ -0,0 +1,209 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing.impl;
+
+import java.awt.BorderLayout;
+import java.net.URL;
+
+import javax.swing.ImageIcon;
+import javax.swing.JOptionPane;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.gvsig.annotation.AnnotationCreationException;
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationCreationServiceException;
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+import org.gvsig.annotation.swing.JAnnotationCreationServicePanel;
+import org.gvsig.annotation.swing.impl.wizard.AnnotationProgressWizard;
+import org.gvsig.annotation.swing.impl.wizard.MainOptionsWizard;
+import org.gvsig.annotation.swing.impl.wizard.OptionalOptionsWizard;
+import org.gvsig.annotation.swing.impl.wizard.SelectOutputFileWizard;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.gui.beans.wizard.WizardPanel;
+import org.gvsig.gui.beans.wizard.WizardPanelActionListener;
+import org.gvsig.gui.beans.wizard.WizardPanelWithLogo;
+import org.gvsig.i18n.Messages;
+import org.gvsig.tools.service.ServiceException;
+import org.gvsig.tools.task.TaskStatus;
+
+/**
+ * Default implementation for the {@link JAnnotationCreationServicePanel}.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultJAnnotationCreationServicePanel extends JAnnotationCreationServicePanel implements WizardPanel{
+
+	private static final Logger LOG =
+		LoggerFactory.getLogger(DefaultJAnnotationCreationServicePanel.class);
+
+	private static final long serialVersionUID = 2965442763236823977L;
+
+	private AnnotationCreationService annotationCreationService;
+	private AnnotationSwingManager annotationSwingManager;
+
+	private WizardPanelWithLogo wizardPanelWithLogo = null;
+
+	private MainOptionsWizard mainOptionsWizard = null;
+	private OptionalOptionsWizard optionalOptionsWizard = null;
+	private SelectOutputFileWizard selectOutputFileWizard = null;
+	private AnnotationProgressWizard annotationProgressWizard = null;
+		
+	private WizardListenerAdapter wizardListenerAdapter = null;
+
+	public DefaultJAnnotationCreationServicePanel(
+			DefaultAnnotationSwingManager annotationSwingManager, AnnotationCreationService annotationCreationService) throws ServiceException {
+
+		super();
+
+        URL iconURL = getClass().getClassLoader().getResource("org/gvsig/annotation/swing/impl/images/wizard-icon.png");
+        ImageIcon icon = new ImageIcon(iconURL);
+		wizardPanelWithLogo = new WizardPanelWithLogo(icon);
+
+		this.annotationCreationService = annotationCreationService;
+		this.annotationSwingManager = annotationSwingManager;
+
+		try {
+			mainOptionsWizard = new MainOptionsWizard(this);
+			optionalOptionsWizard = new OptionalOptionsWizard(this);
+			selectOutputFileWizard = new SelectOutputFileWizard(this);
+			annotationProgressWizard = new AnnotationProgressWizard(this);
+		} catch (DataException e) {
+			new AnnotationCreationServiceException("Exception creating the wizard forms", e);
+		}
+		
+
+		addWizards();
+
+		//Adding the listener
+		wizardPanelWithLogo.setWizardListener(this);		
+
+		setFinishButtonEnabled(false);
+
+		wizardPanelWithLogo.getWizardComponents().getFinishButton().setText(Messages.getText("Comenzar"));
+		
+		this.setLayout(new BorderLayout());
+		this.add(wizardPanelWithLogo, BorderLayout.CENTER);			
+	}
+
+	private void addWizards(){
+		wizardPanelWithLogo.addOptionPanel(mainOptionsWizard);	
+		wizardPanelWithLogo.addOptionPanel(optionalOptionsWizard);
+		wizardPanelWithLogo.addOptionPanel(selectOutputFileWizard);	
+	    wizardPanelWithLogo.addOptionPanel(annotationProgressWizard);     
+	}
+
+
+	@Override
+	public AnnotationCreationService getAnnotationCreationService() {
+		return annotationCreationService;
+	}
+
+	public void setFinishButtonEnabled(boolean isEnabled){
+		wizardPanelWithLogo.setFinishButtonEnabled(isEnabled);
+	}
+	
+	public void setCancellButtonEnabled(boolean isEnabled){
+		wizardPanelWithLogo.setCancelButtonEnabled(isEnabled);
+	}	
+	
+	public String getTextValueAttribute(){
+		return mainOptionsWizard.getTextValueAttribute();
+	}
+
+	public WizardPanelActionListener getWizardPanelActionListener() {
+		if ((wizardListenerAdapter == null && (getAnnotationServicePanelActionListener() != null))){
+			return new WizardListenerAdapter(this);
+		}
+		return wizardListenerAdapter;
+	}
+
+	public void setWizardPanelActionListener(
+			WizardPanelActionListener wizardActionListener) {
+		// TODO Auto-generated method stub		
+	}
+
+	public String getDestinationShapeFile() {
+		return selectOutputFileWizard.getSelectedFileName();
+	}
+	
+	public void setNextButtonEnabled(boolean isEnabled){
+		wizardPanelWithLogo.setNextButtonEnabled(isEnabled);
+	}	
+	
+    /**
+     * @return the annotationSwingManager
+     */
+    public AnnotationSwingManager getAnnotationSwingManager() {
+        return annotationSwingManager;
+    }
+
+    /**
+     * @param translation
+     */
+    public void setCancelButtonText(String translation) {
+        wizardPanelWithLogo.getWizardComponents().getCancelButton().setText(translation);
+    }
+
+    public void createAnnotation() {
+        this.lastWizard();
+        
+        Annotation annotation = new Annotation(getDestinationShapeFile(), getTextValueAttribute());
+        annotation.start();
+    }
+    
+    public void lastWizard() {
+        this.wizardPanelWithLogo.getWizardComponents().getNextButton().getActionListeners()[0].actionPerformed(null);
+    }
+    
+    private class Annotation extends Thread{
+        private String file;
+        private String textValueAttributeName;
+
+        public Annotation(String file, String textValueAttributeName) {
+            super();
+            this.file = file;
+            this.textValueAttributeName = textValueAttributeName;
+        }
+
+        public synchronized void run() {
+            AnnotationCreationService annotationCreationService = getAnnotationCreationService();
+            annotationProgressWizard.bind(annotationCreationService.getTaskStatus());           
+            try {             
+                annotationCreationService.createAnnotationStore(file, textValueAttributeName);                
+            } catch (AnnotationCreationException e) {             
+                LOG.error("Error creating the annotation", e);
+                showError(e, annotationCreationService.getTaskStatus());              
+            }
+        }
+    }
+    
+    private void showError(AnnotationCreationException e, TaskStatus taskStatus){        
+        String message = e.getMessage();
+        if (e.getCause() != null){
+            message = e.getCause().getMessage();
+        }
+        JOptionPane.showMessageDialog(annotationProgressWizard, message);
+    }
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationCreationServicePanel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/MainOptionsPanel.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/MainOptionsPanel.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/MainOptionsPanel.java	(revision 38349)
@@ -0,0 +1,149 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.swing.impl.panel;
+
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.awt.Insets;
+import java.util.List;
+
+import javax.swing.JComboBox;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationLocator;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.swing.AnnotationSwingLocator;
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+import org.gvsig.fmap.dal.exception.DataException;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class MainOptionsPanel extends JPanel{
+	private JLabel annotationPositionCalculatorLabel;
+	private JComboBox annotationPositionCalculatorCombo;
+	private JLabel textValueLabel;
+	private FeatuteAttributeCombo textValueCombo;
+	private JLabel descriptionLabel;
+	
+	protected AnnotationManager annotationManager = null;
+	protected AnnotationSwingManager annotationSwingManager = null;
+	protected AnnotationCreationService annotationCreationService = null;
+	
+	public MainOptionsPanel(AnnotationCreationService annotationCreationService) throws DataException {
+		super();	
+		this.annotationCreationService = annotationCreationService;
+		annotationManager = AnnotationLocator.getManager();
+		annotationSwingManager = AnnotationSwingLocator.getSwingManager();
+		initComponents();
+		initCombos();
+	}
+
+	private void initCombos() {
+		List<String> annotationPositionCalculators = annotationManager.getAnnotationPositionCalculatorList();
+		for (int i=0 ; i<annotationPositionCalculators.size() ; i++){
+			annotationPositionCalculatorCombo.addItem(annotationPositionCalculators.get(i));
+		}	
+	}
+
+	private void initComponents() throws DataException {
+		java.awt.GridBagConstraints gridBagConstraints;
+		
+		annotationPositionCalculatorLabel = new JLabel();
+		textValueCombo = new FeatuteAttributeCombo(annotationCreationService.getFeatureStore(), false);
+		annotationPositionCalculatorCombo = new JComboBox();
+		textValueLabel = new JLabel();	
+		descriptionLabel = new JLabel();
+		
+		GridBagLayout gridBagLayout = new GridBagLayout();
+		setLayout(gridBagLayout);
+		
+		descriptionLabel.setText(annotationSwingManager.getTranslation("descripcion_de_crear_capa_de_anotaciones_nueva"));
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 0;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.fill = GridBagConstraints.BOTH;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.weighty = 1;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(2, 2, 30, 2);
+		add(descriptionLabel, gridBagConstraints);		
+		
+		annotationPositionCalculatorLabel.setText(annotationSwingManager.getTranslation("duplicate"));
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 1;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.fill = GridBagConstraints.BOTH;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.weighty = 1;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(2, 2, 2, 2);
+		add(annotationPositionCalculatorLabel, gridBagConstraints);
+		
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 2;
+		gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
+		gridBagConstraints.weightx = 0.5;
+		gridBagConstraints.insets = new Insets(2, 2, 10, 2);
+		add(annotationPositionCalculatorCombo, gridBagConstraints);
+		
+		textValueLabel.setText(annotationSwingManager.getTranslation("seleccione_el_campo_de_texto_que_desea_que_se_utilize_para_mostrar_la_nueva_capa"));
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 3;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.fill = GridBagConstraints.BOTH;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.weighty = 1;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(2, 2, 2, 2);
+		add(textValueLabel, gridBagConstraints);
+
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 4;	
+		gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;	
+		gridBagConstraints.weightx = 0.5;
+		gridBagConstraints.insets = new Insets(2, 2, 10, 2);
+		add(textValueCombo, gridBagConstraints);
+	}
+
+	public String getAnnotationPositionCalculatorName() {
+		return annotationPositionCalculatorCombo.getSelectedItem().toString();
+	}
+
+	public String getTextValueAttribute() {
+		return textValueCombo.getSelectedAttribute();
+	}	
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/MainOptionsPanel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/FeatuteAttributeCombo.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/FeatuteAttributeCombo.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/FeatuteAttributeCombo.java	(revision 38349)
@@ -0,0 +1,103 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.swing.impl.panel;
+
+import javax.swing.JComboBox;
+
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.i18n.Messages;
+import org.gvsig.tools.dataTypes.DataTypes;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class FeatuteAttributeCombo extends JComboBox{
+	private FeatureStore featureStore;
+	private boolean isNullable = true;
+	
+	public FeatuteAttributeCombo(FeatureStore featureStore, boolean isNullable) throws DataException {
+		super();
+		this.featureStore = featureStore;
+		setNullable(isNullable);
+		addFields();
+	}
+	
+	public FeatuteAttributeCombo(FeatureStore featureStore, int dataType, boolean isNullable) throws DataException {
+		super();
+		this.featureStore = featureStore;
+		setNullable(isNullable);
+		addFields(dataType);
+	}
+	
+	private void setNullable(boolean isNullable){
+		this.isNullable = isNullable;
+		if (isNullable){
+			this.addItem(new String("- " + Messages.getText("default") + " -"));
+		}
+	}	
+
+	private void addFields() throws DataException {
+		FeatureAttributeDescriptor[] featureAttributeDescriptors = featureStore.getDefaultFeatureType().getAttributeDescriptors();
+		for (int i=0; i<featureAttributeDescriptors.length ; i++){
+			this.addItem(featureAttributeDescriptors[i].getName());
+		}
+	}
+	
+	private void addFields(int dataType) throws DataException {
+		FeatureAttributeDescriptor[] featureAttributeDescriptors = featureStore.getDefaultFeatureType().getAttributeDescriptors();
+		for (int i=0; i<featureAttributeDescriptors.length ; i++){
+			if (featureAttributeDescriptors[i].getDataType().getType() == dataType){
+				this.addItem(featureAttributeDescriptors[i].getName());
+			}
+			//Double fields includes Integer and long
+			if (DataTypes.DOUBLE == dataType){
+				if (DataTypes.INT == featureAttributeDescriptors[i].getDataType().getType()){
+					this.addItem(featureAttributeDescriptors[i].getName());
+				}else if (DataTypes.LONG == featureAttributeDescriptors[i].getDataType().getType()){
+					this.addItem(featureAttributeDescriptors[i].getName());
+				}
+			}				
+		}
+	}
+
+	public String getSelectedAttribute() {
+		if (isNullable){
+			int index = super.getSelectedIndex();
+			if (index == 0){
+				return null;
+			}else{
+				return (String)super.getSelectedItem();
+			}
+		}else{
+			return (String)super.getSelectedItem();
+		}
+	}	
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/FeatuteAttributeCombo.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/OptionalOptionsPanel.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/OptionalOptionsPanel.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/OptionalOptionsPanel.java	(revision 38349)
@@ -0,0 +1,212 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.swing.impl.panel;
+
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.awt.Insets;
+
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationDataTypes;
+import org.gvsig.annotation.AnnotationLocator;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.swing.AnnotationSwingLocator;
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+import org.gvsig.fmap.dal.exception.DataException;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class OptionalOptionsPanel extends JPanel{
+	private JLabel rotationLabel;
+	private FeatuteAttributeCombo rotationCombo;
+	private JLabel colorLabel;
+	private FeatuteAttributeCombo colorCombo;
+	private JLabel heightLabel;
+	private FeatuteAttributeCombo heightCombo;
+	private JLabel fontLabel;
+	private JLabel fontUnitsLabel;
+	private FeatuteAttributeCombo fontCombo;
+	private JLabel descriptionLabel;
+	
+	protected AnnotationCreationService annotationCreationService = null;
+	protected AnnotationManager annotationManager = null;
+	protected AnnotationSwingManager annotationSwingManager = null;
+	
+	public OptionalOptionsPanel(AnnotationCreationService annotationCreationService) throws DataException {
+		super();	
+		this.annotationCreationService = annotationCreationService;
+		annotationManager = AnnotationLocator.getManager();
+		annotationSwingManager = AnnotationSwingLocator.getSwingManager();
+		initComponents();
+		initCombos();
+	}
+
+	private void initCombos() {
+		
+	}
+
+	private void initComponents() throws DataException {
+		java.awt.GridBagConstraints gridBagConstraints;
+		
+		rotationLabel = new JLabel();
+		rotationCombo = new FeatuteAttributeCombo(annotationCreationService.getFeatureStore(), AnnotationDataTypes.FONTROTATION, true);
+		colorLabel = new JLabel();
+		colorCombo = new FeatuteAttributeCombo(annotationCreationService.getFeatureStore(), AnnotationDataTypes.FONTCOLOR, true);
+		heightLabel = new JLabel();
+		heightCombo = new FeatuteAttributeCombo(annotationCreationService.getFeatureStore(), AnnotationDataTypes.FONTHEIGHT, true);
+		fontLabel = new JLabel();
+		fontCombo = new FeatuteAttributeCombo(annotationCreationService.getFeatureStore(), AnnotationDataTypes.FONTSTYLE, true);
+		descriptionLabel = new JLabel();
+		fontUnitsLabel = new JLabel();		
+		
+		GridBagLayout gridBagLayout = new GridBagLayout();			
+		setLayout(gridBagLayout);
+		
+		descriptionLabel.setText(annotationSwingManager.getTranslation("descripcion_de_configuracion_capa_de_anotaciones"));
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 0;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.fill = GridBagConstraints.BOTH;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.weighty = 1;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(2, 2, 30, 2);
+		add(descriptionLabel, gridBagConstraints);			
+		
+		rotationLabel.setText(annotationSwingManager.getTranslation("seleccione_el_campo_angulo_de_la_capa_de_anotaciones"));
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 1;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.fill = GridBagConstraints.BOTH;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.weighty = 1;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(2, 2, 2, 2);
+		add(rotationLabel, gridBagConstraints);
+		
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 2;
+		gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.insets = new Insets(2, 2, 10, 2);
+		add(rotationCombo, gridBagConstraints);
+		
+		colorLabel.setText(annotationSwingManager.getTranslation("seleccione_el_campo_color_de_la_capa_de_anotaciones"));
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 3;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.fill = GridBagConstraints.BOTH;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.weighty = 1;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(2, 2, 2, 2);
+		add(colorLabel, gridBagConstraints);
+		
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 4;	
+		gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.insets = new Insets(2, 2, 10, 2);
+		add(colorCombo, gridBagConstraints);
+		
+		heightLabel.setText(annotationSwingManager.getTranslation("seleccione_el_campo_tamano_de_la_capa_de_anotaciones"));
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 5;
+		gridBagConstraints.fill = GridBagConstraints.BOTH;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.weighty = 1;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(2, 2, 2, 2);
+		add(heightLabel, gridBagConstraints);			
+		
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 6;
+		gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.insets = new Insets(2, 0, 10, 2);
+		add(heightCombo, gridBagConstraints);
+		
+		fontUnitsLabel.setText(annotationSwingManager.getTranslation("en_unidades"));
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 1;
+		gridBagConstraints.gridy = 6;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.insets = new Insets(2, 0, 10, 2);
+		add(fontUnitsLabel, gridBagConstraints);				
+		
+		fontLabel.setText(annotationSwingManager.getTranslation("seleccione_el_campo_fuente_de_la_capa_de_anotaciones"));
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 7;
+		gridBagConstraints.fill = GridBagConstraints.BOTH;
+		gridBagConstraints.anchor = GridBagConstraints.WEST;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.weighty = 1;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(2, 2, 2, 2);
+		add(fontLabel, gridBagConstraints);	
+		
+		gridBagConstraints = new GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 8;
+		gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
+		gridBagConstraints.weightx = 1;
+		gridBagConstraints.insets = new Insets(2, 2, 2, 2);
+		add(fontCombo, gridBagConstraints);	
+	}
+
+	public String getRotationAttribute() {
+		return rotationCombo.getSelectedAttribute();
+	}
+
+	public String getColorAttribute() {
+		return colorCombo.getSelectedAttribute();
+	}
+
+	public String getHeightAttribute() {
+		return heightCombo.getSelectedAttribute();
+	}
+
+	public String getFontAttribute() {
+		return fontCombo.getSelectedAttribute();
+	}	
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/panel/OptionalOptionsPanel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/AnnotationProgressWizard.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/AnnotationProgressWizard.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/AnnotationProgressWizard.java	(revision 38349)
@@ -0,0 +1,84 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing.impl.wizard;
+
+import java.awt.BorderLayout;
+
+import javax.swing.JPanel;
+
+import org.gvsig.annotation.swing.impl.DefaultJAnnotationCreationServicePanel;
+import org.gvsig.gui.beans.wizard.panel.NotContinueWizardException;
+import org.gvsig.gui.beans.wizard.panel.OptionPanel;
+import org.gvsig.tools.swing.api.ToolsSwingLocator;
+import org.gvsig.tools.swing.api.task.JTaskStatus;
+import org.gvsig.tools.swing.api.task.TaskStatusSwingManager;
+import org.gvsig.tools.task.TaskStatus;
+
+
+/**
+ * @author gvSIG Team
+ * @version $Id$
+ *
+ */
+public class AnnotationProgressWizard extends JPanel implements OptionPanel{
+    private static final long serialVersionUID = 8235569247892299856L;
+    private static final TaskStatusSwingManager TASK_STATUS_SWING_MANAGER = 
+        ToolsSwingLocator.getTaskStatusSwingManager();
+
+    private DefaultJAnnotationCreationServicePanel annotationCreationServicePanel = null;
+    private JTaskStatus jTaskStatus = null;
+
+    public AnnotationProgressWizard(DefaultJAnnotationCreationServicePanel annotationCreationServicePanel) {
+        super(); 
+        this.annotationCreationServicePanel = annotationCreationServicePanel;
+        jTaskStatus = TASK_STATUS_SWING_MANAGER.createJTaskStatus();
+        this.setLayout(new BorderLayout());
+        this.add(jTaskStatus, BorderLayout.NORTH);
+    }
+
+    public String getPanelTitle() {
+        return annotationCreationServicePanel.getAnnotationSwingManager().getTranslation("export_progress");
+    }
+
+    public void nextPanel() throws NotContinueWizardException {
+        // TODO Auto-generated method stub
+
+    }
+
+    public void lastPanel() {
+        annotationCreationServicePanel.setCancelButtonText(annotationCreationServicePanel.getAnnotationSwingManager().getTranslation("cancel"));
+    }
+
+    public void updatePanel() {
+        annotationCreationServicePanel.setFinishButtonEnabled(false);   
+        annotationCreationServicePanel.setCancelButtonText(annotationCreationServicePanel.getAnnotationSwingManager().getTranslation("close"));
+    }
+
+
+    public JPanel getJPanel() {
+        return this;
+    }
+
+    public void bind(TaskStatus taskStatus){
+        this.jTaskStatus.bind(taskStatus);
+    }  
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/AnnotationProgressWizard.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/MainOptionsWizard.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/MainOptionsWizard.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/MainOptionsWizard.java	(revision 38349)
@@ -0,0 +1,75 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.swing.impl.wizard;
+
+import javax.swing.JPanel;
+
+import org.gvsig.annotation.swing.impl.DefaultJAnnotationCreationServicePanel;
+import org.gvsig.annotation.swing.impl.panel.MainOptionsPanel;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.gui.beans.wizard.panel.NotContinueWizardException;
+import org.gvsig.gui.beans.wizard.panel.OptionPanel;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class MainOptionsWizard extends MainOptionsPanel implements OptionPanel{
+	private DefaultJAnnotationCreationServicePanel annotationCreationServicePanel = null;
+	
+	public MainOptionsWizard(DefaultJAnnotationCreationServicePanel annotationCreationServicePanel) throws DataException {
+		super(annotationCreationServicePanel.getAnnotationCreationService());
+		this.annotationCreationServicePanel = annotationCreationServicePanel;
+	}
+
+	public JPanel getJPanel() {
+		return this;
+	}
+
+	public String getPanelTitle() {
+		return "";
+	}
+
+	public void lastPanel() {
+		// TODO Auto-generated method stub
+		
+	}
+
+	public void nextPanel() throws NotContinueWizardException {
+		// TODO Auto-generated method stub
+		
+	}
+
+	public void updatePanel() {
+		// TODO Auto-generated method stub
+		
+	}
+
+
+
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/MainOptionsWizard.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/SelectOutputFileWizard.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/SelectOutputFileWizard.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/SelectOutputFileWizard.java	(revision 38349)
@@ -0,0 +1,91 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.swing.impl.wizard;
+
+import java.io.File;
+
+import javax.swing.JPanel;
+
+import org.gvsig.annotation.swing.AnnotationSwingLocator;
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+import org.gvsig.annotation.swing.impl.DefaultJAnnotationCreationServicePanel;
+import org.gvsig.gui.beans.wizard.panel.NotContinueWizardException;
+import org.gvsig.gui.beans.wizard.panel.OptionPanel;
+import org.gvsig.gui.beans.wizard.panel.SelectFileOptionPanel;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class SelectOutputFileWizard extends SelectFileOptionPanel implements OptionPanel{
+	private static AnnotationSwingManager annotationSwingManager =  AnnotationSwingLocator.getSwingManager();
+	private DefaultJAnnotationCreationServicePanel annotationCreationServicePanel = null;
+	
+	public SelectOutputFileWizard(DefaultJAnnotationCreationServicePanel annotationCreationServicePanel) {
+		super(annotationSwingManager.getTranslation("seleccionar_fichero"));	
+		this.annotationCreationServicePanel = annotationCreationServicePanel;
+	}
+
+	public JPanel getJPanel() {
+		return this;
+	}
+
+	public String getPanelTitle() {
+		return "";
+	}
+
+	public void lastPanel() {
+		annotationCreationServicePanel.setNextButtonEnabled(true);
+		
+	}
+
+	public void nextPanel() throws NotContinueWizardException {
+		// TODO Auto-generated method stub
+		
+	}
+
+	public void updatePanel() {
+		annotationCreationServicePanel.setNextButtonEnabled(false);
+		checkNextButtonEnabled();		
+	}
+	
+	@Override
+	protected void checkNextButtonEnabled() {
+		if (annotationCreationServicePanel != null){		
+			File file = getSelectedFile();
+			if (file != null){
+				if (file.getParentFile() != null){
+					annotationCreationServicePanel.setFinishButtonEnabled(file.getParentFile().exists());
+					return;
+				}
+			}
+			annotationCreationServicePanel.setFinishButtonEnabled(false);
+		}
+	}
+
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/SelectOutputFileWizard.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/OptionalOptionsWizard.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/OptionalOptionsWizard.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/OptionalOptionsWizard.java	(revision 38349)
@@ -0,0 +1,73 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.swing.impl.wizard;
+
+import javax.swing.JPanel;
+
+import org.gvsig.annotation.swing.impl.DefaultJAnnotationCreationServicePanel;
+import org.gvsig.annotation.swing.impl.panel.OptionalOptionsPanel;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.gui.beans.wizard.panel.NotContinueWizardException;
+import org.gvsig.gui.beans.wizard.panel.OptionPanel;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class OptionalOptionsWizard extends OptionalOptionsPanel implements OptionPanel{
+	private DefaultJAnnotationCreationServicePanel annotationCreationServicePanel = null;
+	
+	public OptionalOptionsWizard(DefaultJAnnotationCreationServicePanel annotationCreationServicePanel) throws DataException {
+		super(annotationCreationServicePanel.getAnnotationCreationService());
+		this.annotationCreationServicePanel = annotationCreationServicePanel;
+	}
+
+	public JPanel getJPanel() {
+		return this;
+	}
+
+	public String getPanelTitle() {
+		return "";
+	}
+
+	public void lastPanel() {
+		// TODO Auto-generated method stub
+		
+	}
+
+	public void nextPanel() throws NotContinueWizardException {
+		// TODO Auto-generated method stub
+		
+	}
+
+	public void updatePanel() {
+		// TODO Auto-generated method stub
+		
+	}
+
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/wizard/OptionalOptionsWizard.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultAnnotationSwingManager.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultAnnotationSwingManager.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultAnnotationSwingManager.java	(revision 38349)
@@ -0,0 +1,73 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing.impl;
+
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationLocator;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+import org.gvsig.annotation.swing.AnnotationWindowManager;
+import org.gvsig.annotation.swing.JAnnotationCreationServicePanel;
+import org.gvsig.annotation.swing.JAnnotationPreferencesPanel;
+import org.gvsig.i18n.Messages;
+import org.gvsig.tools.service.ServiceException;
+
+/**
+ * Default implementation of the {@link AnnotationSwingManager}.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultAnnotationSwingManager implements
+    AnnotationSwingManager {
+
+    private AnnotationManager annotationManager;
+    private AnnotationWindowManager windowManager;    
+
+    public DefaultAnnotationSwingManager() {
+        this.annotationManager = AnnotationLocator.getManager();
+    }
+
+    public JAnnotationCreationServicePanel createAnnotation(AnnotationCreationService annotationCreationService) throws ServiceException{
+        return new DefaultJAnnotationCreationServicePanel(this, annotationCreationService);   
+    }    
+    
+	public JAnnotationPreferencesPanel createAnnotationPreferences() {
+		return new DefaultJAnnotationPreferencesPanel(annotationManager);
+	}
+
+    public AnnotationManager getManager() {
+        return this.annotationManager;
+    }
+
+    public String getTranslation(String key) {
+       return Messages.getText(key);       
+    }
+
+	public AnnotationWindowManager getWindowManager() {
+		return windowManager;
+	}
+
+	public void registerWindowManager(AnnotationWindowManager windowManager) {
+		this.windowManager = windowManager;		
+	}
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultAnnotationSwingManager.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultAnnotationWindowManager.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultAnnotationWindowManager.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultAnnotationWindowManager.java	(revision 38349)
@@ -0,0 +1,129 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing.impl;
+
+import java.awt.BorderLayout;
+import java.awt.Dimension;
+import java.awt.Toolkit;
+import java.awt.event.ComponentEvent;
+import java.awt.event.ComponentListener;
+
+import javax.swing.JFrame;
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+
+import org.gvsig.annotation.swing.AnnotationWindowManager;
+import org.gvsig.annotation.swing.AnnotationWizardPanelActionListener;
+import org.gvsig.annotation.swing.JAnnotationCreationServicePanel;
+import org.gvsig.annotation.swing.JAnnotationPreferencesPanel;
+
+/**
+ * Default implementation for the {@link AnnotationWindowManager}.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultAnnotationWindowManager implements
+    AnnotationWindowManager, ComponentListener {
+
+    public void showWindow(JAnnotationCreationServicePanel panel, String title, int mode) {
+        JFrame frame = showJPanel(panel, title, mode)   ;  
+        panel.setAnnotationServicePanelActionListener(new FrameWizardListener(frame));             
+    }
+    
+
+	public void showPreferencesWindow(JAnnotationPreferencesPanel panel, String title, int modeDialog) {
+		showJPanel(panel, title, modeDialog);
+	}
+	
+	private JFrame showJPanel(JPanel panel, String title, int modeDialog) {		       
+		 JFrame frame = new JFrame();    
+		 
+        final Dimension s = Toolkit.getDefaultToolkit().getScreenSize();
+        frame.setLocation(s.width / 4, s.height / 4);
+
+        frame.setLayout(new BorderLayout());
+        frame.setTitle(title);
+        frame.add(panel, BorderLayout.CENTER);
+
+        frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
+
+        panel.addComponentListener(this);
+
+        frame.pack();
+        frame.setVisible(true);	
+        return frame;
+	}
+	
+    public void componentHidden(ComponentEvent componentEvent) {
+        JFrame frame =
+            (JFrame) ((JPanel) componentEvent.getSource()).getRootPane()
+                .getParent();
+        frame.setVisible(false);
+        frame.dispose();
+    }
+
+    public void componentMoved(ComponentEvent arg0) {
+        // Do nothing
+    }
+
+    public void componentResized(ComponentEvent arg0) {
+        // Do nothing
+    }
+
+    public void componentShown(ComponentEvent arg0) {
+        // Do nothing
+    }
+    
+    public class FrameWizardListener implements AnnotationWizardPanelActionListener{
+    	private JFrame frame = null;
+    	
+    	public FrameWizardListener(JFrame frame) {
+    		super();
+    		this.frame = frame;
+    	}
+
+    	public void cancel(
+    			JAnnotationCreationServicePanel annotationCreationServicePanel) {
+    		frame.setVisible(false);
+    		System.exit(0);		
+    	}
+
+    	public void finish(
+    			JAnnotationCreationServicePanel annotationCreationServicePanel) {
+    		frame.setVisible(false);
+    		System.exit(0);		
+    	}
+    }
+
+	public boolean showFileExistsPopup(String title, String text) {
+		int resp = JOptionPane.showConfirmDialog(
+				new JFrame(), text,
+				title, JOptionPane.YES_NO_OPTION);
+		if (resp == JOptionPane.YES_OPTION) {
+			return true;
+		}
+		return false;
+	}
+
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultAnnotationWindowManager.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/resources/log4j.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/resources/log4j.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/resources/log4j.xml	(revision 38349)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- 
+Log4J configuration file for unit tests execution.
+ -->
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+
+	<!-- Appender configuration to show logging messages through the console -->
+	<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+		<layout class="org.apache.log4j.PatternLayout">
+			<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{2}.%M()]\n  %m%n" />
+		</layout>
+	</appender>
+
+	<!-- 
+	Activate logging messages of DEBUG level of higher only for the
+	org.gvsig.tools packages.
+	You can put full classes names or packages instead, to configure
+	logging for all the classes and subpackages of the package.
+	-->
+	<category name="org.gvsig.tools">
+		<priority value="DEBUG" />
+	</category>
+	<category name="org.gvsig.annotation">
+		<priority value="DEBUG" />
+	</category>
+
+	<!-- 
+	By default, show only logging messages of INFO level or higher, 
+	through the previously configured CONSOLE appender. 
+	-->
+	<root>
+		<priority value="INFO" />
+		<appender-ref ref="CONSOLE" />
+	</root>
+</log4j:configuration>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/resources/log4j.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/resources/README.txt
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/resources/README.txt	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/resources/README.txt	(revision 38349)
@@ -0,0 +1,8 @@
+Put into this folder the resources needed by your test classes.
+
+This folder is added to the Tests classpath, so you can load any resources 
+through the ClassLoader.
+
+By default, in this folder you can find an example of log4j configuration,
+prepared to log messages through the console, so logging works when you
+run your tests classes.
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/resources/README.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultAnnotationSwingManagerTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultAnnotationSwingManagerTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultAnnotationSwingManagerTest.java	(revision 38349)
@@ -0,0 +1,38 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing.impl;
+
+import org.gvsig.annotation.swing.AnnotationSwingManager;
+
+/**
+ * {@link AnnotationSwingManager} API compatibility tests for the
+ * {@link DefaultAnnotationSwingManager} implementation.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultAnnotationSwingManagerTest //extends
+//    AnnotationSwingManagerTest 
+{
+
+    // Nothing to add
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultAnnotationSwingManagerTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultAnnotationWindowManagerTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultAnnotationWindowManagerTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultAnnotationWindowManagerTest.java	(revision 38349)
@@ -0,0 +1,38 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing.impl;
+
+import org.gvsig.annotation.swing.AnnotationWindowManager;
+import org.gvsig.annotation.swing.AnnotationWindowManagerTest;
+
+/**
+ * {@link AnnotationWindowManager} API compatibility tests for the
+ * {@link DefaultAnnotationWindowManager} implementation.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultAnnotationWindowManagerTest extends
+    AnnotationWindowManagerTest {
+
+    // Nothing to add
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultAnnotationWindowManagerTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationServicePanelTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationServicePanelTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationServicePanelTest.java	(revision 38349)
@@ -0,0 +1,38 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing.impl;
+
+import org.gvsig.annotation.swing.JAnnotationCreationServicePanel;
+
+/**
+ * {@link JAnnotationCreationServicePanel} API compatibility tests for the
+ * {@link DefaultJAnnotationCreationServicePanel} implementation.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultJAnnotationServicePanelTest //extends
+  //  JAnnotationServicePanelTest 
+{
+
+    // Nothing to add
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/test/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationServicePanelTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/pom.xml	(revision 38349)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<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.annotation.swing.impl</artifactId>
+    <packaging>jar</packaging>
+    <name>org.gvsig.annotation.swing.impl</name>
+    <parent>
+        <groupId>org.gvsig</groupId>
+        <artifactId>org.gvsig.annotation.swing</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+    </parent>
+    <dependencies>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.annotation.lib.api</artifactId>
+            <version>1.0.0-SNAPSHOT</version>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.annotation.swing.api</artifactId>
+            <version>1.0.0-SNAPSHOT</version>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.annotation.swing.api</artifactId>
+            <version>1.0.0-SNAPSHOT</version>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.annotation.lib.impl</artifactId>
+            <version>1.0.0-SNAPSHOT</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>jwizardcomponent</groupId>
+            <artifactId>jwizardcomponent</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.ui</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.lib</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.swing.api</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.tools.lib</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.metadata.lib.basic.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+    </dependencies>
+</project>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl
___________________________________________________________________
Added: svn:ignore
   + target
bin
.settings
.classpath
.project


Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/pom.xml	(revision 38349)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+		 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>org.gvsig.annotation.swing</artifactId>
+	<packaging>pom</packaging>
+	<name>org.gvsig.annotation.swing</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.annotation</artifactId>
+		<version>1.0.0-SNAPSHOT</version>
+	</parent>
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.annotation.lib.api</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+		</dependency>
+	</dependencies>
+
+	<modules>
+		<module>org.gvsig.annotation.swing.api</module>
+		<module>org.gvsig.annotation.swing.impl</module>
+	</modules>
+</project>
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/JAnnotationServicePanelTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/JAnnotationServicePanelTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/JAnnotationServicePanelTest.java	(revision 38349)
@@ -0,0 +1,60 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing;
+
+import org.gvsig.annotation.AnnotationCreationException;
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase;
+import org.gvsig.tools.service.ServiceException;
+
+/**
+ * API compatibility tests for {@link JAnnotationCreationServicePanel}
+ * implementations.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public abstract class JAnnotationServicePanelTest extends
+    AbstractLibraryAutoInitTestCase {
+
+    protected AnnotationManager manager;
+    protected AnnotationSwingManager swingManager;
+
+    @Override
+    protected void doSetUp() throws Exception {
+        swingManager = AnnotationSwingLocator.getSwingManager();
+        manager = swingManager.getManager();
+    }
+
+    public void testJAnnotationServicePanel() throws ServiceException,
+        AnnotationCreationException, DataException {
+        assertNotNull(swingManager);
+        AnnotationCreationService cookie = manager.getAnnotationCreationService(null);
+        //cookie.getMessage();
+
+        JAnnotationCreationServicePanel panel =
+            swingManager.createAnnotation(cookie);
+        assertEquals(cookie, panel.getAnnotationCreationService());
+    }
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/JAnnotationServicePanelTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/AnnotationSwingManagerTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/AnnotationSwingManagerTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/AnnotationSwingManagerTest.java	(revision 38349)
@@ -0,0 +1,64 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing;
+
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationLocator;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase;
+import org.gvsig.tools.service.ServiceException;
+
+/**
+ * API compatibility tests for {@link AnnotationSwingManager}
+ * implementations.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public abstract class AnnotationSwingManagerTest extends
+    AbstractLibraryAutoInitTestCase {
+
+    protected AnnotationManager manager;
+    protected AnnotationSwingManager swingManager;
+
+    @Override
+    protected void doSetUp() throws Exception {
+        manager = AnnotationLocator.getManager();
+        swingManager = AnnotationSwingLocator.getSwingManager();
+    }
+
+    public void testGetManager() {
+        assertEquals(manager, swingManager.getManager());
+    }
+
+    public void testCreationJAnnotationServicePanel()
+        throws ServiceException, DataException {
+        AnnotationCreationService annotationCreationService = manager.getAnnotationCreationService(null);
+
+        JAnnotationCreationServicePanel panel1 =
+            swingManager.createAnnotation(annotationCreationService);
+
+        assertNotNull(panel1);
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/AnnotationSwingManagerTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/AnnotationWindowManagerTest.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/AnnotationWindowManagerTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/AnnotationWindowManagerTest.java	(revision 38349)
@@ -0,0 +1,44 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing;
+
+import org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase;
+
+/**
+ * API compatibility tests for {@link AnnotationWindowManager}
+ * implementations.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public abstract class AnnotationWindowManagerTest extends
+    AbstractLibraryAutoInitTestCase {
+
+    @Override
+    protected void doSetUp() throws Exception {
+
+    }
+
+    public void testUno() {
+        // FIXME: fltan por implementar
+    }
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/test/java/org/gvsig/annotation/swing/AnnotationWindowManagerTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 38349)
@@ -0,0 +1 @@
+org.gvsig.annotation.swing.AnnotationSwingLibrary
\ No newline at end of file
Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingManager.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingManager.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingManager.java	(revision 38349)
@@ -0,0 +1,85 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing;
+
+import org.gvsig.annotation.AnnotationCreationService;
+import org.gvsig.annotation.AnnotationManager;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.tools.service.ServiceException;
+
+/**
+ * This class is responsible of the management of the library's swing user
+ * interface. It is the swing library's main entry point, and provides all the
+ * services to manage library swing components.
+ * 
+ * @see AnnotationWindowManager
+ * @see JAnnotationCreationServicePanel
+ * @author gvSIG team
+ * @version $Id$
+ */
+public interface AnnotationSwingManager {
+
+    /**
+     * Returns the panel associated to a {@link AnnotationCreationService}.
+     * 
+     * @param annotationCreationService
+     *            {@link AnnotationCreationService} contained on the panel
+     * @return a {@link JAnnotationCreationServicePanel} with the panel of the
+     *         {@link AnnotationCreationService}
+     * @throws DataException 
+     * @see JAnnotationCreationServicePanel
+     * @see AnnotationCreationService
+     */
+    public JAnnotationCreationServicePanel createAnnotation(AnnotationCreationService annotationCreationService) throws ServiceException;
+   
+    public JAnnotationPreferencesPanel createAnnotationPreferences();
+    
+    /**
+     * Returns the {@link AnnotationManager}.
+     * 
+     * @return {@link AnnotationManager}
+     * @see {@link AnnotationManager}
+     */
+    public AnnotationManager getManager();
+
+
+	public String getTranslation(String key);
+	
+    /**
+     * Registers a new instance of a WindowManager which provides services to
+     * the management of the application windows.
+     * 
+     * @param manager
+     *            {@link LandRegistryViewerWindowManager} to register in the
+     *            ScriptingUIManager.
+     * @see LandRegistryViewerWindowManager
+     */
+    public void registerWindowManager(AnnotationWindowManager manager);
+
+    /**
+     * Returns the {@link LandRegistryViewerWindowManager}.
+     * 
+     * @return {@link LandRegistryViewerWindowManager}
+     * @see {@link LandRegistryViewerWindowManager}
+     */
+    public AnnotationWindowManager getWindowManager();
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingManager.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationWindowManager.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationWindowManager.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationWindowManager.java	(revision 38349)
@@ -0,0 +1,57 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing;
+
+
+
+/**
+ * Responsible of the window management to show the panels of the
+ * Annotation swing library.
+ * 
+ * @see AnnotationSwingManager
+ * @see JAnnotationCreationServicePanel
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public interface AnnotationWindowManager {
+
+    public static final int MODE_DIALOG = 1;
+    public static final int MODE_WINDOW = 2;
+    public static final int MODE_TOOL = 3;
+
+    /**
+     * Inserts a Panel in a window with a characteristic properties.
+     * 
+     * @param panel
+     *            JPanel with the content of the window
+     * @param title
+     *            String with the title of the window
+     * @param mode
+     *            int that defines the type of window
+     */
+    public void showWindow(JAnnotationCreationServicePanel panel, String title, int mode);
+    
+	public boolean showFileExistsPopup(String title, String text);
+	
+	public void showPreferencesWindow(JAnnotationPreferencesPanel panel, String title, int mode);
+    
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationWindowManager.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/package.html
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/package.html	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/package.html	(revision 38349)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>org.gvsig.annotation package documentation</title>
+</head>
+<body>
+
+	<p>Annotation swing library API.</p>
+	
+	<p>
+	It allows to get swing panels to show Annotation, and to include them in windows.
+	</p>
+
+</body>
+</html>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/package.html
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationWizardPanelActionListener.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationWizardPanelActionListener.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationWizardPanelActionListener.java	(revision 38349)
@@ -0,0 +1,46 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.swing;
+/**
+ * <p>
+ * Listener for the wizard. It controls
+ * the events thrown by the wizard.
+ * </p> 
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public interface AnnotationWizardPanelActionListener {
+
+	/**
+	 * When the wizard is closed this event is thrown.
+	 */
+	public void finish(JAnnotationCreationServicePanel annotationCreationServicePanel);
+	
+	public void cancel(JAnnotationCreationServicePanel annotationCreationServicePanel);
+	
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationWizardPanelActionListener.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingLocator.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingLocator.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingLocator.java	(revision 38349)
@@ -0,0 +1,96 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing;
+
+import org.gvsig.tools.locator.BaseLocator;
+
+/**
+ * This locator is the entry point for the Annotation swing library,
+ * providing access to all Annotation swing services through the
+ * {@link AnnotationSwingManager} .
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class AnnotationSwingLocator extends BaseLocator {
+
+    /**
+     * Annotation swing manager name.
+     */
+    public static final String SWING_MANAGER_NAME =
+        "Annotation.swing.manager";
+
+    /**
+     * Annotation swing manager description.
+     */
+    public static final String SWING_MANAGER_DESCRIPTION =
+        "Annotation UIManager";
+
+    private static final String LOCATOR_NAME = "Annotation.swing.locator";
+
+    /**
+     * Unique instance.
+     */
+    private static final AnnotationSwingLocator INSTANCE =
+        new AnnotationSwingLocator();
+
+    /**
+     * Return the singleton instance.
+     * 
+     * @return the singleton instance
+     */
+    public static AnnotationSwingLocator getInstance() {
+        return INSTANCE;
+    }
+
+    /**
+     * Return the Locator's name
+     * 
+     * @return a String with the Locator's name
+     */
+    public final String getLocatorName() {
+        return LOCATOR_NAME;
+    }
+
+    /**
+     * Registers the Class implementing the PersistenceManager interface.
+     * 
+     * @param clazz
+     *            implementing the PersistenceManager interface
+     */
+    public static void registerSwingManager(
+        Class<? extends AnnotationSwingManager> clazz) {
+        getInstance().register(SWING_MANAGER_NAME, SWING_MANAGER_DESCRIPTION,
+            clazz);
+    }
+
+    /**
+     * Gets the instance of the {@link ScriptingUIManager} registered.
+     * 
+     * @return {@link ScriptingUIManager}
+     */
+    public static AnnotationSwingManager getSwingManager() {
+        return (AnnotationSwingManager) getInstance()
+            .get(SWING_MANAGER_NAME);
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingLocator.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/JAnnotationPreferencesPanel.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/JAnnotationPreferencesPanel.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/JAnnotationPreferencesPanel.java	(revision 38349)
@@ -0,0 +1,57 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* 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., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2010 {Prodevelop}   {Task}
+*/
+ 
+package org.gvsig.annotation.swing;
+
+import javax.swing.JPanel;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public abstract class JAnnotationPreferencesPanel extends JPanel{
+	 	    
+	    public abstract String getDefaultFontType();
+	    
+	    public abstract void setDefaultFontType(String fontType);	  
+	    
+	    public abstract String getDefaultFontStyle();
+	    
+	    public abstract void setDefaultFontStyle(String fontStyle);	  	 
+	        
+	    public abstract int getDefaultFontColor();
+	    
+	    public abstract void setDefaultFontColor(int fontColor);
+	    
+	    public abstract double getDefaultFontHeight();
+	    
+	    public abstract void setDefaultFontHeight(double fontHeight);
+	    
+	    public abstract double getDefaultFontRotation();
+	    
+	    public abstract void setDefaultFontRotation(double fontRotation);      
+}
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/JAnnotationPreferencesPanel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingLibrary.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingLibrary.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingLibrary.java	(revision 38349)
@@ -0,0 +1,60 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing;
+
+import org.gvsig.annotation.AnnotationLibrary;
+import org.gvsig.tools.library.AbstractLibrary;
+import org.gvsig.tools.library.LibraryException;
+import org.gvsig.tools.locator.ReferenceNotRegisteredException;
+
+/**
+ * Library for Swing API initialization and configuration.
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class AnnotationSwingLibrary extends AbstractLibrary {
+
+    @Override
+    public void doRegistration() {
+        registerAsAPI(AnnotationSwingLibrary.class);
+        require(AnnotationLibrary.class);
+    }
+
+    @Override
+    protected void doInitialize() throws LibraryException {
+        // Do nothing
+    }
+
+    @Override
+    protected void doPostInitialize() throws LibraryException {
+        // Validate there is any implementation registered.
+        AnnotationSwingManager manager =
+            AnnotationSwingLocator.getSwingManager();
+        if (manager == null) {
+            throw new ReferenceNotRegisteredException(
+                AnnotationSwingLocator.SWING_MANAGER_NAME,
+                AnnotationSwingLocator.getInstance());
+        }
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/AnnotationSwingLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/JAnnotationCreationServicePanel.java
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/JAnnotationCreationServicePanel.java	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/JAnnotationCreationServicePanel.java	(revision 38349)
@@ -0,0 +1,52 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.annotation.swing;
+
+import javax.swing.JPanel;
+
+import org.gvsig.annotation.AnnotationCreationService;
+
+/**
+ * A panel to show a {@link AnnotationCreationService}.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public abstract class JAnnotationCreationServicePanel extends JPanel{
+    private static final long serialVersionUID = 114900538340226231L;
+    protected AnnotationWizardPanelActionListener annotationWizardPanelActionListener = null;
+
+    /**
+     * Returns the {@link AnnotationCreationService} associated with the panel.
+     * 
+     * @return the {@link AnnotationCreationService}
+     */
+    public abstract AnnotationCreationService getAnnotationCreationService();
+
+	public void setAnnotationServicePanelActionListener(AnnotationWizardPanelActionListener annotationWizardPanelActionListener) {
+		this.annotationWizardPanelActionListener = annotationWizardPanelActionListener;
+	}
+
+	public AnnotationWizardPanelActionListener getAnnotationServicePanelActionListener() {
+		return annotationWizardPanelActionListener;
+	}
+}

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/src/main/java/org/gvsig/annotation/swing/JAnnotationCreationServicePanel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/pom.xml	(revision 38349)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<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.annotation.swing.api</artifactId>
+	<packaging>jar</packaging>
+	<name>org.gvsig.annotation.swing.api</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.annotation.swing</artifactId>
+		<version>1.0.0-SNAPSHOT</version>
+	</parent>
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.annotation.lib.api</artifactId>
+			<version>1.0.0-SNAPSHOT</version>
+            <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.tools.lib</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal</artifactId>
+            <scope>compile</scope>
+        </dependency>
+	</dependencies>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+				</configuration>
+				<executions>
+				<!--
+				Generates a jar file only with the test classes
+				-->
+					<execution>
+						<goals>
+							<goal>test-jar</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+</project>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.api
___________________________________________________________________
Added: svn:ignore
   + target
bin
.settings
.classpath
.project



Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/org.gvsig.annotation.swing
___________________________________________________________________
Added: svn:ignore
   + target
bin
.settings
.classpath
.project


Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/prepare-workspace.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/prepare-workspace.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/prepare-workspace.xml	(revision 38349)
@@ -0,0 +1,151 @@
+<project name="org.gvsig.initial.build" default="prepare-workspace">
+
+	<dirname property="org.gvsig.initial.build.basedir" file="${ant.file.org.gvsig.initial.build}" />
+
+	<property name="workspace.basedir" value="${org.gvsig.initial.build.basedir}/.." />
+	<property name="build.basedir" value="${workspace.basedir}/org.gvsig.maven.base.build" description="Eclipse workspace location" />
+	<property name="build.jar.version" value="1.0.8-SNAPSHOT" />
+	<property name="build.jar.file" value="org.gvsig.maven.base.build-${build.jar.version}.jar" />
+
+	<property name="ant.libs.dir" location="${build.basedir}" description="Additional ant tasks libs folder" />
+
+	<target name="check-maven-base-build-available">
+		<available file="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}" property="maven-base-build-available" />
+	</target>
+
+	<target name="get-maven-base-build-local" depends="check-maven-base-build-available" if="maven-base-build-available">
+		<!-- Unzip de build jar file from the maven repository into the workspace root folder -->
+		<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false">
+			<zipfileset src="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}">
+				<patternset>
+					<exclude name="META-INF/**" />
+				</patternset>
+			</zipfileset>
+		</copy>
+	</target>
+
+	<target name="get-maven-base-build-remote" depends="check-maven-base-build-available" unless="maven-base-build-available">
+		<mkdir dir="target" />
+
+		<!-- Download the build jar file -->
+		<get src="http://devel.gvsig.org/m2repo/j2se/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}" dest="target/${build.jar.file}" verbose="true" />
+
+		<!-- Unzip de build jar file into the workspace root folder -->
+		<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false">
+			<zipfileset src="target/${build.jar.file}">
+				<patternset>
+					<exclude name="META-INF/**" />
+				</patternset>
+			</zipfileset>
+		</copy>
+
+	</target>
+	
+	<target name="find.depends.natives.file">
+	    <condition property="depends.natives.file.exists">
+            <available file="${org.gvsig.initial.build.basedir}/DEPENDS_ON_NATIVE_LIBRARIES"/>
+	    </condition>	
+	</target>
+	
+	<target name="find.gvsig.platform.properties.file" 
+			depends="find.depends.natives.file"
+			if="depends.natives.file.exists">
+	    <condition property="gvsig.platform.exists">
+            <available file="${user.home}/.gvsig.platform.properties"/>
+	    </condition>	
+	</target>
+	
+	<target name="check.gvsig.platform.properties" 
+			depends="find.gvsig.platform.properties.file">
+		<fail if="depends.natives.file.exists" unless="gvsig.platform.exists">
+ERROR!!
+	
+You have to define your gvSIG platform properties, 
+by creating the file: ${user.home}/.gvsig.platform.properties
+with the following content:
+
+native_platform=linux
+native_distribution=all
+native_compiler=gcc4
+native_arch=i386
+native_libraryType=dynamic
+export native_classifier=${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}
+
+Replace the fifth initial variables values with the ones appropiate 
+to your platform.
+	
+If you use maven in the command line, you can use the previous file also
+to define the MAVEN_OPTS environment variable, by adding to your 
+.bash_rc file something like this:
+
+if [ -f "${HOME}/.gvsig.platform.properties" ]
+then
+    . ${HOME}/.gvsig.platform.properties
+    export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m -Dnative-classifier=${native_classifier}"
+else
+    export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m"
+fi
+
+It will work if you use the bash shell. In any other case or platform, you'll
+have to define your MAVEN_OPTS environment variable and set the 
+"native-classifier" parameter directly.
+		</fail>			
+	
+	</target>
+
+	<target name="prepare-workspace" depends="get-maven-base-build-local,get-maven-base-build-remote,check.gvsig.platform.properties">
+
+		<mkdir dir="target" />
+
+		<chmod dir="${build.basedir}/maven/bin" perm="u+x" includes="m2,mvn,mvnDebug" />
+
+		<!-- Copy the maven launchers to the workspace metadata folder -->
+		<copy todir="${workspace.basedir}/.metadata">
+			<fileset dir="${build.basedir}/eclipse-launchers">
+				<exclude name="**/org.eclipse.jdt.core.prefs" />
+				<exclude name="**/org.eclipse.core.variables.prefs" />
+			</fileset>
+		</copy>
+
+		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" append="true">
+			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.jdt.core.prefs" />
+		</concat>
+		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" append="true">
+			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.core.variables.prefs" />
+		</concat>
+
+		<!-- Configure the eclipse workspace -->
+		<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-configure-eclipse-workspace" />
+
+		<!-- Configure the gvSIG profile -->
+		<ant antfile="${build.basedir}/check-gvsig-profile.xml" />
+
+		<property name="user-settings-file-location" value="${user.home}/.m2/settings.xml" />
+
+		<taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask">
+			<classpath>
+				<pathelement location="${ant.libs.dir}/com.oopsconsultancy.xmltask-1.16.1.jar" />
+			</classpath>
+		</taskdef>
+
+		<xmltask source="${user-settings-file-location}" dest="${user-settings-file-location}">
+			<copy path="//:settings/:profiles/:profile[:id/text() = 'gvsig-install']/:properties/:gvsig.install.dir/text()" property="current-gvsig-location" />
+		</xmltask>
+
+		<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" />
+		<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" />
+
+		<!-- Compile, install and generate eclipse projects -->
+		<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-install-and-eclipse-eclipse" />
+
+		<echo>INFORMATION!!!</echo>
+		<echo>Restart eclipse and then proceed to import the subprojects contained into the main project</echo>
+
+		<!-- TODO: copiar al proyecto de configuración general -->
+	</target>
+
+	<target name="clean">
+		<delete dir="target" />
+	</target>
+	
+</project>

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/prepare-workspace.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/pom.xml	(revision 38349)
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>org.gvsig.annotation</artifactId>
+	<packaging>pom</packaging>
+	<version>1.0.0-SNAPSHOT</version>
+	<name>org.gvsig.annotation</name>
+	<description>Annotation example project</description>
+    <parent>
+        <groupId>org.gvsig</groupId>
+        <artifactId>org.gvsig.maven.base.pom</artifactId>
+        <version>1.0.8-SNAPSHOT</version>
+    </parent>
+    
+	<scm>
+		<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.annotation</connection>
+		<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.annotation</developerConnection>
+		<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep/libraries/org.gvsig.annotation</url>
+	</scm>
+
+	<developers>
+		<developer>
+			<id>jpiera</id>
+			<name>Jorge Piera</name>
+			<email>jpiera@gvsig.org</email>
+			<roles>
+				<role>Architect</role>
+				<role>Developer</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>jjdelcerro</id>
+			<name>Joaqu�n Jos� del Cerro</name>
+			<email>jjdelcerro@gvsig.org</email>
+			<roles>
+				<role>Architect</role>			
+			</roles>
+		</developer>		
+	</developers>
+	<repositories>
+		<repository>
+			<id>gvsig-public-http-repository</id>
+			<name>gvSIG maven public HTTP repository</name>
+            <url>http://devel.gvsig.org/m2repo/j2se</url>
+			<releases>
+				<enabled>true</enabled>
+				<updatePolicy>daily</updatePolicy>
+				<checksumPolicy>warn</checksumPolicy>
+			</releases>
+			<snapshots>
+				<enabled>true</enabled>
+				<updatePolicy>daily</updatePolicy>
+				<checksumPolicy>warn</checksumPolicy>
+			</snapshots>
+		</repository>
+	</repositories>
+	<build>
+		<plugins>
+            <!-- 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>
+    <dependencyManagement>
+        <dependencies>          
+            <dependency>
+                <groupId>org.gvsig</groupId>
+                <artifactId>org.gvsig.core.maven.dependencies</artifactId>
+                <version>2.0.1-SNAPSHOT</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.tools.lib</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.tools.lib</artifactId>
+			<type>test-jar</type>
+		</dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+            <scope>compile</scope>
+        </dependency>        	
+	</dependencies>
+
+	<modules>
+		<module>org.gvsig.annotation.lib</module>
+		<module>org.gvsig.annotation.swing</module>
+		<module>org.gvsig.annotation.main</module>
+	</modules>
+</project>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/README.txt
===================================================================
--- tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/README.txt	(revision 0)
+++ tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/README.txt	(revision 38349)
@@ -0,0 +1,18 @@
+The first time you checkout the current project to a new workspace, 
+you have to prepare it to be able to work easily with maven from
+eclipse itself.
+
+Perform the following steps:
+
+1.- Launch the *prepare-workspace.xml* ant build file. 
+    You can do it by loading the file into the ant view, 
+    and running the default task, or right-clicking the 
+    file from the package explorer or the navigator and
+    select the option: *Run as > Ant build*. 
+    
+2.- Restart eclipse.
+
+3.- Import the subprojects of the project you have just checked out.
+
+Those steps are only needed once per workspace.     
+

Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation/README.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2047/libraries/org.gvsig.annotation/org.gvsig.annotation
___________________________________________________________________
Added: svn:ignore
   + target
bin
.settings
.classpath
.project


