Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/pom.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/pom.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/pom.xml	(revision 9586)
@@ -0,0 +1,112 @@
+<?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.raster.tasseledcap.algorithm</artifactId>
+	<packaging>jar</packaging>
+	<name>org.gvsig.raster.tasseledcap.algorithm</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.raster.tasseledcap</artifactId>
+		<version>2.2.80</version>
+	</parent>
+    <dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.algorithm</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.tools.lib</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.raster.lib.api</artifactId>
+            <scope>compile</scope>
+		</dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.raster.lib.impl</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.raster.fmap</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.fmap.geometry.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+    <!--
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.geometry.generalpath</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+    -->
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.compat.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.compat.se</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.projection.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.projection.cresques.impl</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.impl</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.file.lib</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.spi</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+			<groupId>org.gvsig.legacy</groupId>
+			<artifactId>jama</artifactId>
+			<scope>compile</scope>
+		</dependency>
+	</dependencies>
+</project>

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/test/java/org/gvsig/raster/tasseledcap/algorithm
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/test/java/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/test/java/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/test/java/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/test/java/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/test/java
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/test
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_fr.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_fr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_de.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_de.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_eu.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_eu.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_it.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_it.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text.properties	(revision 9586)
@@ -0,0 +1,8 @@
+layers_dont_intersect=Las capas no intersectan
+roi_not_inside=La zona de estudio no esta contenida en la extensión de las capas
+preparing_buffers=Preparando buffers
+writting_in_buffer=Escribiendo en buffer de salida
+processing_tc=Procesando Tasseled Cap
+tasseled_cap=Tasseled Cap
+type=Tipo
+

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_zh.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_zh.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_en.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_en.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_en.properties	(revision 9586)
@@ -0,0 +1,7 @@
+layers_dont_intersect=Layers do not intersect
+roi_not_inside=The region of interest are not inside the extension of the layers
+preparing_buffers=Preparing buffers
+writting_in_buffer=Writing in the output buffer
+processing_tc=Procesando Tasseled Cap
+tasseled_cap=Tasseled Cap
+type=Type
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_gl.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_gl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_ca.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_ca.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_pt.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_pt.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_cs.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n/text_cs.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm/i18n
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/algorithm
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 9586)
@@ -0,0 +1 @@
+org.gvsig.raster.tasseledcap.algorithm.TasseledCapAlgorithmLibrary

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/META-INF/services
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources/META-INF
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapException.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapException.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapException.java	(revision 9586)
@@ -0,0 +1,19 @@
+package org.gvsig.raster.tasseledcap.algorithm;
+
+import org.gvsig.raster.algorithm.process.ProcessException;
+
+
+/**
+ * This exception is thrown if happen problems processing data with this algorithm.
+ */
+public class TasseledCapException extends ProcessException {
+	private static final long serialVersionUID = -3022090543908771484L;
+	
+	public TasseledCapException(String msg){
+		super(msg);
+	}
+	
+	public TasseledCapException(String msg, Throwable e){
+		super(msg, e);
+	}
+}
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapException.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapProcess.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapProcess.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapProcess.java	(revision 9586)
@@ -0,0 +1,213 @@
+package org.gvsig.raster.tasseledcap.algorithm;
+
+import java.awt.geom.Rectangle2D;
+import java.util.List;
+
+import org.gvsig.fmap.dal.coverage.RasterLocator;
+import org.gvsig.fmap.dal.coverage.dataset.Buffer;
+import org.gvsig.fmap.dal.coverage.datastruct.Extent;
+import org.gvsig.fmap.dal.coverage.datastruct.NoData;
+import org.gvsig.fmap.dal.coverage.exception.CloneException;
+import org.gvsig.fmap.dal.coverage.exception.ProcessInterruptedException;
+import org.gvsig.fmap.dal.coverage.exception.ROIException;
+import org.gvsig.fmap.dal.coverage.store.RasterDataStore;
+import org.gvsig.i18n.Messages;
+import org.gvsig.raster.algorithm.process.DataProcess;
+import org.gvsig.raster.algorithm.process.ProcessException;
+import org.gvsig.raster.roi.ROI;
+
+/**
+ * Tasseled Cab Process 
+ * @author Nacho Brodin (nachobrodin@gmail.com)
+ */
+public class TasseledCapProcess extends DataProcess {
+	public static int             LANDSAT_MS         = 0;
+	public static int             LANDSAT_TM         = 1;
+	public static int             LANDSAT_ETM        = 2;
+	
+	public static String          RASTER_STORE       = "RASTER_STORE";
+	public static String          PATH               = "PATH";
+	public static String          FILENAME           = "FILENAME";
+	public static String          LANDSAT_TYPE       = "LANDSAT_TYPE";
+	
+	public static final String    BUFFERS            = "BUFFERS";
+	public static final String    GRAPHIC_DATA       = "GRAPHIC_DATA";
+	public static final String    BANDS              = "BANDS";
+	
+	private RasterDataStore       store              = null;
+	private String                filename           = null;
+	
+	private List<ROI>             rois               = null;
+	private Extent                extentResult       = null;
+	private boolean[]             bands              = null;
+	private NoData                nodata             = null;
+	private double                matrixParams[][]   = null;
+	private int                   type               = LANDSAT_MS;
+	
+	// MATRICES DE COEFICIENTES PARA CADA TRANSFORMACIÓN
+	double LandSatMS[][] = {
+			/*   Brillo de suelo       */ 	{0.433, 0.632, 0.586, 0.264   },
+			/*	 Indice de Verdor      */	{-0.290, -0.562, 0.600, 0.491 },
+			/*	 Indice de Senescencia */   {-0.829,  0.522, -0.039, 0.194},
+			/*	 Cuarta                */	{0.223,  0.012,  -0.543, 0.810}		
+	};
+
+	double LandSatTM[][] = { 
+			/*   Brillo    */ 	{0.33183,  0.33121,  0.55177,  0.42514,  0.48087, 0.25252  		},
+			/*	 Verdor    */	{-0.24717,  -0.16263,  -0.40639,  0.85468,  0.05493,  -0.11749	},
+			/*	 Tercera   */	{0.13929,  0.22490,  0.40359,  0.25178,  -0.70133, -0.45732  	},	
+	};
+
+	double LandSatETM[][] = {
+			/*   Brightness */ 	{0.3561,  0.3972,  0.3904,  0.6966,  0.2286,  0.1596     },
+			/*	 Greenness 	*/	{-0.3344,  -0.3544,  -0.4556,  0.6966,  -0.0242,  -0.2630},
+			/*	 Vetness 	*/	{0.2626,  0.2141,  0.0926,  0.0656,  -0.7629, -0.5388    },	
+			/*	 Fourth 	*/	{0.0805,  -0.0498,  0.1950, -0.1327, 0.5752,  -0.7775    },
+			/*	 Fifth 		*/	{-0.7252,  -0.0202,  0.6683,  0.0631,  -0.1494,  -0.0274 },
+			/*	 Sixth 		*/	{0.4000,  -0.8172,  0.3832,  0.0602,  -0.1095,  -0.0985	 }
+	};
+
+	
+	public static void registerParameters() {
+		registerInputParameter(RASTER_STORE, RasterDataStore.class, TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+		registerInputParameter(PATH, String.class, TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+		registerInputParameter(BANDS, Boolean[].class, TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+		registerInputParameter(LANDSAT_TYPE, Integer.class, TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+		
+		registerOutputParameter(FILENAME, String.class, TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+		registerOutputParameter(GRAPHIC_DATA, Double[].class, TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+	}
+	
+	public void init() {
+		store = getParam(RASTER_STORE) != null ? (RasterDataStore)getParam(RASTER_STORE) : null;
+		filename = getStringParam(PATH);
+		bands = (boolean[]) getParam(BANDS);
+		type = getIntParam(LANDSAT_TYPE);
+	}
+
+	private boolean loadCoefMatrix(int type) {
+		switch (type) {
+		case 0:
+			matrixParams = LandSatMS;
+			if(getNumberOfOutputBands(bands) != 4) {
+				return false;
+			}
+			break;	
+		case 1:
+			matrixParams = LandSatTM;	
+			if(getNumberOfOutputBands(bands) != 6) {
+				return false;
+			}
+			break;
+		case 2:
+			matrixParams = LandSatETM;	
+			if(getNumberOfOutputBands(bands) != 6) {
+				return false;
+			}
+			break;
+		}	
+		return true;
+	}
+
+	public void process() throws ProcessInterruptedException, ProcessException {
+		insertLineLog(Messages.getText("processing_tc"));
+		if (store == null) {
+			throw new TasseledCapException(Messages.getText("need_a_input"));
+		}
+
+		if(!loadCoefMatrix(type)) {
+			throw new TasseledCapException(Messages.getText("wrong_number_of_bands"));
+		}
+
+		if(getROIEPSG() != null) {
+			try {
+				rois = store.getRois(getROIEPSG());
+			} catch (ROIException e2) {
+				logger.error(Messages.getText("error_getting_rois"), e2);
+			}
+		}
+
+		try {
+			store = ((RasterDataStore)store).cloneDataStore();
+		} catch (CloneException e) {
+			new TasseledCapException("Error cloning the input DataStore", e);
+		}
+
+		extentResult = getExtentResult(getOutputWindow(), rois, store);
+		Rectangle2D sourcePxBBox = getSourcePxBox(extentResult, store);
+
+		double cellSize = store.getCellSize();
+
+		nodata = RasterLocator.getManager().getDataStructFactory().createDefaultNoData(1, Buffer.TYPE_DOUBLE);
+		double nodataValue = nodata.getValue().doubleValue();
+
+		Buffer outputBuffer = createOutputBuffer((int)sourcePxBBox.getWidth(), (int)sourcePxBBox.getHeight(), matrixParams.length, Buffer.TYPE_FLOAT);
+		Buffer sourceBuffer = createSourceBuffer(store, sourcePxBBox, bands);
+
+
+		insertLineLog(Messages.getText("writting_in_buffer"));
+		float resultValue = 0;
+
+		for (int i = 0; i < sourceBuffer.getHeight(); i++) {
+			for (int j = 0; j < sourceBuffer.getWidth(); j++) {
+				if (isInsideOfROI(j, i, rois, extentResult)) {
+					for (int coef = 0; coef < matrixParams.length; coef++) {
+						for(int band = 0; band < matrixParams[0].length; band++) {	
+							resultValue += getValue(sourceBuffer, i, j, band, coef);
+						}
+						outputBuffer.setElem(i, j, coef, resultValue);
+						resultValue = 0;
+					}
+				} else {
+					for (int iBand = 0; iBand < outputBuffer.getBandCount(); iBand++) {
+						outputBuffer.setElem(i, j, iBand, (float)nodataValue);
+					}
+				}
+			}
+			updatePercent((int)(i * 100 / sourcePxBBox.getHeight()), 100);
+		}
+
+        super.exportRaster(filename, outputBuffer, cellSize, extentResult.getULX(),
+            extentResult.getULY(), nodata, store.getProjection());
+
+		addOutputValue(FILENAME, filename);
+		addOutputValue(GRAPHIC_DATA, filename);
+	}
+
+	/**
+	 * Gets the number of the selected bands
+	 * @param bandsPCs
+	 * @return
+	 */
+	private int getNumberOfOutputBands(boolean[] b) {
+		int bandCount = 0;
+        for (int i = 0; i < b.length; i++) {
+			if(b[i])
+				bandCount++;
+		}
+        return bandCount;
+	}
+	
+	private float getValue(Buffer sourceBuffer, int i, int j, int band, int coef) {
+		if (sourceBuffer.getDataType() == Buffer.TYPE_BYTE) {
+			return (float)((sourceBuffer.getElemByte(i, j, band) & 0xff) * matrixParams[coef][band]);
+		}
+		if (sourceBuffer.getDataType() == Buffer.TYPE_SHORT) {
+			return (float)(sourceBuffer.getElemShort(i, j, band) * matrixParams[coef][band]);
+		}
+		if (sourceBuffer.getDataType() == Buffer.TYPE_INT) {
+			return (float)(sourceBuffer.getElemInt(i, j, band) * matrixParams[coef][band]);
+		}
+		if (sourceBuffer.getDataType() == Buffer.TYPE_FLOAT) {
+			return (float)(sourceBuffer.getElemFloat(i, j, band) * matrixParams[coef][band]);
+		}
+		if (sourceBuffer.getDataType() == Buffer.TYPE_DOUBLE) {
+			return (float)(sourceBuffer.getElemDouble(i, j, band) * matrixParams[coef][band]);
+		}
+		return nodata.getValue().floatValue();
+	}
+	
+	public String getTitle() {
+		return Messages.getText("tasseled_cap");
+	}
+}
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapProcess.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapAlgorithmLibrary.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapAlgorithmLibrary.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapAlgorithmLibrary.java	(revision 9586)
@@ -0,0 +1,35 @@
+package org.gvsig.raster.tasseledcap.algorithm;
+
+import org.gvsig.i18n.Messages;
+import org.gvsig.raster.algorithm.RasterBaseAlgorithmLibrary;
+import org.gvsig.tools.library.AbstractLibrary;
+import org.gvsig.tools.library.LibraryException;
+
+/**
+ * Initialization of PrincipalComponentsAlgorithmLibrary library.
+ */
+public class TasseledCapAlgorithmLibrary extends AbstractLibrary {
+	public static final String         TASSELEDCAP_PROCESS_LABEL         = "TasseledCapProcess";
+	
+    @Override
+    protected void doInitialize() throws LibraryException {
+        // Nothing to do
+    }
+
+    @Override
+    protected void doPostInitialize() throws LibraryException {
+    	//Registers the process and its parameters
+    	RasterBaseAlgorithmLibrary.register(TASSELEDCAP_PROCESS_LABEL, TasseledCapProcess.class);
+    	TasseledCapProcess.registerParameters();
+    	
+        Messages.addResourceFamily(
+            "org.gvsig.raster.tasseledcap.algorithm", 
+            TasseledCapAlgorithmLibrary.class.getClassLoader(), 
+            TasseledCapAlgorithmLibrary.class.getClass().getName());
+        //registerGeoProcess(new RasterReprojectAlgorithmLibrary());
+        
+        Messages.addResourceFamily("org.gvsig.raster.tasseledcap.algorithm.i18n.text",
+        		TasseledCapAlgorithmLibrary.class.getClassLoader(),
+        		TasseledCapAlgorithmLibrary.class.getClass().getName()); 
+    }
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm/TasseledCapAlgorithmLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap/algorithm
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/java
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/images/action
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/images/cursor
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/images
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_en.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_en.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_en.properties	(revision 9586)
@@ -0,0 +1,3 @@
+layers_dont_intersect=Layers do not intersect
+roi_not_inside=The region of interest are not inside the extension of the layers
+preparing_buffers=Preparing buffers
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_gl.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_gl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_ca.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_ca.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_pt.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_pt.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_cs.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_cs.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_fr.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_fr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_de.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_de.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_eu.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_eu.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_it.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_it.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text.properties	(revision 9586)
@@ -0,0 +1,3 @@
+layers_dont_intersect=Las capas no intersectan
+roi_not_inside=La zona de estudio no esta contenida en la extensión de las capas
+preparing_buffers=Preparando buffers

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_zh.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n/text_zh.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm/i18n
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/algorithm
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main/resources-plugin
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src/main
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm/src
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.algorithm
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath
target



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/test/java/org/gvsig/raster/tasseledcap/app
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/test/java/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/test/java/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/test/java/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/test/java/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/test/java
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/test
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/assembly/gvsig-plugin-package.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/assembly/gvsig-plugin-package.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/assembly/gvsig-plugin-package.xml	(revision 9586)
@@ -0,0 +1,46 @@
+<assembly>
+  <id>gvsig-plugin-package</id>
+  <formats>
+    <format>zip</format>
+  </formats>
+  <baseDirectory>${project.artifactId}</baseDirectory>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <files>
+    <file>
+      <source>target/${project.artifactId}-${project.version}.jar</source>
+      <outputDirectory>lib</outputDirectory>
+    </file>
+    <file>
+      <source>target/package.info</source>
+    </file>
+    <!-- <file>
+      <source>${user.home}/.m2/repository/org/gvsig/org.gvsig.raster.tasseledcap.toolbox.algorithm/${project.version}/org.gvsig.raster.tasseledcap.toolbox.algorithm-${project.version}.jar</source>
+      <outputDirectory>install/files</outputDirectory>
+    </file>-->
+  </files>
+
+  <fileSets>
+    <fileSet>
+      <directory>src/main/resources-plugin</directory>
+      <outputDirectory>.</outputDirectory>
+    </fileSet>
+  </fileSets>
+
+
+  <dependencySets>
+    <dependencySet>
+      <useProjectArtifact>false</useProjectArtifact>
+	  <useTransitiveDependencies>false</useTransitiveDependencies>
+      <outputDirectory>lib</outputDirectory>
+      <includes> 
+			<include>org.gvsig:org.gvsig.raster.tasseledcap.app.tasseledcapclient:jar</include>
+			<include>org.gvsig:org.gvsig.raster.tasseledcap.lib.api:jar</include>
+			<include>org.gvsig:org.gvsig.raster.tasseledcap.lib.impl:jar</include>
+			<include>org.gvsig:org.gvsig.raster.tasseledcap.swing.api:jar</include>
+			<include>org.gvsig:org.gvsig.raster.tasseledcap.swing.impl:jar</include>
+			<include>org.gvsig:org.gvsig.raster.tasseledcap.algorithm:jar</include>
+			<include>org.gvsig:org.gvsig.raster.tasseledcap.toolbox.algorithm:jar</include>
+	  </includes>
+	</dependencySet>
+  </dependencySets>
+</assembly>
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/assembly/gvsig-plugin-package.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/assembly
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/MainWindow.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/MainWindow.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/MainWindow.java	(revision 9586)
@@ -0,0 +1,116 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2011-2012 Prodevelop S.L
+ *
+ * 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.raster.tasseledcap.app;
+
+import java.awt.BorderLayout;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import javax.swing.JComponent;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.andami.ui.mdiManager.WindowInfo;
+import org.gvsig.gui.beans.buttonspanel.ButtonsPanel;
+import org.gvsig.gui.beans.defaultbuttonspanel.DefaultButtonsPanel;
+
+
+/**
+ * Basic frame for a gvSIG <code>IWindow</code> object. This frame adds buttons 
+ * of Cancel, Accept and others.
+ * 
+ * @author Nacho Brodin (nachobrodin@gmail.com)
+ */
+public class MainWindow extends DefaultButtonsPanel implements IWindow, ActionListener {
+    
+    private static final long  serialVersionUID = -4401123724140025094L;
+    private ActionListener     listener         = null;
+    private WindowInfo         info             = null;
+
+    private Object profile = WindowInfo.EDITOR_PROFILE;
+
+    public MainWindow(JComponent panel, String title, int w, int h, ActionListener actionListener) {
+    	this.listener = actionListener;
+    	
+    	setLayout(new BorderLayout());
+		add(panel, BorderLayout.CENTER);
+
+		getButtonsPanel().getButton(ButtonsPanel.BUTTON_APPLY).setVisible(false);
+        getButtonsPanel().getButton(ButtonsPanel.BUTTON_ACCEPT).addActionListener(this);
+        getButtonsPanel().getButton(ButtonsPanel.BUTTON_CANCEL).addActionListener(this);
+        
+        info = new WindowInfo(WindowInfo.PALETTE | WindowInfo.RESIZABLE);
+        info.setTitle(title);
+        info.setWidth(w);
+        info.setHeight(h);
+    }
+    
+    public MainWindow(JComponent panel, String title, int w, int h, ActionListener actionListener, boolean closeButton) {
+    	this.listener = actionListener;
+    	
+    	setLayout(new BorderLayout());
+		add(panel, BorderLayout.CENTER);
+
+		getButtonsPanel().getButton(ButtonsPanel.BUTTON_APPLY).setVisible(false);
+		
+		if(closeButton) {
+			getButtonsPanel().getButton(ButtonsPanel.BUTTON_ACCEPT).setVisible(false);
+			getButtonsPanel().getButton(ButtonsPanel.BUTTON_CANCEL).setVisible(false);
+			getButtonsPanel().addClose();
+			getButtonsPanel().getButton(ButtonsPanel.BUTTON_CLOSE).addActionListener(this);
+		} else {
+			getButtonsPanel().getButton(ButtonsPanel.BUTTON_ACCEPT).addActionListener(this);
+			getButtonsPanel().getButton(ButtonsPanel.BUTTON_CANCEL).addActionListener(this);
+		}
+        
+        info = new WindowInfo(WindowInfo.PALETTE | WindowInfo.RESIZABLE);
+        info.setTitle(title);
+        info.setWidth(w);
+        info.setHeight(h);
+    }
+
+    public WindowInfo getWindowInfo() {
+        return info;
+    }
+
+    public Object getWindowProfile() {
+        return profile;
+    }
+
+    public void actionPerformed(ActionEvent e) {
+    	if(e.getSource() == getButtonsPanel().getButton(ButtonsPanel.BUTTON_ACCEPT)) {
+    		listener.actionPerformed(e);
+    		PluginServices.getMDIManager().closeWindow(this);
+    	}
+    	
+    	if(e.getSource() == getButtonsPanel().getButton(ButtonsPanel.BUTTON_APPLY)) {
+    		listener.actionPerformed(e);
+    	}
+    	
+    	if(e.getSource() == getButtonsPanel().getButton(ButtonsPanel.BUTTON_CANCEL)) {
+    		PluginServices.getMDIManager().closeWindow(this);
+    	}
+    	
+    	if(e.getSource() == getButtonsPanel().getButton(ButtonsPanel.BUTTON_CLOSE)) {
+    		PluginServices.getMDIManager().closeWindow(this);
+    	}
+    }
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/MainWindow.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/TasseledCapExtension.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/TasseledCapExtension.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/TasseledCapExtension.java	(revision 9586)
@@ -0,0 +1,186 @@
+package org.gvsig.raster.tasseledcap.app;
+
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import org.gvsig.andami.IconThemeHelper;
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.plugins.Extension;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.app.project.documents.view.gui.IView;
+import org.gvsig.fmap.mapcontext.layers.FLayer;
+import org.gvsig.fmap.mapcontrol.MapControl;
+import org.gvsig.gui.beans.buttonspanel.ButtonsPanel;
+import org.gvsig.gui.beans.defaultbuttonspanel.DefaultButtonsPanel;
+import org.gvsig.i18n.Messages;
+import org.gvsig.raster.algorithm.BasicAPISwingPanel;
+import org.gvsig.raster.algorithm.process.DataProcess;
+import org.gvsig.raster.fmap.layers.*;
+import org.gvsig.raster.swing.RasterSwingLibrary;
+import org.gvsig.raster.tasseledcap.app.toolbox.ToolboxTasseledCapLoader;
+import org.gvsig.raster.tasseledcap.swing.TasseledCapSwingLocator;
+import org.gvsig.tools.ToolsLocator;
+import org.gvsig.tools.extensionpoint.ExtensionPoint;
+import org.gvsig.tools.extensionpoint.ExtensionPointManager;
+
+
+public class TasseledCapExtension extends Extension implements ActionListener {
+    private BasicAPISwingPanel   mainPanel              = null;
+    private MainWindow           windowMainPanel        = null;
+    private FLyrRaster           lyr                    = null;
+
+    public void initialize() {
+
+    	// Adds an entry to the TOC's floating menu to those layers defined in this extension
+
+		//ExtensionPoint exPoint = ToolsLocator.getExtensionPointManager().add("My_TocActions");
+		//exPoint.append("MyMenuEntry", "", new PrincipalComponentsTocMenuEntry());
+
+        // Adds a new tab to the "add layer" dialog
+
+    	//AddLayer.addWizard(PrincipalComponentsWizard.class);
+
+    	// Adds a new button in the raster bar
+    	// TODO: Remove for providers
+		ExtensionPointManager extensionPoints = ToolsLocator.getExtensionPointManager();
+		ExtensionPoint point = extensionPoints.add("GenericToolBarMenu");
+		point.append("TasseledCap", "", TasseledCapTocMenuEntry.getSingleton());
+		TasseledCapTocMenuEntry.setExtension(this);
+
+        Messages.addResourceFamily("org.gvsig.raster.tasseledcap.app.i18n.text",
+        		TasseledCapExtension.class.getClassLoader(),
+        		TasseledCapExtension.class.getClass().getName());
+
+    	initilizeIcons();
+    }
+
+	public void postInitialize() {
+		new ToolboxTasseledCapLoader().registerTool();
+	}
+
+    public void execute(String actionCommand) {
+    	if (actionCommand.compareTo("TasseledCap") == 0) {
+    		lyr = getSelectedLayer();
+    		if(lyr == null) {
+    			RasterSwingLibrary.messageBoxError(Messages.getText("layer_not_found"), null);
+    			return;
+    		}
+
+			String defaultROIEPSG = getFirstMapCtrl().getProjection().getAbrev();
+
+    		mainPanel = TasseledCapSwingLocator.getSwingManager().createTasseledCapMainPanel(
+    				lyr.getDataStore(),
+    				lyr.getName(),
+    				lyr.getDataStore().getBandCount(),
+    				defaultROIEPSG);
+
+    		windowMainPanel = new MainWindow(mainPanel.getComponent(),
+    				Messages.getText("tasseled_cap"),
+    				400, 420,
+    				this);
+
+    		PluginServices.getMDIManager().addCentredWindow(windowMainPanel);
+
+    		mainPanel.initialize();
+    	}
+    }
+
+	/**
+	 * Gets the Mapcontrol for the first view found.
+	 * @return
+	 */
+    private MapControl getFirstMapCtrl() {
+    	IWindow[] windowList = PluginServices.getMDIManager().getOrderedWindows();
+    	for (int i = 0; i < windowList.length; i++) {
+    		if(windowList[i] instanceof IView) {
+    			return ((IView)windowList[i]).getMapControl();
+    		}
+    	}
+    	return null;
+    }
+
+    /**
+     * Gets the selected and valid layer
+     * @return
+	 */
+    private FLyrRaster getSelectedLayer() {
+        MapControl firstMapCtrl = getFirstMapCtrl();
+        if (firstMapCtrl != null) {
+
+            FLayer[] lyrList =
+                getFirstMapCtrl().getMapContext().getLayers().getActives();
+            if (lyrList.length <= 1) {
+
+                for (int i = 0; i < lyrList.length; i++) {
+                    if (lyrList[i] instanceof FLyrRaster) {
+                        return (FLyrRaster) lyrList[i];
+                    }
+                }
+            }
+        }
+        return null;
+    }
+
+    public boolean isEnabled() {
+      FLyrRaster selectedLayer = getSelectedLayer();
+      if (selectedLayer == null) {
+        return false;
+      }
+
+      if (!(selectedLayer instanceof ILayerState))
+        return false;
+
+      if (!((ILayerState) selectedLayer).isOpen())
+        return false;
+
+      if((selectedLayer).getRender().getFilterList().get("colortable") != null)
+        return false;
+
+      if(selectedLayer.getDataStore().getBandCount() < 4)
+        return false;
+
+      return true;
+    }
+
+    public boolean isVisible() {
+      FLyrRaster selectedLayer = getSelectedLayer();
+      if (selectedLayer == null)
+        return false;
+
+      if (!(selectedLayer instanceof IRasterLayerActions))
+        return false;
+
+      return ((IRasterLayerActions) selectedLayer).isActionEnabled(IRasterLayerActions.ENHANCED);
+    }
+
+    void initilizeIcons(){
+		IconThemeHelper.registerIcon(null, "tasseled-cab", this);
+		IconThemeHelper.registerIcon(null, "gvsig-icon", this);
+		IconThemeHelper.registerIcon(null, "gvsig-icon16x16", this);
+    }
+
+	public void actionPerformed(ActionEvent e) {
+		//ACCEPT MAIN PANEL
+		if( e.getSource() == ((DefaultButtonsPanel)windowMainPanel).getButtonsPanel().getButton(ButtonsPanel.BUTTON_APPLY) ||
+			e.getSource() == ((DefaultButtonsPanel)windowMainPanel).getButtonsPanel().getButton(ButtonsPanel.BUTTON_ACCEPT)) {
+			DataProcess task = null;
+			try {
+				task = (DataProcess)mainPanel.getResult();
+			} catch (Exception e1) {
+				RasterSwingLibrary.messageBoxError(Messages.getText("problems_creating_process"), null);
+				return;
+			}
+			task.setActions(new ProcessEndActions(windowMainPanel, lyr));
+			task.init();
+			task.start();
+		}
+	}
+
+	public void interrupted() {
+
+	}
+
+	public void updateProgress(int current, int total) {
+
+	}
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/TasseledCapExtension.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/TasseledCapTocMenuEntry.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/TasseledCapTocMenuEntry.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/TasseledCapTocMenuEntry.java	(revision 9586)
@@ -0,0 +1,86 @@
+package org.gvsig.raster.tasseledcap.app;
+
+import javax.swing.Icon;
+
+import org.gvsig.andami.IconThemeHelper;
+import org.gvsig.andami.plugins.Extension;
+import org.gvsig.app.project.documents.view.toc.AbstractTocContextMenuAction;
+import org.gvsig.app.project.documents.view.toc.ITocItem;
+import org.gvsig.fmap.mapcontext.layers.FLayer;
+import org.gvsig.i18n.Messages;
+import org.gvsig.raster.fmap.layers.FLyrRaster;
+import org.gvsig.raster.fmap.layers.ILayerState;
+import org.gvsig.raster.fmap.layers.IRasterLayerActions;
+import org.gvsig.raster.mainplugin.toolbar.IGenericToolBarMenuItem;
+
+public class TasseledCapTocMenuEntry extends AbstractTocContextMenuAction implements IGenericToolBarMenuItem {
+	static private TasseledCapTocMenuEntry singleton  = null;
+	private static Extension                     extension  = null;
+
+
+	public static void setExtension(Extension ext) {
+		extension = ext;
+	}
+
+	private TasseledCapTocMenuEntry() {}
+
+	static public TasseledCapTocMenuEntry getSingleton() {
+		if (singleton == null)
+			singleton = new TasseledCapTocMenuEntry();
+		return singleton;
+	}
+
+	public String getGroup() {
+		return "Multispectral";
+	}
+
+	public int getGroupOrder() {
+		return 55;
+	}
+
+	public int getOrder() {
+		return 0;
+	}
+
+	public String getText() {
+		return Messages.getText("tasseled_cap");
+	}
+
+	public boolean isEnabled(ITocItem item, FLayer[] selectedItems) {
+		if ((selectedItems == null) || (selectedItems.length != 1))
+			return false;
+
+		if (!(selectedItems[0] instanceof ILayerState))
+			return false;
+
+		if (!((ILayerState) selectedItems[0]).isOpen())
+			return false;
+
+		if(((FLyrRaster) selectedItems[0]).getRender().getFilterList().get("colortable") != null)
+			return false;
+
+		if(((FLyrRaster) selectedItems[0]).getDataStore().getBandCount() < 4)
+			return false;
+
+		return true;
+	}
+
+	public boolean isVisible(ITocItem item, FLayer[] selectedItems) {
+		if ((selectedItems == null) || (selectedItems.length != 1))
+			return false;
+
+		if (!(selectedItems[0] instanceof IRasterLayerActions))
+			return false;
+
+		return ((IRasterLayerActions) selectedItems[0]).isActionEnabled(IRasterLayerActions.ENHANCED);
+	}
+
+	public void execute(ITocItem item, FLayer[] selectedItems) {
+		extension.execute("TasseledCap");
+	}
+
+	public Icon getIcon() {
+		return IconThemeHelper.getImageIcon("tasseled-cab");
+	}
+
+}
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/TasseledCapTocMenuEntry.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/ProcessEndActions.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/ProcessEndActions.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/ProcessEndActions.java	(revision 9586)
@@ -0,0 +1,181 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2011-2012 Prodevelop S.L
+ *
+ * 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.raster.tasseledcap.app;
+
+import java.io.File;
+import java.util.HashMap;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
+import org.gvsig.fmap.dal.DALLocator;
+import org.gvsig.fmap.dal.DataManager;
+import org.gvsig.fmap.dal.DataStore;
+import org.gvsig.fmap.dal.coverage.RasterLocator;
+import org.gvsig.fmap.dal.coverage.store.parameter.RasterDataParameters;
+import org.gvsig.fmap.dal.coverage.util.ProviderServices;
+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.mapcontext.MapContextLocator;
+import org.gvsig.fmap.mapcontext.MapContextManager;
+import org.gvsig.fmap.mapcontext.exceptions.LoadLayerException;
+import org.gvsig.fmap.mapcontext.layers.FLayer;
+import org.gvsig.fmap.mapcontext.layers.FLayers;
+import org.gvsig.raster.algorithm.process.IProcessActions;
+import org.gvsig.raster.algorithm.process.ProcessParamsManagement;
+import org.gvsig.raster.tasseledcap.algorithm.TasseledCapAlgorithmLibrary;
+import org.gvsig.raster.swing.RasterSwingLibrary;
+import org.gvsig.raster.swing.RasterSwingLocator;
+import org.gvsig.raster.util.RasterNotLoadException;
+
+/**
+ * Actions when the process finalizes or is interrupted
+ *
+ * Nacho Brodin (nachobrodin@gmail.com)
+ */
+public class ProcessEndActions implements IProcessActions {
+	private IWindow     window        = null;
+	private FLayer      inputLyr      = null;
+
+	/**
+	 * Constructor
+	 * @param window
+	 * @param lyr
+	 *        The input layer is only used to select the view where the new layer be loaded
+	 */
+	public ProcessEndActions(IWindow window, FLayer lyr) {
+		this.window = window;
+		this.inputLyr = lyr;
+	}
+
+	@SuppressWarnings("unchecked")
+	public void end(Object param) {
+		if(window != null) {
+			PluginServices.getMDIManager().closeWindow(window);
+			window = null;
+		}
+
+		HashMap<String, Object> params = (HashMap<String, Object>)param;
+		String processName = (String)params.get(ProcessParamsManagement.PROCESS_NAME);
+
+		//End the process
+		if (processName.equals(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL)) {
+			String fileName = (String)params.get("FILENAME");
+			long milis = (Long)params.get("TIME");
+			processFinalize(fileName, milis);
+			RasterSwingLocator.getSwingManager().showSummaryProcessDialog(fileName, milis);
+		}
+	}
+
+	/**
+	 * Acciones que se realizan al finalizar de crear los recortes de imagen.
+	 * Este método es llamado por el thread TailRasterProcess al finalizar.
+	 */
+	private void processFinalize(String fileName, long milis) {
+		if (fileName == null || !new File(fileName).exists())
+			return;
+
+		if (RasterSwingLibrary.messageBoxYesOrNot("cargar_toc", null)) {
+			try {
+				loadLayer(fileName, fileName.substring(fileName.lastIndexOf(File.separator) + 1));
+			} catch (RasterNotLoadException e) {
+				RasterSwingLibrary.messageBoxError("error_load_layer", e);
+			}
+		}
+	}
+
+	/**
+	 * Gets the view
+	 * @return
+	 */
+	private AbstractViewPanel getView() {
+		IWindow[] w = PluginServices.getMDIManager().getAllWindows();
+		for (int i = 0; i < w.length; i++) {
+			if(w[i] instanceof AbstractViewPanel) {
+				FLayers lyrs = ((AbstractViewPanel)w[i]).getMapControl().getMapContext().getLayers();
+				for (int j = 0; j < lyrs.getLayersCount(); j++) {
+					FLayer lyr = lyrs.getLayer(j);
+					if(inputLyr == lyr) {
+						return ((AbstractViewPanel) w[i]);
+					}
+				}
+			}
+		}
+		return null;
+	}
+
+	@SuppressWarnings("deprecation")
+	private void loadLayer(String fileName, String layerName) throws RasterNotLoadException {
+		if(fileName ==  null)
+			return;
+
+		//Seleccionamos la vista de gvSIG
+		AbstractViewPanel theView = getView();
+
+		theView.getMapControl().getMapContext().beginAtomicEvent();
+
+		try {
+			DataManager dataManager = DALLocator.getDataManager();
+
+			ProviderServices provServ = RasterLocator.getManager().getProviderServices();
+			RasterDataParameters storeParameters = provServ.createParameters(fileName);
+			storeParameters.setURI(new File(fileName).toURI());
+
+			MapContextManager mcm = MapContextLocator.getMapContextManager();
+
+			DataStore dataStore = null;
+			try {
+				dataStore = dataManager.createStore(storeParameters);
+			} catch (ValidateDataParametersException e) {
+				throw new RasterNotLoadException("Error al cargar la capa.");
+			} catch (InitializeException e) {
+				throw new RasterNotLoadException("Error al cargar la capa.");
+			} catch (ProviderNotRegisteredException e) {
+				throw new RasterNotLoadException("Error al cargar la capa.");
+			}
+
+			if(layerName == null) {
+				int endIndex = fileName.lastIndexOf(".");
+				if (endIndex < 0)
+					endIndex = fileName.length();
+
+				layerName = fileName.substring(fileName.lastIndexOf(File.separator) + 1, endIndex);
+			}
+
+			FLayer lyr = mcm.createLayer(layerName, dataStore);
+			theView.getMapControl().getMapContext().getLayers().addLayer(lyr);
+
+		} catch (LoadLayerException e) {
+			throw new RasterNotLoadException("Error al cargar la capa.");
+		}
+		theView.getMapControl().getMapContext().invalidate();
+		theView.getMapControl().getMapContext().endAtomicEvent();
+	}
+
+	public void interrupted() {
+
+    }
+
+	public void updateProgress(int current, int total) {
+
+	}
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/ProcessEndActions.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/ToolboxTasseledCapLoader.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/ToolboxTasseledCapLoader.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/ToolboxTasseledCapLoader.java	(revision 9586)
@@ -0,0 +1,42 @@
+package org.gvsig.raster.tasseledcap.app.toolbox;
+
+import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationTargetException;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Loader for this tool in the toolbox dialog
+ * 
+ * @author <a href="mailto:nachobrodin@gmail.com">Nacho Brodin</a>
+ */
+public class ToolboxTasseledCapLoader {
+	private Logger log      = LoggerFactory.getLogger(ToolboxTasseledCapLoader.class); 
+	private String errorMsg = "The tool Tasseled Cap are not been added in the toolbox";
+
+	public void registerTool() {
+		try {
+			Class<?> c = Class.forName("org.gvsig.raster.tasseledcap.app.toolbox.TasseledCapToolboxAction");
+			Constructor<?> constructor = c.getConstructor();
+			constructor.newInstance();
+		} catch (ClassNotFoundException e) {
+			log.info(errorMsg, e);
+		} catch (SecurityException e) {
+			log.info(errorMsg, e);
+		} catch (NoSuchMethodException e) {
+			log.info(errorMsg, e);
+		} catch (IllegalArgumentException e) {
+			log.info(errorMsg, e);
+		} catch (InstantiationException e) {
+			log.info(errorMsg, e);
+		} catch (IllegalAccessException e) {
+			log.info(errorMsg, e);
+		} catch (InvocationTargetException e) {
+			log.info(errorMsg, e);
+		} catch (NoClassDefFoundError e) {
+			log.info("Geoprocess are not installed." + errorMsg, e);
+		}
+	}
+
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/ToolboxTasseledCapLoader.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/AbstractToolboxAction.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/AbstractToolboxAction.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/AbstractToolboxAction.java	(revision 9586)
@@ -0,0 +1,122 @@
+/**
+ * gvSIG. Desktop Geographic Information System.
+ *
+ * Copyright (C) 2007-2012 gvSIG Association.
+ *
+ * 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.
+ *
+ * For any additional information, do not hesitate to contact us
+ * at info AT gvsig.com, or visit our website www.gvsig.com.
+ */
+
+package org.gvsig.raster.tasseledcap.app.toolbox;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.andami.ui.mdiManager.IWindow;
+import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
+import org.gvsig.fmap.mapcontext.MapContext;
+import org.gvsig.fmap.mapcontext.layers.FLayers;
+import org.gvsig.geoprocess.lib.sextante.dataObjects.FLyrRasterIRasterLayer;
+import org.gvsig.i18n.Messages;
+import org.gvsig.raster.fmap.layers.FLyrRaster;
+import org.gvsig.raster.swing.RasterSwingLibrary;
+
+import es.unex.sextante.dataObjects.IRasterLayer;
+import es.unex.sextante.gui.core.SextanteGUI;
+import es.unex.sextante.gui.core.ToolboxAction;
+
+/**
+ * Base class for toolBox actions
+ *
+ * @author <a href="mailto:nachobrodin@gmail.com">Nacho Brodin</a>
+ */
+public abstract class AbstractToolboxAction extends ToolboxAction {
+	protected FLyrRaster             lyr = null;
+
+	@Override
+	public String getGroup() {
+		return Messages.getText("group_tools");
+	}
+
+
+	@Override
+	public boolean isActive() {
+		IWindow[] windows = PluginServices.getMDIManager().getAllWindows();
+		for (int i = 0; i < windows.length; i++) {
+			if(windows[i] instanceof AbstractViewPanel) {
+				FLayers lyrs = ((AbstractViewPanel)windows[i]).getMapControl().getMapContext().getLayers();
+				for (int j = 0; j < lyrs.getLayersCount(); j++) {
+					if(lyrs.getLayer(j) instanceof FLyrRaster)
+						return true;
+				}
+			}
+		}
+		return false;
+	}
+
+	/**
+	 * Returns true if the plugin which gives the functionality is installed
+	 * in gvSIG
+	 * @return
+	 */
+	public abstract boolean isPluginInstalled();
+
+	/**
+	 * Loads the raster layer for the tool
+	 * @return
+	 */
+	public boolean loadLayer() {
+		if(!isPluginInstalled()) {
+			RasterSwingLibrary.messageBoxError(Messages.getText("plugin_not_installed"), null);
+			return false;
+		}
+
+		if(!isActive()) {
+			RasterSwingLibrary.messageBoxError(Messages.getText("layer_not_valid"), null);
+			return false;
+		}
+
+		boolean existsRasterButNotActive = false;
+		lyr = null;
+		IWindow[] windows = PluginServices.getMDIManager().getOrderedWindows();
+		MapContext mapCtx = null;
+		for (int i = 0; i < windows.length; i++) {
+			if(windows[i] instanceof AbstractViewPanel) {
+				mapCtx = ((AbstractViewPanel)windows[i]).getMapControl().getMapContext();
+				break;
+			}
+		}
+
+		IRasterLayer[] layers = SextanteGUI.getInputFactory().getRasterLayers();
+		for (int i = 0; i < layers.length; i++) {
+			FLyrRaster l = (FLyrRaster)((FLyrRasterIRasterLayer)layers[i]).getBaseDataObject();
+			existsRasterButNotActive = true;
+			if(l.isActive() && mapCtx == l.getMapContext()) {
+				existsRasterButNotActive = false;
+				lyr = l;
+				break;
+			}
+		}
+
+		if(existsRasterButNotActive) {
+			RasterSwingLibrary.messageBoxError(Messages.getText("raster_layer_not_active"), null);
+			return false;
+		}
+
+		return true;
+	}
+
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/AbstractToolboxAction.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/TasseledCapToolboxAction.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/TasseledCapToolboxAction.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/TasseledCapToolboxAction.java	(revision 9586)
@@ -0,0 +1,79 @@
+/**
+ * gvSIG. Desktop Geographic Information System.
+ *
+ * Copyright (C) 2007-2012 gvSIG Association.
+ *
+ * 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.
+ *
+ * For any additional information, do not hesitate to contact us
+ * at info AT gvsig.com, or visit our website www.gvsig.com.
+ */
+
+
+package org.gvsig.raster.tasseledcap.app.toolbox;
+
+import javax.swing.ImageIcon;
+
+import org.gvsig.andami.IconThemeHelper;
+import org.gvsig.fmap.mapcontext.layers.FLayer;
+import org.gvsig.geoprocess.sextante.gui.core.GUIFactory;
+import org.gvsig.i18n.Messages;
+import org.gvsig.raster.tasseledcap.app.TasseledCapTocMenuEntry;
+
+/**
+ * Input in Sextante framework for Tasseled Cap tool
+ *
+ * @author <a href="mailto:nachobrodin@gmail.com">Nacho Brodin</a>
+ */
+public class TasseledCapToolboxAction extends AbstractToolboxAction {
+
+	public TasseledCapToolboxAction() {
+		ImageIcon ico = IconThemeHelper.getImageIcon("gvsig-icon16x16");
+		GUIFactory.registerExternalTool(Messages.getText("gv_tools"), ico, this);
+	}
+
+	@Override
+	public String getGroup() {
+		return Messages.getText("multispectral");
+	}
+
+	@Override
+	public void execute() {
+		if(!super.loadLayer())
+			return;
+		TasseledCapTocMenuEntry.getSingleton().execute(null, new FLayer[]{lyr});
+	}
+
+	@Override
+	public String getName() {
+		return Messages.getText("tasseled_cap");
+	}
+
+	public ImageIcon getIcon() {
+		return (ImageIcon)TasseledCapTocMenuEntry.getSingleton().getIcon();
+	}
+
+	public boolean isPluginInstalled() {
+		try {
+			TasseledCapTocMenuEntry.getSingleton();
+		} catch(Exception e) {
+			return false;
+		} catch(Error e) {
+			return false;
+		}
+		return true;
+	}
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox/TasseledCapToolboxAction.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app/toolbox
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap/app
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/java
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/config.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/config.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/config.xml	(revision 9586)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<plugin-config>
+	<depends plugin-name="org.gvsig.raster.mainplugin" />
+	
+	<depends plugin-name="org.gvsig.geoprocess.app.mainplugin" optional="true" />
+	<depends plugin-name="org.gvsig.geoprocess.app.algorithm" optional="true" />
+	
+	<resourceBundle name="text"/>
+	<libraries library-dir="lib"/>
+	<extensions>
+		<extension class-name="org.gvsig.raster.tasseledcap.app.TasseledCapExtension"
+			description="" 
+			active="true" 
+			priority="1">
+			
+			<menu text="Layer/multispectral/tasseled_cap"
+				name="TasseledCap"/>
+				
+			<action 
+        		name="TasseledCap"
+        		label="tasseled_cap"
+        		action-command="TasseledCap" 
+        		icon="tasseled-cab"
+        		position="000601610"
+        		accelerator=""
+        	/>        	
+		</extension>	
+	</extensions>
+</plugin-config>

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/config.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/images/tasseled-cab.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/images/tasseled-cab.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/images/action
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/images/cursor
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/images/gvsig-icon16x16.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/images/gvsig-icon16x16.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/images/gvsig-icon.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/images/gvsig-icon.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/images
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_cs.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_cs.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_fr.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_fr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_de.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_de.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_eu.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_eu.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_it.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_it.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text.properties	(revision 9586)
@@ -0,0 +1,4 @@
+tasseledcap=Tasseled Cap
+layer_not_found=No hay seleccionada una capa válida
+problems_creating_process=No se ha podido crear el proceso
+wrong_number_of_bands=Número de bandas incorrecto.\n (4 para MS y 6 para TM y ETM).
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_zh.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_zh.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_en.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_en.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_en.properties	(revision 9586)
@@ -0,0 +1,4 @@
+tasseledcap=Tasseled Cap
+layer_not_found=There is not selected a valid layer
+problems_creating_process=The process has not be created
+wrong_number_of_bands=Wrong number of bands.\n (4 to MS and 6 to TM and ETM).
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_gl.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_gl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_ca.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_ca.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_pt.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n/text_pt.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app/i18n
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap/app
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources-plugin
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main/resources
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src/main
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/src
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/pom.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/pom.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/pom.xml	(revision 9586)
@@ -0,0 +1,170 @@
+<?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.raster.tasseledcap.app.tasseledcapclient</artifactId>
+	<packaging>jar</packaging>
+	<name>Tasseled Cap</name>
+	<description>Tasseled Cap algorithm for LandSat images</description>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.raster.tasseledcap</artifactId>
+		<version>2.2.80</version>
+	</parent>
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.app.common</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.tasseledcap.swing.api</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.tasseledcap.swing.impl</artifactId>
+			<scope>runtime</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.tasseledcap.algorithm</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.tasseledcap.toolbox.algorithm</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.app.mainplugin</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.lib.api</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.lib.impl</artifactId>
+			<scope>runtime</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.fmap</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.control</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.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.symbology.lib.impl</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.fmap.mapcontext.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.mapcontext.impl</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+		<dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.projection.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.projection.cresques.impl</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.compat.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.compat.se</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.impl</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.file.lib</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.spi</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.geometry.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+    <!--
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.geometry.generalpath</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.geometry.operation</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+    -->
+        <dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.geoprocess.lib.sextante</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.geoprocess.app.mainplugin</artifactId>
+			<scope>compile</scope>
+		</dependency>
+	</dependencies>
+	<properties>
+		<gvsig.package.info.state>final</gvsig.package.info.state>
+		<gvsig.package.info.dependencies>required: org.gvsig.raster.tilecache.app -ge 2, required: org.gvsig.raster.mainplugin -ge 2</gvsig.package.info.dependencies>
+		<gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/Raster/pool</gvsig.package.info.poolURL>
+		<gvsig.package.info.categories>OGC,Remote Services,Raster</gvsig.package.info.categories>
+		<gvsig.package.info.official>true</gvsig.package.info.official>
+	</properties>
+</project>

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/buildNumber.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/buildNumber.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/buildNumber.properties	(revision 9586)
@@ -0,0 +1,2 @@
+#Sun Mar 31 05:37:43 CEST 2019
+buildNumber=85

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient/buildNumber.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.app.tasseledcapclient
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath
target



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/test/java/org/gvsig/raster/tasseledcap/swing
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/test/java/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/test/java/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/test/java/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/test/java/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/test/java
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/test
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 9586)
@@ -0,0 +1 @@
+org.gvsig.raster.tasseledcap.swing.TasseledCapSwingLibrary
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/resources/META-INF/services
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/resources/META-INF
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/resources
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingLocator.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingLocator.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingLocator.java	(revision 9586)
@@ -0,0 +1,71 @@
+package org.gvsig.raster.tasseledcap.swing;
+
+import org.gvsig.tools.locator.BaseLocator;
+
+/**
+ * This locator is the entry point for the Raster library, providing
+ * access to all Raster services through the {@link TasseledCapManager}
+ * .
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class TasseledCapSwingLocator extends BaseLocator {
+    /**
+     * Validation swing manager name.
+     */
+    public static final String SWING_MANAGER_NAME =
+        "TasseledCap.swing.manager";
+
+    /**
+     * Validation swing manager description.
+     */
+    public static final String SWING_MANAGER_DESCRIPTION =
+        "TasseledCap UIManager";
+
+    private static final String LOCATOR_NAME = "TasseledCap.swing.locator";
+
+    /**
+     * Unique instance.
+     */
+    private static final TasseledCapSwingLocator INSTANCE =
+        new TasseledCapSwingLocator();
+
+    /**
+     * Return the singleton instance.
+     * 
+     * @return the singleton instance
+     */
+    public static TasseledCapSwingLocator 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 TasseledCapSwingManager> clazz) {
+        getInstance().register(SWING_MANAGER_NAME, SWING_MANAGER_DESCRIPTION, clazz);
+    }
+
+    /**
+     * Gets the instance of the {@link ScriptingUIManager} registered.
+     * 
+     * @return {@link ScriptingUIManager}
+     */
+    public static TasseledCapSwingManager getSwingManager() {
+        return (TasseledCapSwingManager) getInstance().get(SWING_MANAGER_NAME);
+    }
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingLocator.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingLibrary.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingLibrary.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingLibrary.java	(revision 9586)
@@ -0,0 +1,30 @@
+package org.gvsig.raster.tasseledcap.swing;
+
+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 TasseledCapSwingLibrary extends AbstractLibrary {
+	
+    @Override
+    protected void doInitialize() throws LibraryException {
+    }
+
+    @Override
+    protected void doPostInitialize() throws LibraryException {
+        // Validate there is any implementation registered.
+    	TasseledCapSwingManager manager = TasseledCapSwingLocator.getSwingManager();
+        if (manager == null) {
+            throw new ReferenceNotRegisteredException(
+            		TasseledCapSwingLocator.SWING_MANAGER_NAME, 
+            		TasseledCapSwingLocator.getInstance());
+        }
+    }
+
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingManager.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingManager.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingManager.java	(revision 9586)
@@ -0,0 +1,20 @@
+package org.gvsig.raster.tasseledcap.swing;
+
+import org.gvsig.raster.algorithm.BasicAPISwingPanel;
+
+/**
+ * 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 TasseledCapService}s.
+ * 
+ * @see TasseledCapsService
+ * @author gvSIG team
+ * @version $Id$
+ */
+public interface TasseledCapSwingManager {
+	public BasicAPISwingPanel createTasseledCapMainPanel(
+			Object inputStore, 
+			String layerName, 
+			int bandList, 
+			String roisEPSG);
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing/TasseledCapSwingManager.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap/swing
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main/java
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src/main
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/src
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/pom.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/pom.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/pom.xml	(revision 9586)
@@ -0,0 +1,34 @@
+<?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.raster.tasseledcap.swing.api</artifactId>
+	<packaging>jar</packaging>
+	<name>org.gvsig.raster.tasseledcap.swing.api</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.raster.tasseledcap.swing</artifactId>
+		<version>2.2.80</version>
+	</parent>
+	<dependencies>
+		<dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.lib</artifactId>      
+            <scope>compile</scope>
+        </dependency> 
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.mapcontext.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.mapcontext.impl</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.i18n</artifactId>
+            <scope>compile</scope>
+        </dependency>
+	</dependencies>
+</project>

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.api
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath
target


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/pom.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/pom.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/pom.xml	(revision 9586)
@@ -0,0 +1,50 @@
+<?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.raster.tasseledcap.swing</artifactId>
+	<packaging>pom</packaging>
+	<name>org.gvsig.raster.tasseledcap.swing</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.raster.tasseledcap</artifactId>
+		<version>2.2.80</version>
+	</parent>
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.andami</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.raster.algorithm</artifactId>           
+                  <scope>compile</scope>
+              </dependency>
+               <dependency>
+                  <groupId>org.gvsig</groupId>
+                  <artifactId>org.gvsig.raster.swing.api</artifactId>           
+                  <scope>compile</scope>
+              </dependency>
+               <dependency>
+                  <groupId>org.gvsig</groupId>
+                  <artifactId>org.gvsig.raster.swing.impl</artifactId>           
+                  <scope>runtime</scope>
+              </dependency>
+              <dependency>
+			      <groupId>org.gvsig</groupId>
+			      <artifactId>org.gvsig.raster.tasseledcap.algorithm</artifactId>
+			      <scope>compile</scope>
+		      </dependency>
+	</dependencies>
+	<modules>
+		<module>org.gvsig.raster.tasseledcap.swing.api</module>
+		<module>org.gvsig.raster.tasseledcap.swing.impl</module>
+	</modules>
+</project>
+

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/test/java/org/gvsig/raster/tasseledcap/swing/impl
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/test/java/org/gvsig/raster/tasseledcap/swing
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/test/java/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/test/java/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/test/java/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/test/java/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/test/java
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/test
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_it.properties
===================================================================

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text.properties	(revision 9586)
@@ -0,0 +1,14 @@
+components_selection=Selección de componentes
+autovalor=Autovalor
+by_band=Por banda
+var_covar=Matriz varianza-covarianza
+autovector=Autovector
+generate=Generar
+stats=Estadisticas
+use_rois=Usar regiones de interés de la capa
+band=Banda
+max=Máximo
+min=Mínimo
+mean=Media
+variance=Varianza
+standard_deviation=Desviación estándar
\ No newline at end of file

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_zh.properties
===================================================================

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_en.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_en.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_en.properties	(revision 9586)
@@ -0,0 +1,14 @@
+components_selection=Component selection
+autovalor=Eigenvalue
+by_band=By band
+var_covar=Matrix variance-covariance
+autovector=Eigenvector
+generate=Generate
+stats=Statistics
+use_rois=Use regions of interest of the layer
+band=Band
+max=Maximum
+min=Minimum
+mean=Mean
+variance=Variance
+standard_deviation=Standard deviation
\ No newline at end of file

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_gl.properties
===================================================================

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_ca.properties
===================================================================

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_pt.properties
===================================================================

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_cs.properties
===================================================================

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_fr.properties
===================================================================

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_de.properties
===================================================================

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

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_eu.properties
===================================================================

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


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl/i18n
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing/impl
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap/swing
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 9586)
@@ -0,0 +1 @@
+org.gvsig.raster.tasseledcap.swing.impl.TasseledCapDefaultSwingImplLibrary
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/META-INF/services
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources/META-INF
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/TasseledCapDefaultSwingImplLibrary.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/TasseledCapDefaultSwingImplLibrary.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/TasseledCapDefaultSwingImplLibrary.java	(revision 9586)
@@ -0,0 +1,46 @@
+package org.gvsig.raster.tasseledcap.swing.impl;
+
+import java.util.Locale;
+
+import org.gvsig.i18n.Messages;
+import org.gvsig.raster.tasseledcap.swing.TasseledCapSwingLocator;
+import org.gvsig.tools.library.AbstractLibrary;
+import org.gvsig.tools.library.LibraryException;
+
+/**
+ * Library for default implementation initialization and configuration.
+ * 
+ * @author gvSIG team
+ * @version $Id$
+ */
+public class TasseledCapDefaultSwingImplLibrary extends AbstractLibrary {
+	
+	public TasseledCapDefaultSwingImplLibrary() {
+		registerAsImplementationOf(TasseledCapDefaultSwingImplLibrary.class);
+	}
+
+	protected void doInitialize() throws LibraryException {
+        //Register the default GeometryManager
+		TasseledCapSwingLocator.registerSwingManager(DefaultTasseledCapSwingManager.class);
+		
+		if (!Messages.hasLocales()) {
+            Messages.addLocale(Locale.getDefault());
+        }
+        
+        Messages.addResourceFamily("org.gvsig.raster.tasseledcap.swing.impl.i18n.text",
+        		TasseledCapDefaultSwingImplLibrary.class.getClassLoader(),
+        		TasseledCapDefaultSwingImplLibrary.class.getClass().getName()); 
+        
+        registerIcons();
+	}
+
+    @Override
+    protected void doPostInitialize() throws LibraryException {
+    	
+    }
+    
+    private void registerIcons() {
+		//IconThemeHelper.registerIcon(null, "...", this);
+    }
+
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/TasseledCapDefaultSwingImplLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/DefaultTasseledCapSwingManager.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/DefaultTasseledCapSwingManager.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/DefaultTasseledCapSwingManager.java	(revision 9586)
@@ -0,0 +1,32 @@
+package org.gvsig.raster.tasseledcap.swing.impl;
+
+import org.gvsig.raster.algorithm.BasicAPISwingPanel;
+import org.gvsig.raster.tasseledcap.swing.TasseledCapSwingManager;
+import org.gvsig.raster.tasseledcap.swing.impl.main.TasseledCapMainPanelImpl;
+
+/**
+ * Default {@link TasseledCap} implementation.
+ * 
+ * @author gvSIG Team
+ * @version $Id$
+ */
+public class DefaultTasseledCapSwingManager implements TasseledCapSwingManager {
+	private static DefaultTasseledCapSwingManager   internalInstance  = new DefaultTasseledCapSwingManager();
+	//private static final Logger                       logger            = LoggerFactory.getLogger(DefaultPrincipalComponentsSwingManager.class);
+	
+	/**
+	 * Gets an instance of this object for internal use.
+	 * @return DefaultPrincipalComponentsManager
+	 */
+	public static DefaultTasseledCapSwingManager getInstance() {
+		return internalInstance;
+	}
+
+	public BasicAPISwingPanel createTasseledCapMainPanel(
+			Object inputStore, 
+			String layerName, 
+			int bandList, 
+			String roisEPSG) {
+		return new TasseledCapMainPanelImpl(inputStore, layerName, bandList, roisEPSG);
+	}
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/DefaultTasseledCapSwingManager.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/TasseledCapPanelImpl.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/TasseledCapPanelImpl.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/TasseledCapPanelImpl.java	(revision 9586)
@@ -0,0 +1,199 @@
+/* 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.raster.tasseledcap.swing.impl.main;
+
+import java.awt.BorderLayout;
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.io.File;
+import java.util.EventListener;
+import java.util.List;
+
+import javax.swing.BorderFactory;
+import javax.swing.JComponent;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+
+import org.gvsig.fmap.dal.coverage.store.RasterDataStore;
+import org.gvsig.i18n.Messages;
+import org.gvsig.raster.algorithm.BasicAPISwingPanel;
+import org.gvsig.raster.algorithm.RasterBaseAlgorithmLibrary;
+import org.gvsig.raster.algorithm.process.DataProcess;
+import org.gvsig.raster.algorithm.process.ProcessException;
+import org.gvsig.raster.tasseledcap.algorithm.TasseledCapAlgorithmLibrary;
+import org.gvsig.raster.swing.RasterSwingLocator;
+import org.gvsig.raster.swing.RasterSwingManager;
+import org.gvsig.raster.swing.newlayer.CreateNewLayerPanel;
+import org.gvsig.raster.swing.pagedtable.ModelLoader;
+import org.gvsig.raster.swing.pagedtable.PagedTable;
+
+/**
+ * @author Nacho Brodin (nachobrodin@gmail.com)
+ */
+public class TasseledCapPanelImpl extends JPanel implements BasicAPISwingPanel {
+	private static final long               serialVersionUID     = 1L;
+	private String                          layerName            = null;
+	private CreateNewLayerPanel             newLayerPanel        = null;
+	private Object                          inputStore           = null;
+	private PagedTable                      table                = null;
+	private int                             bandList             = 0;
+	
+	public TasseledCapPanelImpl(Object inputStore, String layerName, int bandList) {
+		this.inputStore = inputStore;
+		this.layerName = layerName;
+		this.bandList = bandList;
+		init();
+	}
+	
+	private void init() {
+		setLayout(new GridBagLayout());
+		
+		GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints1.weightx = 1;
+		gridBagConstraints1.insets = new java.awt.Insets(0, 0, 0, 0);
+		gridBagConstraints1.gridx = 0;
+		gridBagConstraints1.gridy = 0;
+		add(getLayerPanel(), gridBagConstraints1);
+		
+		gridBagConstraints1.gridy = 2;
+		add((JComponent)getCreateNewLayerPanel(), gridBagConstraints1);
+		
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
+		gridBagConstraints1.gridy = 1;
+		gridBagConstraints1.weighty = 1;
+		add(getInputsPanel(), gridBagConstraints1);
+	}
+	
+	private JPanel getLayerPanel() {
+		JPanel p = new JPanel();
+		p.setBorder(BorderFactory.createTitledBorder(Messages.getText("layer")));
+		p.setLayout(new GridBagLayout());
+		GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints1.weightx = 1;
+		gridBagConstraints1.insets = new java.awt.Insets(0, 0, 2, 0);
+		
+		gridBagConstraints1.gridx = 0;
+		gridBagConstraints1.gridy = 0;
+		p.add(new JLabel(layerName), gridBagConstraints1);
+		
+		return p;
+	}
+	
+	private JPanel getInputsPanel() {
+		JPanel p = new JPanel();
+		p.setBorder(BorderFactory.createTitledBorder(Messages.getText("bands")));
+		p.setLayout(new BorderLayout());
+		GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
+		gridBagConstraints1.weightx = 1;
+		gridBagConstraints1.weighty = 1;
+		gridBagConstraints1.insets = new java.awt.Insets(2, 2, 2, 2);
+		
+		gridBagConstraints1.gridx = 0;
+		gridBagConstraints1.gridy = 0;
+		p.add(getPagedTable().getComponent(), BorderLayout.CENTER);
+		
+		return p;
+	}
+	
+	public JComponent getComponent() {
+		return this;
+	}
+	
+	public PagedTable getPagedTable() {
+		if(table == null) {
+			RasterSwingManager manager = RasterSwingLocator.getSwingManager();
+			String[] columnNames = {
+					"", 
+					Messages.getText("bands")};
+			int[] columnSizes = {30, -1};
+
+			BandTableModel model = new BandTableModel(columnNames);
+			ModelLoader loader = manager.createModelLoader(model);
+			CheckBoxColumnRenderer render = new CheckBoxColumnRenderer(null);
+			CheckBoxColumnEditor editor = new CheckBoxColumnEditor();
+			loader.setRenderForColumn(0, render);
+			loader.setCellEditorForColumn(0, editor);
+			loader.setColumnNames(columnNames);
+			loader.setColumnWidths(columnSizes);
+			
+			table = manager.createPagedTable(loader);
+			table.showControllerTable(false);
+			table.showMoveRowsControls(false);
+		}
+		return table;
+	}
+
+	public DataProcess getResult() throws ProcessException {
+		DataProcess task = RasterBaseAlgorithmLibrary.getManager().createRasterTask(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+		List<String> params = task.getRasterTaskInputParameters(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+		for (int i = 0; i < params.size(); i++) {
+			String paramName = params.get(i);
+			Class<?> paramType = task.getParameterTypeByProcess(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL, paramName);
+			if(paramType == RasterDataStore[].class) {
+				task.addParam(paramName, new RasterDataStore[]{(RasterDataStore)inputStore});
+			}
+			if(paramType == String.class) {
+				String filename = newLayerPanel.getDirectorySelected() + File.separator + newLayerPanel.getFileSelected();
+				if(!filename.endsWith(".tif"))
+					filename += ".tif";
+				task.addParam(paramName, filename);
+			}
+			if(paramType == Boolean[].class) {
+				boolean[] bands = new boolean[getPagedTable().getRowCount()];
+				for (int j = 0; j < getPagedTable().getRowCount(); j++) {
+					Object obj = getPagedTable().getValueAt(j, 0);
+					if(obj instanceof Boolean)
+						bands[j] = ((Boolean)obj).booleanValue();
+				}
+				task.addParam(paramName, bands);
+			}
+			
+		}
+		return task;
+	}
+	
+	public CreateNewLayerPanel getCreateNewLayerPanel() {
+		if(newLayerPanel == null) {
+			newLayerPanel = RasterSwingLocator.getSwingManager().createNewLayerPanel();
+		}
+		return newLayerPanel;
+	}
+
+	public void initialize() {
+		for (int i = 0; i < bandList; i++) {
+			getPagedTable().addRow(new Object[]{true, "B" + i});			
+		}			
+	}
+
+	public int getComponentIDByObject(Object obj) {
+		return -1;
+	}
+
+	public void addListener(EventListener listener) {
+		// TODO Auto-generated method stub
+		
+	}
+
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/TasseledCapPanelImpl.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/CheckBoxColumnEditor.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/CheckBoxColumnEditor.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/CheckBoxColumnEditor.java	(revision 9586)
@@ -0,0 +1,69 @@
+/**
+ * gvSIG. Desktop Geographic Information System.
+ *
+ * Copyright (C) 2007-2013 gvSIG Association.
+ *
+ * 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.
+ *
+ * For any additional information, do not hesitate to contact us
+ * at info AT gvsig.com, or visit our website www.gvsig.com.
+ */
+package org.gvsig.raster.tasseledcap.swing.impl.main;
+
+import java.awt.Component;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import javax.swing.AbstractCellEditor;
+import javax.swing.JCheckBox;
+import javax.swing.JTable;
+import javax.swing.SwingUtilities;
+import javax.swing.table.TableCellEditor;
+
+/**
+ * @author Nacho Brodin (nachobrodin@gmail.com)
+ */
+public class CheckBoxColumnEditor extends AbstractCellEditor
+implements TableCellEditor {
+    final private static long serialVersionUID = -3370601314380922368L;
+    public JCheckBox theCheckBox;
+
+    public CheckBoxColumnEditor() {
+        super();
+        theCheckBox = new JCheckBox();
+        theCheckBox.addActionListener(new ActionListener() {
+                public void actionPerformed(ActionEvent event) {
+                    fireEditingStopped() ;
+                    
+                }
+            });
+    }
+
+    public Component getTableCellEditorComponent(JTable table, Object obj,
+                                                 boolean isSelected,
+                                                 int row, int col) {
+    	theCheckBox.setHorizontalAlignment(SwingUtilities.CENTER);
+
+        Boolean lValueAsBoolean = (Boolean) obj;
+        theCheckBox.setSelected(lValueAsBoolean.booleanValue());
+
+        return theCheckBox;
+    }
+
+    public Object getCellEditorValue() {
+        return new Boolean(theCheckBox.isSelected());
+    }
+}
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/CheckBoxColumnEditor.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/CheckBoxColumnRenderer.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/CheckBoxColumnRenderer.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/CheckBoxColumnRenderer.java	(revision 9586)
@@ -0,0 +1,68 @@
+/**
+ * gvSIG. Desktop Geographic Information System.
+ *
+ * Copyright (C) 2007-2013 gvSIG Association.
+ *
+ * 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.
+ *
+ * For any additional information, do not hesitate to contact us
+ * at info AT gvsig.com, or visit our website www.gvsig.com.
+ */
+package org.gvsig.raster.tasseledcap.swing.impl.main;
+
+import java.awt.Component;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import javax.swing.JCheckBox;
+import javax.swing.JTable;
+import javax.swing.SwingConstants;
+import javax.swing.table.TableCellRenderer;
+
+/**
+ * @author Nacho Brodin (nachobrodin@gmail.com)
+ */
+public class CheckBoxColumnRenderer extends JCheckBox implements TableCellRenderer {
+    final private static long            serialVersionUID = -3370601314380922368L;
+    private ActionListener               listener = null;
+
+    public CheckBoxColumnRenderer() {}
+    
+    public CheckBoxColumnRenderer(ActionListener listener) {
+    	this.listener = listener;
+    }
+    
+    public Component getTableCellRendererComponent(JTable table,
+                                                   Object value,
+                                                   boolean isSelected,
+                                                   boolean hasFocus,
+                                                   int row, int column) {
+        if (value == null) {
+            this.setSelected(false);
+        }
+        if(isSelected)
+        	if(listener != null) 
+        		listener.actionPerformed(new ActionEvent(this, row, "SELECT_ROW"));
+        	
+        if(value instanceof Boolean){
+	        Boolean ValueAsBoolean = (Boolean) value;
+	        this.setSelected(ValueAsBoolean.booleanValue());
+	        this.setHorizontalAlignment(SwingConstants.CENTER);
+        }
+        	
+        return this;
+    }
+}
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/CheckBoxColumnRenderer.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/BandTableModel.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/BandTableModel.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/BandTableModel.java	(revision 9586)
@@ -0,0 +1,71 @@
+/**
+ * gvSIG. Desktop Geographic Information System.
+ *
+ * Copyright (C) 2007-2013 gvSIG Association.
+ *
+ * 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.
+ *
+ * For any additional information, do not hesitate to contact us
+ * at info AT gvsig.com, or visit our website www.gvsig.com.
+ */
+package org.gvsig.raster.tasseledcap.swing.impl.main;
+
+import javax.swing.table.DefaultTableModel;
+
+import org.gvsig.raster.swing.pagedtable.TableModel;
+/**
+ * Model for the band table
+ * 
+ * @author Nacho Brodin (nachobrodin@gmail.com)
+ */
+public class BandTableModel extends DefaultTableModel implements TableModel {
+	final private static long serialVersionUID = -3370601314380922368L;
+	private int               nColumns         = 0;
+
+	public BandTableModel(String[] columnNames) {
+		super(new Object[0][columnNames.length], columnNames);
+		this.nColumns = columnNames.length;
+	}
+
+	public Class<?> getColumnClass(int c) {
+		return String.class;
+	}
+
+	public void setValueAt(Object value, int row, int col) {
+		super.setValueAt(value, row, col);
+	}
+
+	public void addNew() {
+		Object[] line = new Object[nColumns];
+		line[0] = new Boolean(true);
+		for (int i = 0; i < nColumns; i++)
+			line[i] = new String("");
+		super.addRow(line);
+	}
+
+	public Object[] getNewLine() {
+		Object[] o = new Object[nColumns];
+		o[0] = new Boolean(true);
+		for (int i = 1; i < nColumns; i++)
+			o[i] = "";
+		return o;
+	}
+
+	public void addNewLine() {
+		// TODO Auto-generated method stub
+		
+	}
+}
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/BandTableModel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/ComponentsTableModel.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/ComponentsTableModel.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/ComponentsTableModel.java	(revision 9586)
@@ -0,0 +1,71 @@
+/**
+ * gvSIG. Desktop Geographic Information System.
+ *
+ * Copyright (C) 2007-2013 gvSIG Association.
+ *
+ * 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.
+ *
+ * For any additional information, do not hesitate to contact us
+ * at info AT gvsig.com, or visit our website www.gvsig.com.
+ */
+package org.gvsig.raster.tasseledcap.swing.impl.main;
+
+import javax.swing.table.DefaultTableModel;
+
+import org.gvsig.raster.swing.pagedtable.TableModel;
+/**
+ * Model for the list of components
+ * 
+ * @author Nacho Brodin (nachobrodin@gmail.com)
+ */
+public class ComponentsTableModel extends DefaultTableModel implements TableModel {
+	final private static long serialVersionUID = -3370601314380922368L;
+	private int               nColumns         = 0;
+
+	public ComponentsTableModel(String[] columnNames) {
+		super(new Object[0][columnNames.length], columnNames);
+		this.nColumns = columnNames.length;
+	}
+
+	public Class<?> getColumnClass(int c) {
+		return String.class;
+	}
+
+	public void setValueAt(Object value, int row, int col) {
+		super.setValueAt(value, row, col);
+	}
+
+	public void addNew() {
+		Object[] line = new Object[nColumns];
+		line[0] = new Boolean(true);
+		for (int i = 0; i < nColumns; i++)
+			line[i] = new String("");
+		super.addRow(line);
+	}
+
+	public Object[] getNewLine() {
+		Object[] o = new Object[nColumns];
+		o[0] = new Boolean(true);
+		for (int i = 1; i < nColumns; i++)
+			o[i] = "";
+		return o;
+	}
+
+	public void addNewLine() {
+		// TODO Auto-generated method stub
+		
+	}
+}
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/ComponentsTableModel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/TasseledCapMainPanelImpl.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/TasseledCapMainPanelImpl.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/TasseledCapMainPanelImpl.java	(revision 9586)
@@ -0,0 +1,290 @@
+/* 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.raster.tasseledcap.swing.impl.main;
+
+import java.awt.BorderLayout;
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.io.File;
+import java.util.EventListener;
+import java.util.List;
+
+import javax.swing.BorderFactory;
+import javax.swing.ButtonGroup;
+import javax.swing.JCheckBox;
+import javax.swing.JComponent;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+import javax.swing.JRadioButton;
+
+import org.gvsig.fmap.dal.coverage.store.RasterDataStore;
+import org.gvsig.i18n.Messages;
+import org.gvsig.raster.algorithm.BasicAPISwingPanel;
+import org.gvsig.raster.algorithm.RasterBaseAlgorithmLibrary;
+import org.gvsig.raster.algorithm.process.DataProcess;
+import org.gvsig.raster.algorithm.process.ProcessException;
+import org.gvsig.raster.swing.RasterSwingLocator;
+import org.gvsig.raster.swing.RasterSwingManager;
+import org.gvsig.raster.swing.newlayer.CreateNewLayerPanel;
+import org.gvsig.raster.swing.pagedtable.ModelLoader;
+import org.gvsig.raster.swing.pagedtable.PagedTable;
+import org.gvsig.raster.tasseledcap.algorithm.TasseledCapAlgorithmLibrary;
+
+/**
+ * @author Nacho Brodin (nachobrodin@gmail.com)
+ */
+public class TasseledCapMainPanelImpl extends JPanel implements BasicAPISwingPanel {
+	private static final long               serialVersionUID     = 1L;
+	private String                          layerName            = null;
+	private CreateNewLayerPanel             newLayerPanel        = null;
+	private Object                          inputStore           = null;
+	private PagedTable                      table                = null;
+	private JCheckBox                       roisCheck            = null;
+	private int                             bandList             = 0;
+	private String                          roisEPSG             = null;
+	private JRadioButton                    landsatMS            = null;
+	private JRadioButton                    landsatTM            = null;
+	private JRadioButton                    landsatETM           = null;
+	
+	public TasseledCapMainPanelImpl(Object inputStore, String layerName, int bandList, String roisEPSG) {
+		this.inputStore = inputStore;
+		this.layerName = layerName;
+		this.bandList = bandList;
+		this.roisEPSG = roisEPSG;
+		init();
+	}
+	
+	private void init() {
+		setLayout(new GridBagLayout());
+		
+		GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints1.weightx = 1;
+		gridBagConstraints1.insets = new java.awt.Insets(0, 0, 0, 0);
+		gridBagConstraints1.gridx = 0;
+		gridBagConstraints1.gridy = 0;
+		add(getLayerPanel(), gridBagConstraints1);
+		
+		gridBagConstraints1.gridy = 2;
+		add((JComponent)getOptionsPanel(), gridBagConstraints1);
+		
+		gridBagConstraints1.gridy = 3;
+		add((JComponent)getCreateNewLayerPanel(), gridBagConstraints1);
+		
+		if(roisEPSG != null) {
+			gridBagConstraints1.gridy = 4;
+			add(getROIsCheck(), gridBagConstraints1);
+		}
+		
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
+		gridBagConstraints1.gridy = 1;
+		gridBagConstraints1.weighty = 1;
+		add(getInputsPanel(), gridBagConstraints1);
+	}
+	
+	private JPanel getLayerPanel() {
+		JPanel p = new JPanel();
+		p.setBorder(BorderFactory.createTitledBorder(Messages.getText("layer")));
+		p.setLayout(new GridBagLayout());
+		GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints1.weightx = 1;
+		gridBagConstraints1.insets = new java.awt.Insets(0, 0, 2, 0);
+		
+		gridBagConstraints1.gridx = 0;
+		gridBagConstraints1.gridy = 0;
+		p.add(new JLabel(layerName), gridBagConstraints1);
+		
+		return p;
+	}
+	
+	private JPanel getInputsPanel() {
+		JPanel p = new JPanel();
+		p.setBorder(BorderFactory.createTitledBorder(Messages.getText("bands")));
+		p.setLayout(new BorderLayout());
+		GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
+		gridBagConstraints1.weightx = 1;
+		gridBagConstraints1.weighty = 1;
+		gridBagConstraints1.insets = new java.awt.Insets(2, 2, 2, 2);
+		
+		gridBagConstraints1.gridx = 0;
+		gridBagConstraints1.gridy = 0;
+		p.add(getPagedTable().getComponent(), BorderLayout.CENTER);
+		
+		return p;
+	}
+	
+	public JComponent getComponent() {
+		return this;
+	}
+	
+	public PagedTable getPagedTable() {
+		if(table == null) {
+			RasterSwingManager manager = RasterSwingLocator.getSwingManager();
+			String[] columnNames = {
+					"", 
+					Messages.getText("bands")};
+			int[] columnSizes = {30, -1};
+
+			BandTableModel model = new BandTableModel(columnNames);
+			ModelLoader loader = manager.createModelLoader(model);
+			CheckBoxColumnRenderer render = new CheckBoxColumnRenderer(null);
+			CheckBoxColumnEditor editor = new CheckBoxColumnEditor();
+			loader.setRenderForColumn(0, render);
+			loader.setCellEditorForColumn(0, editor);
+			loader.setColumnNames(columnNames);
+			loader.setColumnWidths(columnSizes);
+			
+			table = manager.createPagedTable(loader);
+			table.showControllerTable(false);
+			table.showMoveRowsControls(false);
+		}
+		return table;
+	}
+	
+	private JPanel getOptionsPanel() {
+		JPanel p = new JPanel();
+		
+		ButtonGroup g = new ButtonGroup();
+		g.add(getLandsatETMRadioButton());
+		g.add(getLandsatTMRadioButton());
+		g.add(getLandsatMSRadioButton());
+		
+		p.setBorder(BorderFactory.createTitledBorder(Messages.getText("options")));
+		p.setLayout(new GridBagLayout());
+		GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
+		gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints1.weightx = 1;
+		gridBagConstraints1.insets = new java.awt.Insets(0, 0, 2, 0);
+		
+		gridBagConstraints1.gridx = 0;
+		gridBagConstraints1.gridy = 0;
+		p.add(getLandsatMSRadioButton(), gridBagConstraints1);
+		
+		gridBagConstraints1.gridy = 1;
+		p.add(getLandsatTMRadioButton(), gridBagConstraints1);
+		
+		gridBagConstraints1.gridy = 2;
+		p.add(getLandsatETMRadioButton(), gridBagConstraints1);
+		
+		return p;
+	}
+	
+	private JRadioButton getLandsatMSRadioButton() {
+		if(landsatMS == null) {
+			landsatMS = new JRadioButton("Landsat MS");
+			landsatMS.setSelected(true);
+		}
+		return landsatMS;
+	}
+	
+	private JRadioButton getLandsatTMRadioButton() {
+		if(landsatTM == null) {
+			landsatTM = new JRadioButton("Landsat TM");
+		}
+		return landsatTM;
+	}
+	
+	private JRadioButton getLandsatETMRadioButton() {
+		if(landsatETM == null) {
+			landsatETM = new JRadioButton("Landsat ETM");
+		}
+		return landsatETM;
+	}
+
+	public DataProcess getResult() throws ProcessException {
+		DataProcess task = RasterBaseAlgorithmLibrary.getManager().createRasterTask(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+		List<String> params = task.getRasterTaskInputParameters(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+		for (int i = 0; i < params.size(); i++) {
+			String paramName = params.get(i);
+			Class<?> paramType = task.getParameterTypeByProcess(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL, paramName);
+			if(paramType == RasterDataStore.class) {
+				task.addParam(paramName, (RasterDataStore)inputStore);
+			}
+			if(paramName.equals("PATH")) {
+				String filename = newLayerPanel.getDirectorySelected() + File.separator + newLayerPanel.getFileSelected();
+				if(!filename.endsWith(".tif"))
+					filename += ".tif";
+				task.addParam(paramName, filename);
+			}
+			if(paramType == Boolean[].class) {
+				boolean[] bands = new boolean[getPagedTable().getRowCount()];
+				for (int j = 0; j < getPagedTable().getRowCount(); j++) {
+					Object obj = getPagedTable().getValueAt(j, 0);
+					if(obj instanceof Boolean)
+						bands[j] = ((Boolean)obj).booleanValue();
+				}
+				task.addParam(paramName, bands);
+			}
+			
+			if(getROIsCheck().isSelected()) {
+				if(paramName.equals("ROI_EPSG")) {
+					task.addParam(paramName, roisEPSG);
+				}
+			}
+			
+			if(paramType == Integer.class) {
+				int type = getSelectedLandsatType();
+				task.addParam(paramName, type);
+			}
+		}
+		return task;
+	}
+	
+	private int getSelectedLandsatType() {
+		if(getLandsatMSRadioButton().isSelected())
+			return 0;
+		if(getLandsatTMRadioButton().isSelected())
+			return 1;
+		if(getLandsatETMRadioButton().isSelected())
+			return 2;
+		return -1;
+	}
+	
+	public JCheckBox getROIsCheck() {
+		if(roisCheck == null) {
+			roisCheck = new JCheckBox(Messages.getText("use_rois"));
+		}
+		return roisCheck;
+	}
+
+	public CreateNewLayerPanel getCreateNewLayerPanel() {
+		if(newLayerPanel == null) {
+			newLayerPanel = RasterSwingLocator.getSwingManager().createNewLayerPanel();
+		}
+		return newLayerPanel;
+	}
+
+	public void initialize() {
+		for (int i = 0; i < bandList; i++) {
+			getPagedTable().addRow(new Object[]{true, "B" + i});			
+		}			
+	}
+	
+	public int getComponentIDByObject(Object obj) {
+		return -1;
+	}
+
+	public void addListener(EventListener listener) {
+	}
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main/TasseledCapMainPanelImpl.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl/main
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing/impl
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap/swing
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/java
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_en.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_en.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_en.properties	(revision 9586)
@@ -0,0 +1,11 @@
+components_selection=Component selection
+autovalor=Eigenvalue
+by_band=By band
+var_covar=Matrix variance-covariance
+autovector=Eigenvector
+generate=Generate
+stats=Statistics
+gv_tools=gvSIG Tools
+group_tools=Tools for raster layers
+raster_layer_not_active=This tool needs a raster layer selected in the view
+multispectral=Multispectral raster
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_gl.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_gl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_ca.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_ca.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_pt.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_pt.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_cs.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_cs.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_fr.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_fr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_de.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_de.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_eu.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_eu.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_it.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_it.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text.properties	(revision 9586)
@@ -0,0 +1,11 @@
+components_selection=Selección de componentes
+autovalor=Autovalor
+by_band=Por banda
+var_covar=Matriz varianza-covarianza
+autovector=Autovector
+generate=Generar
+stats=Estadisticas
+gv_tools=gvSIG Herramientas
+group_tools=Capas raster
+raster_layer_not_active=Esta herramienta necesita una capa raster seleccionada en la vista
+multispectral=Raster multiespectral
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_zh.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n/text_zh.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl/i18n
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing/impl
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap/swing
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main/resources-plugin
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src/main
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/src
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/pom.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/pom.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/pom.xml	(revision 9586)
@@ -0,0 +1,50 @@
+<?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.raster.tasseledcap.swing.impl</artifactId>
+	<packaging>jar</packaging>
+	<name>org.gvsig.raster.tasseledcap.swing.impl</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.raster.tasseledcap.swing</artifactId>
+		<version>2.2.80</version>
+	</parent>
+	<dependencies>
+		<dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.raster.tasseledcap.swing.api</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.i18n</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal.impl</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.raster.tasseledcap.algorithm</artifactId>
+            <scope>compile</scope>
+        </dependency>
+	</dependencies>
+</project>
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing/org.gvsig.raster.tasseledcap.swing.impl
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath
target



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.swing
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/.project
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/.project	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/.project	(revision 9586)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.gvsig.raster.tasseledcap</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+	</natures>
+</projectDescription>

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/.project
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster/tasseledcap/TasseledCapSextanteLibrary.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster/tasseledcap/TasseledCapSextanteLibrary.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster/tasseledcap/TasseledCapSextanteLibrary.java	(revision 9586)
@@ -0,0 +1,25 @@
+package org.gvsig.raster.tasseledcap;
+
+import org.gvsig.geoprocess.algorithm.base.core.AlgorithmAbstractLibrary;
+import org.gvsig.i18n.Messages;
+import org.gvsig.tools.library.LibraryException;
+
+/**
+ * Initialization of <code>PrincipalComponentsSextanteLibrary</code> library.
+ */
+public class TasseledCapSextanteLibrary extends AlgorithmAbstractLibrary {
+
+    @Override
+    protected void doInitialize() throws LibraryException {
+        // Nothing to do
+    }
+
+    @Override
+    protected void doPostInitialize() throws LibraryException {
+        Messages.addResourceFamily(
+            "org.gvsig.raster.tasseledcap.sextante.i18n.text", TasseledCapSextanteLibrary.class
+                .getClassLoader(), TasseledCapSextanteLibrary.class.getClass().getName());
+        registerGeoProcess(new TasseledCapSextanteAlgorithm());
+    }
+
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster/tasseledcap/TasseledCapSextanteLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster/tasseledcap/TasseledCapSextanteAlgorithm.java
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster/tasseledcap/TasseledCapSextanteAlgorithm.java	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster/tasseledcap/TasseledCapSextanteAlgorithm.java	(revision 9586)
@@ -0,0 +1,172 @@
+package org.gvsig.raster.tasseledcap;
+
+import java.util.List;
+
+import org.gvsig.fmap.dal.coverage.RasterLocator;
+import org.gvsig.fmap.dal.coverage.datastruct.Extent;
+import org.gvsig.fmap.dal.coverage.exception.ProcessInterruptedException;
+import org.gvsig.fmap.dal.coverage.store.RasterDataStore;
+import org.gvsig.geoprocess.lib.sextante.AbstractSextanteGeoProcess;
+import org.gvsig.geoprocess.lib.sextante.dataObjects.FLyrRasterIRasterLayer;
+import org.gvsig.raster.algorithm.RasterBaseAlgorithmLibrary;
+import org.gvsig.raster.algorithm.process.DataProcess;
+import org.gvsig.raster.algorithm.process.IProcessActions;
+import org.gvsig.raster.algorithm.process.ProcessException;
+import org.gvsig.raster.fmap.layers.FLyrRaster;
+import org.gvsig.raster.tasseledcap.algorithm.TasseledCapAlgorithmLibrary;
+import org.gvsig.raster.tasseledcap.algorithm.TasseledCapProcess;
+
+import es.unex.sextante.core.AnalysisExtent;
+import es.unex.sextante.core.Sextante;
+import es.unex.sextante.dataObjects.IRasterLayer;
+import es.unex.sextante.exceptions.GeoAlgorithmExecutionException;
+import es.unex.sextante.exceptions.RepeatedParameterNameException;
+
+/**
+ * ...
+ */
+public class TasseledCapSextanteAlgorithm extends AbstractSextanteGeoProcess implements IProcessActions {
+    public static final String RESULT            = "RESULT";
+    public static final String LAYER             = TasseledCapProcess.RASTER_STORE;
+    public static final String USE_ROI           = "USE_ROI";
+    public static final String TYPE              = "TYPE";
+
+    public static String[]     LANDSAT_TYPES     = new String[]{"Landsat MS" , "Landsat TM",  "Landsat ETM"};
+
+
+    private boolean            useROI            = false;
+    private DataProcess        taskStats         = null;
+    private DataProcess        taskPC            = null;
+    private int                type              = 0;
+
+
+    public void defineCharacteristics() {
+        setName(getTranslation("tasseled_cap"));
+        setGroup(getTranslation("multispectral"));
+
+        try {
+            m_Parameters.addInputRasterLayer(LAYER, getTranslation("Input_layer"), true);
+            m_Parameters.addBoolean(USE_ROI, getTranslation("use_roi"), false);
+            m_Parameters.addSelection(TYPE, getTranslation("type"), LANDSAT_TYPES);
+        } catch (RepeatedParameterNameException e) {
+            Sextante.addErrorToLog(e);
+        }
+        addOutputRasterLayer(RESULT, getTranslation("tasseled_cap"));
+    }
+
+    public boolean processAlgorithm() throws GeoAlgorithmExecutionException {
+
+    	if(existsOutPutFile(TasseledCapSextanteAlgorithm.RESULT, 0)) {
+    		throw new GeoAlgorithmExecutionException(getTranslation("file_exists"));
+    	}
+
+    	IRasterLayer input = m_Parameters.getParameterValueAsRasterLayer(LAYER);
+		useROI = m_Parameters.getParameterValueAsBoolean(USE_ROI);
+		String value = m_Parameters.getParameterValueAsString(TYPE);
+		type = 0;
+		for (int j = 0; j < LANDSAT_TYPES.length; j++) {
+			if(LANDSAT_TYPES[j].equals(value))
+				type = j;
+		}
+
+    	FLyrRaster lyrRaster = ((FLyrRaster)input.getBaseDataObject());
+    	IRasterLayer output = null;
+
+    	output = getNewRORasterLayer(
+    			RESULT,
+    			Sextante.getText("tasseledcap_description"),
+    			input.getDataType(),
+    			input.getBandsCount());
+
+    	String fileName = ((FLyrRasterIRasterLayer)output).getName();
+
+    	try {
+			setProgressText(getTranslation("calculating"));
+			taskPC = createTasseledCapProcess(lyrRaster.getDataStore(), fileName, type);
+			taskPC.execute();
+			((FLyrRasterIRasterLayer)output).setBaseDataObject(fileName);
+		} catch (ProcessInterruptedException e) {
+			Sextante.addErrorToLog(e);
+		} catch (ProcessException e) {
+			Sextante.addErrorToLog(e);
+		}
+
+		if(getTaskMonitor().isCanceled())
+			return false;
+
+        return true;
+    }
+
+    private DataProcess createTasseledCapProcess(RasterDataStore inputStore, String fileName, int type) throws ProcessException {
+    	DataProcess taskPC = RasterBaseAlgorithmLibrary.getManager().createRasterTask(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+    	taskPC.setActions(this);
+    	List<String> params = taskPC.getRasterTaskInputParameters(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL);
+    	for (int i = 0; i < params.size(); i++) {
+    		String paramName = params.get(i);
+    		Class<?> paramType = taskPC.getParameterTypeByProcess(TasseledCapAlgorithmLibrary.TASSELEDCAP_PROCESS_LABEL, paramName);
+    		if(paramType == RasterDataStore.class) {
+    			taskPC.addParam(paramName, (RasterDataStore)inputStore);
+    		}
+
+			if(paramType == Boolean[].class) {
+    			boolean[] bands = new boolean[type == 0 ? 4 : 6];
+    			for (int j = 0; j < bands.length; j++) {
+					bands[j] = true;
+				}
+    			taskPC.addParam(paramName, bands);
+			}
+
+			if(paramType == Integer.class) {
+				taskPC.addParam(paramName, type);
+			}
+
+			if(paramName.equals("PATH")) {
+				taskPC.addParam(paramName, fileName);
+			}
+
+			if(paramName.equals("ROI_EPSG") && useROI) {
+				taskPC.addParam(paramName, "EPSG:4326");
+    		}
+
+			if(paramName.equals("WINDOW")) {
+    			AnalysisExtent ext = getAnalysisExtent();
+    			Extent bbox = RasterLocator.getManager().getDataStructFactory().createExtent(
+    					ext.getXMin(), ext.getYMax(), ext.getXMax(), ext.getYMin());
+    			Extent inputBbox = inputStore.getExtent();
+    			if(bbox.getULX() != inputBbox.getULX() ||
+    				bbox.getULY() != inputBbox.getULY() ||
+    				bbox.getLRX() != inputBbox.getLRX() ||
+    				bbox.getLRY() != inputBbox.getLRY()) {
+    				taskPC.addParam(paramName, bbox);
+    			}
+    		}
+    	}
+    	return taskPC;
+    }
+
+	public void interrupted() {
+
+	}
+
+	public void end(Object param) {
+
+	}
+
+	public void updateProgress(int current, int total) {
+		boolean cancelled = setProgress(current, total);
+
+		if(!cancelled) {
+			if(taskStats != null)
+				taskStats.actionCanceled(null);
+			if(taskPC != null)
+				taskPC.actionCanceled(null);
+		}
+	}
+
+    /*
+     * TODO: Customized panels
+    @Override
+    public Class<? extends GeoAlgorithmParametersPanel> getCustomParametersPanelClass() {
+        return PrincipalComponentsParametersPanel.class;
+    }*/
+}

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster/tasseledcap/TasseledCapSextanteAlgorithm.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/java
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_it.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_it.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text.properties	(revision 9586)
@@ -0,0 +1,3 @@
+multispectral=Raster multiespectral
+tasseledcab=Tasseled Cab
+use_roi=Usar las regiones de interés de la capa de entrada
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_zh.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_zh.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_en.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_en.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_en.properties	(revision 9586)
@@ -0,0 +1,3 @@
+multispectral=Multispectral raster
+tasseledcab=Tasseled Cab
+use_roi=Use regions of interest of the input layer
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_gl.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_gl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_ca.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_ca.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_pt.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_pt.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_cs.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_cs.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_fr.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_fr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_de.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_de.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_eu.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n/text_eu.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante/i18n
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap/sextante
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources-plugin
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_zh.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_zh.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_en.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_en.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_en.properties	(revision 9586)
@@ -0,0 +1,6 @@
+multispectral=Multispectral raster
+tasseledcab=Tasseled Cab
+tasseledcap=Tasseled Cab
+use_roi=Use regions of interest
+stadistics=Stadistics
+calculating=Calculating
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_gl.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_gl.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_ca.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_ca.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_pt.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_pt.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_cs.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_cs.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_fr.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_fr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_de.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_de.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_eu.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_eu.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_it.properties
===================================================================

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text_it.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text.properties
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text.properties	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text.properties	(revision 9586)
@@ -0,0 +1,6 @@
+multispectral=Raster multiespectral
+tasseledcab=Tasseled Cab
+tasseledcap=Tasseled Cab
+use_roi=Usar las regiones de interés
+stadistics=Estadísticas
+calculating=Calculando
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n/text.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante/i18n
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap/sextante
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster/tasseledcap
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig/raster
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org/gvsig
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/org
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/help/TasseledCapSextanteAlgorithm.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/help/TasseledCapSextanteAlgorithm.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/help/TasseledCapSextanteAlgorithm.xml	(revision 9586)
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding='ISO-8859-1' standalone='yes' ?>
+<help>
+	<element name="DESCRIPTION"
+		text=""
+		description="Descripci&#243;n" type="0">
+		<image description="" file="">
+		</image>
+	</element>
+	<element name="ADDITIONAL_INFO" text=""
+		description="Informaci&#243;n adicional" type="0">
+	</element>
+	<element name="EXTENSION_AUTHOR" text=""
+		description="Algoritmo creado por" type="0">
+	</element>
+	<element name="HELP_AUTHOR" text="" description="Ayuda creada por"
+		type="0">
+	</element>
+	<element name="USER_NOTES" text="" description="Notas de usuario"
+		type="0">
+	</element>
+</help>
Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/help/TasseledCapSextanteAlgorithm_en.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/help/TasseledCapSextanteAlgorithm_en.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/help/TasseledCapSextanteAlgorithm_en.xml	(revision 9586)
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding='ISO-8859-1' standalone='yes' ?>
+<help>
+	<element name="DESCRIPTION"
+		text=""
+		description="Descripci&#243;n" type="0">
+		<image description="" file="">
+		</image>
+	</element>
+	<element name="ADDITIONAL_INFO" text=""
+		description="Informaci&#243;n adicional" type="0">
+	</element>
+	<element name="EXTENSION_AUTHOR" text=""
+		description="Algoritmo creado por" type="0">
+	</element>
+	<element name="HELP_AUTHOR" text="" description="Ayuda creada por"
+		type="0">
+	</element>
+	<element name="USER_NOTES" text="" description="Notas de usuario"
+		type="0">
+	</element>
+</help>
Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 9586)
@@ -0,0 +1 @@
+org.gvsig.raster.tasseledcap.TasseledCapSextanteLibrary
\ No newline at end of file

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/META-INF/services
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources/META-INF
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main/resources
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src/main
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath



Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/src
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/pom.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/pom.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/pom.xml	(revision 9586)
@@ -0,0 +1,75 @@
+<?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.raster.tasseledcap.toolbox.algorithm</artifactId>
+	<packaging>jar</packaging>
+	<name>org.gvsig.raster.tasseledcap.toolbox.algorithm</name>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.raster.tasseledcap</artifactId>
+		<version>2.2.80</version>
+	</parent>
+	<dependencies>
+		<dependency>
+		    <groupId>org.gvsig</groupId>
+   			<artifactId>org.gvsig.raster.algorithm</artifactId>
+            <scope>compile</scope>
+   		</dependency>
+		<dependency>
+		    <groupId>org.gvsig</groupId>
+   			<artifactId>org.gvsig.geoprocess.algorithm.base</artifactId>
+            <scope>compile</scope>
+   		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.raster.tasseledcap.algorithm</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.geoprocess.lib.sextante</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.ui</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.fmap.mapcontext.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.mapcontext.impl</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+		<dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.projection.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.projection.cresques.impl</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+   		<dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+	</dependencies>
+</project>

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/org.gvsig.raster.tasseledcap.toolbox.algorithm
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath
target


Index: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/pom.xml
===================================================================
--- org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/pom.xml	(revision 0)
+++ org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/pom.xml	(revision 9586)
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>org.gvsig.raster.tasseledcap</artifactId>
+	<packaging>pom</packaging>
+	<version>2.2.80</version>
+	<name>${project.artifactId}</name>
+	<description />
+	<inceptionYear>2011</inceptionYear>
+	<parent>
+      <groupId>org.gvsig</groupId>
+      <artifactId>org.gvsig.desktop</artifactId>
+      <version>2.0.242</version>
+  </parent>
+
+        <properties>
+            <!-- El plugin versions:use-latest-versions falla con scope import -->
+            <!-- asi que toca usar el versions:update-properties que si que funciona -->
+            <org.gvsig.raster.version>2.2.93</org.gvsig.raster.version>
+            <org.gvsig.geoprocess.version>2.2.104</org.gvsig.geoprocess.version>
+        </properties>
+
+    <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>
+
+    <scm>
+        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-raster/org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80</connection>
+        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-raster/org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80</developerConnection>
+        <url>https://devel.gvsig.org/redmine/projects/gvsig-raster/repository/show/org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80</url>
+    </scm>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-release-plugin</artifactId>
+                <configuration>
+                    <tagBase>https://devel.gvsig.org/svn/gvsig-raster/org.gvsig.raster.tasseledcap/tags/</tagBase>
+                    <goals>deploy</goals>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+	<dependencyManagement>
+		<dependencies>
+                        <dependency>
+                                <groupId>org.gvsig</groupId>
+                                <artifactId>org.gvsig.raster</artifactId>
+                                <version>${org.gvsig.raster.version}</version>
+                                <type>pom</type>
+                                <scope>import</scope>
+                        </dependency>
+
+                        <dependency>
+                                <groupId>org.gvsig</groupId>
+                                <artifactId>org.gvsig.geoprocess</artifactId>
+                                <version>${org.gvsig.geoprocess.version}</version>
+                                <type>pom</type>
+                                <scope>import</scope>
+                        </dependency>
+
+
+			<dependency>
+				<groupId>org.gvsig.legacy</groupId>
+				<artifactId>jama</artifactId>
+				<version>1.0.3</version>
+			</dependency>
+
+			<dependency>
+				<groupId>org.gvsig</groupId>
+				<artifactId>org.gvsig.raster.tasseledcap.lib.api</artifactId>
+				<version>2.2.1-SNAPSHOT</version>
+			</dependency>
+			<dependency>
+				<groupId>org.gvsig</groupId>
+				<artifactId>org.gvsig.raster.tasseledcap.lib.impl</artifactId>
+				<version>2.2.1-SNAPSHOT</version>
+			</dependency>
+			<dependency>
+				<groupId>org.gvsig</groupId>
+				<artifactId>org.gvsig.raster.tasseledcap.swing.api</artifactId>
+				<version>2.2.80</version>
+			</dependency>
+			<dependency>
+				<groupId>org.gvsig</groupId>
+				<artifactId>org.gvsig.raster.tasseledcap.swing.impl</artifactId>
+				<version>2.2.80</version>
+			</dependency>
+			<dependency>
+				<groupId>org.gvsig</groupId>
+				<artifactId>org.gvsig.raster.tasseledcap.algorithm</artifactId>
+				<version>2.2.80</version>
+			</dependency>
+   			<dependency>
+				<groupId>org.gvsig</groupId>
+				<artifactId>org.gvsig.raster.tasseledcap.toolbox.algorithm</artifactId>
+				<version>2.2.80</version>
+			</dependency>
+
+		</dependencies>
+	</dependencyManagement>
+	<modules>
+		<module>org.gvsig.raster.tasseledcap.algorithm</module>
+		<module>org.gvsig.raster.tasseledcap.toolbox.algorithm</module>
+		<module>org.gvsig.raster.tasseledcap.swing</module>
+		<module>org.gvsig.raster.tasseledcap.app.tasseledcapclient</module>
+	</modules>
+</project>

Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: org.gvsig.raster.tasseledcap/tags/org.gvsig.raster.tasseledcap-2.2.80
___________________________________________________________________
Added: svn:ignore
   + .project
.settings
.classpath
.pom.xml.swp


