Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text.properties	(revision 38320)
@@ -0,0 +1,11 @@
+#Translations for language [es]
+#Mon Oct 30 09:38:21 CET 2006
+Anadir_capa_de_eventos=A\u00f1adir capa de eventos
+Tabla=Tabla
+Vista=Vista
+events_layer=Capa de Eventos
+events_layer_description=Esta transformación crea una capa de eventos, que no es más que una capa de puntos cuyas coordenadas X e Y sos dos atributos de un origen de datos vectorial.
+events_x_field=Campo que cotiene la coordenada X
+events_y_field=Campo que contiene la coordenada Y
+events_geom_field=Nombre del campo que contiene la geometría
+events_feature_type_field=Tipo de feature
\ No newline at end of file

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_zh.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_zh.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_zh.properties	(revision 38320)
@@ -0,0 +1,5 @@
+#Translations for language [en]
+#Fri Nov 03 13:14:56 CET 2006
+Anadir_capa_de_eventos=\u6dfb\u52a0\u9879\u76ee\u56fe\u5c42
+Tabla=\u8868\u683c
+Vista=\u89c6\u56fe

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_en.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_en.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_en.properties	(revision 38320)
@@ -0,0 +1,5 @@
+#Translations for language [en]
+#Mon Oct 30 09:38:21 CET 2006
+Anadir_capa_de_eventos=Add event layer
+Tabla=Table
+Vista=View

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_gl.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_gl.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_gl.properties	(revision 38320)
@@ -0,0 +1,5 @@
+#Translations for language [gl]
+#Mon Oct 30 09:38:21 CET 2006
+Anadir_capa_de_eventos=Engadir capa de eventos
+Tabla=T\u00e1boa
+Vista=Vista

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_ca.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_ca.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_ca.properties	(revision 38320)
@@ -0,0 +1,5 @@
+#Translations for language [ca]
+#Mon Oct 30 09:38:21 CET 2006
+Anadir_capa_de_eventos=Afegir capa d'esdeveniments
+Tabla=Taula
+Vista=Vista

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_pt.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_pt.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_pt.properties	(revision 38320)
@@ -0,0 +1,5 @@
+#Translations for language [pt]
+#Mon Oct 30 09:38:21 CET 2006
+Anadir_capa_de_eventos=
+Tabla=Tabela
+Vista=Vista

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/config.xml
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/config.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/config.xml	(revision 38320)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<plugin-config>
+	<libraries library-dir="lib/"/>
+	<depends plugin-name="org.gvsig.app"/>
+	<depends plugin-name="org.gvsig.daltransform.app.mainplugin"/>
+	<resourceBundle name="text"/>
+	<extensions><extension class-name="VOID" active="false"/></extensions>		
+</plugin-config>
\ No newline at end of file

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_cs.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_cs.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_cs.properties	(revision 38320)
@@ -0,0 +1,5 @@
+#Translations for language [cs]
+#Mon Nov 06 09:04:31 CET 2006
+Anadir_capa_de_eventos=P\u0159idej vrstvu ud\u00e1losti
+Tabla=Tabulka
+Vista=Pohled

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_fr.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_fr.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_fr.properties	(revision 38320)
@@ -0,0 +1,5 @@
+#Translations for language [fr]
+#Mon Oct 30 09:38:21 CET 2006
+Anadir_capa_de_eventos=Ajouter une couche g\u00e9ographique de points
+Tabla=Table
+Vista=Vue

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_de.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_de.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_de.properties	(revision 38320)
@@ -0,0 +1,6 @@
+#Translations for language [de]
+#Wed Oct 08 17:44:19 CEST 2008
+Anadir\ capa\ de\ eventos=
+Anadir_capa_de_eventos=F\u00fcge Ereignislayer hinzu
+Tabla=Tabelle
+Vista=Ansicht

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_eu.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_eu.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_eu.properties	(revision 38320)
@@ -0,0 +1,5 @@
+#Translations for language [eu]
+#Mon Oct 30 09:38:21 CET 2006
+Anadir_capa_de_eventos=Gehitu gertaeren geruza
+Tabla=Taula
+Vista=Bista

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_it.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_it.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/config/text_it.properties	(revision 38320)
@@ -0,0 +1,5 @@
+#Translations for language [it]
+#Tue Nov 07 12:30:01 CET 2006
+Anadir_capa_de_eventos=Aggiungi layer eventi
+Tabla=Tabella
+Vista=Vista

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/install.txt
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/install.txt	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/install.txt	(revision 38320)
@@ -0,0 +1,10 @@
+Plugin de Añadir Tema de Eventos para gvSIG. Instrucciones de instalación
+
+- Copiar el contenido de la carpeta bin/ en:
+  gvSIG/extensiones/
+
+- Copiar el fichero com.iver.gvsig.addeventtheme.jar contenido en la
+  carpeta bin/com/iver/gvsig/addeventtheme/ en:
+  gvSIG/extensiones/com/iver/cit/gvsig/lib
+
+

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/install.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/version_history.txt
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/version_history.txt	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/version_history.txt	(revision 38320)
@@ -0,0 +1,11 @@
+Add Event Theme Plugin for gvSIG. Version history
+
+This document lists the Change History of release versions of the Add Event Theme
+Plugin for gvSIG
+
+
+Version 0.1
+Release Date: 17-11-2005
+
+- Baseline version
+

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/version_history.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/gpl.txt
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/gpl.txt	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/gpl.txt	(revision 38320)
@@ -0,0 +1,340 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/doc/gpl.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain

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

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/EventThemeTransformLibrary.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/EventThemeTransformLibrary.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/EventThemeTransformLibrary.java	(revision 38320)
@@ -0,0 +1,70 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+*
+* Copyright (C) 2007-2008 Infrastructures and Transports Department
+* of the Valencian Government (CIT)
+* 
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+* 
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+* 
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+* MA  02110-1301, USA.
+* 
+*/
+
+/*
+* AUTHORS (In addition to CIT):
+* 2009 {Iver T.I.}   {Task}
+*/
+ 
+package org.gvsig.app.eventtheme;
+
+import org.gvsig.app.eventtheme.dal.feature.EventThemeTransform;
+import org.gvsig.app.eventtheme.daltransform.EventThemeTransformGui;
+import org.gvsig.daltransform.DataTransformLibrary;
+import org.gvsig.daltransform.DataTransformLocator;
+import org.gvsig.daltransform.DataTransformManager;
+import org.gvsig.tools.library.AbstractLibrary;
+import org.gvsig.tools.library.LibraryException;
+import org.gvsig.tools.locator.ReferenceNotRegisteredException;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
+ */
+public class EventThemeTransformLibrary extends AbstractLibrary {
+
+    @Override
+    public void doRegistration() {
+        this.registerAsImplementationOf(EventThemeTransformLibrary.class);
+        this.require(DataTransformLibrary.class);
+    }
+
+	@Override
+	protected void doInitialize() throws LibraryException {
+				
+	}
+
+	@Override
+	protected void doPostInitialize() throws LibraryException {
+				
+		// Validate there is any implementation registered.
+		DataTransformManager dataTransformManager = DataTransformLocator.getDataTransformManager();
+		if (dataTransformManager == null) {
+			throw new ReferenceNotRegisteredException(
+					DataTransformLocator.DATA_TRANSFORM_MANAGER_NAME, DataTransformLocator.getInstance());
+		}	
+		dataTransformManager.registerDataTransform("EventThemeTransform", EventThemeTransformGui.class);
+		
+		EventThemeTransform.registerPersistent();
+	}
+
+}
+

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/EventThemeTransformLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/daltransform/EventThemeTransformPanel.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/daltransform/EventThemeTransformPanel.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/daltransform/EventThemeTransformPanel.java	(revision 38320)
@@ -0,0 +1,253 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+/*
+ * AUTHORS (In addition to CIT):
+ * 2009 {Iver T.I.}   {Task}
+ */
+
+package org.gvsig.app.eventtheme.daltransform;
+
+import java.awt.BorderLayout;
+import java.awt.Insets;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import javax.swing.JButton;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+import javax.swing.JTextField;
+
+import org.cresques.cts.IProjection;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.app.gui.panels.CRSSelectPanel;
+import org.gvsig.app.gui.panels.crs.ISelectCrsPanel;
+import org.gvsig.daltransform.swing.impl.AbstractDataTransformWizardPanel;
+import org.gvsig.daltransform.swing.impl.components.FeatureTypeCombo;
+import org.gvsig.daltransform.swing.impl.components.NumericFeatureTypeAttributesCombo;
+import org.gvsig.fmap.crs.CRSFactory;
+
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
+ */
+public class EventThemeTransformPanel extends AbstractDataTransformWizardPanel implements ActionListener {
+	private JLabel nameLabel;
+	private JTextField nameText;
+	private NumericFeatureTypeAttributesCombo xCombo;
+	private JLabel xLabel;
+	private NumericFeatureTypeAttributesCombo yCombo;
+	private JLabel yLabel;
+	private FeatureTypeCombo featureTypeCombo;
+	private JLabel featureTypeLabel;
+	private JPanel northPanel = null;
+	private JTextField projectionText;
+	private JLabel projectionLabel;
+	private JButton projectionButton = null;
+
+	public EventThemeTransformPanel() {
+		super();
+		initComponents();
+		initLabels();
+		initProjection();
+		featureTypeCombo.addActionListener(this);
+		projectionButton.addActionListener(this);
+	}
+
+	private void initProjection() {
+		projectionText.setText("EPSG:23030");
+	}
+
+	private void initLabels() {
+		featureTypeLabel.setText(PluginServices.getText(this, "events_feature_type_field") + ":");
+		xLabel.setText(PluginServices.getText(this, "events_x_field") + ":");
+		yLabel.setText(PluginServices.getText(this, "events_y_field") + ":");
+		nameLabel.setText(PluginServices.getText(this, "events_geom_field") + ":");
+		projectionLabel.setText(PluginServices.getText(this, "projection") + ":");
+		projectionButton.setText("...");
+	}
+
+	private void initComponents() {
+		java.awt.GridBagConstraints gridBagConstraints;
+
+		featureTypeCombo = new FeatureTypeCombo();
+		featureTypeLabel = new javax.swing.JLabel();
+		xLabel = new javax.swing.JLabel();
+		xCombo = new NumericFeatureTypeAttributesCombo();
+		yLabel = new javax.swing.JLabel();
+		yCombo = new NumericFeatureTypeAttributesCombo();
+		nameLabel = new javax.swing.JLabel();
+		nameText = new javax.swing.JTextField();
+		northPanel= new JPanel();
+		projectionText = new JTextField();
+		projectionLabel = new JLabel();
+		projectionButton = new JButton();
+		projectionButton.setSize(25, 25);
+		projectionText.setEnabled(false);
+
+		setLayout(new BorderLayout());
+		northPanel.setLayout(new java.awt.GridBagLayout());
+
+		//		gridBagConstraints = new java.awt.GridBagConstraints();
+		//		gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
+		//		gridBagConstraints.insets = new Insets(5,2,2,2);
+		//		northPanel.add(featureTypeLabel, gridBagConstraints);
+		//
+		//		featureTypeCombo.setModel(new javax.swing.DefaultComboBoxModel());
+		//		gridBagConstraints = new java.awt.GridBagConstraints();
+		//		gridBagConstraints.gridx = 0;
+		//		gridBagConstraints.gridy = 1;
+		//		gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		//		gridBagConstraints.weightx = 1.0;
+		//		gridBagConstraints.insets = new Insets(2,2,5,2);
+		//		northPanel.add(featureTypeCombo, gridBagConstraints);
+
+		gridBagConstraints = new java.awt.GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 0;
+		gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(5,2,2,2);
+		northPanel.add(xLabel, gridBagConstraints);
+
+		xCombo.setModel(new javax.swing.DefaultComboBoxModel());
+		gridBagConstraints = new java.awt.GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 1;
+		gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(2,2,5,2);
+		gridBagConstraints.weightx = 1.0;
+		northPanel.add(xCombo, gridBagConstraints);
+
+		gridBagConstraints = new java.awt.GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 2;
+		gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
+		gridBagConstraints.insets = new Insets(5,2,2,2);
+		gridBagConstraints.gridwidth = 2;
+		northPanel.add(yLabel, gridBagConstraints);
+
+		yCombo.setModel(new javax.swing.DefaultComboBoxModel());
+		gridBagConstraints = new java.awt.GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 3;
+		gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints.weightx = 1.0;
+		gridBagConstraints.insets = new Insets(2,2,5,2);
+		gridBagConstraints.gridwidth = 2;
+		northPanel.add(yCombo, gridBagConstraints);
+
+		gridBagConstraints = new java.awt.GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 4;
+		gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
+		gridBagConstraints.insets = new Insets(5,2,2,2);
+		gridBagConstraints.gridwidth = 2;
+		northPanel.add(nameLabel, gridBagConstraints);
+
+		gridBagConstraints = new java.awt.GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 5;
+		gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints.weightx = 1.0;
+		gridBagConstraints.insets = new Insets(2,2,5,2);
+		gridBagConstraints.gridwidth = 2;
+		northPanel.add(nameText, gridBagConstraints);
+
+		gridBagConstraints = new java.awt.GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 6;
+		gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
+		gridBagConstraints.gridwidth = 2;
+		gridBagConstraints.insets = new Insets(5,2,2,2);
+		northPanel.add(projectionLabel, gridBagConstraints);
+
+		gridBagConstraints = new java.awt.GridBagConstraints();
+		gridBagConstraints.gridx = 0;
+		gridBagConstraints.gridy = 7;
+		gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+		gridBagConstraints.weightx = 1.0;
+		gridBagConstraints.gridwidth = 1;
+		gridBagConstraints.insets = new Insets(2,2,5,2);
+		northPanel.add(projectionText, gridBagConstraints);
+
+		gridBagConstraints = new java.awt.GridBagConstraints();
+		gridBagConstraints.gridx = 1;
+		gridBagConstraints.gridy = 7;
+		gridBagConstraints.gridwidth = 1;
+		gridBagConstraints.insets = new Insets(2,2,5,2);
+		northPanel.add(projectionButton, gridBagConstraints);
+
+		add(northPanel, BorderLayout.NORTH);
+	}	
+
+	/* (non-Javadoc)
+	 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
+	 */
+	public void actionPerformed(ActionEvent event) {
+		if (event == null){
+			return;
+		}
+		if (event.getSource() == featureTypeCombo){
+			Object obj = featureTypeCombo.getSelectedItem();
+			if (obj != null){
+				xCombo.addFeatureAttributes(featureTypeCombo.getSelectedFeatureType());
+				yCombo.addFeatureAttributes(featureTypeCombo.getSelectedFeatureType());			
+			}
+		}else if (event.getSource() == projectionButton){
+			ISelectCrsPanel panel = CRSSelectPanel.getUIFactory().getSelectCrsPanel(
+					CRSFactory.getCRS(projectionText.getText()), false);
+			PluginServices.getMDIManager().addWindow(panel);
+			if (panel.isOkPressed()) {
+				IProjection proj = panel.getProjection();
+				projectionText.setText(proj.getAbrev());
+			}
+		}
+	}
+
+	public String getGeometryName(){
+		return nameText.getText();
+	}
+
+	public String getXName(){
+		return xCombo.getSelectedFeatureAttributeDescriptor().getName();
+	}
+
+	public String getYName(){
+		return yCombo.getSelectedFeatureAttributeDescriptor().getName();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.gvsig.app.daltransform.impl.AbstractDataTransformWizardPanel#updatePanel()
+	 */
+	public void updatePanel() {
+		featureTypeCombo.addFeatureStore(getFeatureStore());
+		actionPerformed(null);			
+	}
+
+	public IProjection getProjection() {
+		return CRSFactory.getCRS(projectionText.getText());
+	}
+}
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/daltransform/EventThemeTransformPanel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/daltransform/EventThemeTransformGui.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/daltransform/EventThemeTransformGui.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/daltransform/EventThemeTransformGui.java	(revision 38320)
@@ -0,0 +1,116 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+/*
+ * AUTHORS (In addition to CIT):
+ * 2009 {Iver T.I.}   {Task}
+ */
+
+package org.gvsig.app.eventtheme.daltransform;
+
+import java.awt.Dimension;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.gvsig.andami.PluginServices;
+import org.gvsig.app.eventtheme.dal.feature.EventThemeTransform;
+import org.gvsig.daltransform.swing.DataTransformGui;
+import org.gvsig.daltransform.swing.DataTransformWizardPanel;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.fmap.dal.feature.FeatureStoreTransform;
+
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
+ */
+public class EventThemeTransformGui implements DataTransformGui{
+	private EventThemeTransformPanel panel = null;
+	
+	public EventThemeTransformGui() {
+		super();		
+	}	
+	
+	/* (non-Javadoc)
+	 * @see org.gvsig.app.daltransform.gui.FeatureTransformGui#createPanels(org.gvsig.app.daltransform.gui.FeatureTransformWizardModel)
+	 */
+	public List<DataTransformWizardPanel> createPanels() {
+		if (panel == null){
+			panel = new EventThemeTransformPanel();
+		}
+		List<DataTransformWizardPanel> panels = new ArrayList<DataTransformWizardPanel>();
+		panels.add(panel);
+		return panels;
+	}
+
+	/* (non-Javadoc)
+	 * @see org.gvsig.app.daltransform.gui.FeatureTransformGui#getDescription()
+	 */
+	public String getDescription() {
+		return PluginServices.getText(this, "events_layer_description");
+	}
+
+	/* (non-Javadoc)
+	 * @see java.awt.Component#toString()
+	 */	
+	public String toString() {
+		return getName();
+	}
+
+	/* (non-Javadoc)
+	 * @see org.gvsig.app.daltransform.gui.FeatureTransformGui#createFeatureStoreTransform(org.gvsig.fmap.dal.feature.FeatureStore)
+	 */
+	public FeatureStoreTransform createFeatureStoreTransform(
+			FeatureStore featureStore) throws DataException {
+		EventThemeTransform transform = new EventThemeTransform();
+		transform.initialize(featureStore,
+				panel.getGeometryName(),
+				panel.getXName(),
+				panel.getYName(),
+				panel.getProjection());
+		return transform;
+	}
+
+	/* (non-Javadoc)
+	 * @see org.gvsig.app.daltransform.gui.FeatureTransformGui#getName()
+	 */
+	public String getName() {
+		return PluginServices.getText(this, "events_layer");
+	}
+
+	/* (non-Javadoc)
+	 * @see org.gvsig.app.daltransform.gui.DataTransformGui#getMinDimension()
+	 */
+	public Dimension getMinDimension() {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
+    public boolean accept(FeatureStore featureStore) {
+        try {
+            return featureStore.getDefaultFeatureType().getDefaultGeometryAttribute() == null;
+        } catch (DataException e) {
+           return false;
+        }        
+    }
+}
+

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/daltransform/EventThemeTransformGui.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/dal/feature/EventThemeTransform.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/dal/feature/EventThemeTransform.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/dal/feature/EventThemeTransform.java	(revision 38320)
@@ -0,0 +1,268 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+/*
+ * AUTHORS (In addition to CIT):
+ * 2009 {Iver T.I.}   {Task}
+ */
+
+package org.gvsig.app.eventtheme.dal.feature;
+
+import java.util.Arrays;
+
+import org.cresques.cts.IProjection;
+
+import org.gvsig.fmap.dal.DataStore;
+import org.gvsig.fmap.dal.DataTypes;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.fmap.dal.exception.InitializeException;
+import org.gvsig.fmap.dal.feature.AbstractFeatureStoreTransform;
+import org.gvsig.fmap.dal.feature.EditableFeature;
+import org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor;
+import org.gvsig.fmap.dal.feature.EditableFeatureType;
+import org.gvsig.fmap.dal.feature.Feature;
+import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.fmap.dal.feature.FeatureType;
+import org.gvsig.fmap.geom.Geometry.SUBTYPES;
+import org.gvsig.fmap.geom.Geometry.TYPES;
+import org.gvsig.fmap.geom.GeometryLocator;
+import org.gvsig.fmap.geom.GeometryManager;
+import org.gvsig.fmap.geom.exception.CreateEnvelopeException;
+import org.gvsig.fmap.geom.exception.CreateGeometryException;
+import org.gvsig.fmap.geom.primitive.Envelope;
+import org.gvsig.fmap.geom.primitive.Point;
+import org.gvsig.fmap.geom.type.GeometryTypeNotSupportedException;
+import org.gvsig.fmap.geom.type.GeometryTypeNotValidException;
+import org.gvsig.tools.ToolsLocator;
+import org.gvsig.tools.dynobject.DynStruct;
+import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException;
+import org.gvsig.tools.persistence.PersistenceManager;
+import org.gvsig.tools.persistence.PersistentState;
+import org.gvsig.tools.persistence.exception.PersistenceException;
+
+/**
+ * This class implements a transformation for a events theme. The original 
+ * {@link DataStore} have to have a couple of attributes, one with the X 
+ * coordinate and the second one with the Y coordinate. The result of 
+ * the transformation is a {@link DataStore} that has a new geometric 
+ * attribute and its value is a point with the coordinates specified in 
+ * the original {@link DataStore}. 
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
+ */
+public class EventThemeTransform extends AbstractFeatureStoreTransform {
+
+    public static final String PERSISTENCE_DEFINITION_NAME = "EventThemeTransform";
+
+    private String xFieldName = null;
+    private String yFieldName = null;
+    private String geometryFieldName = null;
+    private IProjection projection = null;
+    private FeatureType originalFeatureType;
+    private GeometryManager geometryManager = GeometryLocator.getGeometryManager();    
+    private Envelope envelope;
+
+    public EventThemeTransform() {
+        super();
+        geometryManager = GeometryLocator.getGeometryManager();
+    }
+
+    /**
+     * This method initializes the transformation, sets the name of the parameters and 
+     * sets the value of the {@link FeatureType} returned by the transformation. 
+     * @param store
+     * The original store. 
+     * @param geometryFieldName
+     * The field that contains the geometric attribute.
+     * @param xFieldName
+     * The field that contains the X coordinate.
+     * @param yFieldName
+     * The field that contains the Y coordinate.
+     * @throws DataException
+     */
+    public void initialize(FeatureStore store, String geometryFieldName, String xFieldName, String yFieldName,
+        IProjection projection) throws DataException{
+        setFeatureStore(store);
+        this.xFieldName = xFieldName;
+        this.yFieldName = yFieldName;
+        this.projection = projection;
+        if ((geometryFieldName == null) || (geometryFieldName.equals(""))){
+            this.geometryFieldName = "the_geom";
+        }else{
+            this.geometryFieldName = geometryFieldName;
+        }
+        this.originalFeatureType = this.getFeatureStore()
+        .getDefaultFeatureType();
+
+        EditableFeatureType type = originalFeatureType.getEditable();
+        if (type.get(this.geometryFieldName) == null){
+            EditableFeatureAttributeDescriptor attributeDescriptor = type.add(this.geometryFieldName,  DataTypes.GEOMETRY);
+            try {
+                attributeDescriptor.setGeometryType(geometryManager.getGeometryType(TYPES.POINT, SUBTYPES.GEOM2D));
+            } catch (GeometryTypeNotSupportedException e) {
+                throw new InitializeException(e);
+            } catch (GeometryTypeNotValidException e) {
+                throw new InitializeException(e);
+            }           
+            attributeDescriptor.setSRS(projection);
+        }
+
+        try {
+            envelope = geometryManager.createEnvelope(SUBTYPES.GEOM2D);
+        } catch (CreateEnvelopeException e) {
+            throw new org.gvsig.fmap.dal.feature.exception.CreateGeometryException(e);
+        }
+
+        type.setDefaultGeometryAttributeName(this.geometryFieldName);
+        FeatureType[] types = new FeatureType[] { type.getNotEditableCopy() };
+        setFeatureTypes(Arrays.asList(types), types[0]);
+    }
+
+    /* (non-Javadoc)
+     * @see org.gvsig.fmap.dal.feature.FeatureStoreTransform#applyTransform(org.gvsig.fmap.dal.feature.Feature, org.gvsig.fmap.dal.feature.EditableFeature)
+     */
+    public void applyTransform(Feature source, EditableFeature target)
+    throws DataException {
+        this.copySourceToTarget(source, target);
+
+        try {			
+            Point point = geometryManager.createPoint(
+                new Double(source.get(xFieldName).toString()),
+                new Double(source.get(yFieldName).toString()),
+                SUBTYPES.GEOM2D);
+            target.set(geometryFieldName, point);
+            target.setDefaultGeometry(point);	
+            envelope.add(point.getEnvelope());
+        } catch (CreateGeometryException e) {
+            throw new org.gvsig.fmap.dal.feature.exception.CreateGeometryException(TYPES.POINT, SUBTYPES.GEOM2D, e);
+        }		
+    }
+
+    /**
+     * @param source
+     * @param target
+     */
+    private void copySourceToTarget(Feature source, EditableFeature target) {
+        FeatureAttributeDescriptor attr, attrTrg;
+        FeatureType ftSrc = source.getType();
+        FeatureType ftTrg = target.getType();
+
+
+        for (int i = 0; i < source.getType().size(); i++) {
+            attr = ftSrc.getAttributeDescriptor(i);
+            if (ftTrg.getIndex(attr.getName()) > -1) {
+                try {
+                    target.set(attr.getName(), source.get(i));
+                } catch (IllegalArgumentException e) {
+                    attrTrg = ftTrg.getAttributeDescriptor(attr.getName());
+                    target.set(attrTrg.getIndex(), attrTrg.getDefaultValue());
+                }
+
+            }
+        }
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.gvsig.fmap.dal.feature.FeatureStoreTransform#getSourceFeatureTypeFrom(org.gvsig.fmap.dal.feature.FeatureType)
+     */
+    public FeatureType getSourceFeatureTypeFrom(FeatureType targetFeatureType) {
+        return this.originalFeatureType;
+    }
+
+    /* (non-Javadoc)
+     * @see org.gvsig.fmap.dal.feature.FeatureStoreTransform#isTransformsOriginalValues()
+     */
+    public boolean isTransformsOriginalValues() {
+        return true;
+    }
+
+    public static void registerPersistent() {
+        PersistenceManager persistenceManager = ToolsLocator.getPersistenceManager();
+
+        if( persistenceManager.getDefinition(AbstractFeatureStoreTransform.class) == null ) {
+            AbstractFeatureStoreTransform.registerPersistent();
+        }
+
+        DynStruct definition = persistenceManager.getDefinition(PERSISTENCE_DEFINITION_NAME);
+
+        if (definition == null){           
+            definition = persistenceManager.addDefinition(
+                EventThemeTransform.class,
+                PERSISTENCE_DEFINITION_NAME,
+                "EventThemeTransform Persistence definition",
+                null, 
+                null
+            );
+            definition.extend(PersistenceManager.PERSISTENCE_NAMESPACE,
+                ABSTRACT_FEATURESTORE_DYNCLASS_NAME);
+
+            definition.addDynFieldString("geometryFieldName").setMandatory(true);
+            definition.addDynFieldString("xFieldName").setMandatory(true);
+            definition.addDynFieldString("yFieldName").setMandatory(true);
+            definition.addDynFieldObject("projection").setType(DataTypes.CRS);
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see org.gvsig.tools.persistence.Persistent#saveToState(org.gvsig.tools.persistence.PersistentState)
+     */
+    public void saveToState(PersistentState state) throws PersistenceException {
+        super.saveToState(state);
+        state.set("geometryFieldName", this.geometryFieldName);
+        state.set("xFieldName", this.xFieldName);
+        state.set("yFieldName", this.yFieldName);
+        state.set("projection", this.projection);		
+    }
+
+    /* (non-Javadoc)
+     * @see org.gvsig.tools.persistence.Persistent#loadFromState(org.gvsig.tools.persistence.PersistentState)
+     */
+    public void loadFromState(PersistentState state)
+    throws PersistenceException {
+        super.loadFromState(state);		
+        String geometryFieldName = state.getString("geometryFieldName");
+        String xFieldName = state.getString("xFieldName");
+        String yFieldName = state.getString("yFieldName");
+        IProjection projection =  (IProjection)state.get("projection");	
+        try {
+            initialize(getFeatureStore(), geometryFieldName, xFieldName, yFieldName, projection);
+        } catch (DataException e) {
+            throw new PersistenceException("Impossible to create the transform", e);
+        }
+    }
+
+    public Object getDynValue(String name) throws DynFieldNotFoundException {
+        if (DataStore.METADATA_CRS.equals(name)){
+            return projection;
+        }else if(DataStore.METADATA_ENVELOPE.equals(name)){
+            return envelope;
+        }
+        return null;
+    }
+
+    public boolean hasDynValue(String name) {
+        return ((DataStore.METADATA_CRS.equals(name)) || 
+            (DataStore.METADATA_ENVELOPE.equals(name)));
+    }    
+}
+

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src/org/gvsig/app/eventtheme/dal/feature/EventThemeTransform.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/testdata/events.dbf
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/testdata/events.dbf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/pom.xml
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/pom.xml	(revision 38320)
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+                      http://maven.apache.org/maven-v4_0_0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>org.gvsig.app.eventtheme</artifactId>
+	<packaging>jar</packaging>
+	<version>2.0-SNAPSHOT</version>
+	<name>Transformation: Event theme</name>
+	<description>Add an event theme layer to the view by selecting 2 fields from a table.</description>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>gvsig-base-extension-pom</artifactId>
+		<version>2.0-SNAPSHOT</version>
+	</parent>	
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
+			<version>2.0-SNAPSHOT</version>
+            <scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.app</artifactId>
+			<version>2.0-SNAPSHOT</version>
+            <scope>compile</scope>
+		</dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.dal</artifactId>
+            <classifier>impl</classifier>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.andami</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.lib</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.mapcontext</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.projection</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.control</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.fmap.geometry</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.timesupport.lib.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+		<!--TEST-->
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
+            <version>2.0-SNAPSHOT</version>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>        
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.dal</artifactId>
+			<classifier>tests</classifier>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.tools.lib</artifactId>
+			<type>test-jar</type>
+			<scope>test</scope>
+		</dependency>		
+	</dependencies>
+	<build>
+		<sourceDirectory>src</sourceDirectory>
+		<testSourceDirectory>src-test</testSourceDirectory>
+		<resources>
+			<resource>
+				<directory>${basedir}/resources</directory>
+			</resource>
+		</resources>
+		<plugins>			
+			<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<configuration>
+					<skipTests>true</skipTests>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	
+	<properties>
+		<build-dir>${basedir}/../build</build-dir>
+        <eclipse.project.name>extDalTransformEventTheme</eclipse.project.name>
+        <package.info.dependencies>required: org.gvsig.daltransform.app.mainplugin -ge 2</package.info.dependencies>
+        <package.info.state>alpha5</package.info.state>
+	</properties>
+</project>

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 38320)
@@ -0,0 +1 @@
+org.gvsig.app.eventtheme.EventThemeTransformLibrary
Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/.cvsignore
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/.cvsignore	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/.cvsignore	(revision 38320)
@@ -0,0 +1 @@
+bin-test

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/.cvsignore
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/distribution/distribution.xml
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/distribution/distribution.xml	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/distribution/distribution.xml	(revision 38320)
@@ -0,0 +1,33 @@
+<assembly>
+  <id>distribution</id>
+  <formats>
+    <format>dir</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>config</directory>
+	  <outputDirectory>${extension.install.dir.name}</outputDirectory>
+    </fileSet>    
+	<fileSet>
+      <directory>images</directory>
+	  <outputDirectory>/${extension.install.dir.name}/images</outputDirectory>
+    </fileSet>
+  </fileSets>
+    <files>
+        <file>
+            <source>package.info</source>
+            <outputDirectory>${extension.install.dir.name}
+            </outputDirectory>
+        </file>
+    </files>
+  	<dependencySets>
+  		<dependencySet>			
+  			<outputDirectory>${extension.install.dir.name}/${library-dir}
+        	</outputDirectory>
+          	 <includes>
+           		<include>org.gvsig:org.gvsig.app.eventtheme</include>        	 
+        	</includes>
+  		</dependencySet>  		
+	</dependencySets>
+</assembly>
+

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

Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/buildNumber.properties
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/buildNumber.properties	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/buildNumber.properties	(revision 38320)
@@ -0,0 +1,3 @@
+#maven.buildNumber.plugin properties file
+#Tue May 29 16:39:59 CEST 2012
+buildNumber=2039
Index: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src-test/org/gvsig/app/eventlayer/dal/feature/EventThemeTransformTest.java
===================================================================
--- tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src-test/org/gvsig/app/eventlayer/dal/feature/EventThemeTransformTest.java	(revision 0)
+++ tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src-test/org/gvsig/app/eventlayer/dal/feature/EventThemeTransformTest.java	(revision 38320)
@@ -0,0 +1,91 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+
+/*
+ * AUTHORS (In addition to CIT):
+ * 2009 {Iver T.I.}   {Task}
+ */
+
+package org.gvsig.app.eventlayer.dal.feature;
+
+import java.io.File;
+
+import org.gvsig.app.eventtheme.dal.feature.EventThemeTransform;
+import org.gvsig.daltransform.BaseFeatureStoreTransform;
+import org.gvsig.fmap.crs.CRSFactory;
+import org.gvsig.fmap.dal.DataStoreParameters;
+import org.gvsig.fmap.dal.exception.DataException;
+import org.gvsig.fmap.dal.exception.ValidateDataParametersException;
+import org.gvsig.fmap.dal.feature.FeatureStore;
+import org.gvsig.fmap.dal.feature.FeatureStoreTransform;
+import org.gvsig.fmap.dal.store.dbf.DBFStoreProvider;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
+ */
+public class EventThemeTransformTest extends BaseFeatureStoreTransform {
+	private final File dbf = new File("testdata/events.dbf");
+	private final String xFieldName = "x";
+	private final String yFieldName = "y";
+	private final String geometryFieldName = "geom";
+	private final String projection = "EPSG:23030";
+	protected boolean testDBFInitialized = false;
+	
+
+	public DataStoreParameters getDefaultDataStoreParameters() throws DataException {
+		DataStoreParameters dbfParameters = null;
+		dbfParameters = dataManager.createStoreParameters(DBFStoreProvider.NAME);
+
+		dbfParameters.setDynValue("dbfFile", dbf);
+
+		return dbfParameters;
+	}
+
+	/* (non-Javadoc)
+	 * @see org.gvsig.fmap.dal.feature.BaseFeatureStoreTransform#getFeatureStoreTransform()
+	 */
+	public FeatureStoreTransform getFeatureStoreTransform() throws DataException, ValidateDataParametersException {
+		FeatureStore store = (FeatureStore) dataManager.openStore("DBF", 
+		    this.getDefaultDataStoreParameters());
+		EventThemeTransform transform = new EventThemeTransform();
+		transform.initialize(store, geometryFieldName, xFieldName, yFieldName,
+				CRSFactory.getCRS(projection));
+		return transform;
+	}
+
+	/* (non-Javadoc)
+	 * @see org.gvsig.fmap.dal.feature.BaseTestFeatureStore#hasExplorer()
+	 */
+	public boolean hasExplorer() {
+		// TODO Auto-generated method stub
+		return false;
+	}
+
+	/* (non-Javadoc)
+	 * @see org.gvsig.fmap.dal.feature.BaseTestFeatureStore#usesResources()
+	 */
+	public boolean usesResources() {
+		// TODO Auto-generated method stub
+		return false;
+	}
+
+}
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2047/extensions/extDalTransformEventTheme/extDalTransformEventTheme/src-test/org/gvsig/app/eventlayer/dal/feature/EventThemeTransformTest.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain


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


