Index: tags/Root_Andami_CAD/frameworks/_fwAndami/log4j.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/log4j.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/log4j.properties	(revision 3340)
@@ -0,0 +1,8 @@
+log4j.rootLogger=DEBUG, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+
+# Pattern to output the caller's file name and line number.
+log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
+

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/log4j.properties
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/.cvsignore
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/.cvsignore	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/.cvsignore	(revision 3340)
@@ -0,0 +1,9 @@
+bin
+gvsig.log
+gvSIG
+web
+andami.jar
+keystore
+java.hprof.txt
+build-doc
+*.log

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/.cvsignore
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/build.xml
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/build.xml	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/build.xml	(revision 3340)
@@ -0,0 +1,108 @@
+<project name="MyProject" default="crea-jar" basedir=".">
+	<!-- set global properties for this build -->
+	<property name="webapps" location="c:\webservers\jakarta-tomcat-5.0.25\webapps\" />
+	<property name="webdir" location="web" />
+	<property name="bin" location="bin" />
+	<property name="src" location="src" />
+	<property name="lib" location="lib" />
+	<property name="extensiones" location="gvSIG/extensiones" />
+	<property name="keystore" location="keystore" />
+	<property name="schemas" location="schemas" />
+	  <property name="build-doc" value="build-doc"/>
+	
+	<target name="init">
+		<!-- Create the time stamp -->
+		<tstamp />
+	</target>
+
+    <target name="build-doc" depends="" description="Genera un zip con la documentación">
+		<javadoc 
+			packagenames="com.iver.andami.*"
+			sourcepath="src"
+			defaultexcludes="yes"
+			destdir="${build-doc}/andami-api"
+			windowtitle="andami API">
+		</javadoc>
+	</target>
+
+	
+	<!-- Genera las clases a partir de los esquemas -->
+	<target name="generate-andami-config-classes">
+		
+		<delete>
+			<fileset dir="${src}" includes="com/iver/andami/config/generate/**" />
+		</delete>
+		<java classname="org.exolab.castor.builder.SourceGenerator">
+			<classpath>
+				<pathelement path="lib/castor-0.9.5.3-xml.jar" />
+				<pathelement path="lib/xerces_2_5_0.jar" />
+			</classpath>
+			<arg value="-i" />
+			<arg value="${schemas}/andami-config.xsd" />
+			<arg value="-package" />
+			<arg value="com.iver.andami.config.generate" />
+			<arg value="-dest" />
+			<arg value="${src}" />
+		</java>
+	</target>
+
+	<!-- Genera las clases a partir de los esquemas -->
+	<target name="generate-plugin-config">
+		<delete>
+			<fileset dir="${src}" includes="com/iver/andami/plugins/config/generate/**" />
+		</delete>
+		<java classname="org.exolab.castor.builder.SourceGenerator">
+			<classpath>
+				<pathelement path="lib/castor-0.9.5.3-xml.jar" />
+				<pathelement path="lib/xerces_2_5_0.jar" />
+			</classpath>
+			<arg value="-i" />
+			<arg value="${schemas}/plugin-config.xsd" />
+			<arg value="-package" />
+			<arg value="com.iver.andami.plugins.config.generate" />
+			<arg value="-dest" />
+			<arg value="${src}" />
+		</java>
+	</target>
+
+	<!-- Genera las clases a partir de los esquemas -->
+	<target name="generate-plugin-persistence">
+		<delete>
+			<fileset dir="${src}" includes="com/iver/andami/persistence/generate/**" />
+		</delete>
+		<java classname="org.exolab.castor.builder.SourceGenerator">
+			<classpath>
+				<pathelement path="lib/castor-0.9.5.3-xml.jar" />
+				<pathelement path="lib/xerces_2_5_0.jar" />
+			</classpath>
+			<arg value="-i" />
+			<arg value="${schemas}/plugin-persistence.xsd" />
+			<arg value="-package" />
+			<arg value="com.iver.andami.persistence.generate" />
+			<arg value="-dest" />
+			<arg value="${src}" />
+		</java>
+
+	</target>
+
+	<!--Crea un jar con el codigo de andami-->
+	<target name="crea-jar" description="Crea el jar de la aplicacion">		
+		<jar jarfile="andami.jar" basedir="${bin}" />
+	</target>
+
+
+	<!--Copia los jar que hay en el subdirectorio lib al directorio web-->
+	<target name="move-jars" description="Pone todos los jar en el directorio web" depends="crea-jar">
+		<copy todir="${webdir}">
+			<fileset dir="lib" includes="**/*" />
+		</copy>
+		<!--  	<copy todir="${webdir}" file="native libs/windows/winlibs.jar"/> -->
+	</target>
+
+	<!--Comprime las extensiones en un zip y las mete en el directorio web-->
+	<target name="extensiones" description="Copia el directorio de extensiones">
+		<zip zipfile="${webdir}/extensiones.zip">
+			<fileset dir="${extensiones}" includes="**/*" excludes="CVS" excludesfile=".cvsignore" />
+		</zip>
+	</target>
+</project>

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/build.xml
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/.classpath
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/.classpath	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/.classpath	(revision 3340)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/castor-0.9.5.3-xml.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/log4j-1.2.8.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/javaws.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry sourcepath="/Utiles/src" kind="lib" path="lib/iver-utiles.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/tempFileManager.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/xml-apis.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/crimson.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/xerces_2_5_0.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/commons-dbcp-1.0-dev-20020806.zip">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/commons-pool-1.2.zip">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="lib/commons-collections-3.1.zip">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/.classpath
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/gpl.txt
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/gpl.txt	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/gpl.txt	(revision 3340)
@@ -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/Root_Andami_CAD/frameworks/_fwAndami/gpl.txt
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/por hacer.txt
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/por hacer.txt	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/por hacer.txt	(revision 3340)
@@ -0,0 +1,61 @@
+Las ventanas singleton no se comportan bien porque cuando se cierra y se abre
+no se recuerda la posici�n en la que estaba
+
+	2.- Comprobar el correcto funcionamiento de los classloaders... ok
+	6.- A�adir soporte para men�es contextuales... ok
+	7.- A�adir soporte para traducciones... ok
+	4.- Hacer que se muestre bien el texto de los men�es... ok
+	8.- A�adir soporte a la barra de estado para procesos... ok
+	10.- Comprobar el correcto funcionamiento de los group en las selectable 
+		tool's... ok
+	11.- A�adir soporte para modificar popup menus y toolBars de otros plugins... ok
+	20.- Comprobar el correcto orden de los men�es... ok
+	22.- Ventana de inicio... ok
+	18.- Extraer la interfaz del MDIFrame y corregir el acceso a traves 
+		del PluginServices... ok
+	9.- Meter el tema del hour glass... ok
+	1.- Dise�ar la barra de estado con el VE... ok
+	14.- Persistencia... ok	
+	17.- Soporte para a�adir men�es din�micamente 
+		(y quitarlos) mediante la referencia... ok
+	21.- Que Skin a�ada men�es din�micamente... ok
+	25.- Pensar c�mo se produce el acceso a las extensiones... ok
+
+	13.- Arreglar el tema de la ViewInfo para que le venga dada a la vista
+		Programar cascada y mosaico
+		Programar la colocaci�n de las nuevas ventanas
+	12.- Meter el di�logo de configuraci�n
+	23.- Pensar c�mo se actualizan los plugins
+		De momento como en la 0.2
+	24.- Pensar c�mo compatibilizar los plugins
+	26.- Programar el ctrl+tab
+	27.- Cerrar los jars al cerrar la aplicaci�n
+	15.- Como cambiar el idioma de los plugins
+		- Se selecciona el de andami de entre los soportados. Ese ser� el idioma
+		de todos los plugins
+		- Para cada plugin se selecciona un idioma o no. Si no se selecciona se usa
+		el de andami. Si se selecciona se usa ese.
+	5.- A�adir soporte para actualizaciones de andami
+	3.- Parametrizar el modificador del acelerador de men�s
+	19.- Hacer una JProgressBar con texto
+
+borrar el StatusBar
+
+Documentaci�n
+Como crear un popup menu
+como marcar un progreso en la barra bloqueante pero con la interfaz respondiendo
+reserva del ant:
+	<!--Mete en el directorio web todo lo necesario para publicar
+  la aplicacion-->
+	<target name="crea-web-dir" depends="sign-jar, extensiones" description="Mete todo lo que va al war en el directorio web">
+	</target>
+
+	<!--Firma todos los jar de la aplicacion-->
+	<target name="sign-jar" description="Firma todos los jar" depends="move-jars">
+		<signjar keystore="${keystore}" storepass="aquilina" keypass="aquilina" alias="mdikey" jar="${webdir}/gvSIG.jar" />
+		<signjar keystore="${keystore}" storepass="aquilina" keypass="aquilina" alias="mdikey" jar="${webdir}/javaws.jar" />
+		<signjar keystore="${keystore}" storepass="aquilina" keypass="aquilina" alias="mdikey" jar="${webdir}/log4j-1.2.8.jar" />
+		<signjar keystore="${keystore}" storepass="aquilina" keypass="aquilina" alias="mdikey" jar="${webdir}/castor-0.9.5.3-xml.jar" />
+		<signjar keystore="${keystore}" storepass="aquilina" keypass="aquilina" alias="mdikey" jar="${webdir}/iver-utiles.jar" />
+		<signjar keystore="${keystore}" storepass="aquilina" keypass="aquilina" alias="mdikey" jar="${webdir}/xercesImpl.jar" />
+	</target>

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/por hacer.txt
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/sample-config.xml
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/sample-config.xml	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/sample-config.xml	(revision 3340)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<plugin-config>
+	<icon src="images/logoGVA.gif" text="gvSIG"/>
+	<resourceBundle name="text"/>
+	<import plugin-name="com.iver.cit.gvsig" />
+	<labelSet class="com.iver.cit.gvsig.gui.View">
+		<label id="1" size="100"/>
+		<label id="2" size="230"/>
+	</labelSet>
+	<libraries>
+		<library file="com.iver.cit.gvsig.jar"/>
+		<library file="wmsclient.jar"/>	
+	</libraries>
+	<extensions>
+		<extension>
+			<class name="com.iver.cit.gvsig.ProjectExtension"/>
+			<menu text="Archivo/nuevo_proyecto" 
+				key="n" mnemonic="n" 
+				tooltip="nuevo_tooltip"
+				action-command="NUEVO" icon="images/new.png"/>
+			<menu text="Archivo/abrir_proyecto" 
+				key="a" mnemonic="a" 
+				tooltip="abrir_tooltip"
+				action-command="ABRIR" icon="images/open.png"/>
+			<menu text="Archivo/guardar_proyecto" 
+				key="g" mnemonic="g" 
+				tooltip="guardar_tooltip"
+				action-command="GUARDAR" icon="images/save.png"/>
+
+			<toolBar>
+				<tool icon="images/new.png" tooltip="nuevo_tooltip"
+					action-command="NUEVO"/>
+				<tool icon="images/open.png" tooltip="abrir_tooltip"
+					action-command="ABRIR"/>
+				<tool icon="images/save.png" tooltip="guardar_tooltip"
+					action-command="GUARDAR"/>
+			</toolBar>
+
+		</extension>
+
+		<extension>
+			<class name="com.iver.cit.gvsig.ZoomPrev"/>
+			<menu text="Vista/Zoom_Previo" icon="images/ZoomPrevio.png"/>
+			<tool-bar name="Herramientas">
+				<action-tool icon="images/ZoomPrevio.png" action-command="ZOOM_PREV" tooltip="Zoom_Previo"/>
+			</tool-bar>
+		</extension>
+		<extension processing-position="2">
+			<class name="com.iver.cit.gvsig.ViewControls"/>
+			<menus>
+				<menu text="Vista/Zoom_Completo" action-command="FULL" icon="images/MapContents.png" tooltip="Zoom completo a la v�sta"/>
+				<menu text="Vista/Zoom_Select" action-command="ZOOM_SELECT" icon="image/Select.png"/>
+				<menu text="Vista/Encuadre" action-command="ENCUADRE" icon="images/encuadre.png"/>
+				<menu text="Vista/Seleccion_por_tema" action-command="SELECTIONBYSHAPE"/>
+				<menu text="Vista/configurar_localizador" action-command="CONFIG_LOCATOR"/>		
+				<menu text="Vista/propiedades" action-command="PROPERTIES"/>
+			</menus>
+			<tool-bar name="Herramientas" y-position="1">
+				<action-tool icon="images/MapContents.png" action-command="FULL" tooltip="Zoom_Completo"/>
+				<action-tool icon="images/encuadre.png" action-command="ENCUADRE" tooltip="gestion_encuadre" last="true"/>			
+				<selectable-tool group="grupo1" default="true" icon="images/ZoomIn.png" action-command="ZOOM_IN" tooltip="Zoom_M�s"/>
+				<selectable-tool group="grupo1" icon="images/ZoomOut.png" action-command="ZOOM_OUT"/>
+				<selectable-tool group="grupo1" icon="images/Pan.png" action-command="PAN"  tooltip="Encuadre"/>
+				<selectable-tool group="grupo1" icon="images/Identify.png" action-command="INFO"  tooltip="informacion" />
+				<selectable-tool group="grupo2" icon="images/Distancia.png" action-command="MEDICION"  tooltip="medir_distancias"/>
+				<selectable-tool group="grupo2" icon="images/Poligono16.png" action-command="AREA"  tooltip="medir_area"/>
+				<selectable-tool group="grupo2" default="true" icon="images/Select.png" action-command="SELPOINT"  tooltip="seleccionar_por_punto" />		
+				<selectable-tool group="grupo2" icon="images/SelEspacial2b.png" action-command="SELRECT"  tooltip="seleccionar_por_rectangulo"/>
+			</tool-bar>
+		</extension>
+		<extension>
+			<class name="com.iver.cit.gvsig.ThemeControls"/>
+			<menu text="Tema/propiedades"/>
+		</extension>
+	</extensions>
+
+	<file-extensions>
+		<file-extension description="DGNfiles" ends-with="dgn" dialog="openLayer">
+			<class name="com.iver.cit.gvsig.DGNFileExtension"/>
+		</file-extension>
+		<file-extension description="Rasterfiles" ends-with="ecw,tif,tiff,jpg,png" dialog="openLayer">
+			<class name="com.iver.cit.gvsig.RasterFileExtension"/>
+		</file-extension>
+	</file-extensions>
+</plugin-config>

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/sample-config.xml
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/andami-config.xsd
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/andami-config.xsd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/andami-config.xml
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/andami-config.xml	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/andami-config.xml	(revision 3340)
@@ -0,0 +1,5 @@
+<andami-config locale-languaje="es" locale-country="ES" locale-variant="es" pluginsDirectory="c:\tirar">
+	<andami update="yes"/>
+	<plugin name="com.iver.cit.gvsig" update="yes"/>
+	<plugin name="com.iver.core" update="no"/>
+</andami-config>
\ No newline at end of file

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/andami-config.xml
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/plugin-persistence.xsd
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/plugin-persistence.xsd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/plugin-config.xsd
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/plugin-config.xsd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/sample-plugins-persistence.xml
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/sample-plugins-persistence.xml	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/sample-plugins-persistence.xml	(revision 3340)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<plugins-status>
+	<plugin name="gvsig" lastUpdate="237628686">
+		<xml-entity name="config">
+			<property name="dataDirectory" value="c:\"/>
+			<xml-entity>
+				<property name="dataDirectory" value="c:\"/>
+				<property name="dataDirectory" value="c:\"/>
+				<property name="dataDirectory" value="c:\"/>
+			</xml-entity>
+		</xml-entity>
+		<bookmarks>
+			<bookmark text="Recientes/raster">
+				<xml-entity>
+					<property name="projection" value="EPSG:3403"/>
+					<property name="boundinBox" value="12,12,115,115"/>
+				</xml-entity>
+			</bookmark>
+		</bookmarks>
+		<windows>
+			<window id="0" rectangle="0,0,150,150"/>
+			<window id="2" rectangle="50,50,150,150"/>
+			<window id="8" rectangle="100,100,150,150"/>
+			<window id="12" rectangle="150,150,150,150"/>
+		</windows>
+	</plugin>
+	<tool-bars>
+		<tool-bar name="gvsig.herramientas" x-position="0" y-position="1"/>
+		<tool-bar name="gvsig.herramientas" x-position="0" y-position="0"/>
+	</tool-bars>
+</plugins-status>

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/schemas/sample-plugins-persistence.xml
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/.project
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/.project	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/.project	(revision 3340)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Andami</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature>
+	</natures>
+</projectDescription>

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/.project
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/castor.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/castor.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/castor.properties	(revision 3340)
@@ -0,0 +1 @@
+org.exolab.castor.indent=true
\ No newline at end of file

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/castor.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/xerces_2_5_0.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/xerces_2_5_0.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/commons-dbcp-1.0-dev-20020806.zip
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/commons-dbcp-1.0-dev-20020806.zip
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/JUF-1.0.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/JUF-1.0.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/tempFileManager.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/tempFileManager.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/castor-0.9.5.3-xml.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/castor-0.9.5.3-xml.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/log4j-1.2.8.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/log4j-1.2.8.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/commons-pool-1.2.zip
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/commons-pool-1.2.zip
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/iver-utiles.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/iver-utiles.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/crimson.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/crimson.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/xml-apis.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/xml-apis.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/javaws.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/javaws.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/commons-collections-3.1.zip
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/lib/commons-collections-3.1.zip
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/warning.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/warning.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/logo_es.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/logo_es.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/error.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/error.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/info.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/info.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/logo_en.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/images/logo_en.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/log4j.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/log4j.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/log4j.properties	(revision 3340)
@@ -0,0 +1,8 @@
+log4j.rootLogger=debug, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+
+# Pattern to output the caller's file name and line number.
+log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
+

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/log4j.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/Utilities.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/Utilities.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/Utilities.java	(revision 3340)
@@ -0,0 +1,206 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami;
+
+import java.awt.Component;
+import java.awt.Container;
+import java.awt.event.MouseEvent;
+import java.io.BufferedInputStream;
+import java.io.BufferedOutputStream;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationTargetException;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.Enumeration;
+import java.util.zip.ZipEntry;
+import java.util.zip.ZipException;
+import java.util.zip.ZipFile;
+
+import javax.swing.ImageIcon;
+import javax.swing.RootPaneContainer;
+
+import org.apache.log4j.Logger;
+
+import com.iver.andami.plugins.PluginClassLoader;
+import com.iver.andami.ui.SplashWindow;
+import com.iver.andami.ui.mdiManager.View;
+
+
+
+/**
+ * Clase de utilidad
+ *
+ * @version $Revision$
+ */
+public class Utilities {
+    /** DOCUMENT ME! */
+    private static Logger logger = Logger.getLogger(Utilities.class.getName());
+
+    /**
+     * Crea un icono a partir del path de una imagen
+     *
+     * @param path Path de la imagen dentro del jar de la aplicaci�n
+     *
+     * @return ImageIcon si encuentra la imagen y null si no la encuentra
+     */
+    public static ImageIcon createImageIcon(String path) {
+        URL imgURL = null;
+
+        try {
+            imgURL = new URL("file:" + path);
+        } catch (MalformedURLException e) {
+            e.printStackTrace();
+        }
+
+        if (imgURL != null) {
+            return new ImageIcon(imgURL);
+        } else {
+            return null;
+        }
+    }
+
+    /**
+     * M�todo que libera la memoria de los jInternalFrame
+     *
+     * @param baseComponent JInternalFrame cuya memoria se quiere eliminar
+     */
+    public static void cleanComponent(Component baseComponent) {
+        try {
+            cleanComponent(baseComponent, 0);
+        } catch (Exception ignore) { // give some exception handling... 
+        }
+    }
+
+    /*    * The "depth" parameter was being used for text output debugging.    * But isn't essential now.  I'll keep it anyways, as it avoids    * calling the garbage collector every recursion.    */
+    protected static void cleanComponent(Component baseComponent, int depth) {
+        if (baseComponent == null) // recursion terminating clause     
+         {
+            return;
+        }
+        
+        if (baseComponent instanceof View){
+        	return;
+        }
+
+        Container cont;
+        Component[] childComponents;
+        int numChildren; // clean up component containers
+
+        if (baseComponent instanceof Container) { // now clean up container instance variables 
+
+            if (baseComponent instanceof RootPaneContainer) { // Swing specialised container         
+                cont = (Container) baseComponent;
+                numChildren = cont.getComponentCount();
+                childComponents = cont.getComponents();
+
+                for (int i = 0; i < numChildren; i++) { // remove each component from the current container            
+
+                    // each child component may be a container itself   
+                    cleanComponent(childComponents[i], depth + 1);
+                    ((RootPaneContainer) cont).getContentPane().remove(childComponents[i]);
+                }
+
+                ((RootPaneContainer) cont).getContentPane().setLayout(null);
+            } else { // General Swing, and AWT, Containers  
+                cont = (Container) baseComponent;
+                numChildren = cont.getComponentCount();
+                childComponents = cont.getComponents();
+
+                for (int i = 0; i < numChildren; i++) //for(int i = 0;i < numChildren;i++)              
+                 {
+                    // remove each component from the current container                    // each child component may be a container itself                   
+                    cleanComponent(childComponents[i], depth + 1);
+                    cont.remove(childComponents[i]);
+                }
+
+                cont.setLayout(null);
+            }
+        }
+
+        // if component is also a container  
+    }
+
+    /**
+     * Extrae un fichero zip en un directorio
+     *
+     * @param file fichero comprimido
+     * @param dir Directorio donde se extraera el fichero
+     *
+     * @throws ZipException Si hay un error con el formato del fichero
+     * @throws IOException Si se produce un error de entrada salida gen�rico
+     */
+    public static void extractTo(File file, File dir, SplashWindow splash)
+        throws ZipException, IOException {
+        ZipFile zip = new ZipFile(file);
+        Enumeration e = zip.entries();
+
+        while (e.hasMoreElements()) {
+            ZipEntry entry = (ZipEntry) e.nextElement();
+            System.out.println("Procesando " + entry.getName() + "...");
+            splash.process(30, "Procesando " + entry.getName() + "...");
+            if (entry.isDirectory()) {
+                new File(dir.getAbsolutePath() + File.separator +
+                    entry.getName()).mkdir();
+            } else {
+                InputStream in = zip.getInputStream(entry);
+                OutputStream out = new FileOutputStream(dir + File.separator +
+                        entry.getName());
+                BufferedInputStream bin = new BufferedInputStream(in);
+                BufferedOutputStream bout = new BufferedOutputStream(out);
+
+                int i;
+
+                while ((i = bin.read()) != -1) {
+                    bout.write(i);
+                }
+
+                bout.flush();
+                bout.close();
+                bin.close();
+            }
+        }
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/Utilities.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_en.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_en.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_en.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text_en.properties
+KeyMapping.Caracter_no_valido=Invalid character 
+Launcher.config_mal_formado=malformed 'config.xml'
+Launcher.config_no_encontrado='config.xml' not found
+Launcher.Dependencia_no_resuelta_en_plugin=Unsatisfied plugin dependency
+Launcher.Dos_skin_extension=Two skin-extension.
+Launcher.Error_con_las_librerias_del_plugin=Plugin library error
+Launcher.Error_instanciando_la_extension=Cannot instantiate extension
+Launcher.Error_localizando_la_clase_de_la_extension=Cannot locate extension class
+Launcher.Hay_dependencias_circulares=Plugin dependencies involved in circle
+Launcher.Ignorando_el_directorio=Ignoring the directory
+Launcher.labelset_class=Cannot find label set class (labelset)
+Launcher.look_and_feel=Cannot set system 'look and feel'
+Launcher.No_se_encontro_la_clase_de_la_extension=Cannot find extension class
+Launcher.No_se_encontro_la_clase_mdi_manager=Cannot find mdi manager class
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=Cannot access mdi manager
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=Cannot save andami configuration
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=Cannot instantiate mdi manager
+Launcher.No_se_puede_acceder_a=Cannot access to
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=Cannot save plugins configuration
+Launcher.Two_extensions_with_the_same_priority=Two extensions with the same priority. Only will load one.
+Launcher.Two_menus_with_the_same_position=Two menus with the same position. Only will load one.
+MDIFrame.Error_no_capturado_por_el_usuario=User error
+MDIFrame.quiere_salir=Exit gvSIG?
+MDIFrame.salir=Exit
+MDIManagerFactory.No_skin_extension_in_the_plugins=No skin extension in the plugins
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Two classes with the same name
+PluginClassLoader.Error_reading_file=IO error\: 
+PluginServices.Bug_en_el_codigo=Bug
+PluginServices.Error_grave_de_la_aplicacion=Critical error. You better save and exit
+PluginServices.No_se_encontro_el_recurso_de_traducciones=Cannot find resource bundle
+PluginServices.No_se_encontro_la_traduccion_para=Cannot find translation for
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=cannot set hour glass
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=Cannot restore cursor
+SplashWindow.Iniciando=Starting...
+StatusBar.Aplicacion_iniciada=Application started

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_en.properties
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/SpecialResourceBundle.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/SpecialResourceBundle.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/SpecialResourceBundle.java	(revision 3340)
@@ -0,0 +1,73 @@
+/*
+ * Created on 28-jul-2005
+ *
+ * gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ * 
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *  
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *  
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ * 
+ *    or
+ * 
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ * 
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami;
+
+import java.io.InputStream;
+import java.util.Enumeration;
+import java.util.PropertyResourceBundle;
+import java.util.ResourceBundle;
+
+/**
+ * @author fjp
+ *
+ * Esta clase intenta crear un locale con lo que le pasas.
+ * Si no puede, mira si le has pasado algo que conoce, por ejemplo
+ * va para valenciano, y hace lo que puede poniendo un lenguaje
+ * para esto (por ejemplo, usar un locale "ca_ES"), pero se guarda
+ * que en realidad es "va".
+ */
+public class SpecialResourceBundle extends ResourceBundle {
+    private static final String BUNDLE_NAME = "com.iver.andami.text";
+    SpecialResourceBundle(String strLocale)
+    {
+    }
+    public Enumeration getKeys() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+    protected Object handleGetObject(String key) {
+        // TODO Auto-generated method stub
+        return null;
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/SpecialResourceBundle.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_cs.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_cs.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_cs.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text_cs.properties
+KeyMapping.Caracter_no_valido=Neplatn\u00FD znak 
+Launcher.config_mal_formado=chybn\u00FD 'config.xml'
+Launcher.config_no_encontrado='config.xml' nenalezen
+Launcher.Dependencia_no_resuelta_en_plugin=Poru\u0161en\u00E1 z\u00E1vislost z\u00E1suvn\u00E9ho modulu
+Launcher.Dos_skin_extension=Dv\u011B extenze pro vzhled.
+Launcher.Error_con_las_librerias_del_plugin=Chyba v knihovn\u011B z\u00E1suvn\u00E9ho modulu
+Launcher.Error_instanciando_la_extension=Nelze vytvo\u0159it instanci extenze
+Launcher.Error_localizando_la_clase_de_la_extension=Nelze nal\u00E9zt t\u0159\u00EDdu extenze
+Launcher.Hay_dependencias_circulares=Kruhov\u00E1 z\u00E1vislost z\u00E1suvn\u00E9ho modulu
+Launcher.Ignorando_el_directorio=Ignoruji adres\u00E1\u0159
+Launcher.labelset_class=Nelze nal\u00E9zt popisek t\u0159\u00EDdy (labelset)
+Launcher.look_and_feel=Nelze nastavit syst\u00E9mov\u00FD vzhled
+Launcher.No_se_encontro_la_clase_de_la_extension=Nelze nal\u00E9zt t\u0159\u00EDdu extenze
+Launcher.No_se_encontro_la_clase_mdi_manager=Nelze nal\u00E9zt t\u0159\u00EDdu mdi manager
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=P\u0159\u00EDstup k mdi manager odm\u00EDtnut
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=Nelze ulo\u017Eit konfiguraci Andami
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=Nelze vytvo\u0159it instanci mdi manager
+Launcher.No_se_puede_acceder_a=Zam\u00EDtnut p\u0159\u00EDstup k
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=Nelze ulo\u017Eit konfigurace z\u00E1suvn\u00FDch modul\u016F
+Launcher.Two_extensions_with_the_same_priority=Dv\u011B extenze se stejnou prioritou. Bude na\u010Dtena jen jedna.
+Launcher.Two_menus_with_the_same_position=Dv\u011B nab\u00EDdky se stejnou pozic\u00ED. Bude na\u010Dtena jen jedna.
+MDIFrame.Error_no_capturado_por_el_usuario=Chyba u\u017Eivatele
+MDIFrame.quiere_salir=Ukon\u010Dit gvSIG?
+MDIFrame.salir=Konec
+MDIManagerFactory.No_skin_extension_in_the_plugins=Neexistuje extenze pro vzhled v z\u00E1suvn\u00E9m modulu
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Dv\u011B t\u0159\u00EDdy se stejn\u00FDm jm\u00E9nem
+PluginClassLoader.Error_reading_file=IO chyba\: 
+PluginServices.Bug_en_el_codigo=Chyba
+PluginServices.Error_grave_de_la_aplicacion=Kritick\u00E1 chyba. Rad\u011Bji ulo\u017Ete pr\u00E1ci a ukon\u010Dete
+PluginServices.No_se_encontro_el_recurso_de_traducciones=Nelze nal\u00E9zt p\u0159ekladov\u00FD soubor
+PluginServices.No_se_encontro_la_traduccion_para=Nelze nal\u00E9zt p\u0159eklad pro
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=Nelze nastavit p\u0159es\u00FDpac\u00ED hodiny
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=Nelze obnovit kurzor
+SplashWindow.Iniciando=Spou\u0161t\u00EDm...
+StatusBar.Aplicacion_iniciada=Aplikace spu\u0161t\u011Bna

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_cs.properties
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_va.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_va.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_va.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text_ca.properties
+KeyMapping.Caracter_no_valido=Car\u00E0cter no v\u00E0lid\:
+Launcher.config_mal_formado=. Fitxer 'config.xml' mal format
+Launcher.config_no_encontrado=. Fitxer 'config.xml' no trobat
+Launcher.Dependencia_no_resuelta_en_plugin=Depend\u00E8ncia no resolta en el connector
+Launcher.Dos_skin_extension=Dos skin-extension. Usem l'\u00FAltim
+Launcher.Error_con_las_librerias_del_plugin=Error amb les llibreries del connector
+Launcher.Error_instanciando_la_extension=Error instanciant l'extensi\u00F3
+Launcher.Error_localizando_la_clase_de_la_extension=Error en localitzar la classe de l'extensi\u00F3
+Launcher.Hay_dependencias_circulares=Hi ha depend\u00E8ncies circulars entre els connectors
+Launcher.Ignorando_el_directorio=Ignorant el directori
+Launcher.labelset_class=No s'ha pogut trobar la classe d'etiquetes (labelset)
+Launcher.look_and_feel=No s'ha pogut posar el 'look and feel'
+Launcher.No_se_encontro_la_clase_de_la_extension=No s'ha trobat la classe de l'extensi\u00F3
+Launcher.No_se_encontro_la_clase_mdi_manager=No s'ha trobat la classe mdi manager
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=No s'ha pogut accedir a la classe mdi manager
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=No s'ha pogut guardar la configuraci\u00F3 d'andami
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=No s'ha pogut instanciar la classe mdi manager
+Launcher.No_se_puede_acceder_a=No es pot accedir a
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=S'ha produ\u00EFt un error en guardar la configuraci\u00F3 dels connectors
+Launcher.Two_extensions_with_the_same_priority=Dos extensions amb la mateixa prioritat, nom\u00E9s se'n carregar\u00E0 una.
+Launcher.Two_menus_with_the_same_position=Dos men\u00FAs amb la mateixa posici\u00F3, nom\u00E9s se'n carregar\u00E0 un
+MDIFrame.Error_no_capturado_por_el_usuario=Error no detectat per l'usuari
+MDIFrame.quiere_salir=Est\u00E0 segur que vol eixir?
+MDIFrame.salir=Eixir
+MDIManagerFactory.No_skin_extension_in_the_plugins=No s'ha trobat cap extensi\u00F3 'skin' entre els connectors
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Dos classes amb el mateix nom en el connector
+PluginClassLoader.Error_reading_file=Error llegint el fitxer\: 
+PluginServices.Bug_en_el_codigo=Error en el codi
+PluginServices.Error_grave_de_la_aplicacion=Error greu de l'aplicaci\u00F3. \u00C9s convenient que guarde les dades i isca de l'aplicaci\u00F3
+PluginServices.No_se_encontro_el_recurso_de_traducciones=No s'ha trobat el recurs de traduccions
+PluginServices.No_se_encontro_la_traduccion_para=No s'ha trobat la traducci\u00F3 per a
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=No s'ha pogut posar el rellotge d'arena
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=No s'ha pogut restaurar el cursor del ratol\u00ED
+SplashWindow.Iniciando=Iniciant...
+StatusBar.Aplicacion_iniciada=Aplicaci\u00F3 iniciada

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_va.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/PluginDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/PluginDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/PluginDescriptor.java	(revision 3340)
@@ -0,0 +1,214 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class PluginDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PluginDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PluginDescriptor() {
+        super();
+        xmlName = "plugin";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _name
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_name", "name", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Plugin target = (Plugin) object;
+                return target.getName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Plugin target = (Plugin) object;
+                    target.setName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _name
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _update
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_update", "update", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Plugin target = (Plugin) object;
+                if(!target.hasUpdate())
+                    return null;
+                return (target.getUpdate() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Plugin target = (Plugin) object;
+                    // ignore null values for non optional primitives
+                    if (value == null) return;
+                    
+                    target.setUpdate( ((java.lang.Boolean)value).booleanValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _update
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            BooleanValidator typeValidator = new BooleanValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.config.generate.PluginDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.config.generate.Plugin.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/PluginDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiConfigDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiConfigDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiConfigDescriptor.java	(revision 3340)
@@ -0,0 +1,356 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class AndamiConfigDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class AndamiConfigDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public AndamiConfigDescriptor() {
+        super();
+        xmlName = "andami-config";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _localeLanguage
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_localeLanguage", "locale-language", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                AndamiConfig target = (AndamiConfig) object;
+                return target.getLocaleLanguage();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    AndamiConfig target = (AndamiConfig) object;
+                    target.setLocaleLanguage( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _localeLanguage
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _localeCountry
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_localeCountry", "locale-country", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                AndamiConfig target = (AndamiConfig) object;
+                return target.getLocaleCountry();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    AndamiConfig target = (AndamiConfig) object;
+                    target.setLocaleCountry( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _localeCountry
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _localeVariant
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_localeVariant", "locale-variant", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                AndamiConfig target = (AndamiConfig) object;
+                return target.getLocaleVariant();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    AndamiConfig target = (AndamiConfig) object;
+                    target.setLocaleVariant( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _localeVariant
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _pluginsDirectory
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_pluginsDirectory", "pluginsDirectory", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                AndamiConfig target = (AndamiConfig) object;
+                return target.getPluginsDirectory();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    AndamiConfig target = (AndamiConfig) object;
+                    target.setPluginsDirectory( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _pluginsDirectory
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+        //-- _andami
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.config.generate.Andami.class, "_andami", "andami", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                AndamiConfig target = (AndamiConfig) object;
+                return target.getAndami();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    AndamiConfig target = (AndamiConfig) object;
+                    target.setAndami( (com.iver.andami.config.generate.Andami) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.config.generate.Andami();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _andami
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _pluginList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.config.generate.Plugin.class, "_pluginList", "plugin", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                AndamiConfig target = (AndamiConfig) object;
+                return target.getPlugin();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    AndamiConfig target = (AndamiConfig) object;
+                    target.addPlugin( (com.iver.andami.config.generate.Plugin) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.config.generate.Plugin();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _pluginList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.config.generate.AndamiConfigDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.config.generate.AndamiConfig.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiConfigDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/Plugin.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/Plugin.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/Plugin.java	(revision 3340)
@@ -0,0 +1,181 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Plugin.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Plugin implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _name
+     */
+    private java.lang.String _name;
+
+    /**
+     * Field _update
+     */
+    private boolean _update;
+
+    /**
+     * keeps track of state for field: _update
+     */
+    private boolean _has_update;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Plugin() {
+        super();
+    } //-- com.iver.andami.config.generate.Plugin()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method deleteUpdate
+     */
+    public void deleteUpdate()
+    {
+        this._has_update= false;
+    } //-- void deleteUpdate() 
+
+    /**
+     * Returns the value of field 'name'.
+     * 
+     * @return the value of field 'name'.
+     */
+    public java.lang.String getName()
+    {
+        return this._name;
+    } //-- java.lang.String getName() 
+
+    /**
+     * Returns the value of field 'update'.
+     * 
+     * @return the value of field 'update'.
+     */
+    public boolean getUpdate()
+    {
+        return this._update;
+    } //-- boolean getUpdate() 
+
+    /**
+     * Method hasUpdate
+     */
+    public boolean hasUpdate()
+    {
+        return this._has_update;
+    } //-- boolean hasUpdate() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'name'.
+     * 
+     * @param name the value of field 'name'.
+     */
+    public void setName(java.lang.String name)
+    {
+        this._name = name;
+    } //-- void setName(java.lang.String) 
+
+    /**
+     * Sets the value of field 'update'.
+     * 
+     * @param update the value of field 'update'.
+     */
+    public void setUpdate(boolean update)
+    {
+        this._update = update;
+        this._has_update = true;
+    } //-- void setUpdate(boolean) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.config.generate.Plugin) Unmarshaller.unmarshal(com.iver.andami.config.generate.Plugin.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/Plugin.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiConfig.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiConfig.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiConfig.java	(revision 3340)
@@ -0,0 +1,360 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class AndamiConfig.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class AndamiConfig implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _localeLanguage
+     */
+    private java.lang.String _localeLanguage;
+
+    /**
+     * Field _localeCountry
+     */
+    private java.lang.String _localeCountry;
+
+    /**
+     * Field _localeVariant
+     */
+    private java.lang.String _localeVariant;
+
+    /**
+     * Field _pluginsDirectory
+     */
+    private java.lang.String _pluginsDirectory;
+
+    /**
+     * Field _andami
+     */
+    private com.iver.andami.config.generate.Andami _andami;
+
+    /**
+     * Field _pluginList
+     */
+    private java.util.Vector _pluginList;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public AndamiConfig() {
+        super();
+        _pluginList = new Vector();
+    } //-- com.iver.andami.config.generate.AndamiConfig()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addPlugin
+     * 
+     * @param vPlugin
+     */
+    public void addPlugin(com.iver.andami.config.generate.Plugin vPlugin)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _pluginList.addElement(vPlugin);
+    } //-- void addPlugin(com.iver.andami.config.generate.Plugin) 
+
+    /**
+     * Method addPlugin
+     * 
+     * @param index
+     * @param vPlugin
+     */
+    public void addPlugin(int index, com.iver.andami.config.generate.Plugin vPlugin)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _pluginList.insertElementAt(vPlugin, index);
+    } //-- void addPlugin(int, com.iver.andami.config.generate.Plugin) 
+
+    /**
+     * Method enumeratePlugin
+     */
+    public java.util.Enumeration enumeratePlugin()
+    {
+        return _pluginList.elements();
+    } //-- java.util.Enumeration enumeratePlugin() 
+
+    /**
+     * Returns the value of field 'andami'.
+     * 
+     * @return the value of field 'andami'.
+     */
+    public com.iver.andami.config.generate.Andami getAndami()
+    {
+        return this._andami;
+    } //-- com.iver.andami.config.generate.Andami getAndami() 
+
+    /**
+     * Returns the value of field 'localeCountry'.
+     * 
+     * @return the value of field 'localeCountry'.
+     */
+    public java.lang.String getLocaleCountry()
+    {
+        return this._localeCountry;
+    } //-- java.lang.String getLocaleCountry() 
+
+    /**
+     * Returns the value of field 'localeLanguage'.
+     * 
+     * @return the value of field 'localeLanguage'.
+     */
+    public java.lang.String getLocaleLanguage()
+    {
+        return this._localeLanguage;
+    } //-- java.lang.String getLocaleLanguage() 
+
+    /**
+     * Returns the value of field 'localeVariant'.
+     * 
+     * @return the value of field 'localeVariant'.
+     */
+    public java.lang.String getLocaleVariant()
+    {
+        return this._localeVariant;
+    } //-- java.lang.String getLocaleVariant() 
+
+    /**
+     * Method getPlugin
+     * 
+     * @param index
+     */
+    public com.iver.andami.config.generate.Plugin getPlugin(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _pluginList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.config.generate.Plugin) _pluginList.elementAt(index);
+    } //-- com.iver.andami.config.generate.Plugin getPlugin(int) 
+
+    /**
+     * Method getPlugin
+     */
+    public com.iver.andami.config.generate.Plugin[] getPlugin()
+    {
+        int size = _pluginList.size();
+        com.iver.andami.config.generate.Plugin[] mArray = new com.iver.andami.config.generate.Plugin[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.config.generate.Plugin) _pluginList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.config.generate.Plugin[] getPlugin() 
+
+    /**
+     * Method getPluginCount
+     */
+    public int getPluginCount()
+    {
+        return _pluginList.size();
+    } //-- int getPluginCount() 
+
+    /**
+     * Returns the value of field 'pluginsDirectory'.
+     * 
+     * @return the value of field 'pluginsDirectory'.
+     */
+    public java.lang.String getPluginsDirectory()
+    {
+        return this._pluginsDirectory;
+    } //-- java.lang.String getPluginsDirectory() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllPlugin
+     */
+    public void removeAllPlugin()
+    {
+        _pluginList.removeAllElements();
+    } //-- void removeAllPlugin() 
+
+    /**
+     * Method removePlugin
+     * 
+     * @param index
+     */
+    public com.iver.andami.config.generate.Plugin removePlugin(int index)
+    {
+        java.lang.Object obj = _pluginList.elementAt(index);
+        _pluginList.removeElementAt(index);
+        return (com.iver.andami.config.generate.Plugin) obj;
+    } //-- com.iver.andami.config.generate.Plugin removePlugin(int) 
+
+    /**
+     * Sets the value of field 'andami'.
+     * 
+     * @param andami the value of field 'andami'.
+     */
+    public void setAndami(com.iver.andami.config.generate.Andami andami)
+    {
+        this._andami = andami;
+    } //-- void setAndami(com.iver.andami.config.generate.Andami) 
+
+    /**
+     * Sets the value of field 'localeCountry'.
+     * 
+     * @param localeCountry the value of field 'localeCountry'.
+     */
+    public void setLocaleCountry(java.lang.String localeCountry)
+    {
+        this._localeCountry = localeCountry;
+    } //-- void setLocaleCountry(java.lang.String) 
+
+    /**
+     * Sets the value of field 'localeLanguage'.
+     * 
+     * @param localeLanguage the value of field 'localeLanguage'.
+     */
+    public void setLocaleLanguage(java.lang.String localeLanguage)
+    {
+        this._localeLanguage = localeLanguage;
+    } //-- void setLocaleLanguage(java.lang.String) 
+
+    /**
+     * Sets the value of field 'localeVariant'.
+     * 
+     * @param localeVariant the value of field 'localeVariant'.
+     */
+    public void setLocaleVariant(java.lang.String localeVariant)
+    {
+        this._localeVariant = localeVariant;
+    } //-- void setLocaleVariant(java.lang.String) 
+
+    /**
+     * Method setPlugin
+     * 
+     * @param index
+     * @param vPlugin
+     */
+    public void setPlugin(int index, com.iver.andami.config.generate.Plugin vPlugin)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _pluginList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _pluginList.setElementAt(vPlugin, index);
+    } //-- void setPlugin(int, com.iver.andami.config.generate.Plugin) 
+
+    /**
+     * Method setPlugin
+     * 
+     * @param pluginArray
+     */
+    public void setPlugin(com.iver.andami.config.generate.Plugin[] pluginArray)
+    {
+        //-- copy array
+        _pluginList.removeAllElements();
+        for (int i = 0; i < pluginArray.length; i++) {
+            _pluginList.addElement(pluginArray[i]);
+        }
+    } //-- void setPlugin(com.iver.andami.config.generate.Plugin) 
+
+    /**
+     * Sets the value of field 'pluginsDirectory'.
+     * 
+     * @param pluginsDirectory the value of field 'pluginsDirectory'
+     */
+    public void setPluginsDirectory(java.lang.String pluginsDirectory)
+    {
+        this._pluginsDirectory = pluginsDirectory;
+    } //-- void setPluginsDirectory(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.config.generate.AndamiConfig) Unmarshaller.unmarshal(com.iver.andami.config.generate.AndamiConfig.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiConfig.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiDescriptor.java	(revision 3340)
@@ -0,0 +1,178 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class AndamiDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class AndamiDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public AndamiDescriptor() {
+        super();
+        xmlName = "andami";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _update
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_update", "update", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Andami target = (Andami) object;
+                if(!target.hasUpdate())
+                    return null;
+                return (target.getUpdate() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Andami target = (Andami) object;
+                    // ignore null values for non optional primitives
+                    if (value == null) return;
+                    
+                    target.setUpdate( ((java.lang.Boolean)value).booleanValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _update
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            BooleanValidator typeValidator = new BooleanValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.config.generate.AndamiDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.config.generate.Andami.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/AndamiDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/Andami.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/Andami.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/Andami.java	(revision 3340)
@@ -0,0 +1,156 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Andami.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Andami implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _update
+     */
+    private boolean _update;
+
+    /**
+     * keeps track of state for field: _update
+     */
+    private boolean _has_update;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Andami() {
+        super();
+    } //-- com.iver.andami.config.generate.Andami()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method deleteUpdate
+     */
+    public void deleteUpdate()
+    {
+        this._has_update= false;
+    } //-- void deleteUpdate() 
+
+    /**
+     * Returns the value of field 'update'.
+     * 
+     * @return the value of field 'update'.
+     */
+    public boolean getUpdate()
+    {
+        return this._update;
+    } //-- boolean getUpdate() 
+
+    /**
+     * Method hasUpdate
+     */
+    public boolean hasUpdate()
+    {
+        return this._has_update;
+    } //-- boolean hasUpdate() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'update'.
+     * 
+     * @param update the value of field 'update'.
+     */
+    public void setUpdate(boolean update)
+    {
+        this._update = update;
+        this._has_update = true;
+    } //-- void setUpdate(boolean) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.config.generate.Andami) Unmarshaller.unmarshal(com.iver.andami.config.generate.Andami.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/config/generate/Andami.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ConfigurationException.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ConfigurationException.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ConfigurationException.java	(revision 3340)
@@ -0,0 +1,90 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami;
+
+/**
+ * Indica que se ha producido un error accediendo a los ficheros de configuraci�n
+ * de la plicaci�n, de Andami o de los plugins
+ */
+public class ConfigurationException extends Exception {
+    /**
+     *
+     */
+    public ConfigurationException() {
+        super();
+
+        // TODO Auto-generated constructor stub
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param message
+     */
+    public ConfigurationException(String message) {
+        super(message);
+
+        // TODO Auto-generated constructor stub
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param message
+     * @param cause
+     */
+    public ConfigurationException(String message, Throwable cause) {
+        super(message, cause);
+
+        // TODO Auto-generated constructor stub
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param cause
+     */
+    public ConfigurationException(Throwable cause) {
+        super(cause);
+
+        // TODO Auto-generated constructor stub
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ConfigurationException.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_fr.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_fr.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_fr.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text_fr.properties
+KeyMapping.Caracter_no_valido=Caract\u00E8re non valide\:
+Launcher.config_mal_formado=. Fichier 'config.xml' mal format\u00E9
+Launcher.config_no_encontrado=. Fichier 'config.xml' non trouv\u00E9
+Launcher.Dependencia_no_resuelta_en_plugin=D\u00E9pendance non r\u00E9solue dans le plugin
+Launcher.Dos_skin_extension=Dos "skin-extension". utilisons le dernier\:
+Launcher.Error_con_las_librerias_del_plugin=Erreur avec les librairies du plugin
+Launcher.Error_instanciando_la_extension=Erreur d'instanciation de l'extension
+Launcher.Error_localizando_la_clase_de_la_extension=Erreur de localisation de la classe d'extension
+Launcher.Hay_dependencias_circulares=Il y a des d\u00E9pendances circulaires entre les plugins
+Launcher.Ignorando_el_directorio=Ingnor\u00E9 dans le r\u00E9pertoire
+Launcher.labelset_class=Impossible de trouver la classe des \u00E9tiquettes (labelset)
+Launcher.look_and_feel=le"look and feel"n'a pas pu s'afficher\:
+Launcher.No_se_encontro_la_clase_de_la_extension=Impossible de trouver la classe de l'extension
+Launcher.No_se_encontro_la_clase_mdi_manager=Impossible de trouver la classe mdi manager
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=Impossible d'acc\u00E9der la clase mdi manager
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=Impossible de conserver la configuration d'Andami
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=Impossible d'instancier la classe mdi manager
+Launcher.No_se_puede_acceder_a=Impossible d'acc\u00E9der \u00E0
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=Une erreur s'est produite lors de la sauvegarde de la configuration des plugins
+Launcher.Two_extensions_with_the_same_priority=Deux extensions avec la m\u00EAme priorit\u00E9, une seule sera charg\u00E9e.
+Launcher.Two_menus_with_the_same_position=Deux menus ont la m\u00EAme position, un seul sera charg\u00E9
+MDIFrame.Error_no_capturado_por_el_usuario=Erreur non captur\u00E9e par l'utilisateur
+MDIFrame.quiere_salir=Voulez-vous vraiment quitter gvSIG?
+MDIFrame.salir=Quitter
+MDIManagerFactory.No_skin_extension_in_the_plugins=Aucune extension'skin'trouv\u00E9e parmi les plugins\:
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Deux classes ont le m\u00EAme nom dans le plugin
+PluginClassLoader.Error_reading_file=Erreur dans la lecture du fichier\:
+PluginServices.Bug_en_el_codigo=Bug dans le code
+PluginServices.Error_grave_de_la_aplicacion=Erreur grave. Sauvez et quittez l'application.
+PluginServices.No_se_encontro_el_recurso_de_traducciones=Impossible de trouver les fichiers de traductions
+PluginServices.No_se_encontro_la_traduccion_para=Impossible de trouver les traductions pour
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=Absence de sablier\:
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=Impossible de restaurer le curseur de la souris
+SplashWindow.Iniciando=Initialisation...
+StatusBar.Aplicacion_iniciada=Application initialis\u00E9e

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_fr.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/MessageEvent.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/MessageEvent.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/MessageEvent.java	(revision 3340)
@@ -0,0 +1,80 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.messages;
+
+public class MessageEvent {
+	private String[] messages;
+	private Throwable[] exceptions;
+
+	public MessageEvent(String[] msgs, Throwable[] excps){
+		messages = msgs;
+		exceptions = excps;
+	}
+
+	/**
+	 * @return
+	 */
+	public Throwable[] getExceptions() {
+		return exceptions;
+	}
+
+	/**
+	 * @return
+	 */
+	public String[] getMessages() {
+		return messages;
+	}
+
+	/**
+	 * @param throwables
+	 */
+	public void setExceptions(Throwable[] throwables) {
+		exceptions = throwables;
+	}
+
+	/**
+	 * @param strings
+	 */
+	public void setMessages(String[] strings) {
+		messages = strings;
+	}
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/MessageEvent.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/Messages.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/Messages.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/Messages.java	(revision 3340)
@@ -0,0 +1,127 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.messages;
+
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.Properties;
+import java.util.PropertyResourceBundle;
+import java.util.ResourceBundle;
+
+
+/**
+ * Clase que accede a los recursos para la i18n
+ */
+public class Messages {
+    /** DOCUMENT ME! */
+    private static final String BUNDLE_NAME = "com.iver.andami.text";
+
+    /** DOCUMENT ME! */
+    private static ResourceBundle RESOURCE_BUNDLE = null;
+
+    /**
+     * Inicializa la clase con el locale adecuado
+     *
+     * @param loc Locale de la aplicaci�n
+     */
+    public static void init(Locale loc) {
+        RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME, loc);
+    }
+
+    /**
+     * @param strLocale. Ejemplo: va para valenciano
+     * Se trata de permitir coexistir el valenciano con el catal�n.
+     * El m�todo buscar� un fichero properties llamado "text_va.properties"
+     * para usarlo con RESOURCE_BUNDLE de donde sacar los mensajes
+     * traducidos.
+     */
+    public static void init(String strLocale) {
+        final String resName = BUNDLE_NAME.replace('.', '/') + "_" + strLocale + ".properties";
+        InputStream stream = (InputStream)java.security.AccessController.doPrivileged(
+            new java.security.PrivilegedAction() {
+                public Object run() {
+                    return this.getClass().getClassLoader().getResourceAsStream(resName);
+                }
+            }
+        );
+        if (stream != null) {
+            // make sure it is buffered
+            stream = new java.io.BufferedInputStream(stream);
+            try {
+                RESOURCE_BUNDLE = new PropertyResourceBundle(stream);
+            } catch (Exception e) {
+            } finally {
+                try {
+                    stream.close();
+                } catch (Exception e) {
+                    // to avoid propagating an IOException back into the caller
+                    // (I'm assuming this is never going to happen, and if it does,
+                    // I'm obeying the precedent of swallowing exceptions set by the
+                    // existing code above)
+                }
+            }
+        }
+        
+        
+    }
+    
+    
+    /**
+     * Obtiene el valor del recurso con clave 'key'
+     *
+     * @param key clave del recurso que se quiere obtener
+     *
+     * @return recurso que se quiere obtener o !key! en caso de no encontrarlo.
+     *         En dicho caso no se notifica al framework ya que  estos son los
+     *         mensajes propios de la aplicaci�n y deben de estar todos
+     */
+    public static String getString(String key) {
+        try {
+            return RESOURCE_BUNDLE.getString(key);
+        } catch (MissingResourceException e) {
+            return '!' + key + '!';
+        }
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/Messages.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/ProgressListener.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/ProgressListener.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/ProgressListener.java	(revision 3340)
@@ -0,0 +1,70 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.messages;
+
+import java.util.EventListener;
+
+
+/**
+ * Interfaz implementada por las extensiones que quieran informar del estado de
+ * su ejecuci�n. Por ejemplo un extension que tarda mucho en ejecutarse puede
+ * implementar esta interfaz y a�adirse como ProgressListener de la
+ * aplicacion. De esta manera la aplicaci�n le pedir� su estado a intervalos
+ * regulares de tiempo y mostrar� esta informaci�n en la barra de estado
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public interface ProgressListener extends EventListener {
+    /**
+     * M�todo invocado a intervalos regulares por la aplicaci�n y en el que se
+     * debe devolver el estado de una supuesta ejecuci�n
+     *
+     * @return Cadena que se env�a a la aplicaci�n
+     */
+    public String getProgress();
+
+    /**
+     * Devuelve un porcentaje que indica el progreso de la tarea
+     *
+     * @return n�mero del 0 al 100
+     */
+    public int getProgressValue();
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/ProgressListener.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/NotificationListener.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/NotificationListener.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/NotificationListener.java	(revision 3340)
@@ -0,0 +1,72 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.messages;
+
+/**
+ * Interfaz que deber�n de implementar todas las clases que quieran recibir
+ * informaci�n sobre los mensajes de informaci�n, de warning y de error que
+ * recibe la aplicaci�n
+ */
+public interface NotificationListener {
+    /**
+     * M�todo invocado cuando la aplicaci�n recibe mensajes de error
+     *
+     * @param app contexto de la aplicaci�n
+     * @param text Texto del mensaje
+     */
+    public void errorEvent(MessageEvent e);
+
+    /**
+     * M�todo invocado cuando la aplicaci�n recibe mensajes de warning
+     *
+     * @param app contexto de la aplicaci�n
+     * @param text Texto del mensaje
+     */
+    public void warningEvent(MessageEvent e);
+
+    /**
+     * M�todo invocado cuando la aplicaci�n recibe mensajes de informaci�n
+     *
+     * @param app contexto de la aplicaci�n
+     * @param text Texto del mensaje
+     */
+    public void infoEvent(MessageEvent e);
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/NotificationListener.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/NotificationManager.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/NotificationManager.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/NotificationManager.java	(revision 3340)
@@ -0,0 +1,242 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.messages;
+
+import org.apache.log4j.Logger;
+
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import java.util.ArrayList;
+import java.util.Vector;
+
+import javax.swing.Timer;
+
+
+/**
+ * Clase que recibe los mensajes de error, warning e informaci�n y dispara los
+ * eventos en los listeners que escuchan dichos eventos
+ *
+ * @version $Revision$
+ */
+public class NotificationManager {
+    /** DOCUMENT ME! */
+    private static Logger logger = Logger.getLogger(NotificationManager.class.getName());
+
+    /** Timer de espera de nuevos mensajes */
+    private static Timer timer;
+
+    /** Indica si se han a�adido mensajes desde la �ltima vez que se comprob� */
+    private static boolean addedMessage = false;
+
+    /** DOCUMENT ME! */
+    private static ArrayList info = new ArrayList();
+    private static ArrayList infoExceptions = new ArrayList();
+
+    /** DOCUMENT ME! */
+    private static ArrayList warnings = new ArrayList();
+    private static ArrayList warningsExceptions = new ArrayList();
+
+    /** DOCUMENT ME! */
+    private static ArrayList errors = new ArrayList();
+    private static ArrayList errorsExceptions = new ArrayList();
+
+    /** DOCUMENT ME! */
+    private static Vector listeners = new Vector();
+    private static boolean isFirst = true;
+
+    /**
+     * A�ade un objeto que escucha los mensajes de error, warning e informaci�n
+     *
+     * @param nl objeto que recibir� los eventos
+     */
+    public static synchronized void addNotificationListener(NotificationListener nl) {
+        logger.info("Se a�ade un listener al manager de notificaciones");
+        listeners.add(nl);
+    }
+
+    /**
+     * @see com.iver.mdiApp.Notification#addError(java.lang.String)
+     */
+    public static synchronized void addError(final String err, Throwable e) {
+    	logger.debug(err,e);
+        errors.add(err);
+        errorsExceptions.add(e);
+
+        if (isFirst) {
+            AddError((String[]) errors.toArray(new String[0]),
+                (Throwable[]) errorsExceptions.toArray(new Throwable[0]));
+            errors.clear();
+            errorsExceptions.clear();
+            isFirst = false;
+        }
+
+        dispatchMessages();
+    }
+
+    /**
+     * @see com.iver.mdiApp.Notification#addWarning(java.lang.String)
+     */
+    public static synchronized void addWarning(final String warn, final Throwable e) {
+		logger.debug(warn,e);
+        warnings.add(warn);
+        warningsExceptions.add(e);
+
+        if (isFirst) {
+            AddWarning((String[]) warnings.toArray(new String[0]),
+                (Throwable[]) warningsExceptions.toArray(new Throwable[0]));
+            warnings.clear();
+            warningsExceptions.clear();
+            isFirst = false;
+        }
+
+        dispatchMessages();
+    }
+
+    /**
+     * @see com.iver.mdiApp.Consola#addInfo(java.lang.String)
+     */
+    public static synchronized void addInfo(final String inf, final Throwable e) {
+		logger.debug(inf,e);
+        info.add(inf);
+        infoExceptions.add(e);
+
+        if (isFirst) {
+            AddInfo((String[]) info.toArray(new String[0]),
+                (Throwable[]) infoExceptions.toArray(new Throwable[0]));
+            info.clear();
+            infoExceptions.clear();
+            isFirst = false;
+        }
+
+        dispatchMessages();
+    }
+
+    /**
+     * M�todo que es ejecutado en el thread de la interfaz y que se encarga de
+     * avisar del mensaje de error a todos los listeners registrados
+     *
+     * @param error Mensaje de error
+     * @param e s que van a recibir las notificaciones
+     */
+    private static void AddError(String[] error, Throwable[] e) {
+        for (int i = 0; i < listeners.size(); i++) {
+            ((NotificationListener) listeners.get(i)).errorEvent(new MessageEvent(
+                    error, e));
+        }
+    }
+
+    /**
+     * M�todo que es ejecutado en el thread de la interfaz y que se encarga de
+     * avisar del mensaje de error a todos los listeners registrados
+     *
+     * @param warn Mensaje de warning
+     * @param e objetos que van a recibir las notificaciones
+     */
+    private static void AddWarning(String[] warn, Throwable[] e) {
+        for (int i = 0; i < listeners.size(); i++) {
+            ((NotificationListener) listeners.get(i)).warningEvent(new MessageEvent(
+                    warn, e));
+        }
+    }
+
+    /**
+     * M�todo que es ejecutado en el thread de la interfaz y que se encarga de
+     * avisar del mensaje de informaci�n a todos los listeners registrados
+     *
+     * @param info Mensaje de informaci�n
+     * @param e objetos que van a recibir las notificaciones
+     */
+    private static void AddInfo(String[] info, Throwable[] e) {
+        for (int i = 0; i < listeners.size(); i++) {
+            ((NotificationListener) listeners.get(i)).infoEvent(new MessageEvent(
+                    info, e));
+        }
+    }
+
+    /**
+     * DOCUMENT ME!
+     */
+    private static void dispatchMessages() {
+        addedMessage = true;
+
+        if (timer == null) {
+
+            timer = new Timer(1000, new ActionListener() {
+				public void actionPerformed(ActionEvent e) {
+
+			        if (errors.size() > 0) {
+			            AddError((String[]) errors.toArray(new String[0]),
+			                (Throwable[]) errorsExceptions.toArray(new Throwable[0]));
+			            errors.clear();
+			            errorsExceptions.clear();
+			        }
+
+			        if (warnings.size() > 0) {
+			            AddWarning((String[]) warnings.toArray(new String[0]),
+			                (Throwable[]) warningsExceptions.toArray(new Throwable[0]));
+			            warnings.clear();
+			            warningsExceptions.clear();
+			        }
+
+			        if (info.size() > 0) {
+			            AddInfo((String[]) info.toArray(new String[0]),
+			                (Throwable[]) infoExceptions.toArray(new Throwable[0]));
+			            info.clear();
+			            infoExceptions.clear();
+			        }
+
+			        if (!addedMessage) {
+			            if (timer != null) {
+			                timer.stop();
+			            }
+
+			            timer = null;
+			        }
+
+			        addedMessage = false;
+			        isFirst = true;
+				}
+			});
+            timer.start();
+        }
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/messages/NotificationManager.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_eu.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_eu.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_eu.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text_eu.properties
+KeyMapping.Caracter_no_valido=Karakterea ez da baliozkoa\: 
+Launcher.config_mal_formado='config.xml' fitxategia txarto eratuta dago
+Launcher.config_no_encontrado='config.xml' fitxategia ez da aurkitu
+Launcher.Dependencia_no_resuelta_en_plugin=Mendekotasuna ez da plugin-ean ebatzi
+Launcher.Dos_skin_extension=Dos skin luzapena. Azkena erabiliko dugu
+Launcher.Error_con_las_librerias_del_plugin=Errorea plugin-aren liburutegietan
+Launcher.Error_instanciando_la_extension=Errorea luzapena instantziatzean
+Launcher.Error_localizando_la_clase_de_la_extension=Errorea luzapen-mota aurkitzean
+Launcher.Hay_dependencias_circulares=Plugin-en artean mendekotasun zirkularrak daude
+Launcher.Ignorando_el_directorio=Ez hartu direktorioa kontuan
+Launcher.labelset_class=Etiketa-mota (labelset) ezin izan da aurkitu
+Launcher.look_and_feel=Ezin izan da jarri 'look and feel'
+Launcher.No_se_encontro_la_clase_de_la_extension=Luzapen-mota ezin izan da aurkitu
+Launcher.No_se_encontro_la_clase_mdi_manager=mdi manager klasea ezin izan da aurkitu
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=mdi manager klasea ezin izan da atzitu
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=Andamiren konfigurazioa ezin izan da gorde
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=Ezin izan da mdi manager klasea instantziatu
+Launcher.No_se_puede_acceder_a=Ezin izan da honakoa atzitu\:
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=Errorea plugin-en konfigurazioa gordetzean
+Launcher.Two_extensions_with_the_same_priority=Lehentasun bereko bi luzapen, bakarra kargatuko da.
+Launcher.Two_menus_with_the_same_position=Posizio bereko bi menu, bakarra kargatuko da.
+MDIFrame.Error_no_capturado_por_el_usuario=Erabiltzaileak kapturatu ez duen errorea
+MDIFrame.quiere_salir=Ziur zaude irten nahi duzula?
+MDIFrame.salir=Irten
+MDIManagerFactory.No_skin_extension_in_the_plugins=Ez da aurkitu 'skin' luzapenik plugin-en artean
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Izen bereko bi klase plugin-ean
+PluginClassLoader.Error_reading_file=Errorea fitxategia irakurtzean\: 
+PluginServices.Bug_en_el_codigo=Bug-a kodean
+PluginServices.Error_grave_de_la_aplicacion=Aplikazioaren akats larria. Komenigarria da zure datuak gordetzea eta aplikaziotik irtetea
+PluginServices.No_se_encontro_el_recurso_de_traducciones=Itzulpenen baliabidea ez da aurkitu
+PluginServices.No_se_encontro_la_traduccion_para=Ez da itzulpenik aurkitu honetarako\:
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=Ezin izan da arezko erlojua jarri
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=Saguaren kurtsorea ezin izan da berrezarri
+SplashWindow.Iniciando=Hasten...
+StatusBar.Aplicacion_iniciada=Aplikazioa hasita dago

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_eu.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_it.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_it.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_it.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text_it.properties
+KeyMapping.Caracter_no_valido=Carattere non valido\:
+Launcher.config_mal_formado=. Documento 'config.xml' mal formato
+Launcher.config_no_encontrado=. Documento 'config.xml' non trovato
+Launcher.Dependencia_no_resuelta_en_plugin=La dipendenza non risulta in plugin
+Launcher.Dos_skin_extension=Due skin-extension. Usare l'ultima
+Launcher.Error_con_las_librerias_del_plugin=Errore con la libreria del plugin
+Launcher.Error_instanciando_la_extension=Errore ricorrendo all'estensione
+Launcher.Error_localizando_la_clase_de_la_extension=Errore localizzando la classe dell'estensione
+Launcher.Hay_dependencias_circulares=Ci sono dipendenze circolari tra i plugins
+Launcher.Ignorando_el_directorio=Ignorando il registro
+Launcher.labelset_class=Non si \u00E9 trovata la classe delle etichette (labelset)
+Launcher.look_and_feel=Non si \u00E9 potuto porre il 'look and feel'
+Launcher.No_se_encontro_la_clase_de_la_extension=Non si \u00E9 trovata la classe dell'estensione
+Launcher.No_se_encontro_la_clase_mdi_manager=No si \u00E9 trovata la classe mdi manager
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=Non si \u00E9 potuto accedere alla clase mdi manager
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=Non si \u00E9 potuta salvare la configurazione di andami
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=Non si \u00E9 potuto ricorrere alla classe mdi manager
+Launcher.No_se_puede_acceder_a=Non si puo' accedere a
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=Si \u00E9 prodotto un errore salvando la configurazione dei plugins
+Launcher.Two_extensions_with_the_same_priority=Due estensioni con la stessa priorita', se ne carichera' solo una.
+Launcher.Two_menus_with_the_same_position=Due men\u00FA con la stessa posizione, se ne carichera' solo uno
+MDIFrame.Error_no_capturado_por_el_usuario=Errore non catturato per l'usario
+MDIFrame.quiere_salir=Sei sicuro di voler uscire?
+MDIFrame.salir=Uscire
+MDIManagerFactory.No_skin_extension_in_the_plugins=Non si \u00E9 trovato nessuna estensione 'skin' tra i plugins
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Due classi con lo stesso nome nel plugin
+PluginClassLoader.Error_reading_file=Errore leggendo il file\:
+PluginServices.Bug_en_el_codigo=Bug nel codice
+PluginServices.Error_grave_de_la_aplicacion=Errore grave dell'applicazione. \u00C9 conveniente salvare i dati ed uscire dall'applicazione
+PluginServices.No_se_encontro_el_recurso_de_traducciones=Non si \u00E9 incontrata la risorsa traduzione
+PluginServices.No_se_encontro_la_traduccion_para=Non si \u00E9 incontrata la traduzione per
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=Non si \u00E9 potuta porre la clessidra
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=Non si \u00E9 potuto riparare il cursore del mouse
+SplashWindow.Iniciando=Iniziando...
+StatusBar.Aplicacion_iniciada=Applicazione iniziata

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_it.properties
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/AndamiEventQueue.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/AndamiEventQueue.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/AndamiEventQueue.java	(revision 3340)
@@ -0,0 +1,65 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui;
+
+import java.awt.AWTEvent;
+import java.awt.EventQueue;
+
+import com.iver.andami.messages.Messages;
+import com.iver.andami.messages.NotificationManager;
+
+
+/**
+ * DOCUMENT ME!
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public class AndamiEventQueue extends EventQueue {
+	protected void dispatchEvent(AWTEvent event){
+		try{
+			super.dispatchEvent(event);
+		} catch(RuntimeException e){
+			NotificationManager.addError(Messages.getString("PluginServices.Bug en el c�digo"), e);
+		} catch (Error e){
+			NotificationManager.addError(Messages.getString("PluginServices.Error grave de la aplicaci�n. Es conveniente que guardes tus datos y salgas de la aplicaci�n"), e);
+		}
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/AndamiEventQueue.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/SplashWindow.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/SplashWindow.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/SplashWindow.java	(revision 3340)
@@ -0,0 +1,115 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui;
+
+import java.awt.BorderLayout;
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Frame;
+import java.awt.Toolkit;
+
+import javax.swing.BorderFactory;
+import javax.swing.ImageIcon;
+import javax.swing.JLabel;
+import javax.swing.JProgressBar;
+import javax.swing.JWindow;
+
+import com.iver.andami.messages.Messages;
+
+
+/**
+ * Clase del ui que consiste en una imagen y una barra de progreso
+ */
+public class SplashWindow extends JWindow  {
+    /** DOCUMENT ME! */
+    private static JProgressBar pb;
+    private static JLabel lblStatus;
+
+    /**
+     * Creates a new SplashWindow object.
+     *
+     * @param filename ruta de la imagen que se quiere mostrar
+     * @param f null
+     */
+    public SplashWindow(Frame f) {
+        super(f);
+
+        JLabel l = new JLabel(new ImageIcon(this.getClass().getClassLoader().getResource("images/logo_es.png")));
+        getContentPane().add(l, BorderLayout.CENTER);
+        
+        lblStatus = new JLabel(Messages.getString("SplashWindow.Iniciando"));
+        lblStatus.setBorder(BorderFactory.createEtchedBorder());
+        lblStatus.setBackground(Color.WHITE);
+        pb = new JProgressBar();
+        getContentPane().add(lblStatus, BorderLayout.NORTH);
+        getContentPane().add(pb, BorderLayout.SOUTH);
+        pack();
+
+        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
+        Dimension labelSize = l.getPreferredSize();
+        setLocation((screenSize.width / 2) - (labelSize.width / 2),
+            (screenSize.height / 2) - (labelSize.height / 2));
+        setVisible(true);
+    }
+
+    /**
+     * cierra la ventana
+     */
+    public void close() {
+        setVisible(false);
+        dispose();
+    }
+
+    /**
+     * @see com.iver.mdiApp.ui.AppLoadingListener#process(int)
+     */
+    public static void process(int p, String str) {
+        
+        lblStatus.setText(str);
+        // System.out.println("Porcentaje :" + p);
+        if (pb.getValue() != p)
+        {
+        	pb.setValue(p);
+        	pb.repaint();
+        	// pb.paint(pb.getGraphics());
+        }
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/SplashWindow.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/MDIManagerLoadException.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/MDIManagerLoadException.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/MDIManagerLoadException.java	(revision 3340)
@@ -0,0 +1,77 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui;
+
+/**
+ * 
+ */
+public class MDIManagerLoadException extends Exception{
+
+	/**
+	 * 
+	 */
+	public MDIManagerLoadException() {
+		super();
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param message
+	 */
+	public MDIManagerLoadException(String message) {
+		super(message);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param message
+	 * @param cause
+	 */
+	public MDIManagerLoadException(String message, Throwable cause) {
+		super(message, cause);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param cause
+	 */
+	public MDIManagerLoadException(Throwable cause) {
+		super(cause);
+		// TODO Auto-generated constructor stub
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/MDIManagerLoadException.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/EnableTextSupport.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/EnableTextSupport.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/EnableTextSupport.java	(revision 3340)
@@ -0,0 +1,75 @@
+/*
+ * Created on 05-dic-2004
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+/**
+ * @author root
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface EnableTextSupport {
+	/**
+	 * @return Returns the enableText.
+	 */
+	public abstract String getEnableText();
+
+	/**
+	 * @param enableText The enableText to set.
+	 */
+	public abstract void setEnableText(String enableText);
+
+	/**
+	 * @see java.awt.Component#setVisible(boolean)
+	 */
+	public abstract void setEnabled(boolean aFlag);
+
+	/**
+	 * @see javax.swing.JComponent#setToolTipText(java.lang.String)
+	 */
+	public abstract void setToolTip(String text);
+}
\ No newline at end of file

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/EnableTextSupport.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/GlassPane.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/GlassPane.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/GlassPane.java	(revision 3340)
@@ -0,0 +1,70 @@
+/*
+ * Created on 22-oct-2004
+ *
+ * To change the template for this generated file go to
+ * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
+ */
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+import java.awt.Cursor;
+
+import javax.swing.JPanel;
+import javax.swing.event.MouseInputAdapter;
+
+public class GlassPane extends JPanel {
+
+	public GlassPane(){
+		this.setOpaque(false);
+		this.addMouseListener(new MouseInputAdapter(){});
+		this.addMouseMotionListener(new MouseInputAdapter(){});
+		this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
+	}
+
+	/**
+	 * @see java.awt.Component#setCursor(java.awt.Cursor)
+	 */
+	public void setCursor(Cursor cursor) {
+		super.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
+	}
+
+}
+

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/GlassPane.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JMenuItem.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JMenuItem.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JMenuItem.java	(revision 3340)
@@ -0,0 +1,126 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+import javax.swing.Action;
+import javax.swing.Icon;
+
+public class JMenuItem extends javax.swing.JMenuItem implements EnableTextSupport{
+	/**
+	 * 
+	 */
+	public JMenuItem() {
+		super();
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param text
+	 */
+	public JMenuItem(String text) {
+		super(text);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param text
+	 * @param mnemonic
+	 */
+	public JMenuItem(String text, int mnemonic) {
+		super(text, mnemonic);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param text
+	 * @param icon
+	 */
+	public JMenuItem(String text, Icon icon) {
+		super(text, icon);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param a
+	 */
+	public JMenuItem(Action a) {
+		super(a);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param icon
+	 */
+	public JMenuItem(Icon icon) {
+		super(icon);
+		// TODO Auto-generated constructor stub
+	}
+	private String enableText;
+	private String toolTip = super.getToolTipText();
+	
+	
+	/**
+	 * @return Returns the enableText.
+	 */
+	public String getEnableText() {
+		return enableText;
+	}
+	/**
+	 * @param enableText The enableText to set.
+	 */
+	public void setEnableText(String enableText) {
+		this.enableText = enableText;
+	}
+	
+	
+	/**
+	 * @see java.awt.Component#setVisible(boolean)
+	 */
+	public void setEnabled(boolean aFlag) {
+		super.setEnabled(aFlag);
+		if (aFlag){
+			setToolTipText(toolTip);
+		}else{
+			setToolTipText(enableText);
+		}
+	}
+	/**
+	 * @see javax.swing.JComponent#setToolTipText(java.lang.String)
+	 */
+	public void setToolTip(String text) {
+		toolTip = text;
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JMenuItem.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MainFrame.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MainFrame.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MainFrame.java	(revision 3340)
@@ -0,0 +1,118 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+import com.iver.andami.plugins.PluginClassLoader;
+import com.iver.andami.plugins.config.generate.Menu;
+
+import java.awt.event.ActionListener;
+
+import javax.swing.JComponent;
+
+
+/**
+ *
+ */
+public interface MainFrame {
+	/**
+	 * A�ade el men� a la barra de men�s
+	 *
+	 * @param menu Texto del menu
+	 * @param listener objeto que recibe los eventos del menu
+	 * @param loader ClassLoader del plugin que instala el men�
+	 */
+	public void addMenu(Menu menu, ActionListener listener,
+		PluginClassLoader loader);
+
+	/**
+	 * Cambia el nombre completo del menu, y por tanto su ubicaci�n. El array
+	 * de strings representa la ruta  completa del men�. por ejemplo un array
+	 * {"ver", "ventanas", "consola"} referencia al men� que se encuentra en
+	 * ver/ventanas/consola. Hay que tener en cuenta que los elementos en el
+	 * array son claves en el fichero de traducciones del plugin
+	 *
+	 * @param menu Ruta completa del men�
+	 * @param newName Nuevo nombre del menu
+	 * @param loader ClassLoader del plugin que a�adi� el menu
+	 *
+	 * @throws NoSuchMenuException Si no existe ning�n menu en la
+	 * ruta menu
+	 */
+	public void changeMenuName(String[] menu, String newName,
+		PluginClassLoader loader) throws NoSuchMenuException;
+
+	/**
+	 * Elimina el men� que se pasa como par�metro si est� a�adido. Si no se
+	 * encuentra el men� no se hace nada
+	 *
+	 * @param menu referencia al men� que se quiere eliminar
+	 */
+	public void removeMenu(Menu menu);
+
+	/**
+	 * Itera por los controles preguntando a las extensiones si estos est�n
+	 * habilitados y visibles
+	 */
+	public void enableControls();
+
+	/**
+	 * Sirve para establecec el mensaje en la barra de estado asociado a una etiqueta
+	 *
+	 * @return main StatusBar 
+	 */
+	public NewStatusBar getStatusBar();
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param titulo DOCUMENT ME!
+	 */
+	public void setTitle(String titulo);
+    
+    /**
+     * Get a JComponent previously added by name. For example
+     * you can use it if you need to obtain a JToolBar to
+     * add some customized component.
+     * @param name
+     * @return the JComponent or null if none has been found
+     */
+    public JComponent getComponentByName(String name);
+    
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MainFrame.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JPopUpMenu.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JPopUpMenu.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JPopUpMenu.java	(revision 3340)
@@ -0,0 +1,95 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+import javax.swing.JPopupMenu;
+
+public class JPopUpMenu extends JPopupMenu implements EnableTextSupport{
+	private String enableText;
+	private String toolTip = super.getToolTipText();
+	
+	
+	/**
+	 * @return Returns the enableText.
+	 */
+	public String getEnableText() {
+		return enableText;
+	}
+	/**
+	 * @param enableText The enableText to set.
+	 */
+	public void setEnableText(String enableText) {
+		this.enableText = enableText;
+	}
+	
+	
+	/**
+	 * @see java.awt.Component#setVisible(boolean)
+	 */
+	public void setEnabled(boolean aFlag) {
+		super.setEnabled(aFlag);
+		if (aFlag){
+			setToolTipText(toolTip);
+		}else{
+			setToolTipText(enableText);
+		}
+	}
+	/**
+	 * @see javax.swing.JComponent#setToolTipText(java.lang.String)
+	 */
+	public void setToolTip(String text) {
+		toolTip = text;
+	}
+	/**
+	 * 
+	 */
+	public JPopUpMenu() {
+		super();
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param label
+	 */
+	public JPopUpMenu(String label) {
+		super(label);
+		// TODO Auto-generated constructor stub
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JPopUpMenu.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/NewStatusBar.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/NewStatusBar.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/NewStatusBar.java	(revision 3340)
@@ -0,0 +1,410 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+import com.iver.andami.Launcher;
+import com.iver.andami.messages.Messages;
+import com.iver.andami.plugins.config.generate.Label;
+
+import org.apache.log4j.Logger;
+
+import java.awt.Color;
+import java.awt.Component;
+import java.awt.Dimension;
+import java.awt.FlowLayout;
+
+import java.util.HashMap;
+
+import javax.swing.BorderFactory;
+import javax.swing.ImageIcon;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+import javax.swing.JProgressBar;
+import javax.swing.JSeparator;
+import javax.swing.border.BevelBorder;
+import javax.swing.border.Border;
+
+
+/**
+ */
+public class NewStatusBar extends JPanel {
+	private static Logger logger = Logger.getLogger(NewStatusBar.class.getName());
+	private static final int INFO = 0;
+	private static final int WARNING = 1;
+	private static final int ERROR = 2;
+	private JLabel lblIcon = null;
+	private JLabel lblTexto = null;
+	private boolean contenidoTemporal;
+	private String textoAnterior;
+	private int estadoAnterior;
+	private ImageIcon infoIcon;
+	private ImageIcon warningIcon;
+	private ImageIcon errorIcon;
+	private int estado;
+	private JProgressBar progressBar = null;
+	private HashMap idLabel = new HashMap();
+	private int[] widthlabels = null;
+
+	/**
+	 * This is the default constructor
+	 */
+	public NewStatusBar() {
+		super();
+		initialize();
+		infoIcon = new ImageIcon(NewStatusBar.class.getClassLoader()
+												   .getResource("images/info.gif"));
+		warningIcon = new ImageIcon(NewStatusBar.class.getClassLoader()
+													  .getResource("images/warning.gif"));
+		errorIcon = new ImageIcon(NewStatusBar.class.getClassLoader()
+													.getResource("images/error.gif"));
+	}
+
+	/**
+	 * This method initializes this
+	 */
+	private void initialize() {
+		lblIcon = new JLabel();
+		lblTexto = new JLabel();
+
+		FlowLayout flowLayout2 = new FlowLayout();
+		this.setLayout(flowLayout2);
+		flowLayout2.setHgap(1);
+		flowLayout2.setVgap(0);
+		flowLayout2.setAlignment(java.awt.FlowLayout.LEFT);
+		lblIcon.setText("");
+		lblTexto.setText(Messages.getString("StatusBar.Aplicacion_iniciada"));
+		this.add(lblIcon, null);
+		this.add(getProgressBar(), null);
+		this.add(lblTexto, null);
+	}
+
+	/**
+	 * Obtiene el texto de la barra de estado
+	 *
+	 * @return texto
+	 */
+	public String getStatusText() {
+		return lblTexto.getText();
+	}
+
+	/**
+	 * Restaura el contenido permanente de la barra de estado
+	 */
+	public void restaurarTexto() {
+		contenidoTemporal = false;
+
+		if (estadoAnterior == -1) {
+			return;
+		}
+
+		switch (estadoAnterior) {
+			case INFO:
+				setInfoText(textoAnterior);
+
+				break;
+
+			case WARNING:
+				setWarningText(textoAnterior);
+
+				break;
+
+			case ERROR:
+				setErrorText(textoAnterior);
+
+				break;
+		}
+
+		estadoAnterior = -1;
+		textoAnterior = null;
+	}
+
+	/**
+	 * Establece el texto de la barra de estado de forma temporal. Se almacena
+	 * el texto que hab�a en la barra de estado.
+	 *
+	 * @param texto texto
+	 */
+	public void setInfoTextTemporal(String texto) {
+		contenidoTemporal = true;
+
+		estadoAnterior = this.estado;
+		this.estado = INFO;
+		lblIcon.setIcon(infoIcon);
+
+		textoAnterior = getStatusText();
+		lblTexto.setText(texto);
+	}
+
+	/**
+	 * Establece el texto de la barra de estado de forma temporal. Se almacena
+	 * el texto que hab�a en la barra de estado.
+	 *
+	 * @param texto texto
+	 */
+	public void setWarningTextTemporal(String texto) {
+		contenidoTemporal = true;
+
+		estadoAnterior = this.estado;
+		this.estado = WARNING;
+		lblIcon.setIcon(warningIcon);
+
+		textoAnterior = getStatusText();
+		lblTexto.setText(texto);
+	}
+
+	/**
+	 * Establece el texto de la barra de estado de forma temporal. Se almacena
+	 * el texto que hab�a en la barra de estado.
+	 *
+	 * @param texto texto
+	 */
+	public void setErrorTextTemporal(String texto) {
+		contenidoTemporal = true;
+
+		estadoAnterior = this.estado;
+		this.estado = ERROR;
+		lblIcon.setIcon(errorIcon);
+
+		textoAnterior = getStatusText();
+		lblTexto.setText(texto);
+	}
+
+	/**
+	 * Establece el texto de la barar de manera permanente. Si se est�
+	 * mostrando texto de forma temporal no se actualiza la interfaz
+	 *
+	 * @param texto Texto
+	 */
+	public void setInfoText(String texto) {
+		if (contenidoTemporal) {
+			textoAnterior = texto;
+			estadoAnterior = INFO;
+		} else {
+			lblTexto.setText(texto);
+			lblIcon.setIcon(infoIcon);
+			estado = INFO;
+		}
+	}
+
+	/**
+	 * Establece el texto de la barar de manera permanente. Si se est�
+	 * mostrando texto de forma temporal no se actualiza la interfaz
+	 *
+	 * @param texto Texto
+	 */
+	public void setWarningText(String texto) {
+		if (contenidoTemporal) {
+			textoAnterior = texto;
+			estadoAnterior = WARNING;
+		} else {
+			lblTexto.setText(texto);
+			lblIcon.setIcon(warningIcon);
+			estado = WARNING;
+		}
+	}
+
+	/**
+	 * Establece el texto de la barar de manera permanente. Si se est�
+	 * mostrando texto de forma temporal no se actualiza la interfaz
+	 *
+	 * @param texto Texto
+	 */
+	public void setErrorText(String texto) {
+		if (contenidoTemporal) {
+			textoAnterior = texto;
+			estadoAnterior = ERROR;
+		} else {
+			lblTexto.setText(texto);
+			lblIcon.setIcon(errorIcon);
+			estado = ERROR;
+		}
+	}
+
+	/**
+	 * Establece el porcentaje en la barra de progreso. Si es 100 se oculta la
+	 * barra
+	 *
+	 * @param p DOCUMENT ME!
+	 */
+	public void setProgress(int p) {
+		if (p < 100) {
+			getProgressBar().setValue(p);
+			getProgressBar().setVisible(true);
+		} else {
+			getProgressBar().setVisible(false);
+		}
+
+		getProgressBar().repaint();
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param labels DOCUMENT ME!
+	 */
+	public void setLabelSet(Label[] labels) {
+		removeAllLabels();
+		idLabel.clear();
+
+		for (int i = 0; i < labels.length; i++) {
+			JLabel lbl = new JLabel();
+			lbl.setPreferredSize(new Dimension(labels[i].getSize(),
+					this.getHeight()));
+			lbl.setSize(new Dimension(labels[i].getSize(), this.getHeight()));
+			lbl.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
+			this.add(lbl);
+
+			/*            if (i != labels.length - 1){
+			   this.add(new JSeparator(JSeparator.VERTICAL));
+			   }
+			 */
+			idLabel.put(labels[i].getId(), lbl);
+		}
+
+		JLabel[] configlabels = (JLabel[]) idLabel.values().toArray(new JLabel[0]);
+		widthlabels = new int[configlabels.length];
+
+		for (int i = 0; i < labels.length; i++) {
+			widthlabels[i] = configlabels[i].getWidth();
+		}
+
+		this.repaint();
+	}
+
+	/**
+	 * Los Labels que estan sin texto no se a�aden a la barra y su espacio es
+	 * utilizado por otros labels. Si se quiere acer en un futuro la
+	 * asignaci�n de espacio de los elementos que se a�adan a la barra se
+	 * puede hacer aqu�.
+	 */
+	public void ajustar() {
+		if (widthlabels == null) {
+			return;
+		}
+
+		int ws = this.getWidth();
+
+		JLabel[] labels = (JLabel[]) idLabel.values().toArray(new JLabel[0]);
+
+		/*        double total = 1;
+		   for (int i = 0; i < widthlabels.length; i++) {
+		           if (labels[i].getText().compareTo("") != 0) {
+		                   total += widthlabels[i];
+		           }
+		   }
+		   double p = (ws - lblTexto.getWidth() - 20) / total;
+		 */
+		for (int i = 0; i < labels.length; i++) {
+			//if (labels[i] instanceof JLabel){
+			JLabel label = (JLabel) labels[i];
+
+			if (label.getText().compareTo("") != 0) {
+				label.setVisible(true);
+				label.setPreferredSize(new Dimension((int) (widthlabels[i]),
+						this.getHeight()));
+			} else {
+				label.setVisible(false);
+
+				//label.setPreferredSize(new Dimension(0,this.getHeight()));
+			}
+
+			//}
+		}
+	}
+
+	/**
+	 *
+	 */
+	private void removeAllLabels() {
+		Component[] labels = this.getComponents();
+
+		for (int i = 0; i < labels.length; i++) {
+			if ((labels[i] != lblIcon) && (labels[i] != lblTexto)) {
+				remove(labels[i]);
+			}
+		}
+	}
+
+	/**
+	 * Establece el texto de una de las etiquetas
+	 *
+	 * @param id Identificador de las etiquetas
+	 * @param msg Mensaje que se quiere poner en la etiqueta
+	 */
+	public void setMessage(String id, String msg) {
+		JLabel lbl = (JLabel) idLabel.get(id);
+
+		if (lbl == null) {
+			logger.debug("no label called " + id);
+		} else {
+			lbl.setText(msg);
+		}
+
+		ajustar();
+	}
+
+	/**
+	 * This method initializes progressBar
+	 *
+	 * @return javax.swing.JProgressBar
+	 */
+	private JProgressBar getProgressBar() {
+		if (progressBar == null) {
+			progressBar = new JProgressBar();
+			progressBar.setPreferredSize(new java.awt.Dimension(100, 14));
+			progressBar.setVisible(false);
+			progressBar.setMinimum(0);
+			progressBar.setMaximum(100);
+			progressBar.setValue(50);
+		}
+
+		return progressBar;
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param d
+	 */
+	public void setFixedLabelWidth(double d) {
+		lblTexto.setPreferredSize(new Dimension((int) d, lblTexto.getHeight()));
+	}
+} //  @jve:decl-index=0:visual-constraint="10,10"

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/NewStatusBar.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/NoSuchMenuException.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/NoSuchMenuException.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/NoSuchMenuException.java	(revision 3340)
@@ -0,0 +1,79 @@
+/*
+ * Created on 07-feb-2005
+ *
+ * gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, 
+USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+
+public class NoSuchMenuException extends RuntimeException {
+
+	/**
+	 * 
+	 */
+	public NoSuchMenuException() {
+		super();
+
+	}
+	/**
+	 * @param message
+	 */
+	public NoSuchMenuException(String message) {
+		super(message);
+
+	}
+	/**
+	 * @param message
+	 * @param cause
+	 */
+	public NoSuchMenuException(String message, Throwable cause) {
+		super(message, cause);
+
+	}
+	/**
+	 * @param cause
+	 */
+	public NoSuchMenuException(Throwable cause) {
+		super(cause);
+
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/NoSuchMenuException.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/KeyMapping.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/KeyMapping.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/KeyMapping.java	(revision 3340)
@@ -0,0 +1,118 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+import java.awt.event.KeyEvent;
+import java.util.HashMap;
+
+import com.iver.andami.messages.Messages;
+
+
+/**
+ * Clase que sirve para obtener los codigos de las teclas de la manera que las
+ * requieren los JMenu a partir de un caracter que representa dicha tecla
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public class KeyMapping {
+    /** Asocia caracteres con KeyEvents */
+    private static HashMap key = new HashMap();
+
+    static {
+        key.put(new Character('a'), new Integer(KeyEvent.VK_A));
+        key.put(new Character('b'), new Integer(KeyEvent.VK_B));
+        key.put(new Character('c'), new Integer(KeyEvent.VK_C));
+        key.put(new Character('d'), new Integer(KeyEvent.VK_D));
+        key.put(new Character('e'), new Integer(KeyEvent.VK_E));
+        key.put(new Character('f'), new Integer(KeyEvent.VK_F));
+        key.put(new Character('g'), new Integer(KeyEvent.VK_G));
+        key.put(new Character('h'), new Integer(KeyEvent.VK_H));
+        key.put(new Character('i'), new Integer(KeyEvent.VK_I));
+        key.put(new Character('j'), new Integer(KeyEvent.VK_J));
+        key.put(new Character('k'), new Integer(KeyEvent.VK_K));
+        key.put(new Character('l'), new Integer(KeyEvent.VK_L));
+        key.put(new Character('m'), new Integer(KeyEvent.VK_M));
+        key.put(new Character('n'), new Integer(KeyEvent.VK_N));
+        key.put(new Character('o'), new Integer(KeyEvent.VK_O));
+        key.put(new Character('p'), new Integer(KeyEvent.VK_P));
+        key.put(new Character('q'), new Integer(KeyEvent.VK_Q));
+        key.put(new Character('r'), new Integer(KeyEvent.VK_R));
+        key.put(new Character('s'), new Integer(KeyEvent.VK_S));
+        key.put(new Character('t'), new Integer(KeyEvent.VK_T));
+        key.put(new Character('u'), new Integer(KeyEvent.VK_U));
+        key.put(new Character('v'), new Integer(KeyEvent.VK_V));
+        key.put(new Character('w'), new Integer(KeyEvent.VK_W));
+        key.put(new Character('x'), new Integer(KeyEvent.VK_X));
+        key.put(new Character('y'), new Integer(KeyEvent.VK_Y));
+        key.put(new Character('z'), new Integer(KeyEvent.VK_Z));
+        key.put(new Character('0'), new Integer(KeyEvent.VK_0));
+        key.put(new Character('1'), new Integer(KeyEvent.VK_1));
+        key.put(new Character('2'), new Integer(KeyEvent.VK_2));
+        key.put(new Character('3'), new Integer(KeyEvent.VK_3));
+        key.put(new Character('4'), new Integer(KeyEvent.VK_4));
+        key.put(new Character('5'), new Integer(KeyEvent.VK_5));
+        key.put(new Character('6'), new Integer(KeyEvent.VK_6));
+        key.put(new Character('7'), new Integer(KeyEvent.VK_7));
+        key.put(new Character('8'), new Integer(KeyEvent.VK_8));
+        key.put(new Character('9'), new Integer(KeyEvent.VK_9));
+    }
+
+    /**
+     * Obtiene dado un caracter el entero correspondiente al codigo que tiene
+     * la tecla que produce dicho caracter
+     *
+     * @param a caracter
+     *
+     * @return Codigo de la tecla asociada
+     *
+     * @throws RuntimeException Si el caracter no tiene una tecla asociada
+     */
+    public static int getKey(char a) {
+        Integer ret = (Integer) key.get(new Character(a));
+
+        if (ret == null) {
+            throw new RuntimeException(Messages.getString(
+                    "KeyMapping.Caracter_no_valido") + a); //$NON-NLS-1$
+        }
+
+        return ret.intValue();
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/KeyMapping.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MDIFrame.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MDIFrame.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MDIFrame.java	(revision 3340)
@@ -0,0 +1,1191 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+import java.awt.BorderLayout;
+import java.awt.Component;
+import java.awt.Dimension;
+import java.awt.FlowLayout;
+import java.awt.Insets;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.ComponentEvent;
+import java.awt.event.ComponentListener;
+import java.awt.event.ContainerEvent;
+import java.awt.event.ContainerListener;
+import java.awt.event.MouseAdapter;
+import java.awt.event.MouseEvent;
+import java.awt.event.WindowAdapter;
+import java.awt.event.WindowEvent;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.NoSuchElementException;
+import java.util.Vector;
+
+import javax.swing.AbstractButton;
+import javax.swing.ButtonGroup;
+import javax.swing.ImageIcon;
+import javax.swing.JComponent;
+import javax.swing.JFrame;
+import javax.swing.JLabel;
+import javax.swing.JMenu;
+import javax.swing.JMenuBar;
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+import javax.swing.JPopupMenu;
+import javax.swing.KeyStroke;
+import javax.swing.MenuElement;
+import javax.swing.SwingUtilities;
+import javax.swing.Timer;
+
+import org.apache.log4j.Logger;
+
+import com.iver.andami.Launcher;
+import com.iver.andami.PluginServices;
+import com.iver.andami.messages.Messages;
+import com.iver.andami.messages.NotificationManager;
+import com.iver.andami.plugins.ExtensionDecorator;
+import com.iver.andami.plugins.PluginClassLoader;
+import com.iver.andami.plugins.config.generate.ActionTool;
+import com.iver.andami.plugins.config.generate.Label;
+import com.iver.andami.plugins.config.generate.Menu;
+import com.iver.andami.plugins.config.generate.PopupMenu;
+import com.iver.andami.plugins.config.generate.SelectableTool;
+import com.iver.andami.plugins.config.generate.SkinExtensionType;
+import com.iver.andami.plugins.config.generate.ToolBar;
+import com.iver.andami.ui.mdiManager.MDIManager;
+import com.iver.andami.ui.mdiManager.MDIManagerFactory;
+
+
+/**
+ * Frame principal de la aplicaci�n.
+ *
+ * @version $Revision$
+ */
+public class MDIFrame extends JFrame implements ComponentListener,
+	ContainerListener, ActionListener, MainFrame {
+	/** DOCUMENT ME! */
+	private static Logger logger = Logger.getLogger(MDIFrame.class.getName());
+	private MDIManager mdiManager = MDIManagerFactory.createManager();
+
+	/** Elementos de la aplicaci�n */
+	private JMenuBar menuBar = new JMenuBar();
+
+	/** DOCUMENT ME! */
+	private JPanel toolBars = new JPanel();
+
+	/** DOCUMENT ME! */
+	private NewStatusBar bEstado = null;
+	
+	/** Asocia los nombres con las barras de herramientas */
+	private HashMap toolBarMap = new HashMap();
+    
+    /**
+     * actionCommand del tool seleccionado
+     */
+    private String selectedTool;
+
+	/** Asocia los nombres con los popupMenus */
+	private HashMap popupMap = new HashMap();
+
+	/** Asocia controles con la clase de la extension asociada */
+	private HashMap controlClass = new HashMap();
+
+	/**
+	 * Asocia la informaci�n sobre las etiquetas que van en la status bar con
+	 * cada extension
+	 */
+	private HashMap classLabels = new HashMap();
+
+	/** ProgressListeners (ver interfaz com.iver.mdiApp.ui.ProgressListener) */
+	private ArrayList progressListeners = new ArrayList();
+
+	/** Timer para invocar los enventos de la interfaz anterior */
+	private Timer progressTimer = null;
+
+	/** Tabla hash que asocia las clases con las extensiones */
+	private HashMap classesExtensions = new HashMap();
+
+	/** �ltima clase que activ� etiquetas */
+	private Class lastLabelClass;
+
+	/** Instancia que pone los tooltip en la barra de estado */
+	private TooltipListener tooltipListener = new TooltipListener();
+	private HashMap infoCodedMenus = new HashMap();
+
+	private String titlePrefix;
+	private ButtonGroup buttonGroup=new ButtonGroup();
+	/**
+	 * Realiza tareas para poner en marcha la aplicaci�n
+	 *
+	 * @throws RuntimeException DOCUMENT ME!
+	 */
+	public void init() {
+		if (!SwingUtilities.isEventDispatchThread()) {
+			throw new RuntimeException("Not Event Dispatch Thread");
+		}
+
+		//Se a�aden los listeners del JFrame
+		this.addWindowListener(new WindowAdapter() {
+				public void windowClosing(WindowEvent e) {
+					/*JOptionPane dlgSalir = new JOptionPane(Utilities.getMessage(this,"quiere_salir"),
+					   JOptionPane.QUESTION_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
+					 */
+					int option = JOptionPane.showConfirmDialog(MDIFrame.this,
+							Messages.getString("MDIFrame.quiere_salir"),
+							Messages.getString("MDIFrame.salir"),
+							JOptionPane.YES_NO_OPTION);
+
+					if (option == JOptionPane.YES_OPTION) {
+						Launcher.closeApplication();
+					}
+				}
+			});
+		this.addComponentListener(this);
+		this.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
+
+		//Se configura la barra de menu
+		setJMenuBar(menuBar);
+
+		//Se configura el layout del JFrame principal
+		this.getContentPane().setLayout(new BorderLayout());
+
+		/*
+		 * Se configura y se a�ade el JPanel de las barras de
+		 * herramientas
+		 */
+		FlowLayout layout = new FlowLayout(FlowLayout.LEFT);
+		layout.setHgap(0);
+		layout.setVgap(0);
+		toolBars.setLayout(layout);
+		getContentPane().add(toolBars, BorderLayout.PAGE_START);
+
+		// Se a�ade la barra de estado a la aplicaci�n
+		bEstado = new NewStatusBar();
+		bEstado.setInfoText(Messages.getString("StatusBar.Aplicacion_iniciada"));
+		getContentPane().add(bEstado, BorderLayout.SOUTH);
+
+		this.toolBars.addContainerListener(this);
+
+		pack();
+
+		this.setSize(500, 500);
+		this.setExtendedState(MAXIMIZED_BOTH);
+
+		mdiManager.init(this);
+	}
+
+	public void setTitle(String title) {
+		super.setTitle(titlePrefix + ":" + title);
+	}
+
+	/**
+	 * A�ade un modo de operaci�n a la caja de herramientas
+	 *
+	 * @param ext Texto del boton, si es null no aparece texto
+	 * @param ext Icono del boton, si es null no aparece icono
+	 * @param ext Extensi�n asociada al control
+	 * @param selectableTool Enable text del control
+	 *
+	 * @throws ClassNotFoundException
+	 * @throws RuntimeException DOCUMENT ME!
+	 */
+	public void addTool(PluginClassLoader loader, SkinExtensionType ext,
+		ToolBar toolBar, SelectableTool selectableTool)
+		throws ClassNotFoundException {
+		if (!SwingUtilities.isEventDispatchThread()) {
+			throw new RuntimeException("No Event Dispatch Thread");
+		}
+
+		// Para traducir
+		PluginServices ps = PluginServices.getPluginServices(loader.getPluginName());
+
+		JToggleButton btn;
+		URL image = loader.getResource(selectableTool.getIcon());
+
+		if (image != null) {
+			btn = new JToggleButton(selectableTool.getText(),
+					new ImageIcon(image));
+		} else {
+			btn = new JToggleButton(selectableTool.getText());
+		}
+
+		btn.setMargin(new Insets(0, 0, 0, 0));
+		btn.addMouseListener(tooltipListener);
+		btn.addActionListener(this);
+		btn.setFocusable(false);
+		btn.setActionCommand(selectableTool.getActionCommand());
+		btn.setToolTipText(selectableTool.getTooltip());
+		btn.setEnabled(false);
+		btn.setVisible(false);
+
+		if (selectableTool.getIsDefault()) {
+			btn.setSelected(true);
+            selectedTool = btn.getActionCommand();
+		}
+
+		String name = getName(toolBar.getName(), loader);
+
+		SelectableToolBar jtb = (SelectableToolBar) toolBarMap.get(name);
+
+		if (jtb == null) {
+			jtb = new SelectableToolBar(toolBar.getName());
+			jtb.setRollover(true);
+			toolBarMap.put(name, jtb);
+			toolBars.add(jtb);
+		}
+
+		jtb.addButton(buttonGroup, btn);
+
+		controlClass.put(btn, loader.loadClass(ext.getClassName()));
+
+		if (selectableTool.getTooltip() != null) {
+			btn.setToolTip(ps.getText(selectableTool.getTooltip()));
+		}
+
+		if (selectableTool.getEnableText() != null) {
+			btn.setEnableText(ps.getText(selectableTool.getEnableText()));
+		}
+
+		if (selectableTool.getLast() == true) {
+			jtb.addSeparator();
+		}
+	}
+
+	/**
+	 * A�ade un bot�n a la barra de herramientas
+	 *
+	 * @param ext Texto del boton, si es null no aparece texto
+	 * @param ext Extensi�n asociada al control
+	 * @param toolBar Icono del boton, si es null no aparece texto
+	 * @param actionTool Tooltip de la barra de herramientas
+	 *
+	 * @throws ClassNotFoundException
+	 * @throws RuntimeException DOCUMENT ME!
+	 */
+	public void addTool(PluginClassLoader loader, SkinExtensionType ext,
+		ToolBar toolBar, ActionTool actionTool) throws ClassNotFoundException {
+		if (!SwingUtilities.isEventDispatchThread()) {
+			throw new RuntimeException("No Event Dispatch Thread");
+		}
+
+		// Para traducir los textos que vengan
+		PluginServices ps = PluginServices.getPluginServices(loader.getPluginName());
+
+		JButton btn;
+		URL image = loader.getResource(actionTool.getIcon());
+
+		if (image != null) {
+			btn = new JButton(actionTool.getText(), new ImageIcon(image));
+		} else {
+			btn = new JButton(actionTool.getText());
+		}
+
+		btn.setMargin(new Insets(0, 0, 0, 0));
+		btn.addMouseListener(tooltipListener);
+		btn.addActionListener(this);
+		btn.setFocusable(false);
+		btn.setActionCommand(actionTool.getActionCommand());
+		btn.setEnabled(false);
+		btn.setVisible(false);
+
+		String name = getName(toolBar.getName(), loader);
+
+		SelectableToolBar jtb = (SelectableToolBar) toolBarMap.get(name);
+
+		if (jtb == null) {
+			jtb = new SelectableToolBar(toolBar.getName());
+			jtb.setRollover(true);
+			toolBarMap.put(name, jtb);
+			toolBars.add(jtb);
+		}
+
+		jtb.add(btn);
+
+		controlClass.put(btn, loader.loadClass(ext.getClassName()));
+
+		if (actionTool.getTooltip() != null) {
+			btn.setToolTip(ps.getText(actionTool.getTooltip()));
+		}
+
+		if (actionTool.getEnableText() != null) {
+			btn.setEnableText(ps.getText(actionTool.getEnableText()));
+		}
+
+		if (actionTool.getLast() == true) {
+			jtb.addSeparator();
+		}
+	}
+
+	/**
+	 * Crea la estructura de men�s necesaria para a�adir el menu a la barra.
+	 * Devuelve el padre del cual deve colgar el menu que se pasa como
+	 * par�metro
+	 *
+	 * @param menu Menu cuya soporte se quiere a�adir
+	 * @param loader DOCUMENT ME!
+	 *
+	 * @return Padre del men� que se pasa como par�metro
+	 */
+	private JMenu createMenuAncestors(Menu menu, PluginClassLoader loader) {
+		JMenu menuPadre = null;
+
+		String[] menues = menu.getText().split("/");
+		PluginServices ps = PluginServices.getPluginServices(loader.getPluginName());
+
+		for (int i = 0; i < menues.length; i++) {
+			menues[i] = ps.getText(menues[i]);
+		}
+
+		//Se busca el padre en la menuBar
+		for (int i = 0; i < menuBar.getMenuCount(); i++) {
+			if (menuBar.getMenu(i).getText().compareToIgnoreCase(menues[0]) == 0) {
+				menuPadre = (JMenu) menuBar.getMenu(i);
+			}
+		}
+
+		//Si no se encuentra el padre se crea
+		if (menuPadre == null) {
+			menuPadre = new JMenu(menues[0]);
+			menuBar.add(menuPadre);
+		}
+
+		//Se crea el resto de menus
+		Vector temp = new Vector();
+
+		for (int i = 1; i < (menues.length - 1); i++) {
+			temp.add(menues[i]);
+		}
+
+		menuPadre = createMenus(temp, menuPadre);
+
+		return menuPadre;
+	}
+
+	/**
+	 * A�ade la informaci�n del menu al framework. Debido a que los men�es se
+	 * pueden introducir en un orden determinado por el usuario, pero los
+	 * plugins se instalan en un orden arbitrario, primero se almacena la
+	 * informaci�n de todos los menus para luego ordenarlos y posteriormente
+	 * a�adirlos al interfaz
+	 *
+	 * @param loader Posicion del menu. Se ordena por este campo
+	 * @param ext Array con los nombres de los padres del menu
+	 * @param menu Texto del menu
+	 *
+	 * @throws ClassNotFoundException
+	 * @throws RuntimeException DOCUMENT ME!
+	 */
+	public void addMenu(PluginClassLoader loader, SkinExtensionType ext,
+		Menu menu) throws ClassNotFoundException {
+		if (!SwingUtilities.isEventDispatchThread()) {
+			throw new RuntimeException("No Event Dispatch Thread");
+		}
+
+		JMenu menuPadre = createMenuAncestors(menu, loader);
+
+		//Se registra y a�ade el menu
+        /* String[] aux = menu.getText().split("/");
+
+        if (aux.length == 2)
+            if (aux[1].equals("----"))
+            {
+                menuPadre.addSeparator();
+                return;
+            } */
+        if (menu.getIs_separator())
+        {
+            menuPadre.addSeparator();
+            return;
+        } 
+
+		JMenuItem nuevoMenu = createJMenuItem(loader, menu);
+		nuevoMenu.addMouseListener(tooltipListener);
+		nuevoMenu.addActionListener(this);
+		menuPadre.add(nuevoMenu);        
+        controlClass.put(nuevoMenu, loader.loadClass(ext.getClassName()));
+	}
+
+	/**
+	 * Dado un array de nombres de menu traducidos, encuentra el  men�
+	 *
+	 * @param nombres DOCUMENT ME!
+	 * @param padre DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	private javax.swing.JMenuItem getMenu(Vector nombres, JMenu padre) {
+		javax.swing.JMenuItem buscado = null;
+
+		for (int i = 0; i < padre.getMenuComponentCount(); i++) {
+			javax.swing.JMenuItem hijo = (javax.swing.JMenuItem) padre.getMenuComponent(i);
+
+			if (hijo.getText().compareToIgnoreCase((String) nombres.get(0)) == 0) {
+				buscado = hijo;
+			}
+		}
+
+		//Si no se encuentra el menu
+		if (buscado == null) {
+			return null;
+		}
+
+		nombres.remove(0);
+
+		//Si se ha llegado al fin de la ruta completa
+		if (nombres.isEmpty()) {
+			return buscado;
+		} else {
+			if (buscado instanceof JMenu) {
+				return getMenu(nombres, (JMenu) buscado);
+			} else {
+				return null;
+			}
+		}
+	}
+
+	/**
+	 * Crea la estructura de menus recursivamente. Por ejemplo, si se le pasa
+	 * en el par�metro nombres el array {"Search", "References", "Workspace"}
+	 * crear� un men� Search, un submen� del anterior que se llamar�
+	 * References y debajo de �ste �ltimo otro menu llamado Workspace
+	 *
+	 * @param nombres Array con los nombres de los men�s que se quieren crear
+	 * @param padre Menu padre de los men�s creados. Es �til porque es un
+	 * 		  algoritmo recursivo
+	 *
+	 * @return Devuelve el men� creado. Al final de toda la recursividad,
+	 * 		   devolver� el men� de m�s abajo en la jerarqu�a
+	 *
+	 * @throws RuntimeException DOCUMENT ME!
+	 */
+	private JMenu createMenus(Vector nombres, JMenu padre) {
+		if (!SwingUtilities.isEventDispatchThread()) {
+			throw new RuntimeException("No Event Dispatch Thread");
+		}
+
+		//si no quedan nombres de menu por crear se vuelve: caso base
+		if (nombres.size() == 0) {
+			return padre;
+		}
+
+		//Se busca el menu por si ya existiera para no crearlo otra vez
+		JMenu buscado = null;
+
+		for (int i = 0; i < padre.getMenuComponentCount(); i++) {
+			try {
+				JMenu hijo = (JMenu) padre.getMenuComponent(i);
+
+				if (hijo.getText().compareToIgnoreCase((String) nombres.get(0)) == 0) {
+					buscado = hijo;
+				}
+			} catch (ClassCastException e) {
+				/*
+				 * Se ha encontrado un elemento hoja del arbol de men�es
+				 */
+			}
+		}
+
+		if (buscado != null) {
+			//Si lo hemos encontrado creamos el resto
+			nombres.remove(0);
+
+			return createMenus(nombres, buscado);
+		} else {
+			//Si no lo hemos encontrado se crea el menu, se a�ade al padre
+			//y se crea el resto
+			JMenu menuPadre = new JMenu((String) nombres.get(0));
+			padre.add(menuPadre);
+
+			nombres.remove(0);
+
+			return createMenus(nombres, menuPadre);
+		}
+	}
+
+	/**
+	 * M�todo invocado en respuesta a ciertos eventos de la interfaz que pueden
+	 * ocultar botones de las barras de herramientas y que redimensiona �sta
+	 * de manera conveniente para que no se oculte ninguno
+	 */
+	private void ajustarToolBar() {
+		int margen = 8;
+		int numFilas = 1;
+		double acum = margen;
+
+		int toolHeight = 0;
+
+		for (int i = 0; i < toolBars.getComponentCount(); i++) {
+			Component c = toolBars.getComponent(i);
+
+			if (!c.isVisible()) {
+				continue;
+			}
+
+			double width = c.getPreferredSize().getWidth();
+			acum = acum + width;
+
+			if (acum > this.getWidth()) {
+				numFilas++;
+				acum = width + margen;
+			}
+
+			if (c.getPreferredSize().getHeight() > toolHeight) {
+				toolHeight = c.getPreferredSize().height;
+			}
+		}
+
+		toolBars.setPreferredSize(new Dimension(this.getWidth(),
+				(int) (numFilas * toolHeight)));
+
+		toolBars.updateUI();
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param classesExtensions
+	 */
+	public void setClassesExtensions(HashMap classesExtensions) {
+		this.classesExtensions = classesExtensions;
+	}
+
+	/**
+	 * M�todo de callback invocado cuando se selecciona un men� o un bot�n de
+	 * la barra de herramientas. Se busca la extensi�n asociada y se ejecuta
+	 *
+	 * @param e Evento producido
+	 */
+	public void actionPerformed(ActionEvent e) {
+		AbstractButton control = (AbstractButton) e.getSource();
+		com.iver.andami.plugins.Extension ext = (com.iver.andami.plugins.Extension) classesExtensions.get((Class) controlClass.get(
+					control));
+		String actionCommand = control.getActionCommand();
+
+		try {
+			ext.execute(actionCommand);
+            if (control instanceof JToggleButton)
+            {
+                selectedTool = actionCommand;
+            }
+		} catch (RuntimeException t) {
+			NotificationManager.addError(Messages.getString(
+					"MDIFrame.Error_no_capturado_por_el_usuario"), t);
+		}
+
+		enableControls();
+		showMemory();
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param name DOCUMENT ME!
+	 * @param loader DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	private String getName(String name, PluginClassLoader loader) {
+		if (name.indexOf('.') == -1) {
+			return loader.getPluginName() + "." + name;
+		} else {
+			return name;
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param loader DOCUMENT ME!
+	 * @param menu DOCUMENT ME!
+	 *
+	 * @throws RuntimeException DOCUMENT ME!
+	 */
+	public void addPopupMenu(PluginClassLoader loader, PopupMenu menu) {
+		if (!SwingUtilities.isEventDispatchThread()) {
+			throw new RuntimeException("No Event Dispatch Thread");
+		}
+
+		String name = getName(menu.getName(), loader);
+
+		//Se crea el control popupmenu        
+		JPopUpMenu popupMenu = (JPopUpMenu) popupMap.get(name);
+
+		if (popupMenu == null) {
+			popupMenu = new JPopUpMenu(menu.getName());
+			popupMap.put(name, popupMenu);
+		}
+
+		// Se a�aden las entradas
+		Menu[] menues = menu.getMenu();
+
+		for (int i = 0; i < menues.length; i++) {
+			//Se registra y a�ade el menu
+			JMenuItem nuevoMenu = createJMenuItem(loader, menues[i]);
+
+			popupMenu.add(nuevoMenu);
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param loader
+	 * @param menu
+	 *
+	 * @return
+	 *
+	 * @throws RuntimeException DOCUMENT ME!
+	 */
+	private JMenuItem createJMenuItem(PluginClassLoader loader, Menu menu) {
+		JMenuItem nuevoMenu = null;
+
+		PluginServices ps = PluginServices.getPluginServices(loader.getPluginName());
+		String texto = menu.getText();
+		texto = texto.substring(texto.lastIndexOf('/') + 1);
+		texto = ps.getText(texto);
+
+		if (menu.getIcon() != null) {
+            System.out.println("Intentando cargar el icono " + menu.getIcon());
+			nuevoMenu = new JMenuItem(texto,
+					new ImageIcon(loader.getResource(menu.getIcon())));
+		} else {
+			nuevoMenu = new JMenuItem(texto);
+		}
+
+		if (menu.getMnemonic() != null) {
+			if (menu.getMnemonic().length() != 1) {
+				throw new RuntimeException(
+					"Mnemonic must be 1 character length");
+			}
+
+			nuevoMenu.setMnemonic(KeyMapping.getKey(menu.getMnemonic().charAt(0)));
+		}
+
+		if (menu.getKey() != null) {
+			nuevoMenu.setAccelerator(KeyStroke.getKeyStroke(KeyMapping.getKey(
+						menu.getKey().charAt(0)), ActionEvent.CTRL_MASK));
+		}
+
+		nuevoMenu.setActionCommand(menu.getActionCommand());
+
+		if (menu.getTooltip() != null) {
+			nuevoMenu.setToolTip(ps.getText(menu.getTooltip()));
+		}
+
+		if (menu.getEnableText() != null) {
+			nuevoMenu.setEnableText(ps.getText(menu.getEnableText()));
+		}
+
+		nuevoMenu.setEnabled(true);
+		nuevoMenu.setVisible(true);
+
+		return nuevoMenu;
+	}
+
+	/**
+	 * Muestra u oculta el menu de nombre 'name'
+	 *
+	 * @param name Nombre del menu que se quiere mostrar
+	 * @param x Evento de raton
+	 * @param y DOCUMENT ME!
+	 * @param c DOCUMENT ME!
+	 */
+	private void showPopupMenu(String name, int x, int y, Component c) {
+		JPopupMenu menu = (JPopupMenu) popupMap.get(name);
+
+		if (menu != null) {
+			menu.show(c, x, y);
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param name DOCUMENT ME!
+	 * @param listener DOCUMENT ME!
+	 */
+	public void removePopupMenuListener(String name, ActionListener listener) {
+		JPopupMenu menu = (JPopupMenu) popupMap.get(name);
+
+		if (menu != null) {
+			Component[] jmenuitems = menu.getComponents();
+
+			for (int i = 0; i < jmenuitems.length; i++) {
+				if (jmenuitems[i] instanceof JMenuItem) {
+					((JMenuItem) jmenuitems[i]).removeActionListener(listener);
+				}
+			}
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param popupName
+	 * @param c DOCUMENT ME!
+	 * @param listener
+	 * @param loader
+	 */
+	public void addPopupMenuListener(String popupName, Component c,
+		ActionListener listener, PluginClassLoader loader) {
+		final String name = getName(popupName, loader);
+
+		JPopupMenu menu = (JPopupMenu) popupMap.get(name);
+
+		if (menu != null) {
+			Component[] jmenuitems = menu.getComponents();
+
+			for (int i = 0; i < jmenuitems.length; i++) {
+				if (jmenuitems[i] instanceof JMenuItem) {
+					((JMenuItem) jmenuitems[i]).addActionListener(listener);
+				}
+			}
+		}
+
+		c.addMouseListener(new MouseAdapter() {
+				public void mousePressed(MouseEvent e) {
+					if (e.isPopupTrigger()) {
+						showPopupMenu(name, e.getX(), e.getY(), e.getComponent());
+					}
+				}
+
+				public void mouseReleased(MouseEvent e) {
+					if (e.isPopupTrigger()) {
+						showPopupMenu(name, e.getX(), e.getY(), e.getComponent());
+					}
+				}
+			});
+	}
+
+	/**
+	 * Itera por los controles preguntando a las extensiones si estos est�n
+	 * habilitados y visibles
+	 *
+	 * @throws RuntimeException DOCUMENT ME!
+	 */
+	public void enableControls() {
+		if (!SwingUtilities.isEventDispatchThread()) {
+			throw new RuntimeException("No Event Dispatch Thread");
+		}
+
+		Iterator e = classesExtensions.values().iterator();
+		HashMap estadoExtensiones = new HashMap();
+		HashMap visibilidadExtensiones = new HashMap();
+
+		while (e.hasNext()) { 
+			ExtensionDecorator ext = (ExtensionDecorator) e.next();
+			
+			try {
+				if (estadoExtensiones.get(ext) == null) {
+					boolean b;
+					if (ext.getVisibility() == ExtensionDecorator.ALWAYS_VISIBLE)
+						b = true;
+					else if (ext.getVisibility() == ExtensionDecorator.ALWAYS_INVISIBLE)
+						b = false;
+					else b = ext.isVisible();
+					Boolean visible = new Boolean(b);
+					Boolean enabled = new Boolean(false);
+
+					if (visible.booleanValue()) {
+						enabled = new Boolean(ext.isEnabled());
+					}
+
+					estadoExtensiones.put(ext, enabled);
+					visibilidadExtensiones.put(ext, visible);
+				}
+			} catch (Throwable e1) {
+				NotificationManager.addError(Messages.getString(
+						"MDIFrame.Error_no_capturado_por_el_usuario"), e1);
+				estadoExtensiones.put(ext, Boolean.FALSE);
+			}
+		}
+
+		//Se habilitan y deshabilitan los controles
+		e = controlClass.keySet().iterator();
+
+		while (e.hasNext()) {
+			JComponent control = (JComponent) e.next();
+
+			try {
+				com.iver.andami.plugins.Extension ext = (com.iver.andami.plugins.Extension) classesExtensions.get((Class) controlClass.get(
+							control));
+				boolean enabled = ((Boolean) estadoExtensiones.get(ext)).booleanValue();
+				boolean visible = ((Boolean) visibilidadExtensiones.get(ext)).booleanValue();
+				control.setEnabled(enabled);
+				control.setVisible(visible);
+			} catch (Exception ex) {
+				control.setEnabled(false);
+				control.setVisible(false);
+			}
+		}
+
+		//Se itera por los men�es para ocultar los que no tengan hijos visibles
+		for (int i = 0; i < menuBar.getMenuCount(); i++) {
+			MenuElement menu = menuBar.getMenu(i);
+			ocultarMenus(menu);
+		}
+
+		//Se ocultan las barras que no tienen herramientas
+		Iterator it = toolBarMap.values().iterator();
+
+		while (it.hasNext()) {
+			SelectableToolBar t = (SelectableToolBar) it.next();
+			boolean todosOcultos = true;
+
+			for (int i = 0; i < t.getComponentCount(); i++) {
+				if (t.getComponent(i).isVisible()) {
+					todosOcultos = false;
+				}
+			}
+
+			if (todosOcultos) {
+				t.setVisible(false);
+			} else {
+				t.setVisible(true);
+			}
+		}
+
+		if (mdiManager != null) {
+			JPanel f = (JPanel) mdiManager.getActiveView();
+
+			if (f != null) {
+				if (lastLabelClass != f.getClass()) {
+					lastLabelClass = f.getClass();
+
+					Label[] lbls = (Label[]) classLabels.get(lastLabelClass);
+
+					if (lbls != null) {
+						bEstado.setLabelSet(lbls);
+					}
+				}
+			}
+		}
+
+		ajustarToolBar();
+
+		showMemory();
+	}
+
+	/**
+	 * Establece la visibilidad de un menu y todos sus descendientes en la
+	 * jerarquia teniendo en cuenta la visibilidad de todos los submenus.
+	 *
+	 * @param menu Menu que se quiere visualizar
+	 *
+	 * @return Devuelve true si el menu es visible y false en caso contrario
+	 */
+	private boolean ocultarMenus(MenuElement menu) {
+		MenuElement[] submenus = menu.getSubElements();
+
+		//Si no tiene hijos se devuelve su visibilidad
+		if (submenus.length == 0) {
+			return menu.getComponent().isVisible();
+		}
+
+		/*
+		 * Si tiene hijos se devuelve true si alg�no de ellos es visible,
+		 * pero se itera por todos ellos
+		 */
+		boolean visible = false;
+
+		for (int i = 0; i < submenus.length; i++) {
+			if (ocultarMenus(submenus[i])) {
+				if (!(menu instanceof JPopupMenu)) {
+					menu.getComponent().setVisible(true);
+				}
+
+				visible = true;
+			}
+		}
+
+		if (visible) {
+			return true;
+		}
+
+		menu.getComponent().setVisible(false);
+
+		return false;
+	}
+
+	/**
+	 * Muestra la memoria consumida por el programa
+	 */
+	private void showMemory() {
+		Runtime r = Runtime.getRuntime();
+		long mem = r.totalMemory() - r.freeMemory();
+		logger.debug("Memoria total: " + mem);
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @return
+	 */
+	public MDIManager getMDIManager() {
+		return mdiManager;
+	}
+
+	/**
+	 * Establece el mensaje en la barra de estado asociado a una etiqueta
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	public NewStatusBar getStatusBar() {
+		return bEstado;
+	}
+	/**
+     * You can use this function to select the appropiate
+     * tool inside the toolbars
+     */
+    public void setSelectedTool(String actionCommand)
+    {
+        Iterator it = toolBarMap.values().iterator();
+        while (it.hasNext()) {
+            SelectableToolBar t = (SelectableToolBar) it.next();
+            t.setSelectedTool(actionCommand);
+        }
+        selectedTool = actionCommand;
+
+    }
+    
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param clase
+	 * @param label
+	 */
+	public void setLabels(Class clase, Label[] label) {
+		classLabels.put(clase, label);
+	}
+
+	/**
+	 * @see com.iver.andami.ui.mdiFrame.MainFrame#removeMenu(com.iver.andami.plugins.config.generate.Menu)
+	 */
+	public void removeMenu(Menu menu) {
+		JMenuItem delete = (JMenuItem) infoCodedMenus.get(menu);
+
+		if (delete == null) {
+			throw new NoSuchElementException(menu.getText());
+		}
+
+		delete.getParent().remove(delete);
+		infoCodedMenus.remove(menu);
+	}
+
+	/**
+	 * @see com.iver.andami.ui.mdiFrame.MainFrame#addMenu(com.iver.andami.plugins.config.generate.Menu,
+	 * 		java.awt.event.ActionListener, PluginClassLoader)
+	 */
+	public void addMenu(Menu menu, ActionListener listener,
+		PluginClassLoader loader) {
+		JMenu menuPadre = createMenuAncestors(menu, loader);
+
+		//Se registra y a�ade el menu
+		JMenuItem nuevoMenu = createJMenuItem(loader, menu);
+		nuevoMenu.addMouseListener(tooltipListener);
+		nuevoMenu.addActionListener(listener);
+		menuPadre.add(nuevoMenu);
+
+		infoCodedMenus.put(menu, nuevoMenu);
+	}
+
+	/**
+	 * @see com.iver.andami.ui.mdiFrame.MainFrame#changeMenuName(java.lang.String[],
+	 * 		String, com.iver.andami.plugins.PluginClassLoader)
+	 */
+	public void changeMenuName(String[] menu, String newName,
+		PluginClassLoader loader) {
+		PluginServices ps = PluginServices.getPluginServices(loader.getPluginName());
+
+		for (int i = 0; i < menu.length; i++) {
+			menu[i] = ps.getText(menu[i]);
+		}
+
+		JMenu menuPadre = null;
+
+		//Se busca el padre en la menuBar
+		for (int i = 0; i < menuBar.getMenuCount(); i++) {
+			if (menuBar.getMenu(i).getText().compareToIgnoreCase(menu[0]) == 0) {
+				menuPadre = (JMenu) menuBar.getMenu(i);
+			}
+		}
+
+		if (menuPadre == null) {
+			throw new NoSuchMenuException(menu[0]);
+		}
+
+		Vector nombres = new Vector();
+
+		for (int i = 1; i < menu.length; i++) {
+			nombres.add(menu[i]);
+		}
+
+		javax.swing.JMenuItem m = getMenu(nombres, menuPadre);
+
+		if (m != null) {
+			m.setText(newName);
+		}else{
+			throw new NoSuchMenuException();
+		}
+	}
+
+	/**
+	 * @see java.awt.event.ComponentListener#componentHidden(java.awt.event.ComponentEvent)
+	 */
+	public void componentHidden(ComponentEvent arg0) {
+	}
+
+	/**
+	 * @see java.awt.event.ComponentListener#componentMoved(java.awt.event.ComponentEvent)
+	 */
+	public void componentMoved(ComponentEvent arg0) {
+	}
+
+	/**
+	 * @see java.awt.event.ComponentListener#componentResized(java.awt.event.ComponentEvent)
+	 */
+	public void componentResized(ComponentEvent arg0) {
+		ajustarToolBar();
+		bEstado.setFixedLabelWidth(this.getWidth() * 0.3);
+	}
+
+	/**
+	 * @see java.awt.event.ComponentListener#componentShown(java.awt.event.ComponentEvent)
+	 */
+	public void componentShown(ComponentEvent arg0) {
+	}
+
+	/**
+	 * @see java.awt.event.ContainerListener#componentAdded(java.awt.event.ContainerEvent)
+	 */
+	public void componentAdded(ContainerEvent arg0) {
+		ajustarToolBar();
+	}
+
+	/**
+	 * @see java.awt.event.ContainerListener#componentRemoved(java.awt.event.ContainerEvent)
+	 */
+	public void componentRemoved(ContainerEvent arg0) {
+		ajustarToolBar();
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @author $author$
+	 * @version $Revision$
+	 */
+	public class TooltipListener extends MouseAdapter {
+		/**
+		 * @see java.awt.event.MouseListener#mouseEntered(java.awt.event.MouseEvent)
+		 */
+		public void mouseEntered(MouseEvent e) {
+			JComponent control = (JComponent) e.getSource();
+			EnableTextSupport ets = (EnableTextSupport) e.getSource();
+
+			String texto = null;
+			texto = control.getToolTipText();
+
+			if (texto != null) {
+				bEstado.setInfoTextTemporal(texto);
+			}
+		}
+
+		/**
+		 * @see java.awt.event.MouseListener#mouseExited(java.awt.event.MouseEvent)
+		 */
+		public void mouseExited(MouseEvent arg0) {
+			bEstado.restaurarTexto();
+		}
+
+		/**
+		 * @see java.awt.event.MouseListener#mousePressed(java.awt.event.MouseEvent)
+		 */
+		public void mousePressed(MouseEvent e) {
+			bEstado.restaurarTexto();
+		}
+	}
+	public String getTitlePrefix() {
+		return titlePrefix;
+	}
+	public void setTitlePrefix(String titlePrefix) {
+		this.titlePrefix = titlePrefix;
+	}
+
+    public String getSelectedTool() {
+        return selectedTool;
+    }
+    
+
+    /**
+     * Get a previously added JComponent by name. For example
+     * you can use it if you need to obtain a JToolBar to
+     * add some customized component.
+     * @param name
+     * @return the JComponent or null if none has been found
+     */
+    public JComponent getComponentByName(String name)
+    {
+        Iterator e = controlClass.keySet().iterator();
+
+        while (e.hasNext()) {
+            JComponent control = (JComponent) e.next();
+            String nameCtrl = control.getName();
+            if (nameCtrl != null)
+            	if (nameCtrl.compareTo(name) == 0)
+            		return control;
+        }
+        Iterator it = toolBarMap.values().iterator();
+        while (it.hasNext()) {
+            SelectableToolBar t = (SelectableToolBar) it.next();
+            String nameCtrl = t.getName();
+            if (nameCtrl != null)
+            	if (nameCtrl.compareTo(name) == 0)
+            		return t;
+
+        }
+        
+        return null;
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MDIFrame.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JButton.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JButton.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JButton.java	(revision 3340)
@@ -0,0 +1,118 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+import javax.swing.Action;
+import javax.swing.Icon;
+
+public class JButton extends javax.swing.JButton implements EnableTextSupport{
+	/**
+	 * 
+	 */
+	public JButton() {
+		super();
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param text
+	 */
+	public JButton(String text) {
+		super(text);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param text
+	 * @param icon
+	 */
+	public JButton(String text, Icon icon) {
+		super(text, icon);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param a
+	 */
+	public JButton(Action a) {
+		super(a);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param icon
+	 */
+	public JButton(Icon icon) {
+		super(icon);
+		// TODO Auto-generated constructor stub
+	}
+	private String enableText;
+	private String toolTip;
+	
+	
+	/**
+	 * @return Returns the enableText.
+	 */
+	public String getEnableText() {
+		return enableText;
+	}
+	/**
+	 * @param enableText The enableText to set.
+	 */
+	public void setEnableText(String enableText) {
+		this.enableText = enableText;
+	}
+	
+	
+	/**
+	 * @see java.awt.Component#setVisible(boolean)
+	 */
+	public void setEnabled(boolean aFlag) {
+		super.setEnabled(aFlag);
+		if (aFlag){
+			setToolTipText(toolTip);
+		}else{
+			setToolTipText(enableText);
+		}
+	}
+	/**
+	 * @see javax.swing.JComponent#setToolTipText(java.lang.String)
+	 */
+	public void setToolTip(String text) {
+		toolTip = text;
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JButton.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/SelectableToolBar.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/SelectableToolBar.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/SelectableToolBar.java	(revision 3340)
@@ -0,0 +1,113 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+import java.util.HashMap;
+
+import javax.swing.ButtonGroup;
+import javax.swing.JToggleButton;
+import javax.swing.JToolBar;
+
+
+/**
+ * Caja de herramientas seleccionables
+ */
+public class SelectableToolBar extends JToolBar {
+    private HashMap grupos = new HashMap();
+
+    /**
+     * Creates a new SelectableToolBar object.
+     *
+     * @param titulo T�tulo de la barra
+     */
+    public SelectableToolBar(String titulo) {
+        super(titulo);
+    }
+
+    /**
+     * A�ade un boton a la caja
+     *
+     * @param btn bot�n a a�adir.
+     */
+   /* public void addButton(String groupName, JToggleButton btn) {
+    	ButtonGroup group = (ButtonGroup) grupos.get(groupName);
+    	if (group == null){
+    		group = new ButtonGroup();
+    		grupos.put(groupName, group);
+    	}
+        group.add(btn);
+        add(btn);
+    }
+    */
+    /**
+     * A�ade un boton a la caja
+     *
+     * @param btn bot�n a a�adir.
+     */
+    public void addButton(ButtonGroup group, JToggleButton btn) {
+    	if (grupos.size()==0){
+    		grupos.put("",group);
+    	}
+    	group.add(btn);
+        add(btn);
+    }
+    
+    /**
+     * Selects a toggleButton in this toolBar by ActionCommand
+     * @param actionCommand
+     */
+    public void setSelectedTool(String actionCommand)
+    {
+        for (int i = 0; i < getComponentCount(); i++) {
+            if (getComponent(i) instanceof JToggleButton)
+            {
+                JToggleButton toggleButton = (JToggleButton) getComponent(i);
+                String aux = toggleButton.getActionCommand();
+                if (aux != null)  
+                  if (aux.compareTo(actionCommand) == 0)
+                      {
+                        toggleButton.setSelected(true);
+                      }
+            }
+        }
+        
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/SelectableToolBar.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JToggleButton.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JToggleButton.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JToggleButton.java	(revision 3340)
@@ -0,0 +1,143 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiFrame;
+
+import javax.swing.Action;
+import javax.swing.Icon;
+
+public class JToggleButton extends javax.swing.JToggleButton implements EnableTextSupport{
+	/**
+	 * 
+	 */
+	public JToggleButton() {
+		super();
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param text
+	 */
+	public JToggleButton(String text) {
+		super(text);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param text
+	 * @param selected
+	 */
+	public JToggleButton(String text, boolean selected) {
+		super(text, selected);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param text
+	 * @param icon
+	 */
+	public JToggleButton(String text, Icon icon) {
+		super(text, icon);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param text
+	 * @param icon
+	 * @param selected
+	 */
+	public JToggleButton(String text, Icon icon, boolean selected) {
+		super(text, icon, selected);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param a
+	 */
+	public JToggleButton(Action a) {
+		super(a);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param icon
+	 */
+	public JToggleButton(Icon icon) {
+		super(icon);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param icon
+	 * @param selected
+	 */
+	public JToggleButton(Icon icon, boolean selected) {
+		super(icon, selected);
+		// TODO Auto-generated constructor stub
+	}
+	private String enableText;
+	private String toolTip;
+	
+	
+	/**
+	 * @return Returns the enableText.
+	 */
+	public String getEnableText() {
+		return enableText;
+	}
+	/**
+	 * @param enableText The enableText to set.
+	 */
+	public void setEnableText(String enableText) {
+		this.enableText = enableText;
+	}
+	
+	
+	/**
+	 * @see java.awt.Component#setVisible(boolean)
+	 */
+	public void setEnabled(boolean aFlag) {
+		super.setEnabled(aFlag);
+		if (aFlag){
+			setToolTipText(toolTip);
+		}else{
+			setToolTipText(enableText);
+		}
+	}
+	/**
+	 * @see javax.swing.JComponent#setToolTipText(java.lang.String)
+	 */
+	public void setToolTip(String text) {
+		toolTip = text;
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/JToggleButton.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/View.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/View.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/View.java	(revision 3340)
@@ -0,0 +1,56 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiManager;
+
+/**
+ * Interfaz a implementar por todos los JPanel (o derivados de JPanel) que
+ * quieran
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public interface View {
+    /**
+     * M�todo invocado por el framework una sola vez.
+     *
+     * @return Un objeto ViewInfo.
+     */
+    public ViewInfo getViewInfo();
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/View.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIManagerFactory.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIManagerFactory.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIManagerFactory.java	(revision 3340)
@@ -0,0 +1,116 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiManager;
+
+import com.iver.andami.Launcher;
+import com.iver.andami.messages.Messages;
+import com.iver.andami.plugins.PluginClassLoader;
+import com.iver.andami.plugins.config.generate.SkinExtension;
+
+import org.apache.log4j.Logger;
+
+
+/**
+ * Se encarga de la creaci�n de la clase Skin.
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public class MDIManagerFactory {
+    private static SkinExtension skinExtension = null;
+    private static PluginClassLoader loader = null;
+    private static MDIManager mdiManager = null;
+    private static Logger logger = Logger.getLogger(MDIManagerFactory.class.getName());
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param extension DOCUMENT ME!
+     * @param loader DOCUMENT ME!
+     */
+    public static void setSkinExtension(SkinExtension extension,
+        PluginClassLoader loader) {
+        MDIManagerFactory.loader = loader;
+        MDIManagerFactory.skinExtension = extension;
+    }
+
+    /**
+     * Obtiene una referencia al Skin cargado. El skin cargado es un singleton, se
+     * devuelve la misma instancia a todas las invocaciones de �ste m�todo
+     *
+     * @return referencia al skin cargado
+     */
+    public static MDIManager createManager() {
+    	if (mdiManager != null) return mdiManager;
+    	
+        if (skinExtension == null) {
+        	throw new NoSkinExtensionException(Messages.getString("MDIManagerFactory.No_skin_extension_in_the_plugins"));
+        } else {
+            try {
+                mdiManager = (MDIManager) loader.loadClass(skinExtension.getClassName())
+                                          .newInstance();
+                return mdiManager;
+            } catch (InstantiationException e) {
+                logger.error(Messages.getString("Launcher.Error_instanciando_la_extension"), e);
+
+                //                return new NewSkin();
+            } catch (IllegalAccessException e) {
+                logger.error(Messages.getString("Launcher.Error_instanciando_la_extension"), e);
+
+                //                return new NewSkin();
+            } catch (ClassNotFoundException e) {
+                logger.error(Messages.getString("Launcher.No_se_encontro_la_clase_de_la_extension"), e);
+
+                //                return new NewSkin();
+            }
+        }
+        
+        return null;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return Returns the skinExtension.
+     */
+    public static SkinExtension getSkinExtension() {
+        return skinExtension;
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIManagerFactory.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/NoSkinExtensionException.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/NoSkinExtensionException.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/NoSkinExtensionException.java	(revision 3340)
@@ -0,0 +1,77 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiManager;
+
+/**
+ * 
+ */
+public class NoSkinExtensionException extends RuntimeException {
+
+	/**
+	 * 
+	 */
+	public NoSkinExtensionException() {
+		super();
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param message
+	 */
+	public NoSkinExtensionException(String message) {
+		super(message);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param message
+	 * @param cause
+	 */
+	public NoSkinExtensionException(String message, Throwable cause) {
+		super(message, cause);
+		// TODO Auto-generated constructor stub
+	}
+	/**
+	 * @param cause
+	 */
+	public NoSkinExtensionException(Throwable cause) {
+		super(cause);
+		// TODO Auto-generated constructor stub
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/NoSkinExtensionException.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/SingletonView.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/SingletonView.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/SingletonView.java	(revision 3340)
@@ -0,0 +1,70 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiManager;
+
+/**
+ * Interfaz a implementar por aquellas ventanas que tengan
+ * una identidad en la aplicaci�n. Por ejemplo en un
+ * editor de textos mdi, habr� ventanas cuyo contenido
+ * es un fichero y que no se desean abrir varias ventanas
+ * con el mismo fichero. Para ello habr� que definir dicha
+ * ventana como singleton y devolver en getViewModel la
+ * identidad de dicha ventana. En el caso de ejemplo
+ * podr�a valernos una cadena con la ruta del fichero.
+ * 
+ * El framework act�a de la siguiente manera: Cuando se
+ * a�ade una vista singleton, primero se busca en las que
+ * hay a�adidas una cuyo getViewModel sea igual a la que
+ * se quiere a�adir. En caso de que se encuentre se
+ * traer� al frente dicha ventana. si no se encuentra s
+ * muestra la vista a�adida
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public interface SingletonView extends View {
+    /**
+     * Obtiene el modelo de la vista, la identidad, el
+     * objeto que se usar� para identificar la vista
+     *
+     * @return Object
+     */
+    public Object getViewModel();
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/SingletonView.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/ViewListener.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/ViewListener.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/ViewListener.java	(revision 3340)
@@ -0,0 +1,58 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiManager;
+
+
+/**
+ * Interfaz a implementar por las vistas que quieran ser listeners de los
+ * eventos que se producen sobre s� mismas
+ */
+public interface ViewListener {
+    /**
+     * Se invoca cuando la vista es activada
+     */
+    public void viewActivated();
+
+    /**
+     * Se invoca cuando la vista se cierra
+     */
+    public void viewClosed();
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/ViewListener.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/SingletonDialogAlreadyShownException.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/SingletonDialogAlreadyShownException.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/SingletonDialogAlreadyShownException.java	(revision 3340)
@@ -0,0 +1,53 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiManager;
+
+/**
+ * Excepci�n lanzada cuando un Dialogo modal intenta
+ * mostrar una vista singleton que ya ha sido mostrada. Esto
+ * obligar�a a traerla al frente y debido a que el que
+ * intenta la acci�n es un di�logo modal, se aborta mediante
+ * esta excepci�n.
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public class SingletonDialogAlreadyShownException extends RuntimeException {
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/SingletonDialogAlreadyShownException.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIManager.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIManager.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIManager.java	(revision 3340)
@@ -0,0 +1,168 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiManager;
+
+import java.beans.PropertyVetoException;
+
+import com.iver.andami.ui.mdiFrame.MDIFrame;
+
+
+/**
+ * Las vistas que se a�aden al framework derivan de JPanel. �Como pasamos de un
+ * JPanel al control que vemos (habitualmente un JInternalFrame) Mediante la
+ * clase skin que implementa esta interfaz. El framework  invoca los m�todos
+ * de la clase pasando como par�metros jPanel y la clase toma el JPanel, lo
+ * trata (en la version por defecto lo mete en un JInternalFrame) y lo a�ade
+ * al Frame principal. Para poner un ejemplo se podr�a implementar ua clase
+ * que situara los jpanel en la forma que lo hace eclipse, o instalar un men�
+ * por cada vista de forma que al seleccionar el men�  desapareciera la vista
+ * actual y se mostrara la que  se ha seleccionado, ...     Actualmente la
+ * clase que implementa esta interfaz es Skin y se usa a pi��n fijo, pero en
+ * un futuro se dejar� abierta la posibilidad de sustituir esta clase por una
+ * que  implemente el usuario.
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public interface MDIManager {
+    /**
+     * Inicializaci�n de la clase, se le pasa la consola para mostrar mensajes
+     * y el frame principal para actuar sobre �l
+     *
+     * @param f DOCUMENT ME!
+     */
+    public void init(MDIFrame f);
+
+    /**
+     * A�ade una nueva vista a la interfaz y lo visualiza. Dicho vista se
+     * elimina completamente al cerrarse.
+     *
+     * @param p Panel con los controles de la vista
+     *
+     * @return Devuelve la vista a�adida o si es un singleton y ya estaba
+     *         a�adida devuelve la vista ya a�adida
+     *
+     * @throws SingletonDialogAlreadyShownException Si lo que se est� a�adiendo
+     *         es una vista modal singleton y ya est� a�adida
+     */
+    public View addView(View p) throws SingletonDialogAlreadyShownException;
+
+    /**
+     * Obtiene una referencia al panel de la ultima vista no modal que se
+     * activ� en la aplicaci�n.
+     *
+     * @return referencia al panel activo o null si no hay ninguna vista activa
+     */
+    public View getActiveView();
+
+    /**
+     * Obtiene una referencia a los paneles de todas las vista no modales que
+     * hay en la aplicaci�n en la aplicaci�n.
+     *
+     * @return Un vector con todos los paneles que contiene la aplicaci�n.
+     */
+    public View[] getAllViews();
+
+    /**
+     * Cierra la ventana SingletonView cuya clase se pasa como par�metro y cuyo
+     * modelo se pasa como par�metro.
+     *
+     * @param viewClass Clase de la vista que se quiere cerrar
+     * @param model Modelo de la vista que se quiere cerrar
+     *
+     * @return true si hay abierta una vista con la clase viewClass y con el
+     *         modelo que se pasa como par�metro. False si no hay ninguna
+     *         ventana de ese tipo.
+     */
+    public boolean closeSingletonView(Class viewClass, Object model);
+
+    /**
+     * Cierra todas las ventanas Singleton que tengan como modelo el que se
+     * pasa como par�metro
+     *
+     * @param model Modelo de las ventanas que se quieren cerrar
+     *
+     * @return true si se cierra alguna ventana y false si no hay abierta
+     *         ninguna ventana singleton con ese modelo
+     */
+    public boolean closeSingletonView(Object model);
+
+    /**
+     * Cierra la vista correspondiente con el JPanel
+     *
+     * @param p vista que se quiere cerrar
+     */
+    public void closeView(View p);
+
+    /**
+     * Cierra todas las vistas que actualmente est�n abiertas
+     */
+    public void closeAllViews();
+
+    /**
+     * Obtiene la referencia al objeto que contiene la informaci�n de la vista
+     * que se pasa como par�metro
+     *
+     * @param v vista cuya informaci�n se requiere
+     *
+     * @return ViewInfo
+     */
+    public ViewInfo getViewInfo(View v);
+
+    /**
+     * Pone como icono de rat�n el HourGlass y bloquea todos los eventos de la
+     * interfaz que se producen hasta que se recibe una llamada a
+     * restoreCursor
+     */
+    public void setWaitCursor();
+
+    /**
+     * Restaura al icono de rat�n que hab�a antes de realizar la operaci�n
+     */
+    public void restoreCursor();
+    
+    /**
+     * Maximiza o no la ventana que contiene la vista v
+     * @param v
+     * @param bMaximum
+     * @throws PropertyVetoException
+     */
+    public void setMaximum(View v, boolean bMaximum) throws PropertyVetoException;
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIManager.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIUtilities.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIUtilities.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIUtilities.java	(revision 3340)
@@ -0,0 +1,54 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiManager;
+
+/**
+ * 
+ */
+public class MDIUtilities {
+public static void checkViewInfo(ViewInfo vi){
+    if ((vi.isModal()) && (!vi.isVisible())) {
+        throw new RuntimeException("A modal dialog cannot be visible=false");
+    }
+
+
+}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/MDIUtilities.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/ViewInfo.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/ViewInfo.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/ViewInfo.java	(revision 3340)
@@ -0,0 +1,341 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.ui.mdiManager;
+
+import java.beans.PropertyChangeListener;
+import java.beans.PropertyChangeSupport;
+
+
+/**
+ * DOCUMENT ME!
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public class ViewInfo {
+    /** DOCUMENT ME! */
+    public static final int RESIZABLE = 1;
+
+    /** DOCUMENT ME! */
+    public static final int MAXIMIZABLE = 2;
+
+    /** DOCUMENT ME! */
+    public static final int ICONIFIABLE = 4;
+
+    /** DOCUMENT ME! */
+    public static final int MODALDIALOG = 8;
+    public static final int MODELESSDIALOG = 16;
+    public static final int PALETTE = 32;
+    private PropertyChangeSupport support = new PropertyChangeSupport(this);
+
+    /** DOCUMENT ME! */
+    private boolean resizable = false;
+
+    /** DOCUMENT ME! */
+    private boolean maximizable = false;
+
+    /** DOCUMENT ME! */
+    private boolean iconifiable = false;
+
+    /** DOCUMENT ME! */
+    private boolean modal = false;
+    private boolean modeless = false;
+    
+    /**
+     * Se usa para poner una ventana de tipo paleta, por
+     * encima de las dem�s. Equivale a poner usar
+     * JDesktopPane.PALETTE_LAYER
+     */
+    private boolean palette = false;
+
+    /** DOCUMENT ME! */
+    private int width = -1;
+
+    /** DOCUMENT ME! */
+    private int height = -1;
+    private int x = 0;
+    private int y = 0;
+    private boolean visible = true;
+
+    /** DOCUMENT ME! */
+    private String title;
+    
+    private int id;
+    
+    /**
+     * ActionCommand del tool seleccionado. Lo usamos
+     * para activar el tool que estaba seleccionado en
+     * la vista, cuando volvemos a ella.
+     */
+    private String selectedTool;
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return Returns the x.
+     */
+    public int getX() {
+        return x;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param x The x to set.
+     */
+    public void setX(int x) {
+    	support.firePropertyChange("x", this.x, x);
+    	this.x = x;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return Returns the y.
+     */
+    public int getY() {
+        return y;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param y The y to set.
+     */
+    public void setY(int y) {
+    	support.firePropertyChange("y", this.y, y);
+        this.y = y;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param listener
+     */
+    public void addPropertyChangeListener(PropertyChangeListener listener) {
+        support.addPropertyChangeListener(listener);
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param listener
+     */
+    public void removePropertyChangeListener(PropertyChangeListener listener) {
+        support.removePropertyChangeListener(listener);
+    }
+
+    /**
+     * Establece las propiedades de la vista
+     *
+     * @param code Bit-or de las propiedades de la vista
+     *
+     * @throws IllegalStateException DOCUMENT ME!
+     */
+    public ViewInfo(int code) {
+        resizable = (code % 2) > 0;
+        code = code / 2;
+        maximizable = (code % 2) > 0;
+        code = code / 2;
+        iconifiable = (code % 2) > 0;
+        code = code / 2;
+        modal = (code % 2) > 0;
+        code = code / 2;
+        modeless = (code % 2) > 0;
+        code = code / 2;
+        palette = (code % 2) > 0;
+
+        if (modal && modeless) {
+            throw new IllegalStateException("modal && modeless");
+        }
+    }
+    
+    public ViewInfo(){
+    	
+    }
+
+    /**
+     * Si es iconificable
+     *
+     * @return
+     */
+    public boolean isIconifiable() {
+        return iconifiable;
+    }
+
+    /**
+     * Si es maximizable
+     *
+     * @return
+     */
+    public boolean isMaximizable() {
+        return maximizable;
+    }
+
+    /**
+     * Si es resizable
+     *
+     * @return
+     */
+    public boolean isResizable() {
+        return resizable;
+    }
+
+    /**
+     * Devuelve si el di�logo es modal
+     *
+     * @return
+     */
+    public boolean isModal() {
+        return modal;
+    }
+
+    /**
+     * Obtiene la altura de la vista
+     *
+     * @return
+     */
+    public int getHeight() {
+        return height;
+    }
+
+    /**
+     * Obtiene la anchura de la vista
+     *
+     * @return
+     */
+    public int getWidth() {
+        return width;
+    }
+
+    /**
+     * establece la propiedad altura
+     *
+     * @param i
+     */
+    public void setHeight(int i) {
+    	support.firePropertyChange("height", this.height, i);
+        height = i;
+    }
+
+    /**
+     * establece la propiedad anchura
+     *
+     * @param i
+     */
+    public void setWidth(int i) {
+    	support.firePropertyChange("width", this.width, i);
+        width = i;
+    }
+
+    /**
+     * obtiene la propiedad titulo
+     *
+     * @return
+     */
+    public String getTitle() {
+        return title;
+    }
+
+    /**
+     * establece la propiedad titulo
+     *
+     * @param string
+     */
+    public void setTitle(String string) {
+    	support.firePropertyChange("title", this.title, string);
+        title = string;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return
+     */
+    public boolean isModeless() {
+        return modeless;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return
+     */
+    public boolean isVisible() {
+        return visible;
+    }
+    
+    public boolean isPalette()
+    {
+        return palette;
+    }
+    
+    public void setId(int id){
+    	this.id = id;
+    }
+    
+    public int getId(){
+    	return id;
+    }
+    
+    public void setViewInfo(ViewInfo vi){
+    	this.resizable = vi.resizable;
+    	this.maximizable = vi.maximizable;
+    	this.iconifiable = vi.iconifiable;
+    	this.modal = vi.modal;
+    	this.modeless = vi.modeless;
+    	this.width = vi.width;
+    	this.height = vi.height;
+    	this.x = vi.x;
+    	this.y = vi.y;
+    	this.visible = vi.visible;
+    	this.title = vi.title;
+    	this.id = vi.id;
+    }
+
+    public String getSelectedTool() {
+        return selectedTool;
+    }
+
+    public void setSelectedTool(String selectedTool) {
+        if (selectedTool != null)
+            this.selectedTool = selectedTool;
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/ViewInfo.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text.properties
+KeyMapping.Caracter_no_valido=Car\u00E1cter no v\u00E1lido\: 
+Launcher.config_mal_formado=. Fichero 'config.xml' mal formado
+Launcher.config_no_encontrado=. Fichero 'config.xml' no encontrado
+Launcher.Dependencia_no_resuelta_en_plugin=Dependencia no resuelta en plugin
+Launcher.Dos_skin_extension=Dos skin-extension. Usamos el \u00FAltimo
+Launcher.Error_con_las_librerias_del_plugin=Error con las librer\u00EDas del plugin
+Launcher.Error_instanciando_la_extension=Error instanciando la extensi\u00F3n
+Launcher.Error_localizando_la_clase_de_la_extension=Error localizando la clase de la extensi\u00F3n
+Launcher.Hay_dependencias_circulares=Hay dependencias circulares entre los plugins
+Launcher.Ignorando_el_directorio=Ignorando el directorio
+Launcher.labelset_class=No se pudo encontrar la clase de las etiquetas (labelset)
+Launcher.look_and_feel=No se pudo poner el 'look and feel'
+Launcher.No_se_encontro_la_clase_de_la_extension=No se encontr\u00F3 la clase de la extensi\u00F3n
+Launcher.No_se_encontro_la_clase_mdi_manager=No se encontr\u00F3 la clase mdi manager
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=No se pudo acceder a la clase mdi manager
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=No se pudo guardar la configuraci\u00F3n de andami
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=No se pudo instanciar la clase mdi manager
+Launcher.No_se_puede_acceder_a=No se puede acceder a
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=Se produjo un error guardando la configuraci\u00F3n de los plugins
+Launcher.Two_extensions_with_the_same_priority=Dos extensiones con la misma prioridad, s\u00F3lo se cargar\u00E1 una.
+Launcher.Two_menus_with_the_same_position=Dos menus con la misma posici\u00F3n, s\u00F3lo se cargar\u00E1 uno
+MDIFrame.Error_no_capturado_por_el_usuario=Error no capturado por el usuario
+MDIFrame.quiere_salir=\u00BFEst\u00E1 seguro de que quiere salir?
+MDIFrame.salir=Salir
+MDIManagerFactory.No_skin_extension_in_the_plugins=No se encontr\u00F3 ninguna extensi\u00F3n 'skin' entre los plugins
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Dos clases con el mismo nombre en el plugin
+PluginClassLoader.Error_reading_file=Error leyendo fichero\: 
+PluginServices.Bug_en_el_codigo=Bug en el c\u00F3digo
+PluginServices.Error_grave_de_la_aplicacion=Error grave de la aplicaci\u00F3n. Es conveniente que guardes tus datos y salgas de la aplicaci\u00F3n
+PluginServices.No_se_encontro_el_recurso_de_traducciones=No se encontr\u00F3 el recurso de traducciones
+PluginServices.No_se_encontro_la_traduccion_para=No se encontr\u00F3 la traducci\u00F3n para
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=No se pudo poner el reloj de arena
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=No se pudo restaurar el cursor del rat\u00F3n
+SplashWindow.Iniciando=Iniciando...
+StatusBar.Aplicacion_iniciada=Aplicaci\u00F3n iniciada

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/Launcher.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/Launcher.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/Launcher.java	(revision 3340)
@@ -0,0 +1,1615 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami;
+
+import java.awt.EventQueue;
+import java.awt.Toolkit;
+import java.io.BufferedInputStream;
+import java.io.BufferedOutputStream;
+import java.io.File;
+import java.io.FileFilter;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.FilenameFilter;
+import java.io.IOException;
+import java.io.InputStream;
+import java.lang.reflect.InvocationTargetException;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLConnection;
+import java.util.ArrayList;
+import java.util.Comparator;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.Locale;
+import java.util.Properties;
+import java.util.TreeMap;
+
+import javax.jnlp.BasicService;
+import javax.jnlp.ServiceManager;
+import javax.jnlp.UnavailableServiceException;
+import javax.swing.ImageIcon;
+import javax.swing.JComponent;
+import javax.swing.JDialog;
+import javax.swing.SwingUtilities;
+import javax.swing.UIManager;
+
+import org.apache.log4j.Logger;
+import org.apache.log4j.PatternLayout;
+import org.apache.log4j.PropertyConfigurator;
+import org.apache.log4j.RollingFileAppender;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.ValidationException;
+
+import com.iver.andami.config.generate.Andami;
+import com.iver.andami.config.generate.AndamiConfig;
+import com.iver.andami.config.generate.Plugin;
+import com.iver.andami.messages.Messages;
+import com.iver.andami.messages.NotificationManager;
+import com.iver.andami.plugins.ExtensionDecorator;
+import com.iver.andami.plugins.PluginClassLoader;
+import com.iver.andami.plugins.config.generate.ActionTool;
+import com.iver.andami.plugins.config.generate.Depends;
+import com.iver.andami.plugins.config.generate.Extension;
+import com.iver.andami.plugins.config.generate.Extensions;
+import com.iver.andami.plugins.config.generate.LabelSet;
+import com.iver.andami.plugins.config.generate.Menu;
+import com.iver.andami.plugins.config.generate.PluginConfig;
+import com.iver.andami.plugins.config.generate.PopupMenu;
+import com.iver.andami.plugins.config.generate.PopupMenus;
+import com.iver.andami.plugins.config.generate.SelectableTool;
+import com.iver.andami.plugins.config.generate.SkinExtension;
+import com.iver.andami.plugins.config.generate.SkinExtensionType;
+import com.iver.andami.plugins.config.generate.ToolBar;
+import com.iver.andami.ui.AndamiEventQueue;
+import com.iver.andami.ui.MDIManagerLoadException;
+import com.iver.andami.ui.SplashWindow;
+import com.iver.andami.ui.mdiFrame.MDIFrame;
+import com.iver.andami.ui.mdiManager.MDIManagerFactory;
+import com.iver.utiles.XMLEntity;
+import com.iver.utiles.xmlEntity.generate.XmlTag;
+
+
+/**
+ * DOCUMENT ME!
+ *
+ * @author $author$
+ * @version $Revision$
+ */
+public class Launcher {
+	private static Logger logger = Logger.getLogger(Launcher.class.getName());
+	private static AndamiConfig andamiConfig;
+	private static SplashWindow splashWindow;
+	private static String userHome = System.getProperty("user.home");
+	private static String appName;
+	private static Locale locale;
+	private static HashMap pluginsConfig = new HashMap();
+	private static HashMap pluginsServices = new HashMap();
+	private static MDIFrame frame;
+	private static HashMap classesExtensions = new HashMap();
+	private static String andamiConfigPath;
+	private static String pluginsPersistencePath;
+    
+    private static ArrayList pluginsOrdered = new ArrayList();
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param args DOCUMENT ME!
+	 * @throws Exception
+	 *
+	 * @throws InterruptedException
+	 * @throws InvocationTargetException
+	 * @throws ConfigurationException
+	 * @throws MDIManagerLoadException
+	 * @throws IOException
+	 */
+	public static void main(String[] args) throws Exception {
+	    try{
+
+	    if (!validJVM()){
+	        System.exit(-1);
+	    }
+	        
+	    if ((args.length < 1) || (args.length > 3)) {
+			System.err.println("Uso: Launcher appName plugins-directory [locale]");
+		}
+
+		appName = args[0];
+
+		//Se crea el directorio de configuraci�n de la aplicaci�n
+		File parent = new File(System.getProperty("user.home") +
+				File.separator + args[0] + File.separator);
+		parent.mkdirs();
+
+		andamiConfigPath = System.getProperty("user.home") + File.separator +
+			appName + File.separator + "andami-config.xml";
+		pluginsPersistencePath = System.getProperty("user.home") +
+			File.separator + appName + File.separator +
+			"plugins-persistence.xml";
+
+		// Configurar el log4j
+		PropertyConfigurator.configure(Launcher.class.getClassLoader()
+													 .getResource("log4j.properties"));
+
+		PatternLayout l = new PatternLayout("%p %t %C - %m%n");
+		RollingFileAppender fa = new RollingFileAppender(l,
+				System.getProperty("user.home") + File.separator + args[0] +
+				File.separator + args[0] + ".log", false);
+		fa.setMaxFileSize("512KB");
+		fa.setMaxBackupIndex(3);
+		Logger.getRootLogger().addAppender(fa);
+
+		// Leer el fichero de configuraci�n de andami (andami-config.xsd)
+		// locale
+		// Buscar actualizaci�nes al comenzar
+		//  Andami
+		//  Plugins
+		// Directorio de las extensiones
+		andamiConfigFromXML(andamiConfigPath);
+		andamiConfig.setPluginsDirectory(args[1]);
+
+		// Configurar el locale
+        String localeStr = "";
+		if (args.length == 3) {
+            localeStr = args[2];
+            
+		} else {
+            localeStr = andamiConfig.getLocaleLanguage();
+			/* locale = getLocale(localeStr,
+					andamiConfig.getLocaleCountry(),
+					andamiConfig.getLocaleVariant()); */
+		}
+        if (localeStr.compareTo("va")==0)
+        {
+            locale = new Locale("ca");
+            Messages.init("va");
+        }
+        else
+        {
+            // locale = Locale.getDefault();
+            locale = getLocale(localeStr,
+                    andamiConfig.getLocaleCountry(),
+                    andamiConfig.getLocaleVariant());
+            Messages.init(locale);
+        }
+
+		Locale.setDefault(locale);
+		JComponent.setDefaultLocale(locale);        
+		
+
+		//Se pone el lookAndFeel
+		try {
+			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+		} catch (Exception e) {
+			logger.warn(Messages.getString("Launcher.look_and_feel"), e);
+		}
+
+		// Mostrar la ventana de inicio
+		splashWindow = new SplashWindow(null);
+
+		// TODO Buscar actualizaciones de los plugins
+		downloadExtensions(andamiConfig.getPluginsDirectory());
+
+		// Se leen los config.xml de los plugins -----++++
+		loadPlugins(andamiConfig.getPluginsDirectory());
+
+		// Se configura el classloader del plugin
+		pluginsClassLoaders();
+
+		// Se carga un Skin si alguno de los plugins trae informaci�n para ello
+		skinPlugin();
+
+		//Se configura la cola de eventos
+		EventQueue waitQueue = new AndamiEventQueue();
+		Toolkit.getDefaultToolkit().getSystemEventQueue().push(waitQueue);
+
+		// Se configura la mensajer�a del plugin
+		pluginsMessages();
+
+		// Se modifica el andami-config con los plugins nuevos
+		updateAndamiConfig();
+
+		// Se prepara el MainFrame para albergar las extensiones
+		frame = new MDIFrame();
+
+		// Se configura el nombre e icono de la aplicaci�n
+		frameIcon();
+
+		SwingUtilities.invokeAndWait(new Runnable() {
+				public void run() {
+					frame.init();
+				}
+			});
+
+		// Se instalan los controles de las extensiones de los plugins
+		SwingUtilities.invokeAndWait(new Runnable() {
+				public void run() {
+					installPluginsControls();
+					installPluginsMenus();
+					installPluginsLabels();
+				}
+			});
+
+		// Leer el fichero de persistencia
+		//  info de los plugins
+		//  bookmarks de los plugins
+		loadPluginsPersistence();
+
+		// Se instalan los controles del skin
+		// Se inicializan todas las extensiones de todos los plugins
+		SwingUtilities.invokeAndWait(new Runnable() {
+				public void run() {
+					initializeExtensions();
+				}
+			});
+		frame.setClassesExtensions(classesExtensions);
+
+		// Se instalan los bookmarks de los plugins
+		splashWindow.close();
+
+		//Se muestra el frame principal
+		frame.show();
+
+		SwingUtilities.invokeAndWait(new Runnable() {
+				public void run() {
+					frame.enableControls();
+				}
+			});
+	    }catch(Exception e){
+	        logger.error("excepci�n al arrancar", e);
+	        System.exit(-1);
+	    }
+	}
+
+	/**
+     * @return
+     */
+    private static boolean validJVM() {
+        char thirdCharacter = System.getProperty("java.version").charAt(2);
+        if (thirdCharacter < '4'){
+            return false;
+	    }else{
+	        return true;
+	    }
+    }
+
+    /**
+	 * DOCUMENT ME!
+	 *
+	 * @throws ConfigurationException
+	 */
+	private static void loadPluginsPersistence() throws ConfigurationException {
+		XMLEntity entity = persistenceFromXML();
+
+		for (int i = 0; i < entity.getNumChild(); i++) {
+			XMLEntity plugin = entity.getChild(i);
+			String pName = plugin.getStringProperty(
+					"com.iver.andami.pluginName");
+			if (pluginsServices.get(pName)!= null){
+				((PluginServices) pluginsServices.get(pName)).setPersistentXML(plugin);
+			}
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 */
+	private static void installPluginsLabels() {
+		Iterator i = pluginsConfig.keySet().iterator();
+
+		while (i.hasNext()) {
+			String name = (String) i.next();
+			PluginConfig pc = (PluginConfig) pluginsConfig.get(name);
+			PluginServices ps = (PluginServices) pluginsServices.get(name);
+
+			LabelSet[] ls = pc.getLabelSet();
+
+			for (int j = 0; j < ls.length; j++) {
+				PluginClassLoader loader = ps.getClassLoader();
+
+				try {
+					Class clase = loader.loadClass(ls[j].getClassName());
+					frame.setLabels(clase, ls[j].getLabel());
+				} catch (ClassNotFoundException e) {
+					logger.error(Messages.getString("Launcher.labelset_class"),
+						e);
+				}
+			}
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @throws MDIManagerLoadException
+	 */
+	private static void skinPlugin() throws MDIManagerLoadException {
+		Iterator i = pluginsConfig.keySet().iterator();
+
+		while (i.hasNext()) {
+			String name = (String) i.next();
+			PluginConfig pc = (PluginConfig) pluginsConfig.get(name);
+			PluginServices ps = (PluginServices) pluginsServices.get(name);
+
+			if (pc.getExtensions().getSkinExtension() != null) {
+				if (MDIManagerFactory.getSkinExtension() != null) {
+					logger.warn(Messages.getString(
+							"Launcher.Dos_skin_extension"));
+				}
+
+				SkinExtension se = pc.getExtensions().getSkinExtension();
+
+				MDIManagerFactory.setSkinExtension(se, ps.getClassLoader());
+
+				Class skinClass;
+
+				try {
+					skinClass = ps.getClassLoader().loadClass(se.getClassName());
+
+					com.iver.andami.plugins.Extension skinInstance = (com.iver.andami.plugins.Extension) skinClass.newInstance();
+					// classesExtensions.put(skinClass, skinInstance);
+					// jaume
+					ExtensionDecorator newExtensionDecorator = new ExtensionDecorator(skinInstance, ExtensionDecorator.INACTIVE);
+					classesExtensions.put(skinClass, newExtensionDecorator);
+				} catch (ClassNotFoundException e) {
+					logger.error(Messages.getString(
+							"Launcher.No_se_encontro_la_clase_mdi_manager"), e);
+					throw new MDIManagerLoadException(e);
+				} catch (InstantiationException e) {
+					logger.error(Messages.getString(
+							"Launcher.No_se_pudo_instanciar_la_clase_mdi_manager"),
+						e);
+					throw new MDIManagerLoadException(e);
+				} catch (IllegalAccessException e) {
+					logger.error(Messages.getString(
+							"Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager"),
+						e);
+					throw new MDIManagerLoadException(e);
+				}
+			}
+		}
+	}
+
+	/**
+	 *
+	 */
+	private static void frameIcon() {
+		Iterator i = pluginsConfig.keySet().iterator();
+
+		while (i.hasNext()) {
+			String pName = (String) i.next();
+			PluginConfig pc = (PluginConfig) pluginsConfig.get(pName);
+			PluginServices ps = (PluginServices) pluginsServices.get(pName);
+
+			if (pc.getIcon() != null) {
+				ImageIcon icon = new ImageIcon(ps.getClassLoader().getResource(pc.getIcon()
+																				 .getSrc()));
+				frame.setIconImage(icon.getImage());
+				frame.setTitlePrefix(pc.getIcon().getText());
+			}
+		}
+	}
+
+	/**
+	 *
+	 */
+	private static void initializeExtensions() {
+		Iterator i = pluginsOrdered.iterator();
+
+		while (i.hasNext()) {
+			String pName = (String) i.next();
+            logger.debug("Initializing extensions from " + pName);
+			PluginConfig pc = (PluginConfig) pluginsConfig.get(pName);
+			PluginServices ps = (PluginServices) pluginsServices.get(pName);
+
+			Extension[] exts = pc.getExtensions().getExtension();
+
+			TreeMap orderedExtensions = new TreeMap(new ExtensionComparator());
+
+			for (int j = 0; j < exts.length; j++) {
+				if (!exts[j].getActive()) {
+					continue;
+				}
+
+				if (orderedExtensions.containsKey(exts[j])) {
+					logger.warn(Messages.getString(
+							"Launcher.Two_extensions_with_the_same_priority") +
+						exts[j].getClassName());
+				}
+
+				orderedExtensions.put(exts[j], null);
+			}
+
+			Iterator e = orderedExtensions.keySet().iterator();
+
+			while (e.hasNext()) {
+				Extension extension = (Extension) e.next();
+				com.iver.andami.plugins.Extension extensionInstance;
+
+				try {
+					Class extensionClass = ps.getClassLoader().loadClass(extension.getClassName());
+					extensionInstance = (com.iver.andami.plugins.Extension) extensionClass.newInstance();
+					
+					// CON DECORATOR					
+					// ANTES: classesExtensions.put(extensionClass, extensionInstance);
+					// AHORA: CREAMOS UNA ExtensionDecorator y asignamos esta instancia para
+					// poder ampliar con nuevas propiedades (AlwaysVisible, por ejemplo)
+					// Para crear la nueva clase ExtensionDecorator, le pasamos como par�metro
+					// la extensi�n original que acabamos de crear
+					// 0-> Inactivo, controla la extension
+					// 1-> Siempre visible
+					// 2-> Invisible
+					ExtensionDecorator newExtensionDecorator = new ExtensionDecorator(extensionInstance, ExtensionDecorator.INACTIVE);
+					classesExtensions.put(extensionClass, newExtensionDecorator);
+					System.err.println("Loading "+extension.getClassName()+"...");
+                    // logger.debug("Initializing " + extension.getClassName());
+                    extensionInstance.inicializar();
+                    // logger.debug(extension.getClassName() + " initialized.");
+
+				} catch (InstantiationException e1) {
+					logger.error(Messages.getString(
+							"Launcher.Error_instanciando_la_extension") +
+						extension.getClassName(), e1);
+				} catch (IllegalAccessException e1) {
+					logger.error(Messages.getString(
+							"Launcher.Error_instanciando_la_extension") +
+						extension.getClassName(), e1);
+				} catch (ClassNotFoundException e1) {
+					logger.error(Messages.getString(
+							"Launcher.No_se_encontro_la_clase_de_la_extension") +
+						extension.getClassName(), e1);
+				} catch (NoClassDefFoundError e1) {
+					logger.error(Messages.getString(
+							"Launcher.Error_localizando_la_clase_de_la_extension") +
+						extension.getClassName(), e1);
+				}
+			}
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 */
+	private static void installPluginsMenus() {
+		TreeMap orderedMenus = new TreeMap(new MenuComparator());
+
+		Iterator i = pluginsConfig.keySet().iterator();
+
+		while (i.hasNext()) {
+			String pName = (String) i.next();
+			PluginServices ps = (PluginServices) pluginsServices.get(pName);
+			PluginConfig pc = (PluginConfig) pluginsConfig.get(pName);
+
+			Extension[] exts = pc.getExtensions().getExtension();
+
+			for (int j = 0; j < exts.length; j++) {
+				if (!exts[j].getActive()) {
+					continue;
+				}
+
+				Menu[] menus = exts[j].getMenu();
+
+				for (int k = 0; k < menus.length; k++) {
+					SortableMenu sm = new SortableMenu(ps.getClassLoader(),
+							exts[j], menus[k]);
+
+					if (orderedMenus.containsKey(sm)) {
+						logger.error(Messages.getString(
+								"Launcher.Two_menus_with_the_same_position") +
+							exts[j].getClassName());
+					}
+
+					orderedMenus.put(sm, null);
+				}
+			}
+
+			// Se instalan las extensiones de MDI
+			SkinExtension skinExt = pc.getExtensions().getSkinExtension();
+
+			if (skinExt != null) {
+				Menu[] menu = skinExt.getMenu();
+
+				for (int k = 0; k < menu.length; k++) {
+					SortableMenu sm = new SortableMenu(ps.getClassLoader(),
+							skinExt, menu[k]);
+
+					if (orderedMenus.containsKey(sm)) {
+						logger.error(Messages.getString(
+								"Launcher.Two_menus_with_the_same_position") +
+							skinExt.getClassName());
+					}
+
+					orderedMenus.put(sm, null);
+				}
+			}
+		}
+
+		//Se itera por los menus ordenados
+		Iterator e = orderedMenus.keySet().iterator();
+
+		// Se ordenan los menues
+		while (e.hasNext()) {
+			try {
+				SortableMenu sm = (SortableMenu) e.next();
+
+				frame.addMenu(sm.loader, sm.extension, sm.menu);
+			} catch (ClassNotFoundException ex) {
+				logger.error(Messages.getString(
+						"Launcher.No_se_encontro_la_clase_de_la_extension"), ex);
+			}
+		}
+	}
+
+	/**
+	 *
+	 */
+	private static void installPluginsControls() {
+		Iterator i = pluginsConfig.keySet().iterator();
+
+		HashMap extensionPluginServices = new HashMap();
+		HashMap extensionPluginConfig = new HashMap();
+		TreeMap orderedExtensions = new TreeMap(new ExtensionComparator());
+		while (i.hasNext()) {
+				String pName = (String) i.next();
+				PluginConfig pc = (PluginConfig) pluginsConfig.get(pName);
+				PluginServices ps = (PluginServices) pluginsServices.get(pName);
+
+				Extension[] exts = pc.getExtensions().getExtension();
+
+				for (int j = 0; j < exts.length; j++) {
+					if (exts[j].getActive()) {
+						if (orderedExtensions.containsKey(exts[j])) {
+							logger.error(Messages.getString(
+									"Launcher.Two_extensions_with_the_same_priority") +
+								exts[j].getClassName());
+						}
+
+						orderedExtensions.put(exts[j], null);
+						extensionPluginServices.put(exts[j], ps);
+						extensionPluginConfig.put(exts[j], pc);
+					}
+				}
+		}
+
+		///try {
+			TreeMap orderedToolBars = new TreeMap(new ToolBarComparator());
+			Iterator e = orderedExtensions.keySet().iterator();
+
+			// Se instalan las extensiones
+			while (e.hasNext()) {
+				Extension ext = (Extension) e.next();
+
+				ToolBar[] toolbars = ext.getToolBar();
+
+				for (int k = 0; k < toolbars.length; k++) {
+					ActionTool[] tools = toolbars[k].getActionTool();
+
+					for (int t = 0; t < tools.length; t++) {
+						SortableToolBar sm = new SortableToolBar(((PluginServices)extensionPluginServices.get(ext)).getClassLoader(), ext,
+								toolbars[k], tools[t]);
+						orderedToolBars.put(sm, null);
+						///frame.addTool(((PluginServices)extensionPluginServices.get(ext)).getClassLoader(), ext,
+						///	toolbars[k], tools[t]);
+					}
+
+					SelectableTool[] sTools = toolbars[k].getSelectableTool();
+
+					for (int t = 0; t < sTools.length; t++) {
+						SortableToolBar sm=new SortableToolBar(((PluginServices)extensionPluginServices.get(ext)).getClassLoader(), ext,
+								toolbars[k], sTools[t]);
+						orderedToolBars.put(sm, null);
+						///frame.addTool(((PluginServices)extensionPluginServices.get(ext)).getClassLoader(), ext,
+						///	toolbars[k], sTools[t]);
+					}
+				}
+			}
+
+			i = pluginsConfig.keySet().iterator();
+			while (i.hasNext()) {
+				String pName = (String) i.next();
+				PluginConfig pc = (PluginConfig) pluginsConfig.get(pName);
+				PluginServices ps = (PluginServices) pluginsServices.get(pName);
+				// Se instalan las extensiones de MDI
+				SkinExtension skinExt = pc.getExtensions().getSkinExtension();
+	
+				if (skinExt != null) {
+					ToolBar[] toolbars = skinExt.getToolBar();
+	
+					for (int k = 0; k < toolbars.length; k++) {
+						ActionTool[] tools = toolbars[k].getActionTool();
+	
+						for (int t = 0; t < tools.length; t++) {
+							SortableToolBar stb=new SortableToolBar(ps.getClassLoader(), skinExt,
+									toolbars[k], tools[t]);
+							orderedToolBars.put(stb,null);
+							///frame.addTool(ps.getClassLoader(), skinExt,
+							///	toolbars[k], tools[t]);
+						}
+	
+						SelectableTool[] sTools = toolbars[k].getSelectableTool();
+	
+						for (int t = 0; t < sTools.length; t++) {
+							SortableToolBar stb=new SortableToolBar(ps.getClassLoader(), skinExt,
+									toolbars[k], sTools[t]);
+							orderedToolBars.put(stb,null);
+							///frame.addTool(ps.getClassLoader(), skinExt,
+							///	toolbars[k], sTools[t]);
+						}
+					}
+	
+					/*
+					   Menu[] menu = skinExt.getMenu();
+					   for (int k = 0; k < menu.length; k++) {
+					       frame.addMenu(ps.getClassLoader(), skinExt, menu[k]);
+					   }
+					 */
+				}
+				//Se instalan los popup menus
+				PopupMenus pus = pc.getPopupMenus();
+
+				if (pus != null) {
+					PopupMenu[] menus = pus.getPopupMenu();
+
+					for (int j = 0; j < menus.length; j++) {
+						frame.addPopupMenu(ps.getClassLoader(), menus[j]);
+					}
+				}
+			}
+//			Se itera por los menus ordenados
+			Iterator t = orderedToolBars.keySet().iterator();
+
+			// Se ordenan los menues
+			while (t.hasNext()) {
+				try {
+					SortableToolBar stb = (SortableToolBar) t.next();
+					if (stb.actiontool!=null)
+						frame.addTool(stb.loader, stb.extension,stb.toolbar, stb.actiontool);
+					else
+						frame.addTool(stb.loader, stb.extension,stb.toolbar, stb.selectabletool);
+				} catch (ClassNotFoundException ex) {
+					logger.error(Messages.getString(
+							"Launcher.No_se_encontro_la_clase_de_la_extension"), ex);
+				}
+			}
+		///} catch (ClassNotFoundException e) {
+		///	logger.error(Messages.getString(
+		///			"Launcher.No_se_encontro_la_clase_de_la_extension"), e);
+		///}
+	}
+
+	/**
+	 *
+	 */
+	private static void updateAndamiConfig() {
+		HashSet olds = new HashSet();
+
+		Plugin[] plugins = andamiConfig.getPlugin();
+
+		for (int i = 0; i < plugins.length; i++) {
+			olds.add(plugins[i].getName());
+		}
+
+		Iterator i = pluginsServices.values().iterator();
+
+		while (i.hasNext()) {
+			PluginServices ps = (PluginServices) i.next();
+
+			if (!olds.contains(ps.getPluginName())) {
+				Plugin p = new Plugin();
+				p.setName(ps.getPluginName());
+				p.setUpdate(false);
+
+				andamiConfig.addPlugin(p);
+			}
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 */
+	private static void pluginsClassLoaders() {
+		HashSet instalados = new HashSet();
+
+		// Se itera hasta que est�n todos instalados
+		while (instalados.size() != pluginsConfig.size()) {
+			boolean circle = true;
+
+			//Hacemos una pasada por todos los plugins
+			Iterator i = pluginsConfig.keySet().iterator();
+
+			while (i.hasNext()) {
+				String pluginName = (String) i.next();
+				PluginConfig config = (PluginConfig) pluginsConfig.get(pluginName);
+
+				if (instalados.contains(pluginName)) {
+					continue;
+				}
+
+				//Se obtienen las dependencias y sus class loaders
+				boolean ready = true;
+				Depends[] dependencies = config.getDepends();
+				PluginClassLoader[] loaders = new PluginClassLoader[dependencies.length];
+
+				for (int j = 0; j < dependencies.length; j++) {
+					if (pluginsConfig.get(dependencies[j].getPluginName()) == null) {
+						logger.error(Messages.getString(
+								"Launcher.Dependencia_no_resuelta_en_plugin") +
+							pluginName + ": " +
+							dependencies[j].getPluginName());
+
+						continue;
+					}
+
+					if (!instalados.contains(dependencies[j].getPluginName())) {
+						ready = false;
+					} else {
+						loaders[j] = ((PluginServices) pluginsServices.get(dependencies[j].getPluginName())).getClassLoader();
+					}
+				}
+
+				//Si no est�n sus dependencias satisfechas se aborta la instalaci�n
+				if (!ready) {
+					continue;
+				}
+
+				//Se genera el class loader
+				String jardir = config.getLibraries().getLibraryDir();
+				File jarDir = new File(andamiConfig.getPluginsDirectory() +
+						File.separator + pluginName + File.separator + jardir);
+				File[] jarFiles = jarDir.listFiles(new FileFilter() {
+							public boolean accept(File pathname) {
+								return (pathname.getName().toUpperCase()
+												.endsWith(".JAR")) ||
+								(pathname.getName().toUpperCase().endsWith(".ZIP"));
+							}
+						});
+
+				URL[] urls = new URL[jarFiles.length];
+
+				for (int j = 0; j < jarFiles.length; j++) {
+					try {
+						urls[j] = new URL("file:" + jarFiles[j]);
+					} catch (MalformedURLException e) {
+						logger.error(Messages.getString(
+								"Launcher.No_se_puede_acceder_a") +
+							jarFiles[j]);
+					}
+				}
+
+				PluginClassLoader loader;
+
+				try {
+					loader = new PluginClassLoader(urls,
+							andamiConfig.getPluginsDirectory() +
+							File.separator + pluginName,
+							Launcher.class.getClassLoader(), loaders);
+
+					PluginServices ps = new PluginServices(loader);
+
+					pluginsServices.put(ps.getPluginName(), ps);
+
+					instalados.add(pluginName);
+                    // FJP: Los metemos ordenados para luego no cargar uno que necesita de otro antes de tiempo. Esto lo usaremos al 
+                    // inicializar los plugins
+                    pluginsOrdered.add(pluginName);
+
+					circle = false;
+				} catch (IOException e) {
+					logger.error(Messages.getString(
+							"Launcher.Error_con_las_librerias_del_plugin"), e);
+					pluginsConfig.remove(pluginName);
+					i = pluginsConfig.keySet().iterator();
+				}
+			}
+
+			if (circle) {
+				logger.error(Messages.getString(
+						"Launcher.Hay_dependencias_circulares"));
+
+				break;
+			}
+		}
+
+		//Se eliminan los plugins que no fueron instalados
+		Iterator i = pluginsConfig.keySet().iterator();
+
+		while (i.hasNext()) {
+			String pluginName = (String) i.next();
+			PluginConfig config = (PluginConfig) pluginsConfig.get(pluginName);
+			PluginServices ps = (PluginServices) pluginsServices.get(pluginName);
+
+			if (ps == null) {
+				pluginsConfig.remove(pluginName);
+				i = pluginsConfig.keySet().iterator();
+			}
+		} 
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 */
+	private static void pluginsMessages() {
+		//Iteramos por todos los plugins
+		Iterator i = pluginsConfig.keySet().iterator();
+
+		while (i.hasNext()) {
+			String pluginName = (String) i.next();
+			PluginConfig config = (PluginConfig) pluginsConfig.get(pluginName);
+
+			PluginServices ps = (PluginServices) pluginsServices.get(pluginName);
+
+			if (config.getResourceBundle() != null) {
+				ps.setResourceBundle(config.getResourceBundle().getName(),
+					locale);
+			}
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param name DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	static PluginServices getPluginServices(String name) {
+		return (PluginServices) pluginsServices.get(name);
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	static String getPluginsDir() {
+		return andamiConfig.getPluginsDirectory();
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param s DOCUMENT ME!
+	 */
+	static void setPluginsDir(String s) {
+		andamiConfig.setPluginsDirectory(s);
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	static MDIFrame getMDIFrame() {
+		return frame;
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param pluginsDirectory
+	 */
+	private static void loadPlugins(String pluginsDirectory) {
+		File pDir = new File(pluginsDirectory);
+
+		if (!pDir.exists()) {
+			return;
+		}
+
+		File[] pluginDirs = pDir.listFiles();
+
+		for (int i = 0; i < pluginDirs.length; i++) {
+			if (pluginDirs[i].isDirectory()) {
+				File configXml = new File(pluginDirs[i].getAbsolutePath() +
+						File.separator + "config.xml");
+
+				try {
+					FileReader xml = new FileReader(configXml);
+					PluginConfig pConfig = (PluginConfig) PluginConfig.unmarshal(xml);
+					pluginsConfig.put(pluginDirs[i].getName(), pConfig);
+				} catch (FileNotFoundException e) {
+					logger.info(Messages.getString(
+							"Launcher.Ignorando_el_directorio") +
+						pluginDirs[i].getAbsolutePath() +
+						Messages.getString("Launcher.config_no_encontrado"));
+				} catch (MarshalException e) {
+					logger.info(Messages.getString(
+							"Launcher.Ignorando_el_directorio") +
+						pluginDirs[i].getAbsolutePath() +
+						Messages.getString("Launcher.config_mal_formado"), e);
+				} catch (ValidationException e) {
+					logger.info(Messages.getString(
+							"Launcher.Ignorando_el_directorio") +
+						pluginDirs[i].getAbsolutePath() +
+						Messages.getString("Launcher.config_mal_formado"), e);
+				}
+			}
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param language
+	 * @param country
+	 * @param variant
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	private static Locale getLocale(String language, String country,
+		String variant) {
+		if (variant != null) {
+			return new Locale(language, country, variant);
+		} else if (country != null) {
+			return new Locale(language, country);
+		} else if (language != null) {
+			return new Locale(language);
+		} else {
+			return new Locale("es");
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param file DOCUMENT ME!
+	 *
+	 * @throws IOException DOCUMENT ME!
+	 * @throws MarshalException DOCUMENT ME!
+	 * @throws ValidationException DOCUMENT ME!
+	 */
+	private static void andamiConfigToXML(String file)
+		throws IOException, MarshalException, ValidationException {
+		File xml = new File(file);
+		File parent = xml.getParentFile();
+		parent.mkdirs();
+
+		FileWriter writer = new FileWriter(xml);
+		andamiConfig.marshal(writer);
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param file DOCUMENT ME!
+	 *
+	 * @throws ConfigurationException DOCUMENT ME!
+	 */
+	private static void andamiConfigFromXML(String file)
+		throws ConfigurationException {
+		File xml = new File(file);
+
+		//Si no existe se ponen los valores por defecto
+		if (!xml.exists()) {
+			andamiConfig = new AndamiConfig();
+
+			Andami andami = new Andami();
+			andami.setUpdate(true);
+			andamiConfig.setAndami(andami);
+			andamiConfig.setLocaleCountry(Locale.getDefault().getCountry());
+			andamiConfig.setLocaleLanguage(Locale.getDefault().getLanguage());
+			andamiConfig.setLocaleVariant(Locale.getDefault().getVariant());
+
+			if (System.getProperty("javawebstart.version") != null) // Es java web start)
+			 {
+				andamiConfig.setPluginsDirectory(new File(System.getProperty(
+							"user.home") + File.separator + appName +
+						File.separator + "extensiones").getAbsolutePath());
+			} else {
+				andamiConfig.setPluginsDirectory(new File(appName +
+						File.separator + "extensiones").getAbsolutePath());
+			}
+
+			andamiConfig.setPlugin(new Plugin[0]);
+		} else {
+			//Se lee la configuraci�n
+			FileReader reader;
+
+			try {
+				reader = new FileReader(xml);
+				andamiConfig = (AndamiConfig) AndamiConfig.unmarshal(reader);
+			} catch (FileNotFoundException e) {
+				throw new ConfigurationException(e);
+			} catch (MarshalException e) {
+				throw new ConfigurationException(e);
+			} catch (ValidationException e) {
+				throw new ConfigurationException(e);
+			}
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 *
+	 * @throws ConfigurationException DOCUMENT ME!
+	 */
+	private static XMLEntity persistenceFromXML() throws ConfigurationException {
+		File xml = new File(pluginsPersistencePath);
+
+		if (xml.exists()) {
+			FileReader reader;
+
+			try {
+				reader = new FileReader(xml);
+
+				XmlTag tag = (XmlTag) XmlTag.unmarshal(reader);
+
+				return new XMLEntity(tag);
+			} catch (FileNotFoundException e) {
+				throw new ConfigurationException(e);
+			} catch (MarshalException e) {
+				throw new ConfigurationException(e);
+			} catch (ValidationException e) {
+				throw new ConfigurationException(e);
+			}
+		} else {
+			return new XMLEntity();
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param entity DOCUMENT ME!
+	 *
+	 * @throws ConfigurationException DOCUMENT ME!
+	 */
+	private static void persistenceToXML(XMLEntity entity)
+		throws ConfigurationException {
+		File xml = new File(pluginsPersistencePath);
+
+		FileWriter writer;
+
+		try {
+			writer = new FileWriter(xml);
+			entity.getXmlTag().marshal(writer);
+		} catch (FileNotFoundException e) {
+			throw new ConfigurationException(e);
+		} catch (MarshalException e) {
+			throw new ConfigurationException(e);
+		} catch (ValidationException e) {
+			throw new ConfigurationException(e);
+		} catch (IOException e) {
+			throw new ConfigurationException(e);
+		}
+	}
+
+	/**
+	 * Devuelve un array con los directorios de los plugins
+	 *
+	 * @param dirExt Directorio de las extensiones a partir del cual cuelgan
+	 * 		  todos los directorios de los plugins
+	 *
+	 * @return ArrayList con los directorios
+	 */
+	private String[] getLocales(File dirExt) {
+		ArrayList types = new ArrayList();
+		File[] files = dirExt.listFiles();
+
+		for (int i = 0; i < files.length; i++) {
+			if (files[i].isDirectory()) {
+				File[] textFile = files[i].listFiles(new FilenameFilter() {
+							public boolean accept(File dir, String fileName) {
+								return fileName.toLowerCase().startsWith("text_"); //$NON-NLS-1$
+							}
+						});
+
+				for (int j = 0; j < textFile.length; j++) {
+					String s = (textFile[j]).getName().replaceAll("text_", "");
+					s = s.replaceAll(".properties", "");
+					s = s.trim();
+
+					if (!types.contains(s)) {
+						types.add(s);
+					}
+				}
+			}
+		}
+
+		return (String[]) types.toArray(new String[0]);
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @return Returns the frame.
+	 */
+	static MDIFrame getFrame() {
+		return frame;
+	}
+
+	/**
+	 * Secuencia de cerrado de Andami
+	 */
+	public static void closeApplication() {
+		//Configuraci�n de Andami
+		try {
+			andamiConfigToXML(andamiConfigPath);
+		} catch (MarshalException e) {
+			logger.error(Messages.getString(
+					"Launcher.No_se_pudo_guardar_la_configuracion_de_andami"), e);
+		} catch (ValidationException e) {
+			logger.error(Messages.getString(
+					"Launcher.No_se_pudo_guardar_la_configuracion_de_andami"), e);
+		} catch (IOException e) {
+			logger.error(Messages.getString(
+					"Launcher.No_se_pudo_guardar_la_configuracion_de_andami"), e);
+		}
+
+		//Persistencia de los plugins
+		Iterator i = pluginsConfig.keySet().iterator();
+
+		XMLEntity entity = new XMLEntity();
+
+		while (i.hasNext()) {
+			String pName = (String) i.next();
+			PluginServices ps = (PluginServices) pluginsServices.get(pName);
+			XMLEntity ent = ps.getPersistentXML();
+
+			if (ent != null) {
+				ent.putProperty("com.iver.andami.pluginName", pName);
+				entity.addChild(ent);
+			}
+		}
+
+		try {
+			persistenceToXML(entity);
+		} catch (ConfigurationException e1) {
+			logger.error(Messages.getString(
+					"Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins"),
+				e1);
+		}
+
+		//Para la depuraci�n de memory leaks
+		System.gc();
+
+        System.exit(0);
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	static HashMap getClassesExtensions() {
+		return classesExtensions;
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param extDir DOCUMENT ME!
+	 */
+	private static void downloadExtensions(String extDir) {
+		java.util.Date fechaActual = null;
+
+		try {
+			if (System.getProperty("javawebstart.version") != null) {
+				//Obtenemos la URL del servidor
+				BasicService bs = (BasicService) ServiceManager.lookup(
+						"javax.jnlp.BasicService");
+				URL baseURL = bs.getCodeBase();
+
+				//Se descargan las extensiones
+				SplashWindow.process(5,
+					"Descargando las extensiones desde " + baseURL + " a " +
+					extDir);
+
+				URL url = new URL(baseURL + "extensiones.zip");
+				URLConnection connection = url.openConnection();
+
+				System.out.println(url.toExternalForm() + ":");
+				System.out.println("  Content Type: " +
+					connection.getContentType());
+				System.out.println("  Content Length: " +
+					connection.getContentLength());
+				System.out.println("  Last Modified: " +
+					new Date(connection.getLastModified()));
+				System.out.println("  Expiration: " +
+					connection.getExpiration());
+				System.out.println("  Content Encoding: " +
+					connection.getContentEncoding());
+
+				// Guardamos la fecha del fichero de extensiones que nos hemos bajado, y
+				// comprobamos el �ltimo que se ha bajado. Si no son
+				// iguales, nos bajamos el nuevo. Si son iguales, no
+				// nos bajamos nada.
+				Long miliSecondsInWeb = new Long(connection.getLastModified());
+
+				// PluginServices ps = PluginServices.getPluginServices("com.iver.core");
+				// if (ps.getPersistentXML().getStringProperty("timestamp") != null)
+				File destDir = new File(extDir);
+
+				if (!destDir.exists()) {
+					// Creamos gvSIG
+					destDir.getParentFile().mkdir();
+
+					if (!destDir.mkdir()) {
+						System.err.println("Imposible crear el directorio " +
+							destDir.getAbsolutePath());
+					}
+				}
+
+				File timeFile = new File(destDir.getParent() + File.separator +
+						"timeStamp.properties");
+
+				if (!timeFile.exists()) {
+					timeFile.createNewFile();
+				}
+
+				FileInputStream inAux = new FileInputStream(timeFile);
+				Properties prop = new Properties();
+				prop.load(inAux);
+				inAux.close();
+
+				if (prop.getProperty("timestamp") != null) {
+					Long lastMiliSeconds = (Long) new Long(prop.getProperty(
+								"timestamp"));
+
+					if (lastMiliSeconds.longValue() == miliSecondsInWeb.longValue()) {
+						System.out.println("No hay nueva actualizaci�n");
+
+						return;
+					}
+
+					System.out.println("timeStampWeb= " + miliSecondsInWeb);
+					System.out.println("timeStampLocal= " + lastMiliSeconds);
+				} else {
+					System.out.println("El timeStamp no est� escrito en " +
+						timeFile.getAbsolutePath());
+				}
+
+				InputStream stream = connection.getInputStream();
+				File temp = File.createTempFile("gvsig", ".zip");
+				temp.deleteOnExit();
+
+				FileOutputStream file = new FileOutputStream(temp);
+				BufferedInputStream in = new BufferedInputStream(stream);
+				BufferedOutputStream out = new BufferedOutputStream(file);
+
+				int i;
+				int pct;
+				int desde;
+				int hasta;
+
+				hasta = connection.getContentLength() / 1024;
+				desde = 0;
+
+				while ((i = in.read()) != -1) {
+					pct = ((desde / 1024) * 100) / hasta;
+
+					if (((desde % 10240) == 0) && (pct > 10) &&
+							((pct % 10) == 0)) {
+						SplashWindow.process(pct,
+							(desde / 1024) + "Kb de " + hasta +
+							"Kb descargados...");
+					}
+
+					out.write(i);
+					desde++;
+				}
+
+				out.flush();
+				out.close();
+				in.close();
+
+				//Se extrae el zip
+				SplashWindow.process(5, "Extensiones descargadas.");
+
+				System.out.println("Extrayendo a " + destDir.getAbsolutePath());
+
+				Date fechaDir = new Date(destDir.lastModified());
+				System.out.println("Fecha del directorio " + extDir + " = " +
+					fechaDir.toString());
+				Utilities.extractTo(temp, new File(extDir), splashWindow);
+
+				// Si todo ha ido bien, guardamos el timestamp.
+				///  App.instance.getPc().addProperties("timestamp", miliSecondsInWeb);
+				// XMLEntity xml=ps.getPersistentXML();
+				fechaActual = new java.util.Date();
+
+				FileOutputStream outAux = new FileOutputStream(timeFile);
+				prop.setProperty("timestamp", miliSecondsInWeb.toString());
+				prop.store(outAux, "last download");
+				outAux.close();
+				System.out.println("Fecha actual guardada: " +
+					fechaActual.toGMTString());
+
+				/* xml.putProperty("timestamp",fechaActual.toGMTString());
+				   ps.setPresistentXML(xml); */
+			}
+		} catch (IOException e) {
+			NotificationManager.addError("", e);
+		} catch (UnavailableServiceException e) {
+			NotificationManager.addError("", e);
+		} catch (SecurityException e) {
+			System.err.println("No se puede escribir el timeStamp " +
+				fechaActual.toGMTString());
+			NotificationManager.addError("", e);
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	private static Extensions[] getExtensions() {
+		ArrayList array = new ArrayList();
+		Iterator iter = pluginsConfig.values().iterator();
+
+		while (iter.hasNext()) {
+			array.add(((PluginConfig) iter.next()).getExtensions());
+		}
+
+		return (Extensions[]) array.toArray(new Extensions[0]);
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	public static HashMap getPluginConfig() {
+		return pluginsConfig;
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @param s DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	public static Extension getExtension(String s) {
+		Extensions[] exts = getExtensions();
+
+		for (int i = 0; i < exts.length; i++) {
+			for (int j = 0; j < exts[i].getExtensionCount(); j++) {
+				if (exts[i].getExtension(j).getClassName().equals(s)) {
+					return exts[i].getExtension(j);
+				}
+			}
+		}
+
+		return null;
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @return DOCUMENT ME!
+	 */
+	public static AndamiConfig getAndamiConfig() {
+		return andamiConfig;
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @author $author$
+	 * @version $Revision$
+	 */
+	private static class ExtensionComparator implements Comparator {
+		/**
+		 * DOCUMENT ME!
+		 *
+		 * @param o1 DOCUMENT ME!
+		 * @param o2 DOCUMENT ME!
+		 *
+		 * @return DOCUMENT ME!
+		 */
+		public int compare(Object o1, Object o2) {
+			Extension e1 = (Extension) o1;
+			Extension e2 = (Extension) o2;
+
+			if (!e1.hasPriority() && !e2.hasPriority()) {
+				return -1;
+			}
+
+			if (e1.hasPriority() && !e2.hasPriority()) {
+				return -Integer.MAX_VALUE;
+			}
+
+			if (e2.hasPriority() && !e1.hasPriority()) {
+				return Integer.MAX_VALUE;
+			}
+
+			if (e1.getPriority() != e2.getPriority()){
+				return e2.getPriority() - e1.getPriority();
+			}else{
+				return (e2.toString().compareTo(e1.toString()));
+			}
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 */
+	private static class MenuComparator implements Comparator {
+		private static ExtensionComparator extComp = new ExtensionComparator();
+
+		/**
+		 * DOCUMENT ME!
+		 *
+		 * @param o1 DOCUMENT ME!
+		 * @param o2 DOCUMENT ME!
+		 *
+		 * @return DOCUMENT ME!
+		 */
+		public int compare(Object o1, Object o2) {
+			SortableMenu e1 = (SortableMenu) o1;
+			SortableMenu e2 = (SortableMenu) o2;
+
+			if (!e1.menu.hasPosition() && !e2.menu.hasPosition()) {
+				if (e1.extension instanceof SkinExtensionType) {
+					return 1;
+				} else if (e2.extension instanceof SkinExtensionType) {
+					return -1;
+				} else {
+					return extComp.compare(e1.extension, e2.extension);
+				}
+			}
+
+			if (e1.menu.hasPosition() && !e2.menu.hasPosition()) {
+				return -Integer.MAX_VALUE;
+			}
+
+			if (e2.menu.hasPosition() && !e1.menu.hasPosition()) {
+				return Integer.MAX_VALUE;
+			}
+
+			return e1.menu.getPosition() - e2.menu.getPosition();
+		}
+	}
+
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @author $author$
+	 * @version $Revision$
+	 */
+	private static class SortableMenu {
+		public PluginClassLoader loader;
+		public Menu menu;
+		public SkinExtensionType extension;
+
+		/**
+		 * DOCUMENT ME!
+		 *
+		 * @param loader DOCUMENT ME!
+		 * @param skinExt
+		 * @param menu2
+		 */
+		public SortableMenu(PluginClassLoader loader,
+			SkinExtensionType skinExt, Menu menu2) {
+			extension = skinExt;
+			menu = menu2;
+			this.loader = loader;
+		}
+	}
+	/**
+	 * DOCUMENT ME!
+	 */
+	private static class ToolBarComparator implements Comparator {
+		private static ExtensionComparator extComp = new ExtensionComparator();
+
+		/**
+		 * DOCUMENT ME!
+		 *
+		 * @param o1 DOCUMENT ME!
+		 * @param o2 DOCUMENT ME!
+		 *
+		 * @return DOCUMENT ME!
+		 */
+		public int compare(Object o1, Object o2) {
+			SortableToolBar e1 = (SortableToolBar) o1;
+			SortableToolBar e2 = (SortableToolBar) o2;
+
+			if (!e1.toolbar.hasPosition() && !e2.toolbar.hasPosition()) {
+				if (e1.extension instanceof SkinExtensionType) {
+					return 1;
+				} else if (e2.extension instanceof SkinExtensionType) {
+					return -1;
+				} else {
+					return extComp.compare(e1.extension, e2.extension);
+				}
+			}
+
+			if (e1.toolbar.hasPosition() && !e2.toolbar.hasPosition()) {
+				return -Integer.MAX_VALUE;
+			}
+
+			if (e2.toolbar.hasPosition() && !e1.toolbar.hasPosition()) {
+				return Integer.MAX_VALUE;
+			}
+			if (e1.toolbar.getPosition() != e2.toolbar.getPosition())
+			return e1.toolbar.getPosition() - e2.toolbar.getPosition();
+			
+			if (e1.toolbar.getActionTool().equals(e2.toolbar.getActionTool()) && e1.toolbar.getSelectableTool().equals(e2.toolbar.getSelectableTool())){
+				return 0;
+			}
+			return 1; 
+		}
+	}
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @author $author$
+	 * @version $Revision$
+	 */
+	private static class SortableToolBar {
+		public PluginClassLoader loader;
+		public ToolBar toolbar;
+		public ActionTool actiontool;
+		public SelectableTool selectabletool;
+		public SkinExtensionType extension;
+
+		/**
+		 * DOCUMENT ME!
+		 *
+		 * @param loader DOCUMENT ME!
+		 * @param skinExt
+		 * @param menu2
+		 */
+		public SortableToolBar(PluginClassLoader loader,
+			SkinExtensionType skinExt, ToolBar toolbar2,ActionTool actiontool2) {
+			extension = skinExt;
+			toolbar = toolbar2;
+			actiontool=actiontool2;
+			this.loader = loader;
+		}
+			public SortableToolBar(PluginClassLoader loader,
+				SkinExtensionType skinExt, ToolBar toolbar2,SelectableTool selectabletool2) {
+				extension = skinExt;
+				toolbar = toolbar2;
+				selectabletool=selectabletool2;
+				this.loader = loader;
+			}
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/Launcher.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/HiddableExtension.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/HiddableExtension.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/HiddableExtension.java	(revision 3340)
@@ -0,0 +1,66 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+*
+* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+*
+* For more information, contact:
+*
+*  Generalitat Valenciana
+*   Conselleria d'Infraestructures i Transport
+*   Av. Blasco Ib��ez, 50
+*   46010 VALENCIA
+*   SPAIN
+*
+*      +34 963862235
+*   gvsig@gva.es
+*      www.gvsig.gva.es
+*
+*    or
+*
+*   IVER T.I. S.A
+*   Salamanca 50
+*   46005 Valencia
+*   Spain
+*
+*   +34 963163400
+*   dac@iver.es
+*/
+package com.iver.andami.plugins;
+
+
+/**
+ * Extending andami's classical extension this interface will support hidding or
+ * showing an extension on the fly.
+ * 
+ * @autor Jaume Dominguez Faus - jaume.dominguez@iver.es
+ */
+public interface HiddableExtension extends Extension{
+	
+	/**
+	 * This extension will be visible despite the value set at the MDIManager
+	 * @return
+	 */
+	public int getVisibility();
+	
+	
+	
+	/**
+	 * Sets the absolute visibility of this extension (overriding the value
+	 * set at the MDIManager)
+	 * @param b
+	 */
+	public void setVisibility(int state);
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/HiddableExtension.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/PluginClassLoader.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/PluginClassLoader.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/PluginClassLoader.java	(revision 3340)
@@ -0,0 +1,417 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.plugins;
+
+import com.iver.andami.messages.Messages;
+
+import org.apache.log4j.Logger;
+
+import java.io.DataInputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStream;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+
+import java.security.AllPermission;
+import java.security.CodeSource;
+import java.security.PermissionCollection;
+
+import java.util.ArrayList;
+import java.util.Enumeration;
+import java.util.Hashtable;
+import java.util.List;
+import java.util.StringTokenizer;
+import java.util.jar.JarException;
+import java.util.zip.ZipEntry;
+import java.util.zip.ZipException;
+import java.util.zip.ZipFile;
+
+
+/**
+ * Class loader que carga las clases pedidas por los plugins de manera que
+ * primero busca en el classpath, luego busca en el directorio del propio
+ * plugin en los jars especificados por el xml y en caso de no encontrar la
+ * clase pide al PluginClassLoaderManager la lista de plugins que pueden
+ * satisfacer la clase e intenta cargarlo con cada un de ellos hasta que lo
+ * consigue con uno.
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public class PluginClassLoader extends URLClassLoader {
+    /** DOCUMENT ME! */
+    private static Logger logger = Logger.getLogger(PluginClassLoader.class.getName());
+
+    /** DOCUMENT ME! */
+    private Hashtable clasesJar = new Hashtable();
+
+    /** DOCUMENT ME! */
+    private File baseDir;
+    private PluginClassLoader[] pluginLoaders;
+
+    /**
+     * Creates a new PluginClassLoader object.
+     *
+     * @param jars Array con la ruta de los jars en los que buscar� las clases
+     *        el plugin
+     * @param baseDir Directorio base del plugin que se carga. Es en directorio
+     *        donde se buscan los resources en el m�todo getResources
+     * @param cl ClassLoader padre del classLoader, al que se le pedir�
+     *        resolver las clases antes de utilizar el algoritmo propio
+     * @param pluginLoaders DOCUMENT ME!
+     *
+     * @throws IOException
+     */
+    public PluginClassLoader(URL[] jars, String baseDir, ClassLoader cl,
+        PluginClassLoader[] pluginLoaders) throws IOException {
+        super(jars, cl);
+        this.baseDir = new File(new File(baseDir).getAbsolutePath());
+        this.pluginLoaders = pluginLoaders;
+
+        ZipFile[] jarFiles = new ZipFile[jars.length];
+
+        for (int i = 0; i < jars.length; i++) {
+            try {
+                jarFiles[i] = new ZipFile(jars[i].getPath());
+
+                Enumeration entradas = jarFiles[i].entries();
+
+                while (entradas.hasMoreElements()) {
+                    ZipEntry file = (ZipEntry) entradas.nextElement();
+                    String fileName = file.getName();
+
+                    if (!fileName.toLowerCase().endsWith(".class")) { //$NON-NLS-1$
+
+                        continue;
+                    }
+
+                    fileName = fileName.substring(0, fileName.length() - 6)
+                                       .replace('/', '.');
+
+                    if (clasesJar.get(fileName) != null) {
+                        throw new JarException(Messages.getString(
+                                "PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin" +
+                                ": " + fileName + " en " +
+                                jarFiles[i].getName() + " y en " +
+                                ((ZipFile) clasesJar.get(fileName)).getName()));
+                    }
+
+                    clasesJar.put(fileName, jarFiles[i]);
+                }
+            } catch (ZipException e) {
+                throw new IOException(e.getMessage() + " Jar: " +
+                    jars[i].getPath() + ": " + jarFiles[i]);
+            } catch (IOException e) {
+                throw e;
+            }
+        }
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param name DOCUMENT ME!
+     *
+     * @return DOCUMENT ME!
+     *
+     * @throws ClassNotFoundException DOCUMENT ME!
+     */
+    protected Class singleLoadClass(String name) throws ClassNotFoundException {
+        // Buscamos en las clases de las librer�as del plugin
+        Class c = findLoadedClass(name);
+
+        if (c != null) {
+            return c;
+        }
+
+        try {
+            ZipFile jar = (ZipFile) clasesJar.get(name);
+
+            //No est� en ning�n jar
+            if (jar == null) {
+                //Buscamos en el directorio de clases
+                String classFileName = baseDir + "/classes/" +
+                    name.replace('.', '/') + ".class";
+                File f = new File(classFileName);
+                if (f.exists()){
+                    byte[] data = loadClassData(f);
+                    c = defineClass(name, data, 0, data.length);
+                }else{
+                    //Buscamos en los otros plugins
+                    for (int i = 0; i < pluginLoaders.length; i++) {
+                        c = pluginLoaders[i].singleLoadClass(name);
+
+                        if (c != null) {
+                            break;
+                        }
+                    }
+                }
+            } else {
+                String fileName = name.replace('.', '/') + ".class";
+                ZipEntry classFile = jar.getEntry(fileName);
+                byte[] data = loadClassData(classFile,
+                        jar.getInputStream(classFile));
+
+                c = defineClass(name, data, 0, data.length);
+            }
+
+            if (c == null) {
+                throw new ClassNotFoundException(name);
+            }
+
+            return c;
+        } catch (IOException e) {
+            throw new ClassNotFoundException(Messages.getString(
+                    "PluginClassLoader.Error_reading_file") + name);
+        }
+    }
+
+    /**
+     * Carga la clase
+     *
+     * @param name Nombre de la clase
+     * @param resolve Si se ha de resolver la clase o no
+     *
+     * @return Clase cargada
+     *
+     * @throws ClassNotFoundException Si no se pudo encontrar la clase
+     */
+    protected Class loadClass(String name, boolean resolve)
+        throws ClassNotFoundException {
+        Class c = null;
+
+        // Intentamos cargar con el system classloader
+        try {
+            c = singleLoadClass(name);
+        } catch (ClassNotFoundException e1) {
+            c = super.loadClass(name, resolve);
+        }
+
+        if (resolve) {
+            resolveClass(c);
+        }
+
+        return c;
+    }
+
+    /**
+     * obtiene el array de bytes de la clase
+     *
+     * @param classFile Entrada dentro del jar contiene los bytecodes de la
+     *        clase (el .class)
+     * @param is InputStream para leer la entrada del jar
+     *
+     * @return Bytes de la clase
+     *
+     * @throws IOException Si no se puede obtener el .class del jar
+     */
+    private byte[] loadClassData(ZipEntry classFile, InputStream is)
+        throws IOException {
+        // Get size of class file
+        int size = (int) classFile.getSize();
+
+        // Reserve space to read
+        byte[] buff = new byte[size];
+
+        // Get stream to read from
+        DataInputStream dis = new DataInputStream(is);
+
+        // Read in data
+        dis.readFully(buff);
+
+        // close stream
+        dis.close();
+
+        // return data
+        return buff;
+    }
+
+    /**
+     * Gets the bytes of a File
+     *
+     * @param file File
+     *
+     * @return bytes of file
+     *
+     * @throws IOException If the operation fails
+     */
+    private byte[] loadClassData(File file) throws IOException {
+        InputStream is = new FileInputStream(file);
+
+        // Get the size of the file
+        long length = file.length();
+
+        // You cannot create an array using a long type.
+        // It needs to be an int type.
+        // Before converting to an int type, check
+        // to ensure that file is not larger than Integer.MAX_VALUE.
+        if (length > Integer.MAX_VALUE) {
+            // File is too large
+        }
+
+        // Create the byte array to hold the data
+        byte[] bytes = new byte[(int) length];
+
+        // Read in the bytes
+        int offset = 0;
+        int numRead = 0;
+
+        while ((offset < bytes.length) &&
+                ((numRead = is.read(bytes, offset, bytes.length - offset)) >= 0)) {
+            offset += numRead;
+        }
+
+        // Ensure all the bytes have been read in
+        if (offset < bytes.length) {
+            throw new IOException("Could not completely read file " +
+                file.getName());
+        }
+
+        // Close the input stream and return bytes
+        is.close();
+
+        return bytes;
+    }
+
+    /**
+     * Obtiene los recursos tomando como la raiz el directorio base del plugin.
+     * Si no se encuentra el recurso ah� se invoca a getResource del
+     * classloader padre, que buscar� en el jar de la aplicaci�n. Si ah�
+     * tampoco se encuentra nada se devolver� null.
+     *
+     * @param res Nombre del recurso
+     *
+     * @return URL del recurso o null si no se pudo encontrar
+     */
+    public URL getResource(String res) {
+        try {
+            ArrayList resource = new ArrayList();
+            StringTokenizer st = new StringTokenizer(res, "\\/");
+
+            while (st.hasMoreTokens()) {
+                String token = st.nextToken();
+                resource.add(token);
+            }
+
+            URL ret = getResource(baseDir, resource);
+
+            if (ret != null) {
+                return ret;
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+
+        return super.getResource(res);
+    }
+
+    /**
+     * Busca recursivamente el recurso res en el directorio base. res es una
+     * lista de String's con los directorios del path y base es el directorio
+     * a partir del cual se busca dicho recurso. En cada ejecuci�n del m�todo
+     * se toma el primer elemento de res y se busca dicho directorio en el
+     * directorio base. Si se encuentra, ser� el directorio base para una
+     * nueva llamada.
+     *
+     * @param base Directorio desde donde parte la b�squeda del recurso.
+     * @param res Lista de strings con el path del recurso que se quiere
+     *        encontrar
+     *
+     * @return URL con el recurso
+     */
+    private URL getResource(File base, List res) {
+        File[] files = base.listFiles();
+
+        String parte = (String) res.get(0);
+
+        for (int i = 0; i < files.length; i++) {
+            if (files[i].getName().compareTo(parte) == 0) {
+                if (res.size() == 1) {
+                    try {
+                        return new URL("file:" + files[i].toString());
+                    } catch (MalformedURLException e) {
+                        return null;
+                    }
+                } else {
+                    return getResource(files[i], res.subList(1, res.size()));
+                }
+            }
+        }
+
+        return null;
+    }
+
+    /**
+     * Devuelve el nombre del directorio del plugin
+     *
+     * @return
+     */
+    public String getPluginName() {
+        String ret = baseDir.getAbsolutePath().substring(baseDir.getAbsolutePath()
+                                                                .lastIndexOf(File.separatorChar) +
+                1);
+
+        return ret;
+    }
+
+    /**
+     * @see java.security.SecureClassLoader#getPermissions(java.security.CodeSource)
+     */
+    protected PermissionCollection getPermissions(CodeSource codesource) {
+        PermissionCollection perms = super.getPermissions(codesource);
+        perms.add(new AllPermission());
+
+        return perms;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return Returns the baseDir.
+     */
+    public String getBaseDir() {
+        return baseDir.getAbsolutePath();
+    }
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/PluginClassLoader.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/Extension.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/Extension.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/Extension.java	(revision 3340)
@@ -0,0 +1,102 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.plugins;
+
+/**
+ * <p>
+ * Una extensi�n es el mecanismo en la que los plugins pueden extender Andami.
+ * En la aplicaci�n habr� una instancia de cada extensi�n, las cuales tienen
+ * unos m�todos que ser�n ejecutados en respuesta a acciones del usuario. Las
+ * extensiones pueden a�adir controles a la interfaz de usuario.  Pueden
+ * a�adir men�s y herramientas de la barra de herramientas, de forma que al
+ * ser seleccionadas se ejecute c�digo de la extensi�n. Adem�s de implementar esta
+ * interfaz, una extensi�n ha de tener un constructor vac�o, el cual ser� invocado
+ * para crear la instancia de la interfaz
+ * </p>
+ * 
+ * <p>
+ * En un plugin correctamente implementado se crear� una instancia de cada
+ * extensi�n. Tras la creaci�n se invocar� al m�todo inicializar y luego con
+ * la aplicaci�n en marcha se invocar� a los m�todos isEnabled(), isVisible(),
+ * repetidas veces para controlar la activaci�n y visualizaci�n de los
+ * controles relacionados con la  extensi�n. Cuando se ejecuta una extensi�n
+ * se ejecuta el metodo execute. Dicho m�todo se ejecuta en el thread de la
+ * interfaz de usuario, por lo que dejar� la interfaz bloqueada. Si se quiere
+ * dejar activa la interfaz se deber� lanzar un thread a parte.
+ * </p>
+ */
+public interface Extension {
+	/**
+     * C�digo de inicializaci�n de la extension.
+     * TODO: Refactor method to "initialize"
+     */
+    public void inicializar();
+
+    /**
+     * M�todo que se ejecuta cuando el usuario acciona un control de la
+     * extensi�n
+     *
+     * @param status DOCUMENT ME!
+     * @param actionCommand DOCUMENT ME!
+     *
+     * @throws Throwable DOCUMENT ME!
+     */
+    public void execute(String actionCommand);
+
+    /**
+     * Este m�todo es invocado por la aplicaci�n para habilitar o desabilitar
+     * el estado de los controles (men�s y botones de la barra de
+     * herramientas) que ejecutan el c�digo de la extensi�n.
+     *
+     * @return true si el c�digo debe estar habilitado y false en caso
+     *         contrario
+     */
+    public boolean isEnabled();
+
+    /**
+     * Este m�todo es invocado por la aplicaci�n para mostrar o esconder los
+     * controles (men�s y botones de la barra de herramientas)  que ejecutan
+     * el c�digo de la extensi�n.
+     *
+     * @return true si el c�digo debe estar visibles y false en caso contrario
+     */
+    public boolean isVisible();
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/Extension.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/ExtensionDecorator.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/ExtensionDecorator.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/ExtensionDecorator.java	(revision 3340)
@@ -0,0 +1,96 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+*
+* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+*
+* For more information, contact:
+*
+*  Generalitat Valenciana
+*   Conselleria d'Infraestructures i Transport
+*   Av. Blasco Ib��ez, 50
+*   46010 VALENCIA
+*   SPAIN
+*
+*      +34 963862235
+*   gvsig@gva.es
+*      www.gvsig.gva.es
+*
+*    or
+*
+*   IVER T.I. S.A
+*   Salamanca 50
+*   46005 Valencia
+*   Spain
+*
+*   +34 963163400
+*   dac@iver.es
+*/
+package com.iver.andami.plugins;
+
+
+/**
+ * This class extends the functionality of Extension class to let the programmer
+ * set an extension visible or not on-the-fly.
+ *
+ * @autor Jaume Dominguez Faus - jaume.dominguez@iver.es
+ */
+public class ExtensionDecorator implements HiddableExtension{
+	public static final int INACTIVE = 0;
+	public static final int ALWAYS_VISIBLE = 1;
+	public static final int ALWAYS_INVISIBLE = 2;
+	int  alwaysVisible; 
+	Extension extension;
+	
+	public ExtensionDecorator(Extension e, int visibilityControl){
+		setExtension(e);
+		setVisibility(visibilityControl);
+	}
+	
+	public void setExtension(Extension e) {
+		this.extension = e;
+	}
+	 
+	public void setVisibility(int state){
+		this.alwaysVisible = state;
+	}
+	
+	public int getVisibility(){
+		return alwaysVisible;
+	}
+	
+	public Extension getExtension(){
+		return extension;
+	}
+
+	public void inicializar() {
+		extension.inicializar();		
+	}
+
+	public void execute(String actionCommand) {
+		extension.execute(actionCommand);	
+	}
+
+	public boolean isEnabled() {
+		return extension.isEnabled();
+	}
+
+	public boolean isVisible() {
+		if (alwaysVisible == INACTIVE)
+			return extension.isVisible();
+		else if (alwaysVisible == ALWAYS_VISIBLE) return true;
+		else return false;
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/ExtensionDecorator.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionDescriptor.java	(revision 3340)
@@ -0,0 +1,133 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class SkinExtensionDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class SkinExtensionDescriptor extends SkinExtensionTypeDescriptor {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public SkinExtensionDescriptor() {
+        super();
+        setExtendsWithoutFlatten(new SkinExtensionTypeDescriptor());
+        xmlName = "skin-extension";
+    } //-- com.iver.andami.plugins.config.generate.SkinExtensionDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return super.getExtends();
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        if (identity == null)
+            return super.getIdentity();
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.SkinExtension.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtension.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtension.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtension.java	(revision 3340)
@@ -0,0 +1,106 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class SkinExtension.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class SkinExtension extends SkinExtensionType 
+implements java.io.Serializable
+{
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public SkinExtension() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.SkinExtension()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.SkinExtension) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.SkinExtension.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtension.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ToolBarDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ToolBarDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ToolBarDescriptor.java	(revision 3340)
@@ -0,0 +1,246 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class ToolBarDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ToolBarDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ToolBarDescriptor() {
+        super();
+        xmlName = "tool-bar";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _name
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_name", "name", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ToolBar target = (ToolBar) object;
+                return target.getName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ToolBar target = (ToolBar) object;
+                    target.setName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _name
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+        //-- _actionToolList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.ActionTool.class, "_actionToolList", "action-tool", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ToolBar target = (ToolBar) object;
+                return target.getActionTool();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ToolBar target = (ToolBar) object;
+                    target.addActionTool( (com.iver.andami.plugins.config.generate.ActionTool) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.ActionTool();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _actionToolList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(0);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _selectableToolList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.SelectableTool.class, "_selectableToolList", "selectable-tool", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ToolBar target = (ToolBar) object;
+                return target.getSelectableTool();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ToolBar target = (ToolBar) object;
+                    target.addSelectableTool( (com.iver.andami.plugins.config.generate.SelectableTool) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.SelectableTool();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _selectableToolList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(0);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.plugins.config.generate.ToolBarDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.ToolBar.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ToolBarDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ToolBar.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ToolBar.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ToolBar.java	(revision 3340)
@@ -0,0 +1,431 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class ToolBar.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ToolBar implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _name
+     */
+    private java.lang.String _name;
+
+    /**
+     * Field _position
+     */
+    private int _position;
+
+    /**
+     * keeps track of state for field: _position
+     */
+    private boolean _has_position;
+
+    /**
+     * Field _actionToolList
+     */
+    private java.util.Vector _actionToolList;
+
+    /**
+     * Field _selectableToolList
+     */
+    private java.util.Vector _selectableToolList;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ToolBar() {
+        super();
+        _actionToolList = new Vector();
+        _selectableToolList = new Vector();
+    } //-- com.iver.andami.plugins.config.generate.ToolBar()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addActionTool
+     * 
+     * @param vActionTool
+     */
+    public void addActionTool(com.iver.andami.plugins.config.generate.ActionTool vActionTool)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _actionToolList.addElement(vActionTool);
+    } //-- void addActionTool(com.iver.andami.plugins.config.generate.ActionTool) 
+
+    /**
+     * Method addActionTool
+     * 
+     * @param index
+     * @param vActionTool
+     */
+    public void addActionTool(int index, com.iver.andami.plugins.config.generate.ActionTool vActionTool)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _actionToolList.insertElementAt(vActionTool, index);
+    } //-- void addActionTool(int, com.iver.andami.plugins.config.generate.ActionTool) 
+
+    /**
+     * Method addSelectableTool
+     * 
+     * @param vSelectableTool
+     */
+    public void addSelectableTool(com.iver.andami.plugins.config.generate.SelectableTool vSelectableTool)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _selectableToolList.addElement(vSelectableTool);
+    } //-- void addSelectableTool(com.iver.andami.plugins.config.generate.SelectableTool) 
+
+    /**
+     * Method addSelectableTool
+     * 
+     * @param index
+     * @param vSelectableTool
+     */
+    public void addSelectableTool(int index, com.iver.andami.plugins.config.generate.SelectableTool vSelectableTool)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _selectableToolList.insertElementAt(vSelectableTool, index);
+    } //-- void addSelectableTool(int, com.iver.andami.plugins.config.generate.SelectableTool) 
+
+    /**
+     * Method deletePosition
+     */
+    public void deletePosition()
+    {
+        this._has_position= false;
+    } //-- void deletePosition() 
+
+    /**
+     * Method enumerateActionTool
+     */
+    public java.util.Enumeration enumerateActionTool()
+    {
+        return _actionToolList.elements();
+    } //-- java.util.Enumeration enumerateActionTool() 
+
+    /**
+     * Method enumerateSelectableTool
+     */
+    public java.util.Enumeration enumerateSelectableTool()
+    {
+        return _selectableToolList.elements();
+    } //-- java.util.Enumeration enumerateSelectableTool() 
+
+    /**
+     * Method getActionTool
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.ActionTool getActionTool(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _actionToolList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.ActionTool) _actionToolList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.ActionTool getActionTool(int) 
+
+    /**
+     * Method getActionTool
+     */
+    public com.iver.andami.plugins.config.generate.ActionTool[] getActionTool()
+    {
+        int size = _actionToolList.size();
+        com.iver.andami.plugins.config.generate.ActionTool[] mArray = new com.iver.andami.plugins.config.generate.ActionTool[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.ActionTool) _actionToolList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.ActionTool[] getActionTool() 
+
+    /**
+     * Method getActionToolCount
+     */
+    public int getActionToolCount()
+    {
+        return _actionToolList.size();
+    } //-- int getActionToolCount() 
+
+    /**
+     * Returns the value of field 'name'.
+     * 
+     * @return the value of field 'name'.
+     */
+    public java.lang.String getName()
+    {
+        return this._name;
+    } //-- java.lang.String getName() 
+
+    /**
+     * Returns the value of field 'position'.
+     * 
+     * @return the value of field 'position'.
+     */
+    public int getPosition()
+    {
+        return this._position;
+    } //-- int getPosition() 
+
+    /**
+     * Method getSelectableTool
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.SelectableTool getSelectableTool(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _selectableToolList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.SelectableTool) _selectableToolList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.SelectableTool getSelectableTool(int) 
+
+    /**
+     * Method getSelectableTool
+     */
+    public com.iver.andami.plugins.config.generate.SelectableTool[] getSelectableTool()
+    {
+        int size = _selectableToolList.size();
+        com.iver.andami.plugins.config.generate.SelectableTool[] mArray = new com.iver.andami.plugins.config.generate.SelectableTool[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.SelectableTool) _selectableToolList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.SelectableTool[] getSelectableTool() 
+
+    /**
+     * Method getSelectableToolCount
+     */
+    public int getSelectableToolCount()
+    {
+        return _selectableToolList.size();
+    } //-- int getSelectableToolCount() 
+
+    /**
+     * Method hasPosition
+     */
+    public boolean hasPosition()
+    {
+        return this._has_position;
+    } //-- boolean hasPosition() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeActionTool
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.ActionTool removeActionTool(int index)
+    {
+        java.lang.Object obj = _actionToolList.elementAt(index);
+        _actionToolList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.ActionTool) obj;
+    } //-- com.iver.andami.plugins.config.generate.ActionTool removeActionTool(int) 
+
+    /**
+     * Method removeAllActionTool
+     */
+    public void removeAllActionTool()
+    {
+        _actionToolList.removeAllElements();
+    } //-- void removeAllActionTool() 
+
+    /**
+     * Method removeAllSelectableTool
+     */
+    public void removeAllSelectableTool()
+    {
+        _selectableToolList.removeAllElements();
+    } //-- void removeAllSelectableTool() 
+
+    /**
+     * Method removeSelectableTool
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.SelectableTool removeSelectableTool(int index)
+    {
+        java.lang.Object obj = _selectableToolList.elementAt(index);
+        _selectableToolList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.SelectableTool) obj;
+    } //-- com.iver.andami.plugins.config.generate.SelectableTool removeSelectableTool(int) 
+
+    /**
+     * Method setActionTool
+     * 
+     * @param index
+     * @param vActionTool
+     */
+    public void setActionTool(int index, com.iver.andami.plugins.config.generate.ActionTool vActionTool)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _actionToolList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _actionToolList.setElementAt(vActionTool, index);
+    } //-- void setActionTool(int, com.iver.andami.plugins.config.generate.ActionTool) 
+
+    /**
+     * Method setActionTool
+     * 
+     * @param actionToolArray
+     */
+    public void setActionTool(com.iver.andami.plugins.config.generate.ActionTool[] actionToolArray)
+    {
+        //-- copy array
+        _actionToolList.removeAllElements();
+        for (int i = 0; i < actionToolArray.length; i++) {
+            _actionToolList.addElement(actionToolArray[i]);
+        }
+    } //-- void setActionTool(com.iver.andami.plugins.config.generate.ActionTool) 
+
+    /**
+     * Sets the value of field 'name'.
+     * 
+     * @param name the value of field 'name'.
+     */
+    public void setName(java.lang.String name)
+    {
+        this._name = name;
+    } //-- void setName(java.lang.String) 
+
+    /**
+     * Sets the value of field 'position'.
+     * 
+     * @param position the value of field 'position'.
+     */
+    public void setPosition(int position)
+    {
+        this._position = position;
+        this._has_position = true;
+    } //-- void setPosition(int) 
+
+    /**
+     * Method setSelectableTool
+     * 
+     * @param index
+     * @param vSelectableTool
+     */
+    public void setSelectableTool(int index, com.iver.andami.plugins.config.generate.SelectableTool vSelectableTool)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _selectableToolList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _selectableToolList.setElementAt(vSelectableTool, index);
+    } //-- void setSelectableTool(int, com.iver.andami.plugins.config.generate.SelectableTool) 
+
+    /**
+     * Method setSelectableTool
+     * 
+     * @param selectableToolArray
+     */
+    public void setSelectableTool(com.iver.andami.plugins.config.generate.SelectableTool[] selectableToolArray)
+    {
+        //-- copy array
+        _selectableToolList.removeAllElements();
+        for (int i = 0; i < selectableToolArray.length; i++) {
+            _selectableToolList.addElement(selectableToolArray[i]);
+        }
+    } //-- void setSelectableTool(com.iver.andami.plugins.config.generate.SelectableTool) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.ToolBar) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.ToolBar.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ToolBar.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionTypeDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionTypeDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionTypeDescriptor.java	(revision 3340)
@@ -0,0 +1,299 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class ExtensionTypeDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ExtensionTypeDescriptor extends com.iver.andami.plugins.config.generate.SkinExtensionTypeDescriptor {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ExtensionTypeDescriptor() {
+        super();
+        setExtendsWithoutFlatten(new com.iver.andami.plugins.config.generate.SkinExtensionTypeDescriptor());
+        xmlName = "extension-type";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _priority
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_priority", "priority", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ExtensionType target = (ExtensionType) object;
+                if(!target.hasPriority())
+                    return null;
+                return new java.lang.Integer(target.getPriority());
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ExtensionType target = (ExtensionType) object;
+                    // if null, use delete method for optional primitives 
+                    if (value == null) {
+                        target.deletePriority();
+                        return;
+                    }
+                    target.setPriority( ((java.lang.Integer)value).intValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _priority
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            IntegerValidator typeValidator= new IntegerValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _active
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_active", "active", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ExtensionType target = (ExtensionType) object;
+                if(!target.hasActive())
+                    return null;
+                return (target.getActive() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ExtensionType target = (ExtensionType) object;
+                    // if null, use delete method for optional primitives 
+                    if (value == null) {
+                        target.deleteActive();
+                        return;
+                    }
+                    target.setActive( ((java.lang.Boolean)value).booleanValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _active
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            BooleanValidator typeValidator = new BooleanValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _description
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_description", "description", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ExtensionType target = (ExtensionType) object;
+                return target.getDescription();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ExtensionType target = (ExtensionType) object;
+                    target.setDescription( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _description
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _alwaysvisible
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_alwaysvisible", "alwaysvisible", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ExtensionType target = (ExtensionType) object;
+                if(!target.hasAlwaysvisible())
+                    return null;
+                return (target.getAlwaysvisible() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ExtensionType target = (ExtensionType) object;
+                    // if null, use delete method for optional primitives 
+                    if (value == null) {
+                        target.deleteAlwaysvisible();
+                        return;
+                    }
+                    target.setAlwaysvisible( ((java.lang.Boolean)value).booleanValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _alwaysvisible
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            BooleanValidator typeValidator = new BooleanValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.plugins.config.generate.ExtensionTypeDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return super.getExtends();
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        if (identity == null)
+            return super.getIdentity();
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.ExtensionType.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionTypeDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionType.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionType.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionType.java	(revision 3340)
@@ -0,0 +1,277 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class ExtensionType.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ExtensionType extends com.iver.andami.plugins.config.generate.SkinExtensionType 
+implements java.io.Serializable
+{
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _priority
+     */
+    private int _priority;
+
+    /**
+     * keeps track of state for field: _priority
+     */
+    private boolean _has_priority;
+
+    /**
+     * Field _active
+     */
+    private boolean _active;
+
+    /**
+     * keeps track of state for field: _active
+     */
+    private boolean _has_active;
+
+    /**
+     * Field _description
+     */
+    private java.lang.String _description;
+
+    /**
+     * Field _alwaysvisible
+     */
+    private boolean _alwaysvisible;
+
+    /**
+     * keeps track of state for field: _alwaysvisible
+     */
+    private boolean _has_alwaysvisible;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ExtensionType() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.ExtensionType()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method deleteActive
+     */
+    public void deleteActive()
+    {
+        this._has_active= false;
+    } //-- void deleteActive() 
+
+    /**
+     * Method deleteAlwaysvisible
+     */
+    public void deleteAlwaysvisible()
+    {
+        this._has_alwaysvisible= false;
+    } //-- void deleteAlwaysvisible() 
+
+    /**
+     * Method deletePriority
+     */
+    public void deletePriority()
+    {
+        this._has_priority= false;
+    } //-- void deletePriority() 
+
+    /**
+     * Returns the value of field 'active'.
+     * 
+     * @return the value of field 'active'.
+     */
+    public boolean getActive()
+    {
+        return this._active;
+    } //-- boolean getActive() 
+
+    /**
+     * Returns the value of field 'alwaysvisible'.
+     * 
+     * @return the value of field 'alwaysvisible'.
+     */
+    public boolean getAlwaysvisible()
+    {
+        return this._alwaysvisible;
+    } //-- boolean getAlwaysvisible() 
+
+    /**
+     * Returns the value of field 'description'.
+     * 
+     * @return the value of field 'description'.
+     */
+    public java.lang.String getDescription()
+    {
+        return this._description;
+    } //-- java.lang.String getDescription() 
+
+    /**
+     * Returns the value of field 'priority'.
+     * 
+     * @return the value of field 'priority'.
+     */
+    public int getPriority()
+    {
+        return this._priority;
+    } //-- int getPriority() 
+
+    /**
+     * Method hasActive
+     */
+    public boolean hasActive()
+    {
+        return this._has_active;
+    } //-- boolean hasActive() 
+
+    /**
+     * Method hasAlwaysvisible
+     */
+    public boolean hasAlwaysvisible()
+    {
+        return this._has_alwaysvisible;
+    } //-- boolean hasAlwaysvisible() 
+
+    /**
+     * Method hasPriority
+     */
+    public boolean hasPriority()
+    {
+        return this._has_priority;
+    } //-- boolean hasPriority() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'active'.
+     * 
+     * @param active the value of field 'active'.
+     */
+    public void setActive(boolean active)
+    {
+        this._active = active;
+        this._has_active = true;
+    } //-- void setActive(boolean) 
+
+    /**
+     * Sets the value of field 'alwaysvisible'.
+     * 
+     * @param alwaysvisible the value of field 'alwaysvisible'.
+     */
+    public void setAlwaysvisible(boolean alwaysvisible)
+    {
+        this._alwaysvisible = alwaysvisible;
+        this._has_alwaysvisible = true;
+    } //-- void setAlwaysvisible(boolean) 
+
+    /**
+     * Sets the value of field 'description'.
+     * 
+     * @param description the value of field 'description'.
+     */
+    public void setDescription(java.lang.String description)
+    {
+        this._description = description;
+    } //-- void setDescription(java.lang.String) 
+
+    /**
+     * Sets the value of field 'priority'.
+     * 
+     * @param priority the value of field 'priority'.
+     */
+    public void setPriority(int priority)
+    {
+        this._priority = priority;
+        this._has_priority = true;
+    } //-- void setPriority(int) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.ExtensionType) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.ExtensionType.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionType.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelDescriptor.java	(revision 3340)
@@ -0,0 +1,214 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class LabelDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class LabelDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public LabelDescriptor() {
+        super();
+        xmlName = "label";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _size
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_size", "size", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Label target = (Label) object;
+                if(!target.hasSize())
+                    return null;
+                return new java.lang.Integer(target.getSize());
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Label target = (Label) object;
+                    // ignore null values for non optional primitives
+                    if (value == null) return;
+                    
+                    target.setSize( ((java.lang.Integer)value).intValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _size
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            IntegerValidator typeValidator= new IntegerValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _id
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_id", "id", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Label target = (Label) object;
+                return target.getId();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Label target = (Label) object;
+                    target.setId( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _id
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.plugins.config.generate.LabelDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.Label.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Label.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Label.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Label.java	(revision 3340)
@@ -0,0 +1,181 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Label.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Label implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _size
+     */
+    private int _size;
+
+    /**
+     * keeps track of state for field: _size
+     */
+    private boolean _has_size;
+
+    /**
+     * Field _id
+     */
+    private java.lang.String _id;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Label() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.Label()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method deleteSize
+     */
+    public void deleteSize()
+    {
+        this._has_size= false;
+    } //-- void deleteSize() 
+
+    /**
+     * Returns the value of field 'id'.
+     * 
+     * @return the value of field 'id'.
+     */
+    public java.lang.String getId()
+    {
+        return this._id;
+    } //-- java.lang.String getId() 
+
+    /**
+     * Returns the value of field 'size'.
+     * 
+     * @return the value of field 'size'.
+     */
+    public int getSize()
+    {
+        return this._size;
+    } //-- int getSize() 
+
+    /**
+     * Method hasSize
+     */
+    public boolean hasSize()
+    {
+        return this._has_size;
+    } //-- boolean hasSize() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'id'.
+     * 
+     * @param id the value of field 'id'.
+     */
+    public void setId(java.lang.String id)
+    {
+        this._id = id;
+    } //-- void setId(java.lang.String) 
+
+    /**
+     * Sets the value of field 'size'.
+     * 
+     * @param size the value of field 'size'.
+     */
+    public void setSize(int size)
+    {
+        this._size = size;
+        this._has_size = true;
+    } //-- void setSize(int) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.Label) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.Label.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Label.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ResourceBundleDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ResourceBundleDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ResourceBundleDescriptor.java	(revision 3340)
@@ -0,0 +1,173 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class ResourceBundleDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ResourceBundleDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ResourceBundleDescriptor() {
+        super();
+        xmlName = "resourceBundle";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _name
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_name", "name", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ResourceBundle target = (ResourceBundle) object;
+                return target.getName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ResourceBundle target = (ResourceBundle) object;
+                    target.setName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _name
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.plugins.config.generate.ResourceBundleDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.ResourceBundle.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ResourceBundleDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/DependsDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/DependsDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/DependsDescriptor.java	(revision 3340)
@@ -0,0 +1,175 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class DependsDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class DependsDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public DependsDescriptor() {
+        super();
+        xmlName = "depends";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _pluginName
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_pluginName", "plugin-name", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Depends target = (Depends) object;
+                return target.getPluginName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Depends target = (Depends) object;
+                    target.setPluginName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _pluginName
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.plugins.config.generate.DependsDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.Depends.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/DependsDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ResourceBundle.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ResourceBundle.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ResourceBundle.java	(revision 3340)
@@ -0,0 +1,134 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class ResourceBundle.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ResourceBundle implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _name
+     */
+    private java.lang.String _name;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ResourceBundle() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.ResourceBundle()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'name'.
+     * 
+     * @return the value of field 'name'.
+     */
+    public java.lang.String getName()
+    {
+        return this._name;
+    } //-- java.lang.String getName() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'name'.
+     * 
+     * @param name the value of field 'name'.
+     */
+    public void setName(java.lang.String name)
+    {
+        this._name = name;
+    } //-- void setName(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.ResourceBundle) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.ResourceBundle.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ResourceBundle.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Depends.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Depends.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Depends.java	(revision 3340)
@@ -0,0 +1,134 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Depends.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Depends implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _pluginName
+     */
+    private java.lang.String _pluginName;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Depends() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.Depends()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'pluginName'.
+     * 
+     * @return the value of field 'pluginName'.
+     */
+    public java.lang.String getPluginName()
+    {
+        return this._pluginName;
+    } //-- java.lang.String getPluginName() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'pluginName'.
+     * 
+     * @param pluginName the value of field 'pluginName'.
+     */
+    public void setPluginName(java.lang.String pluginName)
+    {
+        this._pluginName = pluginName;
+    } //-- void setPluginName(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.Depends) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.Depends.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Depends.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenuDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenuDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenuDescriptor.java	(revision 3340)
@@ -0,0 +1,213 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class PopupMenuDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PopupMenuDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PopupMenuDescriptor() {
+        super();
+        xmlName = "popup-menu";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _name
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_name", "name", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PopupMenu target = (PopupMenu) object;
+                return target.getName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PopupMenu target = (PopupMenu) object;
+                    target.setName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _name
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+        //-- _menuList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.Menu.class, "_menuList", "menu", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PopupMenu target = (PopupMenu) object;
+                return target.getMenu();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PopupMenu target = (PopupMenu) object;
+                    target.addMenu( (com.iver.andami.plugins.config.generate.Menu) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.Menu();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _menuList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.plugins.config.generate.PopupMenuDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.PopupMenu.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenuDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenu.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenu.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenu.java	(revision 3340)
@@ -0,0 +1,260 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class PopupMenu.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PopupMenu implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _name
+     */
+    private java.lang.String _name;
+
+    /**
+     * Field _menuList
+     */
+    private java.util.Vector _menuList;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PopupMenu() {
+        super();
+        _menuList = new Vector();
+    } //-- com.iver.andami.plugins.config.generate.PopupMenu()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addMenu
+     * 
+     * @param vMenu
+     */
+    public void addMenu(com.iver.andami.plugins.config.generate.Menu vMenu)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _menuList.addElement(vMenu);
+    } //-- void addMenu(com.iver.andami.plugins.config.generate.Menu) 
+
+    /**
+     * Method addMenu
+     * 
+     * @param index
+     * @param vMenu
+     */
+    public void addMenu(int index, com.iver.andami.plugins.config.generate.Menu vMenu)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _menuList.insertElementAt(vMenu, index);
+    } //-- void addMenu(int, com.iver.andami.plugins.config.generate.Menu) 
+
+    /**
+     * Method enumerateMenu
+     */
+    public java.util.Enumeration enumerateMenu()
+    {
+        return _menuList.elements();
+    } //-- java.util.Enumeration enumerateMenu() 
+
+    /**
+     * Method getMenu
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Menu getMenu(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _menuList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.Menu) _menuList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.Menu getMenu(int) 
+
+    /**
+     * Method getMenu
+     */
+    public com.iver.andami.plugins.config.generate.Menu[] getMenu()
+    {
+        int size = _menuList.size();
+        com.iver.andami.plugins.config.generate.Menu[] mArray = new com.iver.andami.plugins.config.generate.Menu[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.Menu) _menuList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.Menu[] getMenu() 
+
+    /**
+     * Method getMenuCount
+     */
+    public int getMenuCount()
+    {
+        return _menuList.size();
+    } //-- int getMenuCount() 
+
+    /**
+     * Returns the value of field 'name'.
+     * 
+     * @return the value of field 'name'.
+     */
+    public java.lang.String getName()
+    {
+        return this._name;
+    } //-- java.lang.String getName() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllMenu
+     */
+    public void removeAllMenu()
+    {
+        _menuList.removeAllElements();
+    } //-- void removeAllMenu() 
+
+    /**
+     * Method removeMenu
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Menu removeMenu(int index)
+    {
+        java.lang.Object obj = _menuList.elementAt(index);
+        _menuList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.Menu) obj;
+    } //-- com.iver.andami.plugins.config.generate.Menu removeMenu(int) 
+
+    /**
+     * Method setMenu
+     * 
+     * @param index
+     * @param vMenu
+     */
+    public void setMenu(int index, com.iver.andami.plugins.config.generate.Menu vMenu)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _menuList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _menuList.setElementAt(vMenu, index);
+    } //-- void setMenu(int, com.iver.andami.plugins.config.generate.Menu) 
+
+    /**
+     * Method setMenu
+     * 
+     * @param menuArray
+     */
+    public void setMenu(com.iver.andami.plugins.config.generate.Menu[] menuArray)
+    {
+        //-- copy array
+        _menuList.removeAllElements();
+        for (int i = 0; i < menuArray.length; i++) {
+            _menuList.addElement(menuArray[i]);
+        }
+    } //-- void setMenu(com.iver.andami.plugins.config.generate.Menu) 
+
+    /**
+     * Sets the value of field 'name'.
+     * 
+     * @param name the value of field 'name'.
+     */
+    public void setName(java.lang.String name)
+    {
+        this._name = name;
+    } //-- void setName(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.PopupMenu) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.PopupMenu.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenu.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SelectableToolDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SelectableToolDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SelectableToolDescriptor.java	(revision 3340)
@@ -0,0 +1,437 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class SelectableToolDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class SelectableToolDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public SelectableToolDescriptor() {
+        super();
+        xmlName = "selectable-tool";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _text
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_text", "text", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SelectableTool target = (SelectableTool) object;
+                return target.getText();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SelectableTool target = (SelectableTool) object;
+                    target.setText( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _text
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _actionCommand
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_actionCommand", "action-command", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SelectableTool target = (SelectableTool) object;
+                return target.getActionCommand();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SelectableTool target = (SelectableTool) object;
+                    target.setActionCommand( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _actionCommand
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _isDefault
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_isDefault", "is-default", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SelectableTool target = (SelectableTool) object;
+                if(!target.hasIsDefault())
+                    return null;
+                return (target.getIsDefault() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SelectableTool target = (SelectableTool) object;
+                    // if null, use delete method for optional primitives 
+                    if (value == null) {
+                        target.deleteIsDefault();
+                        return;
+                    }
+                    target.setIsDefault( ((java.lang.Boolean)value).booleanValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _isDefault
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            BooleanValidator typeValidator = new BooleanValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _last
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_last", "last", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SelectableTool target = (SelectableTool) object;
+                if(!target.hasLast())
+                    return null;
+                return (target.getLast() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SelectableTool target = (SelectableTool) object;
+                    // if null, use delete method for optional primitives 
+                    if (value == null) {
+                        target.deleteLast();
+                        return;
+                    }
+                    target.setLast( ((java.lang.Boolean)value).booleanValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _last
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            BooleanValidator typeValidator = new BooleanValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _icon
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_icon", "icon", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SelectableTool target = (SelectableTool) object;
+                return target.getIcon();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SelectableTool target = (SelectableTool) object;
+                    target.setIcon( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _icon
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _tooltip
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_tooltip", "tooltip", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SelectableTool target = (SelectableTool) object;
+                return target.getTooltip();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SelectableTool target = (SelectableTool) object;
+                    target.setTooltip( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _tooltip
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _enableText
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_enableText", "enable-text", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SelectableTool target = (SelectableTool) object;
+                return target.getEnableText();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SelectableTool target = (SelectableTool) object;
+                    target.setEnableText( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _enableText
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _group
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_group", "group", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SelectableTool target = (SelectableTool) object;
+                return target.getGroup();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SelectableTool target = (SelectableTool) object;
+                    target.setGroup( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _group
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.plugins.config.generate.SelectableToolDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.SelectableTool.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SelectableToolDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SelectableTool.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SelectableTool.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SelectableTool.java	(revision 3340)
@@ -0,0 +1,354 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class SelectableTool.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class SelectableTool implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _text
+     */
+    private java.lang.String _text;
+
+    /**
+     * Field _actionCommand
+     */
+    private java.lang.String _actionCommand;
+
+    /**
+     * Field _isDefault
+     */
+    private boolean _isDefault;
+
+    /**
+     * keeps track of state for field: _isDefault
+     */
+    private boolean _has_isDefault;
+
+    /**
+     * Field _last
+     */
+    private boolean _last;
+
+    /**
+     * keeps track of state for field: _last
+     */
+    private boolean _has_last;
+
+    /**
+     * Field _icon
+     */
+    private java.lang.String _icon;
+
+    /**
+     * Field _tooltip
+     */
+    private java.lang.String _tooltip;
+
+    /**
+     * Field _enableText
+     */
+    private java.lang.String _enableText;
+
+    /**
+     * Field _group
+     */
+    private java.lang.String _group = "unico";
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public SelectableTool() {
+        super();
+        setGroup("unico");
+    } //-- com.iver.andami.plugins.config.generate.SelectableTool()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method deleteIsDefault
+     */
+    public void deleteIsDefault()
+    {
+        this._has_isDefault= false;
+    } //-- void deleteIsDefault() 
+
+    /**
+     * Method deleteLast
+     */
+    public void deleteLast()
+    {
+        this._has_last= false;
+    } //-- void deleteLast() 
+
+    /**
+     * Returns the value of field 'actionCommand'.
+     * 
+     * @return the value of field 'actionCommand'.
+     */
+    public java.lang.String getActionCommand()
+    {
+        return this._actionCommand;
+    } //-- java.lang.String getActionCommand() 
+
+    /**
+     * Returns the value of field 'enableText'.
+     * 
+     * @return the value of field 'enableText'.
+     */
+    public java.lang.String getEnableText()
+    {
+        return this._enableText;
+    } //-- java.lang.String getEnableText() 
+
+    /**
+     * Returns the value of field 'group'.
+     * 
+     * @return the value of field 'group'.
+     */
+    public java.lang.String getGroup()
+    {
+        return this._group;
+    } //-- java.lang.String getGroup() 
+
+    /**
+     * Returns the value of field 'icon'.
+     * 
+     * @return the value of field 'icon'.
+     */
+    public java.lang.String getIcon()
+    {
+        return this._icon;
+    } //-- java.lang.String getIcon() 
+
+    /**
+     * Returns the value of field 'isDefault'.
+     * 
+     * @return the value of field 'isDefault'.
+     */
+    public boolean getIsDefault()
+    {
+        return this._isDefault;
+    } //-- boolean getIsDefault() 
+
+    /**
+     * Returns the value of field 'last'.
+     * 
+     * @return the value of field 'last'.
+     */
+    public boolean getLast()
+    {
+        return this._last;
+    } //-- boolean getLast() 
+
+    /**
+     * Returns the value of field 'text'.
+     * 
+     * @return the value of field 'text'.
+     */
+    public java.lang.String getText()
+    {
+        return this._text;
+    } //-- java.lang.String getText() 
+
+    /**
+     * Returns the value of field 'tooltip'.
+     * 
+     * @return the value of field 'tooltip'.
+     */
+    public java.lang.String getTooltip()
+    {
+        return this._tooltip;
+    } //-- java.lang.String getTooltip() 
+
+    /**
+     * Method hasIsDefault
+     */
+    public boolean hasIsDefault()
+    {
+        return this._has_isDefault;
+    } //-- boolean hasIsDefault() 
+
+    /**
+     * Method hasLast
+     */
+    public boolean hasLast()
+    {
+        return this._has_last;
+    } //-- boolean hasLast() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'actionCommand'.
+     * 
+     * @param actionCommand the value of field 'actionCommand'.
+     */
+    public void setActionCommand(java.lang.String actionCommand)
+    {
+        this._actionCommand = actionCommand;
+    } //-- void setActionCommand(java.lang.String) 
+
+    /**
+     * Sets the value of field 'enableText'.
+     * 
+     * @param enableText the value of field 'enableText'.
+     */
+    public void setEnableText(java.lang.String enableText)
+    {
+        this._enableText = enableText;
+    } //-- void setEnableText(java.lang.String) 
+
+    /**
+     * Sets the value of field 'group'.
+     * 
+     * @param group the value of field 'group'.
+     */
+    public void setGroup(java.lang.String group)
+    {
+        this._group = group;
+    } //-- void setGroup(java.lang.String) 
+
+    /**
+     * Sets the value of field 'icon'.
+     * 
+     * @param icon the value of field 'icon'.
+     */
+    public void setIcon(java.lang.String icon)
+    {
+        this._icon = icon;
+    } //-- void setIcon(java.lang.String) 
+
+    /**
+     * Sets the value of field 'isDefault'.
+     * 
+     * @param isDefault the value of field 'isDefault'.
+     */
+    public void setIsDefault(boolean isDefault)
+    {
+        this._isDefault = isDefault;
+        this._has_isDefault = true;
+    } //-- void setIsDefault(boolean) 
+
+    /**
+     * Sets the value of field 'last'.
+     * 
+     * @param last the value of field 'last'.
+     */
+    public void setLast(boolean last)
+    {
+        this._last = last;
+        this._has_last = true;
+    } //-- void setLast(boolean) 
+
+    /**
+     * Sets the value of field 'text'.
+     * 
+     * @param text the value of field 'text'.
+     */
+    public void setText(java.lang.String text)
+    {
+        this._text = text;
+    } //-- void setText(java.lang.String) 
+
+    /**
+     * Sets the value of field 'tooltip'.
+     * 
+     * @param tooltip the value of field 'tooltip'.
+     */
+    public void setTooltip(java.lang.String tooltip)
+    {
+        this._tooltip = tooltip;
+    } //-- void setTooltip(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.SelectableTool) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.SelectableTool.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SelectableTool.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionTypeDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionTypeDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionTypeDescriptor.java	(revision 3340)
@@ -0,0 +1,244 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class SkinExtensionTypeDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class SkinExtensionTypeDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public SkinExtensionTypeDescriptor() {
+        super();
+        xmlName = "skin-extension-type";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _className
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_className", "class-name", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SkinExtensionType target = (SkinExtensionType) object;
+                return target.getClassName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SkinExtensionType target = (SkinExtensionType) object;
+                    target.setClassName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _className
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+        //-- _menuList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.Menu.class, "_menuList", "menu", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SkinExtensionType target = (SkinExtensionType) object;
+                return target.getMenu();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SkinExtensionType target = (SkinExtensionType) object;
+                    target.addMenu( (com.iver.andami.plugins.config.generate.Menu) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.Menu();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _menuList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(0);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _toolBarList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.ToolBar.class, "_toolBarList", "tool-bar", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                SkinExtensionType target = (SkinExtensionType) object;
+                return target.getToolBar();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    SkinExtensionType target = (SkinExtensionType) object;
+                    target.addToolBar( (com.iver.andami.plugins.config.generate.ToolBar) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.ToolBar();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _toolBarList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(0);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.plugins.config.generate.SkinExtensionTypeDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.SkinExtensionType.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionTypeDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionType.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionType.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionType.java	(revision 3340)
@@ -0,0 +1,384 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class SkinExtensionType.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class SkinExtensionType implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _className
+     */
+    private java.lang.String _className;
+
+    /**
+     * Field _menuList
+     */
+    private java.util.Vector _menuList;
+
+    /**
+     * Field _toolBarList
+     */
+    private java.util.Vector _toolBarList;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public SkinExtensionType() {
+        super();
+        _menuList = new Vector();
+        _toolBarList = new Vector();
+    } //-- com.iver.andami.plugins.config.generate.SkinExtensionType()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addMenu
+     * 
+     * @param vMenu
+     */
+    public void addMenu(com.iver.andami.plugins.config.generate.Menu vMenu)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _menuList.addElement(vMenu);
+    } //-- void addMenu(com.iver.andami.plugins.config.generate.Menu) 
+
+    /**
+     * Method addMenu
+     * 
+     * @param index
+     * @param vMenu
+     */
+    public void addMenu(int index, com.iver.andami.plugins.config.generate.Menu vMenu)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _menuList.insertElementAt(vMenu, index);
+    } //-- void addMenu(int, com.iver.andami.plugins.config.generate.Menu) 
+
+    /**
+     * Method addToolBar
+     * 
+     * @param vToolBar
+     */
+    public void addToolBar(com.iver.andami.plugins.config.generate.ToolBar vToolBar)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _toolBarList.addElement(vToolBar);
+    } //-- void addToolBar(com.iver.andami.plugins.config.generate.ToolBar) 
+
+    /**
+     * Method addToolBar
+     * 
+     * @param index
+     * @param vToolBar
+     */
+    public void addToolBar(int index, com.iver.andami.plugins.config.generate.ToolBar vToolBar)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _toolBarList.insertElementAt(vToolBar, index);
+    } //-- void addToolBar(int, com.iver.andami.plugins.config.generate.ToolBar) 
+
+    /**
+     * Method enumerateMenu
+     */
+    public java.util.Enumeration enumerateMenu()
+    {
+        return _menuList.elements();
+    } //-- java.util.Enumeration enumerateMenu() 
+
+    /**
+     * Method enumerateToolBar
+     */
+    public java.util.Enumeration enumerateToolBar()
+    {
+        return _toolBarList.elements();
+    } //-- java.util.Enumeration enumerateToolBar() 
+
+    /**
+     * Returns the value of field 'className'.
+     * 
+     * @return the value of field 'className'.
+     */
+    public java.lang.String getClassName()
+    {
+        return this._className;
+    } //-- java.lang.String getClassName() 
+
+    /**
+     * Method getMenu
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Menu getMenu(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _menuList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.Menu) _menuList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.Menu getMenu(int) 
+
+    /**
+     * Method getMenu
+     */
+    public com.iver.andami.plugins.config.generate.Menu[] getMenu()
+    {
+        int size = _menuList.size();
+        com.iver.andami.plugins.config.generate.Menu[] mArray = new com.iver.andami.plugins.config.generate.Menu[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.Menu) _menuList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.Menu[] getMenu() 
+
+    /**
+     * Method getMenuCount
+     */
+    public int getMenuCount()
+    {
+        return _menuList.size();
+    } //-- int getMenuCount() 
+
+    /**
+     * Method getToolBar
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.ToolBar getToolBar(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _toolBarList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.ToolBar) _toolBarList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.ToolBar getToolBar(int) 
+
+    /**
+     * Method getToolBar
+     */
+    public com.iver.andami.plugins.config.generate.ToolBar[] getToolBar()
+    {
+        int size = _toolBarList.size();
+        com.iver.andami.plugins.config.generate.ToolBar[] mArray = new com.iver.andami.plugins.config.generate.ToolBar[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.ToolBar) _toolBarList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.ToolBar[] getToolBar() 
+
+    /**
+     * Method getToolBarCount
+     */
+    public int getToolBarCount()
+    {
+        return _toolBarList.size();
+    } //-- int getToolBarCount() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllMenu
+     */
+    public void removeAllMenu()
+    {
+        _menuList.removeAllElements();
+    } //-- void removeAllMenu() 
+
+    /**
+     * Method removeAllToolBar
+     */
+    public void removeAllToolBar()
+    {
+        _toolBarList.removeAllElements();
+    } //-- void removeAllToolBar() 
+
+    /**
+     * Method removeMenu
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Menu removeMenu(int index)
+    {
+        java.lang.Object obj = _menuList.elementAt(index);
+        _menuList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.Menu) obj;
+    } //-- com.iver.andami.plugins.config.generate.Menu removeMenu(int) 
+
+    /**
+     * Method removeToolBar
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.ToolBar removeToolBar(int index)
+    {
+        java.lang.Object obj = _toolBarList.elementAt(index);
+        _toolBarList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.ToolBar) obj;
+    } //-- com.iver.andami.plugins.config.generate.ToolBar removeToolBar(int) 
+
+    /**
+     * Sets the value of field 'className'.
+     * 
+     * @param className the value of field 'className'.
+     */
+    public void setClassName(java.lang.String className)
+    {
+        this._className = className;
+    } //-- void setClassName(java.lang.String) 
+
+    /**
+     * Method setMenu
+     * 
+     * @param index
+     * @param vMenu
+     */
+    public void setMenu(int index, com.iver.andami.plugins.config.generate.Menu vMenu)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _menuList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _menuList.setElementAt(vMenu, index);
+    } //-- void setMenu(int, com.iver.andami.plugins.config.generate.Menu) 
+
+    /**
+     * Method setMenu
+     * 
+     * @param menuArray
+     */
+    public void setMenu(com.iver.andami.plugins.config.generate.Menu[] menuArray)
+    {
+        //-- copy array
+        _menuList.removeAllElements();
+        for (int i = 0; i < menuArray.length; i++) {
+            _menuList.addElement(menuArray[i]);
+        }
+    } //-- void setMenu(com.iver.andami.plugins.config.generate.Menu) 
+
+    /**
+     * Method setToolBar
+     * 
+     * @param index
+     * @param vToolBar
+     */
+    public void setToolBar(int index, com.iver.andami.plugins.config.generate.ToolBar vToolBar)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _toolBarList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _toolBarList.setElementAt(vToolBar, index);
+    } //-- void setToolBar(int, com.iver.andami.plugins.config.generate.ToolBar) 
+
+    /**
+     * Method setToolBar
+     * 
+     * @param toolBarArray
+     */
+    public void setToolBar(com.iver.andami.plugins.config.generate.ToolBar[] toolBarArray)
+    {
+        //-- copy array
+        _toolBarList.removeAllElements();
+        for (int i = 0; i < toolBarArray.length; i++) {
+            _toolBarList.addElement(toolBarArray[i]);
+        }
+    } //-- void setToolBar(com.iver.andami.plugins.config.generate.ToolBar) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.SkinExtensionType) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.SkinExtensionType.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/SkinExtensionType.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/MenuDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/MenuDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/MenuDescriptor.java	(revision 3340)
@@ -0,0 +1,471 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class MenuDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class MenuDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public MenuDescriptor() {
+        super();
+        xmlName = "menu";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _actionCommand
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_actionCommand", "action-command", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Menu target = (Menu) object;
+                return target.getActionCommand();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Menu target = (Menu) object;
+                    target.setActionCommand( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _actionCommand
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _key
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_key", "key", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Menu target = (Menu) object;
+                return target.getKey();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Menu target = (Menu) object;
+                    target.setKey( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _key
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _icon
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_icon", "icon", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Menu target = (Menu) object;
+                return target.getIcon();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Menu target = (Menu) object;
+                    target.setIcon( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _icon
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _tooltip
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_tooltip", "tooltip", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Menu target = (Menu) object;
+                return target.getTooltip();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Menu target = (Menu) object;
+                    target.setTooltip( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _tooltip
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _enableText
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_enableText", "enable-text", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Menu target = (Menu) object;
+                return target.getEnableText();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Menu target = (Menu) object;
+                    target.setEnableText( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _enableText
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _mnemonic
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_mnemonic", "mnemonic", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Menu target = (Menu) object;
+                return target.getMnemonic();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Menu target = (Menu) object;
+                    target.setMnemonic( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _mnemonic
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _text
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_text", "text", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Menu target = (Menu) object;
+                return target.getText();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Menu target = (Menu) object;
+                    target.setText( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _text
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _position
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_position", "position", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Menu target = (Menu) object;
+                if(!target.hasPosition())
+                    return null;
+                return new java.lang.Integer(target.getPosition());
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Menu target = (Menu) object;
+                    // if null, use delete method for optional primitives 
+                    if (value == null) {
+                        target.deletePosition();
+                        return;
+                    }
+                    target.setPosition( ((java.lang.Integer)value).intValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _position
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            IntegerValidator typeValidator= new IntegerValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _is_separator
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_is_separator", "is_separator", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Menu target = (Menu) object;
+                if(!target.hasIs_separator())
+                    return null;
+                return (target.getIs_separator() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Menu target = (Menu) object;
+                    // if null, use delete method for optional primitives 
+                    if (value == null) {
+                        target.deleteIs_separator();
+                        return;
+                    }
+                    target.setIs_separator( ((java.lang.Boolean)value).booleanValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _is_separator
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            BooleanValidator typeValidator = new BooleanValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.plugins.config.generate.MenuDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.Menu.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/MenuDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Menu.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Menu.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Menu.java	(revision 3340)
@@ -0,0 +1,378 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Menu.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Menu implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _actionCommand
+     */
+    private java.lang.String _actionCommand;
+
+    /**
+     * Field _key
+     */
+    private java.lang.String _key;
+
+    /**
+     * Field _icon
+     */
+    private java.lang.String _icon;
+
+    /**
+     * Field _tooltip
+     */
+    private java.lang.String _tooltip;
+
+    /**
+     * Field _enableText
+     */
+    private java.lang.String _enableText;
+
+    /**
+     * Field _mnemonic
+     */
+    private java.lang.String _mnemonic;
+
+    /**
+     * Field _text
+     */
+    private java.lang.String _text;
+
+    /**
+     * Field _position
+     */
+    private int _position;
+
+    /**
+     * keeps track of state for field: _position
+     */
+    private boolean _has_position;
+
+    /**
+     * Field _is_separator
+     */
+    private boolean _is_separator;
+
+    /**
+     * keeps track of state for field: _is_separator
+     */
+    private boolean _has_is_separator;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Menu() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.Menu()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method deleteIs_separator
+     */
+    public void deleteIs_separator()
+    {
+        this._has_is_separator= false;
+    } //-- void deleteIs_separator() 
+
+    /**
+     * Method deletePosition
+     */
+    public void deletePosition()
+    {
+        this._has_position= false;
+    } //-- void deletePosition() 
+
+    /**
+     * Returns the value of field 'actionCommand'.
+     * 
+     * @return the value of field 'actionCommand'.
+     */
+    public java.lang.String getActionCommand()
+    {
+        return this._actionCommand;
+    } //-- java.lang.String getActionCommand() 
+
+    /**
+     * Returns the value of field 'enableText'.
+     * 
+     * @return the value of field 'enableText'.
+     */
+    public java.lang.String getEnableText()
+    {
+        return this._enableText;
+    } //-- java.lang.String getEnableText() 
+
+    /**
+     * Returns the value of field 'icon'.
+     * 
+     * @return the value of field 'icon'.
+     */
+    public java.lang.String getIcon()
+    {
+        return this._icon;
+    } //-- java.lang.String getIcon() 
+
+    /**
+     * Returns the value of field 'is_separator'.
+     * 
+     * @return the value of field 'is_separator'.
+     */
+    public boolean getIs_separator()
+    {
+        return this._is_separator;
+    } //-- boolean getIs_separator() 
+
+    /**
+     * Returns the value of field 'key'.
+     * 
+     * @return the value of field 'key'.
+     */
+    public java.lang.String getKey()
+    {
+        return this._key;
+    } //-- java.lang.String getKey() 
+
+    /**
+     * Returns the value of field 'mnemonic'.
+     * 
+     * @return the value of field 'mnemonic'.
+     */
+    public java.lang.String getMnemonic()
+    {
+        return this._mnemonic;
+    } //-- java.lang.String getMnemonic() 
+
+    /**
+     * Returns the value of field 'position'.
+     * 
+     * @return the value of field 'position'.
+     */
+    public int getPosition()
+    {
+        return this._position;
+    } //-- int getPosition() 
+
+    /**
+     * Returns the value of field 'text'.
+     * 
+     * @return the value of field 'text'.
+     */
+    public java.lang.String getText()
+    {
+        return this._text;
+    } //-- java.lang.String getText() 
+
+    /**
+     * Returns the value of field 'tooltip'.
+     * 
+     * @return the value of field 'tooltip'.
+     */
+    public java.lang.String getTooltip()
+    {
+        return this._tooltip;
+    } //-- java.lang.String getTooltip() 
+
+    /**
+     * Method hasIs_separator
+     */
+    public boolean hasIs_separator()
+    {
+        return this._has_is_separator;
+    } //-- boolean hasIs_separator() 
+
+    /**
+     * Method hasPosition
+     */
+    public boolean hasPosition()
+    {
+        return this._has_position;
+    } //-- boolean hasPosition() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'actionCommand'.
+     * 
+     * @param actionCommand the value of field 'actionCommand'.
+     */
+    public void setActionCommand(java.lang.String actionCommand)
+    {
+        this._actionCommand = actionCommand;
+    } //-- void setActionCommand(java.lang.String) 
+
+    /**
+     * Sets the value of field 'enableText'.
+     * 
+     * @param enableText the value of field 'enableText'.
+     */
+    public void setEnableText(java.lang.String enableText)
+    {
+        this._enableText = enableText;
+    } //-- void setEnableText(java.lang.String) 
+
+    /**
+     * Sets the value of field 'icon'.
+     * 
+     * @param icon the value of field 'icon'.
+     */
+    public void setIcon(java.lang.String icon)
+    {
+        this._icon = icon;
+    } //-- void setIcon(java.lang.String) 
+
+    /**
+     * Sets the value of field 'is_separator'.
+     * 
+     * @param is_separator the value of field 'is_separator'.
+     */
+    public void setIs_separator(boolean is_separator)
+    {
+        this._is_separator = is_separator;
+        this._has_is_separator = true;
+    } //-- void setIs_separator(boolean) 
+
+    /**
+     * Sets the value of field 'key'.
+     * 
+     * @param key the value of field 'key'.
+     */
+    public void setKey(java.lang.String key)
+    {
+        this._key = key;
+    } //-- void setKey(java.lang.String) 
+
+    /**
+     * Sets the value of field 'mnemonic'.
+     * 
+     * @param mnemonic the value of field 'mnemonic'.
+     */
+    public void setMnemonic(java.lang.String mnemonic)
+    {
+        this._mnemonic = mnemonic;
+    } //-- void setMnemonic(java.lang.String) 
+
+    /**
+     * Sets the value of field 'position'.
+     * 
+     * @param position the value of field 'position'.
+     */
+    public void setPosition(int position)
+    {
+        this._position = position;
+        this._has_position = true;
+    } //-- void setPosition(int) 
+
+    /**
+     * Sets the value of field 'text'.
+     * 
+     * @param text the value of field 'text'.
+     */
+    public void setText(java.lang.String text)
+    {
+        this._text = text;
+    } //-- void setText(java.lang.String) 
+
+    /**
+     * Sets the value of field 'tooltip'.
+     * 
+     * @param tooltip the value of field 'tooltip'.
+     */
+    public void setTooltip(java.lang.String tooltip)
+    {
+        this._tooltip = tooltip;
+    } //-- void setTooltip(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.Menu) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.Menu.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Menu.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenusDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenusDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenusDescriptor.java	(revision 3340)
@@ -0,0 +1,175 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class PopupMenusDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PopupMenusDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PopupMenusDescriptor() {
+        super();
+        xmlName = "popup-menus";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- initialize element descriptors
+        
+        //-- _popupMenuList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.PopupMenu.class, "_popupMenuList", "popup-menu", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PopupMenus target = (PopupMenus) object;
+                return target.getPopupMenu();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PopupMenus target = (PopupMenus) object;
+                    target.addPopupMenu( (com.iver.andami.plugins.config.generate.PopupMenu) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.PopupMenu();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _popupMenuList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.plugins.config.generate.PopupMenusDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.PopupMenus.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenusDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ActionToolDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ActionToolDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ActionToolDescriptor.java	(revision 3340)
@@ -0,0 +1,360 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class ActionToolDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ActionToolDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ActionToolDescriptor() {
+        super();
+        xmlName = "action-tool";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _text
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_text", "text", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ActionTool target = (ActionTool) object;
+                return target.getText();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ActionTool target = (ActionTool) object;
+                    target.setText( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _text
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _actionCommand
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_actionCommand", "action-command", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ActionTool target = (ActionTool) object;
+                return target.getActionCommand();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ActionTool target = (ActionTool) object;
+                    target.setActionCommand( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _actionCommand
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _icon
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_icon", "icon", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ActionTool target = (ActionTool) object;
+                return target.getIcon();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ActionTool target = (ActionTool) object;
+                    target.setIcon( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _icon
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _last
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_last", "last", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ActionTool target = (ActionTool) object;
+                if(!target.hasLast())
+                    return null;
+                return (target.getLast() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ActionTool target = (ActionTool) object;
+                    // if null, use delete method for optional primitives 
+                    if (value == null) {
+                        target.deleteLast();
+                        return;
+                    }
+                    target.setLast( ((java.lang.Boolean)value).booleanValue());
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _last
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            BooleanValidator typeValidator = new BooleanValidator();
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _tooltip
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_tooltip", "tooltip", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ActionTool target = (ActionTool) object;
+                return target.getTooltip();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ActionTool target = (ActionTool) object;
+                    target.setTooltip( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _tooltip
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _enableText
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_enableText", "enable-text", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ActionTool target = (ActionTool) object;
+                return target.getEnableText();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ActionTool target = (ActionTool) object;
+                    target.setEnableText( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _enableText
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.plugins.config.generate.ActionToolDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.ActionTool.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ActionToolDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionDescriptor.java	(revision 3340)
@@ -0,0 +1,133 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class ExtensionDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ExtensionDescriptor extends ExtensionTypeDescriptor {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ExtensionDescriptor() {
+        super();
+        setExtendsWithoutFlatten(new ExtensionTypeDescriptor());
+        xmlName = "extension";
+    } //-- com.iver.andami.plugins.config.generate.ExtensionDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return super.getExtends();
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        if (identity == null)
+            return super.getIdentity();
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.Extension.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LibrariesDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LibrariesDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LibrariesDescriptor.java	(revision 3340)
@@ -0,0 +1,175 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class LibrariesDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class LibrariesDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public LibrariesDescriptor() {
+        super();
+        xmlName = "libraries";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _libraryDir
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_libraryDir", "library-dir", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Libraries target = (Libraries) object;
+                return target.getLibraryDir();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Libraries target = (Libraries) object;
+                    target.setLibraryDir( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _libraryDir
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.plugins.config.generate.LibrariesDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.Libraries.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LibrariesDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenus.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenus.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenus.java	(revision 3340)
@@ -0,0 +1,235 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class PopupMenus.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PopupMenus implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _popupMenuList
+     */
+    private java.util.Vector _popupMenuList;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PopupMenus() {
+        super();
+        _popupMenuList = new Vector();
+    } //-- com.iver.andami.plugins.config.generate.PopupMenus()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addPopupMenu
+     * 
+     * @param vPopupMenu
+     */
+    public void addPopupMenu(com.iver.andami.plugins.config.generate.PopupMenu vPopupMenu)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _popupMenuList.addElement(vPopupMenu);
+    } //-- void addPopupMenu(com.iver.andami.plugins.config.generate.PopupMenu) 
+
+    /**
+     * Method addPopupMenu
+     * 
+     * @param index
+     * @param vPopupMenu
+     */
+    public void addPopupMenu(int index, com.iver.andami.plugins.config.generate.PopupMenu vPopupMenu)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _popupMenuList.insertElementAt(vPopupMenu, index);
+    } //-- void addPopupMenu(int, com.iver.andami.plugins.config.generate.PopupMenu) 
+
+    /**
+     * Method enumeratePopupMenu
+     */
+    public java.util.Enumeration enumeratePopupMenu()
+    {
+        return _popupMenuList.elements();
+    } //-- java.util.Enumeration enumeratePopupMenu() 
+
+    /**
+     * Method getPopupMenu
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.PopupMenu getPopupMenu(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _popupMenuList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.PopupMenu) _popupMenuList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.PopupMenu getPopupMenu(int) 
+
+    /**
+     * Method getPopupMenu
+     */
+    public com.iver.andami.plugins.config.generate.PopupMenu[] getPopupMenu()
+    {
+        int size = _popupMenuList.size();
+        com.iver.andami.plugins.config.generate.PopupMenu[] mArray = new com.iver.andami.plugins.config.generate.PopupMenu[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.PopupMenu) _popupMenuList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.PopupMenu[] getPopupMenu() 
+
+    /**
+     * Method getPopupMenuCount
+     */
+    public int getPopupMenuCount()
+    {
+        return _popupMenuList.size();
+    } //-- int getPopupMenuCount() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllPopupMenu
+     */
+    public void removeAllPopupMenu()
+    {
+        _popupMenuList.removeAllElements();
+    } //-- void removeAllPopupMenu() 
+
+    /**
+     * Method removePopupMenu
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.PopupMenu removePopupMenu(int index)
+    {
+        java.lang.Object obj = _popupMenuList.elementAt(index);
+        _popupMenuList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.PopupMenu) obj;
+    } //-- com.iver.andami.plugins.config.generate.PopupMenu removePopupMenu(int) 
+
+    /**
+     * Method setPopupMenu
+     * 
+     * @param index
+     * @param vPopupMenu
+     */
+    public void setPopupMenu(int index, com.iver.andami.plugins.config.generate.PopupMenu vPopupMenu)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _popupMenuList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _popupMenuList.setElementAt(vPopupMenu, index);
+    } //-- void setPopupMenu(int, com.iver.andami.plugins.config.generate.PopupMenu) 
+
+    /**
+     * Method setPopupMenu
+     * 
+     * @param popupMenuArray
+     */
+    public void setPopupMenu(com.iver.andami.plugins.config.generate.PopupMenu[] popupMenuArray)
+    {
+        //-- copy array
+        _popupMenuList.removeAllElements();
+        for (int i = 0; i < popupMenuArray.length; i++) {
+            _popupMenuList.addElement(popupMenuArray[i]);
+        }
+    } //-- void setPopupMenu(com.iver.andami.plugins.config.generate.PopupMenu) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.PopupMenus) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.PopupMenus.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PopupMenus.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ActionTool.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ActionTool.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ActionTool.java	(revision 3340)
@@ -0,0 +1,281 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class ActionTool.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ActionTool implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _text
+     */
+    private java.lang.String _text;
+
+    /**
+     * Field _actionCommand
+     */
+    private java.lang.String _actionCommand;
+
+    /**
+     * Field _icon
+     */
+    private java.lang.String _icon;
+
+    /**
+     * Field _last
+     */
+    private boolean _last;
+
+    /**
+     * keeps track of state for field: _last
+     */
+    private boolean _has_last;
+
+    /**
+     * Field _tooltip
+     */
+    private java.lang.String _tooltip;
+
+    /**
+     * Field _enableText
+     */
+    private java.lang.String _enableText;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ActionTool() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.ActionTool()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method deleteLast
+     */
+    public void deleteLast()
+    {
+        this._has_last= false;
+    } //-- void deleteLast() 
+
+    /**
+     * Returns the value of field 'actionCommand'.
+     * 
+     * @return the value of field 'actionCommand'.
+     */
+    public java.lang.String getActionCommand()
+    {
+        return this._actionCommand;
+    } //-- java.lang.String getActionCommand() 
+
+    /**
+     * Returns the value of field 'enableText'.
+     * 
+     * @return the value of field 'enableText'.
+     */
+    public java.lang.String getEnableText()
+    {
+        return this._enableText;
+    } //-- java.lang.String getEnableText() 
+
+    /**
+     * Returns the value of field 'icon'.
+     * 
+     * @return the value of field 'icon'.
+     */
+    public java.lang.String getIcon()
+    {
+        return this._icon;
+    } //-- java.lang.String getIcon() 
+
+    /**
+     * Returns the value of field 'last'.
+     * 
+     * @return the value of field 'last'.
+     */
+    public boolean getLast()
+    {
+        return this._last;
+    } //-- boolean getLast() 
+
+    /**
+     * Returns the value of field 'text'.
+     * 
+     * @return the value of field 'text'.
+     */
+    public java.lang.String getText()
+    {
+        return this._text;
+    } //-- java.lang.String getText() 
+
+    /**
+     * Returns the value of field 'tooltip'.
+     * 
+     * @return the value of field 'tooltip'.
+     */
+    public java.lang.String getTooltip()
+    {
+        return this._tooltip;
+    } //-- java.lang.String getTooltip() 
+
+    /**
+     * Method hasLast
+     */
+    public boolean hasLast()
+    {
+        return this._has_last;
+    } //-- boolean hasLast() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'actionCommand'.
+     * 
+     * @param actionCommand the value of field 'actionCommand'.
+     */
+    public void setActionCommand(java.lang.String actionCommand)
+    {
+        this._actionCommand = actionCommand;
+    } //-- void setActionCommand(java.lang.String) 
+
+    /**
+     * Sets the value of field 'enableText'.
+     * 
+     * @param enableText the value of field 'enableText'.
+     */
+    public void setEnableText(java.lang.String enableText)
+    {
+        this._enableText = enableText;
+    } //-- void setEnableText(java.lang.String) 
+
+    /**
+     * Sets the value of field 'icon'.
+     * 
+     * @param icon the value of field 'icon'.
+     */
+    public void setIcon(java.lang.String icon)
+    {
+        this._icon = icon;
+    } //-- void setIcon(java.lang.String) 
+
+    /**
+     * Sets the value of field 'last'.
+     * 
+     * @param last the value of field 'last'.
+     */
+    public void setLast(boolean last)
+    {
+        this._last = last;
+        this._has_last = true;
+    } //-- void setLast(boolean) 
+
+    /**
+     * Sets the value of field 'text'.
+     * 
+     * @param text the value of field 'text'.
+     */
+    public void setText(java.lang.String text)
+    {
+        this._text = text;
+    } //-- void setText(java.lang.String) 
+
+    /**
+     * Sets the value of field 'tooltip'.
+     * 
+     * @param tooltip the value of field 'tooltip'.
+     */
+    public void setTooltip(java.lang.String tooltip)
+    {
+        this._tooltip = tooltip;
+    } //-- void setTooltip(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.ActionTool) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.ActionTool.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ActionTool.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Libraries.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Libraries.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Libraries.java	(revision 3340)
@@ -0,0 +1,134 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Libraries.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Libraries implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _libraryDir
+     */
+    private java.lang.String _libraryDir;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Libraries() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.Libraries()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'libraryDir'.
+     * 
+     * @return the value of field 'libraryDir'.
+     */
+    public java.lang.String getLibraryDir()
+    {
+        return this._libraryDir;
+    } //-- java.lang.String getLibraryDir() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'libraryDir'.
+     * 
+     * @param libraryDir the value of field 'libraryDir'.
+     */
+    public void setLibraryDir(java.lang.String libraryDir)
+    {
+        this._libraryDir = libraryDir;
+    } //-- void setLibraryDir(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.Libraries) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.Libraries.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Libraries.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Extension.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Extension.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Extension.java	(revision 3340)
@@ -0,0 +1,106 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Extension.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Extension extends ExtensionType 
+implements java.io.Serializable
+{
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Extension() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.Extension()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.Extension) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.Extension.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Extension.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PluginConfigDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PluginConfigDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PluginConfigDescriptor.java	(revision 3340)
@@ -0,0 +1,413 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class PluginConfigDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PluginConfigDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PluginConfigDescriptor() {
+        super();
+        xmlName = "plugin-config";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _updateUrl
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_updateUrl", "update-url", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginConfig target = (PluginConfig) object;
+                return target.getUpdateUrl();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginConfig target = (PluginConfig) object;
+                    target.setUpdateUrl( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _updateUrl
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+        //-- _icon
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.Icon.class, "_icon", "icon", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginConfig target = (PluginConfig) object;
+                return target.getIcon();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginConfig target = (PluginConfig) object;
+                    target.setIcon( (com.iver.andami.plugins.config.generate.Icon) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.Icon();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _icon
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _dependsList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.Depends.class, "_dependsList", "depends", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginConfig target = (PluginConfig) object;
+                return target.getDepends();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginConfig target = (PluginConfig) object;
+                    target.addDepends( (com.iver.andami.plugins.config.generate.Depends) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.Depends();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _dependsList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(0);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _resourceBundle
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.ResourceBundle.class, "_resourceBundle", "resourceBundle", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginConfig target = (PluginConfig) object;
+                return target.getResourceBundle();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginConfig target = (PluginConfig) object;
+                    target.setResourceBundle( (com.iver.andami.plugins.config.generate.ResourceBundle) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.ResourceBundle();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _resourceBundle
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _labelSetList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.LabelSet.class, "_labelSetList", "label-set", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginConfig target = (PluginConfig) object;
+                return target.getLabelSet();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginConfig target = (PluginConfig) object;
+                    target.addLabelSet( (com.iver.andami.plugins.config.generate.LabelSet) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.LabelSet();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _labelSetList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(0);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _libraries
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.Libraries.class, "_libraries", "libraries", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginConfig target = (PluginConfig) object;
+                return target.getLibraries();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginConfig target = (PluginConfig) object;
+                    target.setLibraries( (com.iver.andami.plugins.config.generate.Libraries) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.Libraries();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _libraries
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _popupMenus
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.PopupMenus.class, "_popupMenus", "popup-menus", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginConfig target = (PluginConfig) object;
+                return target.getPopupMenus();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginConfig target = (PluginConfig) object;
+                    target.setPopupMenus( (com.iver.andami.plugins.config.generate.PopupMenus) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.PopupMenus();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _popupMenus
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _extensions
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.Extensions.class, "_extensions", "extensions", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginConfig target = (PluginConfig) object;
+                return target.getExtensions();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginConfig target = (PluginConfig) object;
+                    target.setExtensions( (com.iver.andami.plugins.config.generate.Extensions) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.Extensions();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _extensions
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.plugins.config.generate.PluginConfigDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.PluginConfig.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PluginConfigDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PluginConfig.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PluginConfig.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PluginConfig.java	(revision 3340)
@@ -0,0 +1,509 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class PluginConfig.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PluginConfig implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _updateUrl
+     */
+    private java.lang.String _updateUrl;
+
+    /**
+     * Field _icon
+     */
+    private com.iver.andami.plugins.config.generate.Icon _icon;
+
+    /**
+     * Field _dependsList
+     */
+    private java.util.Vector _dependsList;
+
+    /**
+     * Field _resourceBundle
+     */
+    private com.iver.andami.plugins.config.generate.ResourceBundle _resourceBundle;
+
+    /**
+     * Field _labelSetList
+     */
+    private java.util.Vector _labelSetList;
+
+    /**
+     * Field _libraries
+     */
+    private com.iver.andami.plugins.config.generate.Libraries _libraries;
+
+    /**
+     * Field _popupMenus
+     */
+    private com.iver.andami.plugins.config.generate.PopupMenus _popupMenus;
+
+    /**
+     * Field _extensions
+     */
+    private com.iver.andami.plugins.config.generate.Extensions _extensions;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PluginConfig() {
+        super();
+        _dependsList = new Vector();
+        _labelSetList = new Vector();
+    } //-- com.iver.andami.plugins.config.generate.PluginConfig()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addDepends
+     * 
+     * @param vDepends
+     */
+    public void addDepends(com.iver.andami.plugins.config.generate.Depends vDepends)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _dependsList.addElement(vDepends);
+    } //-- void addDepends(com.iver.andami.plugins.config.generate.Depends) 
+
+    /**
+     * Method addDepends
+     * 
+     * @param index
+     * @param vDepends
+     */
+    public void addDepends(int index, com.iver.andami.plugins.config.generate.Depends vDepends)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _dependsList.insertElementAt(vDepends, index);
+    } //-- void addDepends(int, com.iver.andami.plugins.config.generate.Depends) 
+
+    /**
+     * Method addLabelSet
+     * 
+     * @param vLabelSet
+     */
+    public void addLabelSet(com.iver.andami.plugins.config.generate.LabelSet vLabelSet)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _labelSetList.addElement(vLabelSet);
+    } //-- void addLabelSet(com.iver.andami.plugins.config.generate.LabelSet) 
+
+    /**
+     * Method addLabelSet
+     * 
+     * @param index
+     * @param vLabelSet
+     */
+    public void addLabelSet(int index, com.iver.andami.plugins.config.generate.LabelSet vLabelSet)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _labelSetList.insertElementAt(vLabelSet, index);
+    } //-- void addLabelSet(int, com.iver.andami.plugins.config.generate.LabelSet) 
+
+    /**
+     * Method enumerateDepends
+     */
+    public java.util.Enumeration enumerateDepends()
+    {
+        return _dependsList.elements();
+    } //-- java.util.Enumeration enumerateDepends() 
+
+    /**
+     * Method enumerateLabelSet
+     */
+    public java.util.Enumeration enumerateLabelSet()
+    {
+        return _labelSetList.elements();
+    } //-- java.util.Enumeration enumerateLabelSet() 
+
+    /**
+     * Method getDepends
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Depends getDepends(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _dependsList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.Depends) _dependsList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.Depends getDepends(int) 
+
+    /**
+     * Method getDepends
+     */
+    public com.iver.andami.plugins.config.generate.Depends[] getDepends()
+    {
+        int size = _dependsList.size();
+        com.iver.andami.plugins.config.generate.Depends[] mArray = new com.iver.andami.plugins.config.generate.Depends[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.Depends) _dependsList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.Depends[] getDepends() 
+
+    /**
+     * Method getDependsCount
+     */
+    public int getDependsCount()
+    {
+        return _dependsList.size();
+    } //-- int getDependsCount() 
+
+    /**
+     * Returns the value of field 'extensions'.
+     * 
+     * @return the value of field 'extensions'.
+     */
+    public com.iver.andami.plugins.config.generate.Extensions getExtensions()
+    {
+        return this._extensions;
+    } //-- com.iver.andami.plugins.config.generate.Extensions getExtensions() 
+
+    /**
+     * Returns the value of field 'icon'.
+     * 
+     * @return the value of field 'icon'.
+     */
+    public com.iver.andami.plugins.config.generate.Icon getIcon()
+    {
+        return this._icon;
+    } //-- com.iver.andami.plugins.config.generate.Icon getIcon() 
+
+    /**
+     * Method getLabelSet
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.LabelSet getLabelSet(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _labelSetList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.LabelSet) _labelSetList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.LabelSet getLabelSet(int) 
+
+    /**
+     * Method getLabelSet
+     */
+    public com.iver.andami.plugins.config.generate.LabelSet[] getLabelSet()
+    {
+        int size = _labelSetList.size();
+        com.iver.andami.plugins.config.generate.LabelSet[] mArray = new com.iver.andami.plugins.config.generate.LabelSet[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.LabelSet) _labelSetList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.LabelSet[] getLabelSet() 
+
+    /**
+     * Method getLabelSetCount
+     */
+    public int getLabelSetCount()
+    {
+        return _labelSetList.size();
+    } //-- int getLabelSetCount() 
+
+    /**
+     * Returns the value of field 'libraries'.
+     * 
+     * @return the value of field 'libraries'.
+     */
+    public com.iver.andami.plugins.config.generate.Libraries getLibraries()
+    {
+        return this._libraries;
+    } //-- com.iver.andami.plugins.config.generate.Libraries getLibraries() 
+
+    /**
+     * Returns the value of field 'popupMenus'.
+     * 
+     * @return the value of field 'popupMenus'.
+     */
+    public com.iver.andami.plugins.config.generate.PopupMenus getPopupMenus()
+    {
+        return this._popupMenus;
+    } //-- com.iver.andami.plugins.config.generate.PopupMenus getPopupMenus() 
+
+    /**
+     * Returns the value of field 'resourceBundle'.
+     * 
+     * @return the value of field 'resourceBundle'.
+     */
+    public com.iver.andami.plugins.config.generate.ResourceBundle getResourceBundle()
+    {
+        return this._resourceBundle;
+    } //-- com.iver.andami.plugins.config.generate.ResourceBundle getResourceBundle() 
+
+    /**
+     * Returns the value of field 'updateUrl'.
+     * 
+     * @return the value of field 'updateUrl'.
+     */
+    public java.lang.String getUpdateUrl()
+    {
+        return this._updateUrl;
+    } //-- java.lang.String getUpdateUrl() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllDepends
+     */
+    public void removeAllDepends()
+    {
+        _dependsList.removeAllElements();
+    } //-- void removeAllDepends() 
+
+    /**
+     * Method removeAllLabelSet
+     */
+    public void removeAllLabelSet()
+    {
+        _labelSetList.removeAllElements();
+    } //-- void removeAllLabelSet() 
+
+    /**
+     * Method removeDepends
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Depends removeDepends(int index)
+    {
+        java.lang.Object obj = _dependsList.elementAt(index);
+        _dependsList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.Depends) obj;
+    } //-- com.iver.andami.plugins.config.generate.Depends removeDepends(int) 
+
+    /**
+     * Method removeLabelSet
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.LabelSet removeLabelSet(int index)
+    {
+        java.lang.Object obj = _labelSetList.elementAt(index);
+        _labelSetList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.LabelSet) obj;
+    } //-- com.iver.andami.plugins.config.generate.LabelSet removeLabelSet(int) 
+
+    /**
+     * Method setDepends
+     * 
+     * @param index
+     * @param vDepends
+     */
+    public void setDepends(int index, com.iver.andami.plugins.config.generate.Depends vDepends)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _dependsList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _dependsList.setElementAt(vDepends, index);
+    } //-- void setDepends(int, com.iver.andami.plugins.config.generate.Depends) 
+
+    /**
+     * Method setDepends
+     * 
+     * @param dependsArray
+     */
+    public void setDepends(com.iver.andami.plugins.config.generate.Depends[] dependsArray)
+    {
+        //-- copy array
+        _dependsList.removeAllElements();
+        for (int i = 0; i < dependsArray.length; i++) {
+            _dependsList.addElement(dependsArray[i]);
+        }
+    } //-- void setDepends(com.iver.andami.plugins.config.generate.Depends) 
+
+    /**
+     * Sets the value of field 'extensions'.
+     * 
+     * @param extensions the value of field 'extensions'.
+     */
+    public void setExtensions(com.iver.andami.plugins.config.generate.Extensions extensions)
+    {
+        this._extensions = extensions;
+    } //-- void setExtensions(com.iver.andami.plugins.config.generate.Extensions) 
+
+    /**
+     * Sets the value of field 'icon'.
+     * 
+     * @param icon the value of field 'icon'.
+     */
+    public void setIcon(com.iver.andami.plugins.config.generate.Icon icon)
+    {
+        this._icon = icon;
+    } //-- void setIcon(com.iver.andami.plugins.config.generate.Icon) 
+
+    /**
+     * Method setLabelSet
+     * 
+     * @param index
+     * @param vLabelSet
+     */
+    public void setLabelSet(int index, com.iver.andami.plugins.config.generate.LabelSet vLabelSet)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _labelSetList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _labelSetList.setElementAt(vLabelSet, index);
+    } //-- void setLabelSet(int, com.iver.andami.plugins.config.generate.LabelSet) 
+
+    /**
+     * Method setLabelSet
+     * 
+     * @param labelSetArray
+     */
+    public void setLabelSet(com.iver.andami.plugins.config.generate.LabelSet[] labelSetArray)
+    {
+        //-- copy array
+        _labelSetList.removeAllElements();
+        for (int i = 0; i < labelSetArray.length; i++) {
+            _labelSetList.addElement(labelSetArray[i]);
+        }
+    } //-- void setLabelSet(com.iver.andami.plugins.config.generate.LabelSet) 
+
+    /**
+     * Sets the value of field 'libraries'.
+     * 
+     * @param libraries the value of field 'libraries'.
+     */
+    public void setLibraries(com.iver.andami.plugins.config.generate.Libraries libraries)
+    {
+        this._libraries = libraries;
+    } //-- void setLibraries(com.iver.andami.plugins.config.generate.Libraries) 
+
+    /**
+     * Sets the value of field 'popupMenus'.
+     * 
+     * @param popupMenus the value of field 'popupMenus'.
+     */
+    public void setPopupMenus(com.iver.andami.plugins.config.generate.PopupMenus popupMenus)
+    {
+        this._popupMenus = popupMenus;
+    } //-- void setPopupMenus(com.iver.andami.plugins.config.generate.PopupMenus) 
+
+    /**
+     * Sets the value of field 'resourceBundle'.
+     * 
+     * @param resourceBundle the value of field 'resourceBundle'.
+     */
+    public void setResourceBundle(com.iver.andami.plugins.config.generate.ResourceBundle resourceBundle)
+    {
+        this._resourceBundle = resourceBundle;
+    } //-- void setResourceBundle(com.iver.andami.plugins.config.generate.ResourceBundle) 
+
+    /**
+     * Sets the value of field 'updateUrl'.
+     * 
+     * @param updateUrl the value of field 'updateUrl'.
+     */
+    public void setUpdateUrl(java.lang.String updateUrl)
+    {
+        this._updateUrl = updateUrl;
+    } //-- void setUpdateUrl(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.PluginConfig) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.PluginConfig.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/PluginConfig.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/IconDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/IconDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/IconDescriptor.java	(revision 3340)
@@ -0,0 +1,213 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class IconDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class IconDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public IconDescriptor() {
+        super();
+        xmlName = "icon";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _text
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_text", "text", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Icon target = (Icon) object;
+                return target.getText();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Icon target = (Icon) object;
+                    target.setText( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _text
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _src
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_src", "src", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Icon target = (Icon) object;
+                return target.getSrc();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Icon target = (Icon) object;
+                    target.setSrc( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _src
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.plugins.config.generate.IconDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.Icon.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/IconDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Icon.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Icon.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Icon.java	(revision 3340)
@@ -0,0 +1,159 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Icon.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Icon implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _text
+     */
+    private java.lang.String _text;
+
+    /**
+     * Field _src
+     */
+    private java.lang.String _src;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Icon() {
+        super();
+    } //-- com.iver.andami.plugins.config.generate.Icon()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'src'.
+     * 
+     * @return the value of field 'src'.
+     */
+    public java.lang.String getSrc()
+    {
+        return this._src;
+    } //-- java.lang.String getSrc() 
+
+    /**
+     * Returns the value of field 'text'.
+     * 
+     * @return the value of field 'text'.
+     */
+    public java.lang.String getText()
+    {
+        return this._text;
+    } //-- java.lang.String getText() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'src'.
+     * 
+     * @param src the value of field 'src'.
+     */
+    public void setSrc(java.lang.String src)
+    {
+        this._src = src;
+    } //-- void setSrc(java.lang.String) 
+
+    /**
+     * Sets the value of field 'text'.
+     * 
+     * @param text the value of field 'text'.
+     */
+    public void setText(java.lang.String text)
+    {
+        this._text = text;
+    } //-- void setText(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.Icon) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.Icon.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Icon.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelSetDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelSetDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelSetDescriptor.java	(revision 3340)
@@ -0,0 +1,211 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class LabelSetDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class LabelSetDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public LabelSetDescriptor() {
+        super();
+        xmlName = "label-set";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _className
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_className", "class-name", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                LabelSet target = (LabelSet) object;
+                return target.getClassName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    LabelSet target = (LabelSet) object;
+                    target.setClassName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _className
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+        //-- _labelList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.Label.class, "_labelList", "label", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                LabelSet target = (LabelSet) object;
+                return target.getLabel();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    LabelSet target = (LabelSet) object;
+                    target.addLabel( (com.iver.andami.plugins.config.generate.Label) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.Label();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _labelList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.plugins.config.generate.LabelSetDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.LabelSet.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelSetDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelSet.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelSet.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelSet.java	(revision 3340)
@@ -0,0 +1,260 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class LabelSet.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class LabelSet implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _className
+     */
+    private java.lang.String _className;
+
+    /**
+     * Field _labelList
+     */
+    private java.util.Vector _labelList;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public LabelSet() {
+        super();
+        _labelList = new Vector();
+    } //-- com.iver.andami.plugins.config.generate.LabelSet()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addLabel
+     * 
+     * @param vLabel
+     */
+    public void addLabel(com.iver.andami.plugins.config.generate.Label vLabel)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _labelList.addElement(vLabel);
+    } //-- void addLabel(com.iver.andami.plugins.config.generate.Label) 
+
+    /**
+     * Method addLabel
+     * 
+     * @param index
+     * @param vLabel
+     */
+    public void addLabel(int index, com.iver.andami.plugins.config.generate.Label vLabel)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _labelList.insertElementAt(vLabel, index);
+    } //-- void addLabel(int, com.iver.andami.plugins.config.generate.Label) 
+
+    /**
+     * Method enumerateLabel
+     */
+    public java.util.Enumeration enumerateLabel()
+    {
+        return _labelList.elements();
+    } //-- java.util.Enumeration enumerateLabel() 
+
+    /**
+     * Returns the value of field 'className'.
+     * 
+     * @return the value of field 'className'.
+     */
+    public java.lang.String getClassName()
+    {
+        return this._className;
+    } //-- java.lang.String getClassName() 
+
+    /**
+     * Method getLabel
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Label getLabel(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _labelList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.Label) _labelList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.Label getLabel(int) 
+
+    /**
+     * Method getLabel
+     */
+    public com.iver.andami.plugins.config.generate.Label[] getLabel()
+    {
+        int size = _labelList.size();
+        com.iver.andami.plugins.config.generate.Label[] mArray = new com.iver.andami.plugins.config.generate.Label[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.Label) _labelList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.Label[] getLabel() 
+
+    /**
+     * Method getLabelCount
+     */
+    public int getLabelCount()
+    {
+        return _labelList.size();
+    } //-- int getLabelCount() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllLabel
+     */
+    public void removeAllLabel()
+    {
+        _labelList.removeAllElements();
+    } //-- void removeAllLabel() 
+
+    /**
+     * Method removeLabel
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Label removeLabel(int index)
+    {
+        java.lang.Object obj = _labelList.elementAt(index);
+        _labelList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.Label) obj;
+    } //-- com.iver.andami.plugins.config.generate.Label removeLabel(int) 
+
+    /**
+     * Sets the value of field 'className'.
+     * 
+     * @param className the value of field 'className'.
+     */
+    public void setClassName(java.lang.String className)
+    {
+        this._className = className;
+    } //-- void setClassName(java.lang.String) 
+
+    /**
+     * Method setLabel
+     * 
+     * @param index
+     * @param vLabel
+     */
+    public void setLabel(int index, com.iver.andami.plugins.config.generate.Label vLabel)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _labelList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _labelList.setElementAt(vLabel, index);
+    } //-- void setLabel(int, com.iver.andami.plugins.config.generate.Label) 
+
+    /**
+     * Method setLabel
+     * 
+     * @param labelArray
+     */
+    public void setLabel(com.iver.andami.plugins.config.generate.Label[] labelArray)
+    {
+        //-- copy array
+        _labelList.removeAllElements();
+        for (int i = 0; i < labelArray.length; i++) {
+            _labelList.addElement(labelArray[i]);
+        }
+    } //-- void setLabel(com.iver.andami.plugins.config.generate.Label) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.LabelSet) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.LabelSet.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/LabelSet.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionsDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionsDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionsDescriptor.java	(revision 3340)
@@ -0,0 +1,208 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class ExtensionsDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ExtensionsDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ExtensionsDescriptor() {
+        super();
+        xmlName = "extensions";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- initialize element descriptors
+        
+        //-- _extensionList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.Extension.class, "_extensionList", "extension", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Extensions target = (Extensions) object;
+                return target.getExtension();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Extensions target = (Extensions) object;
+                    target.addExtension( (com.iver.andami.plugins.config.generate.Extension) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.Extension();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _extensionList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _skinExtension
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.plugins.config.generate.SkinExtension.class, "_skinExtension", "skin-extension", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Extensions target = (Extensions) object;
+                return target.getSkinExtension();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Extensions target = (Extensions) object;
+                    target.setSkinExtension( (com.iver.andami.plugins.config.generate.SkinExtension) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.plugins.config.generate.SkinExtension();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _skinExtension
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.plugins.config.generate.ExtensionsDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.plugins.config.generate.Extensions.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/ExtensionsDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Extensions.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Extensions.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Extensions.java	(revision 3340)
@@ -0,0 +1,260 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package com.iver.andami.plugins.config.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Extensions.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Extensions implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _extensionList
+     */
+    private java.util.Vector _extensionList;
+
+    /**
+     * Field _skinExtension
+     */
+    private com.iver.andami.plugins.config.generate.SkinExtension _skinExtension;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Extensions() {
+        super();
+        _extensionList = new Vector();
+    } //-- com.iver.andami.plugins.config.generate.Extensions()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addExtension
+     * 
+     * @param vExtension
+     */
+    public void addExtension(com.iver.andami.plugins.config.generate.Extension vExtension)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _extensionList.addElement(vExtension);
+    } //-- void addExtension(com.iver.andami.plugins.config.generate.Extension) 
+
+    /**
+     * Method addExtension
+     * 
+     * @param index
+     * @param vExtension
+     */
+    public void addExtension(int index, com.iver.andami.plugins.config.generate.Extension vExtension)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _extensionList.insertElementAt(vExtension, index);
+    } //-- void addExtension(int, com.iver.andami.plugins.config.generate.Extension) 
+
+    /**
+     * Method enumerateExtension
+     */
+    public java.util.Enumeration enumerateExtension()
+    {
+        return _extensionList.elements();
+    } //-- java.util.Enumeration enumerateExtension() 
+
+    /**
+     * Method getExtension
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Extension getExtension(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _extensionList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.plugins.config.generate.Extension) _extensionList.elementAt(index);
+    } //-- com.iver.andami.plugins.config.generate.Extension getExtension(int) 
+
+    /**
+     * Method getExtension
+     */
+    public com.iver.andami.plugins.config.generate.Extension[] getExtension()
+    {
+        int size = _extensionList.size();
+        com.iver.andami.plugins.config.generate.Extension[] mArray = new com.iver.andami.plugins.config.generate.Extension[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.plugins.config.generate.Extension) _extensionList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.plugins.config.generate.Extension[] getExtension() 
+
+    /**
+     * Method getExtensionCount
+     */
+    public int getExtensionCount()
+    {
+        return _extensionList.size();
+    } //-- int getExtensionCount() 
+
+    /**
+     * Returns the value of field 'skinExtension'.
+     * 
+     * @return the value of field 'skinExtension'.
+     */
+    public com.iver.andami.plugins.config.generate.SkinExtension getSkinExtension()
+    {
+        return this._skinExtension;
+    } //-- com.iver.andami.plugins.config.generate.SkinExtension getSkinExtension() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllExtension
+     */
+    public void removeAllExtension()
+    {
+        _extensionList.removeAllElements();
+    } //-- void removeAllExtension() 
+
+    /**
+     * Method removeExtension
+     * 
+     * @param index
+     */
+    public com.iver.andami.plugins.config.generate.Extension removeExtension(int index)
+    {
+        java.lang.Object obj = _extensionList.elementAt(index);
+        _extensionList.removeElementAt(index);
+        return (com.iver.andami.plugins.config.generate.Extension) obj;
+    } //-- com.iver.andami.plugins.config.generate.Extension removeExtension(int) 
+
+    /**
+     * Method setExtension
+     * 
+     * @param index
+     * @param vExtension
+     */
+    public void setExtension(int index, com.iver.andami.plugins.config.generate.Extension vExtension)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _extensionList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _extensionList.setElementAt(vExtension, index);
+    } //-- void setExtension(int, com.iver.andami.plugins.config.generate.Extension) 
+
+    /**
+     * Method setExtension
+     * 
+     * @param extensionArray
+     */
+    public void setExtension(com.iver.andami.plugins.config.generate.Extension[] extensionArray)
+    {
+        //-- copy array
+        _extensionList.removeAllElements();
+        for (int i = 0; i < extensionArray.length; i++) {
+            _extensionList.addElement(extensionArray[i]);
+        }
+    } //-- void setExtension(com.iver.andami.plugins.config.generate.Extension) 
+
+    /**
+     * Sets the value of field 'skinExtension'.
+     * 
+     * @param skinExtension the value of field 'skinExtension'.
+     */
+    public void setSkinExtension(com.iver.andami.plugins.config.generate.SkinExtension skinExtension)
+    {
+        this._skinExtension = skinExtension;
+    } //-- void setSkinExtension(com.iver.andami.plugins.config.generate.SkinExtension) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.plugins.config.generate.Extensions) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.Extensions.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/plugins/config/generate/Extensions.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_ca.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_ca.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_ca.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text_ca.properties
+KeyMapping.Caracter_no_valido=Car\u00E0cter no v\u00E0lid\:
+Launcher.config_mal_formado=. Fitxer 'config.xml' mal format
+Launcher.config_no_encontrado=. Fitxer 'config.xml' no trobat
+Launcher.Dependencia_no_resuelta_en_plugin=Depend\u00E8ncia no resolta en el connector
+Launcher.Dos_skin_extension=Dos skin-extension. Usem l'\u00FAltim
+Launcher.Error_con_las_librerias_del_plugin=Error amb les llibreries del connector
+Launcher.Error_instanciando_la_extension=Error instanciant l'extensi\u00F3
+Launcher.Error_localizando_la_clase_de_la_extension=Error en localitzar la classe de l'extensi\u00F3
+Launcher.Hay_dependencias_circulares=Hi ha depend\u00E8ncies circulars entre els connectors
+Launcher.Ignorando_el_directorio=Ignorant el directori
+Launcher.labelset_class=No s'ha pogut trobar la classe d'etiquetes (labelset)
+Launcher.look_and_feel=No s'ha pogut posar el 'look and feel'
+Launcher.No_se_encontro_la_clase_de_la_extension=No s'ha trobat la classe de l'extensi\u00F3
+Launcher.No_se_encontro_la_clase_mdi_manager=No s'ha trobat la classe mdi manager
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=No s'ha pogut accedir a la classe mdi manager
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=No s'ha pogut guardar la configuraci\u00F3 d'andami
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=No s'ha pogut instanciar la classe mdi manager
+Launcher.No_se_puede_acceder_a=No es pot accedir a
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=S'ha produ\u00EFt un error en guardar la configuraci\u00F3 dels connectors
+Launcher.Two_extensions_with_the_same_priority=Dos extensions amb la mateixa prioritat, nom\u00E9s se'n carregar\u00E0 una.
+Launcher.Two_menus_with_the_same_position=Dos men\u00FAs amb la mateixa posici\u00F3, nom\u00E9s se'n carregar\u00E0 un
+MDIFrame.Error_no_capturado_por_el_usuario=Error no detectat per l'usuari
+MDIFrame.quiere_salir=Est\u00E0 segur que vol eixir?
+MDIFrame.salir=Eixir
+MDIManagerFactory.No_skin_extension_in_the_plugins=No s'ha trobat cap extensi\u00F3 'skin' entre els connectors
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Dos classes amb el mateix nom en el connector
+PluginClassLoader.Error_reading_file=Error llegint el fitxer\: 
+PluginServices.Bug_en_el_codigo=Error en el codi
+PluginServices.Error_grave_de_la_aplicacion=Error greu de l'aplicaci\u00F3. \u00C9s convenient que guarde les dades i isca de l'aplicaci\u00F3
+PluginServices.No_se_encontro_el_recurso_de_traducciones=No s'ha trobat el recurs de traduccions
+PluginServices.No_se_encontro_la_traduccion_para=No s'ha trobat la traducci\u00F3 per a
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=No s'ha pogut posar el rellotge d'arena
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=No s'ha pogut restaurar el cursor del ratol\u00ED
+SplashWindow.Iniciando=Iniciant...
+StatusBar.Aplicacion_iniciada=Aplicaci\u00F3 iniciada

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_ca.properties
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/PluginServices.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/PluginServices.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/PluginServices.java	(revision 3340)
@@ -0,0 +1,407 @@
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami;
+
+import java.awt.Component;
+import java.awt.event.ActionListener;
+import java.io.File;
+import java.lang.reflect.InvocationTargetException;
+import java.util.Iterator;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.PropertyResourceBundle;
+import java.util.ResourceBundle;
+
+import javax.swing.SwingUtilities;
+
+import org.apache.log4j.Logger;
+
+import com.iver.andami.messages.Messages;
+import com.iver.andami.messages.NotificationManager;
+import com.iver.andami.plugins.Extension;
+import com.iver.andami.plugins.ExtensionDecorator;
+import com.iver.andami.plugins.PluginClassLoader;
+import com.iver.andami.ui.mdiFrame.MDIFrame;
+import com.iver.andami.ui.mdiFrame.MainFrame;
+import com.iver.andami.ui.mdiManager.MDIManager;
+import com.iver.utiles.XMLEntity;
+
+
+/**
+ * Clase que proporciona servicios a los plugins.
+ *
+ * @author Fernando Gonz�lez Cort�s
+ */
+public class PluginServices {
+	private static Logger logger = Logger.getLogger(PluginServices.class.getName());
+	private PluginClassLoader loader;
+	private PropertyResourceBundle resourceBundle;
+	private XMLEntity persistentXML;
+
+	/**
+	 * Crea un nuevo PluginServices
+	 *
+	 * @param loader ClassLoader del plugin
+	 */
+	public PluginServices(PluginClassLoader loader) {
+		this.loader = loader;
+	}
+
+	/**
+	 * Devuelve el mensaje en el idioma del locale actual del texto
+	 * correspondiente a la clave que se pasa como par�metro
+	 *
+	 * @param key Clave del texto que se quiere obtener
+	 *
+	 * @return Texto en el idioma que toca o la propia clave si no se encuentra
+	 * 		   en el fichero
+	 */
+	public String getText(String key) {
+		if (resourceBundle == null) {
+			return key;
+		}
+
+		if (key == null) {
+			return null;
+		}
+
+		try {
+			return resourceBundle.getString(key);
+		} catch (MissingResourceException e) {
+			logger.warn(Messages.getString("PluginServices.No_se_encontro_la_traduccion_para") + " " + key);
+
+			return key;
+		}
+	}
+
+	/**
+	 * Obtiene el classloader del plugin
+	 *
+	 * @return Returns the loader.
+	 */
+	public PluginClassLoader getClassLoader() {
+		return loader;
+	}
+
+	/**
+	 * Obtiene el nombre del plugin
+	 *
+	 * @return String
+	 */
+	String getPluginName() {
+		return loader.getPluginName();
+	}
+
+	/**
+	 * Establece el paquete de traducciones del objeto
+	 * pluginservices asociado a un plugin
+	 *
+	 * @param name nombre del paquete
+	 * @param locale locale para obtener los recursos del paquete
+	 */
+	void setResourceBundle(String name, Locale locale) {
+		try {
+			resourceBundle = (PropertyResourceBundle) ResourceBundle.getBundle(name,
+					locale, loader);
+		} catch (MissingResourceException e) {
+			logger.error(Messages.getString("PluginServices.No_se_encontro_el_recurso_de_traducciones") + name, e);
+		}
+	}
+
+	/**
+	 * Obtienen una referencia al PluginServices del plugin cuyo nombre se pasa
+	 * como par�metro
+	 *
+	 * @param pluginClassInstance Instancia de una clase propia del plugin a
+	 * 		  cuyos servicios se quiere acceder
+	 *
+	 * @return Objeto PluginServices asociado al plugin
+	 *
+	 * @throws RuntimeException Si el par�metro no es un objeto cargado desde un plugin
+	 */
+	public static PluginServices getPluginServices(Object pluginClassInstance) {
+		try {
+			PluginClassLoader loader = (PluginClassLoader) pluginClassInstance.getClass()
+																			  .getClassLoader();
+
+			return Launcher.getPluginServices(loader.getPluginName());
+		} catch (ClassCastException e) {
+			/* throw new RuntimeException(
+				"Parameter is not a plugin class instance"); */
+		    return null;
+		}
+	}
+
+	/**
+	 * Obtienen una referencia al PluginServices del plugin cuyo nombre se pasa
+	 * como par�metro
+	 *
+	 * @param pluginName Instancia de una clase propia del plugin a cuyos
+	 * 		  servicios se quiere acceder
+	 *
+	 * @return Objeto PluginServices asociado al plugin
+	 */
+	public static PluginServices getPluginServices(String pluginName) {
+		return Launcher.getPluginServices(pluginName);
+	}
+
+	/**
+	 * Obtiene una referencia al gestor de ventanas
+	 *
+	 * @return MDIManager
+	 */
+	public static MDIManager getMDIManager() {
+		return Launcher.getFrame().getMDIManager();
+	}
+
+	/**
+	 * Obtiene una referencia al marco principal de la
+	 * aplicaci�n
+	 *
+	 * @return MainFrame
+	 */
+	public static MainFrame getMainFrame() {
+		return Launcher.getFrame();
+	}
+
+	/**
+	 * Obtiene una referencia a la instancia de la extensi�n
+	 * cuya clase se pasa como par�metro
+	 *
+	 * @param extensionClass Clase de la extensi�n cuya instancia se quiere obtener
+	 *
+	 * @return Instancia de la extensi�n o null en caso de que no haya
+	 * una extensi�n con esa clase
+	 */
+	public static Extension getExtension(Class extensionClass) {
+		ExtensionDecorator extAux = (ExtensionDecorator) Launcher.getClassesExtensions().get(extensionClass);
+		return extAux.getExtension(); 
+		// return (Extension) Launcher.getClassesExtensions().get(extensionClass);
+		
+	}
+
+	/**
+	 * Gets a reference to the Extension Decorator with support for several more options
+	 * @param extensionClass
+	 * @return
+	 */
+	public static ExtensionDecorator getDecoratedExtension(Class extensionClass) {
+		return (ExtensionDecorator) Launcher.getClassesExtensions().get(extensionClass);
+	}
+	
+	/**
+	 * Obtiene un iterador sobre las extensiones
+	 *
+	 * @return Iterator
+	 */
+	public static Iterator getExtensions() {
+		return Launcher.getClassesExtensions().values().iterator();
+	}
+
+	/**
+	 * Obtiene una traducci�n de un plugin
+	 *
+	 * @param pluginObject Objeto cargado desde un plugin
+	 * @param key Nombre de la clave cuyo valor se quiere obtener
+	 *
+	 * @return El valor, si existe. La clave si no existe. Si el objeto que
+	 * se pasa como par�metro no ha sido cargado desde un plugin
+	 * se devuelve la clave.
+	 */
+	public static String getText(Object pluginObject, String key) {
+		try {
+			PluginServices ps = getPluginServices(pluginObject);
+			if (ps == null) return key;
+			return ps.getText(key);
+		} catch (RuntimeException e) {
+			logger.error("GetText: Clave = " + key + ". ", e);
+
+			return key;
+		}
+	}
+
+	/**
+	 * Establece los datos del plugin que deber�n persistir entre ejecuciones
+	 * en formato xml
+	 *
+	 * @param entity DOCUMENT ME!
+	 */
+	public void setPersistentXML(XMLEntity entity) {
+		persistentXML = entity;
+	}
+
+	/**
+	 * Obtiene un objeto que representa la persistencia del plugin en formato
+	 * xml.
+	 *
+	 * @return Devuelve null hasta que se invoca el m�todo setPersistentXML
+	 */
+	public XMLEntity getPersistentXML() {
+		if (persistentXML == null){
+			persistentXML = new XMLEntity();
+		}
+		return persistentXML;
+	}
+
+	/**
+	 * A�ade un listener a un popup menu registrado en el
+	 * config.xml de alg�n plugin
+	 *
+	 * @param name Nombre del men� contextual
+	 * @param c Componente que desplegar� el men� cuando
+	 * se haga click con el bot�n derecho
+	 * @param listener Listener que se ejecutar� cuando se 
+	 * seleccione cualquier entrada del men�
+	 *
+	 * @throws RuntimeException Si la interfaz no est� preparada
+	 * todav�a. S�lo puede darse durante el arranque
+	 */
+	public void addPopupMenuListener(String name, Component c,
+		ActionListener listener) {
+		MDIFrame frame = Launcher.getFrame();
+
+		if (frame == null) {
+			throw new RuntimeException("MDIFrame not loaded yet");
+		}
+
+		frame.addPopupMenuListener(name, c, listener, loader);
+	}
+
+	/**
+	 * Obtiene una referencia al directorio del plugin
+	 *
+	 * @return File
+	 */
+	public File getPluginDirectory() {
+		return new File(Launcher.getPluginsDir() + File.separator +
+			getPluginName());
+	}
+
+	/**
+	 * Ejecuta una tarea en segundo plano, dejando a la 
+	 * interfaz responder pero inhibiendo los eventos
+	 *
+	 * @param r Tarea a ejecutar
+	 *
+	 * @return Thread en el que se ejecuta la tarea
+	 */
+	public static Thread backgroundExecution(Runnable r) {
+		Thread t = new Thread(new RunnableDecorator(r));
+		t.start();
+
+		return t;
+	}
+
+	public static void closeApplication(){
+	    Launcher.closeApplication();
+	}
+	
+	/**
+	 * DOCUMENT ME!
+	 *
+	 * @author Fernando Gonz�lez Cort�s
+	 */
+	private static class RunnableDecorator implements Runnable {
+		private Runnable r;
+
+		/**
+		 * Crea un nuevo RunnableDecorator.
+		 *
+		 * @param r DOCUMENT ME!
+		 */
+		public RunnableDecorator(Runnable r) {
+			this.r = r;
+		}
+
+		/**
+		 * @see java.lang.Runnable#run()
+		 */
+		public void run() {
+			/* try {
+				SwingUtilities.invokeAndWait(new Runnable() {
+						public void run() {
+							getMDIManager().setWaitCursor();
+						}
+					});
+			} catch (InterruptedException e) {
+				NotificationManager.addWarning(Messages.getString("PluginServices.No_se_pudo_poner_el_reloj_de_arena"),
+					e);
+			} catch (InvocationTargetException e) {
+				NotificationManager.addWarning(Messages.getString("PluginServices.No_se_pudo_poner_el_reloj_de_arena"),
+					e);
+			} */
+
+			try {
+			    SwingUtilities.invokeAndWait(new Runnable() {
+                    public void run() {
+            			try{
+            			    r.run();
+            			} catch(RuntimeException e){
+            				NotificationManager.addError(Messages.getString("PluginServices.Bug_en_el_codigo"), e);
+            			} catch (Error e){
+            				NotificationManager.addError(Messages.getString("PluginServices.Error_grave_de_la_aplicaci�n"), e);
+            			}
+                    }
+                });
+			} catch (InterruptedException e) {
+				NotificationManager.addWarning(Messages.getString("PluginServices.No_se_pudo_poner_el_reloj_de_arena"),
+					e);
+			} catch (InvocationTargetException e) {
+				NotificationManager.addWarning(Messages.getString("PluginServices.No_se_pudo_poner_el_reloj_de_arena"),
+					e);
+			}
+
+			/* try {
+				SwingUtilities.invokeAndWait(new Runnable() {
+						public void run() {
+							getMDIManager().restoreCursor();
+						}
+					});
+			} catch (InterruptedException e) {
+				NotificationManager.addWarning(Messages.getString("PluginServices.No_se_pudo_restaurar_el_cursor_del_raton"),
+					e);
+			} catch (InvocationTargetException e) {
+				NotificationManager.addWarning(Messages.getString("PluginServices.No_se_pudo_restaurar_el_cursor_del_raton"),
+					e);
+			} */
+		}
+	}
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/PluginServices.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_pt.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_pt.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_pt.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text_pt_br.properties
+KeyMapping.Caracter_no_valido=Caractere inv\u00E1lido
+Launcher.config_mal_formado='config.xml' mal formado
+Launcher.config_no_encontrado='config.xml' n\u00E3o encontrado
+Launcher.Dependencia_no_resuelta_en_plugin=Depend\u00EAncia de plugin n\u00E3o satisfeita
+Launcher.Dos_skin_extension=Duas extens\u00F5es de pele.
+Launcher.Error_con_las_librerias_del_plugin=Erro de biblioteca de plugin 
+Launcher.Error_instanciando_la_extension=N\u00E3o posso instanciar extens\u00E3o
+Launcher.Error_localizando_la_clase_de_la_extension=N\u00E3o posso localizar extens\u00E3o de classe
+Launcher.Hay_dependencias_circulares=Depend\u00EAncias de plugin envolvidas no ciclo
+Launcher.Ignorando_el_directorio=Ignorando
+Launcher.labelset_class=N\u00E3o posso encontrar configura\u00E7\u00E3o de classe de legenda (labelset)
+Launcher.look_and_feel=N\u00E3o posso setar sistema 'look and feel'
+Launcher.No_se_encontro_la_clase_de_la_extension=N\u00E3o posso encontrar extens\u00E3o de classe
+Launcher.No_se_encontro_la_clase_mdi_manager=N\u00E3o posso encontrar classe mdi manager
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=N\u00E3o posso acessar mdi manager
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=N\u00E3o posso salvar configura\u00E7\u00E3o de andami
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=N\u00E3o posso instanciar mdi manager
+Launcher.No_se_puede_acceder_a=N\u00E3o posso acessar para
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=N\u00E3o posso salvar configura\u00E7\u00F5es de plugins
+Launcher.Two_extensions_with_the_same_priority=Duas extens\u00F5es com a mesma prioridade. S\u00F3 uma ser\u00E1 carregada.
+Launcher.Two_menus_with_the_same_position=Dois menus com a mesma posi\u00E7\u00E3o
+MDIFrame.Error_no_capturado_por_el_usuario=Erro de usu\u00E1rio
+MDIFrame.quiere_salir=Sair do gvSIG?
+MDIFrame.salir=Sair
+MDIManagerFactory.No_skin_extension_in_the_plugins=No skin extension in the plugins
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Duas classes com o mesmo nome
+PluginClassLoader.Error_reading_file=Erro de IO\: 
+PluginServices.Bug_en_el_codigo=Bug
+PluginServices.Error_grave_de_la_aplicacion=Erro cr\u00EDtico. \u00C9 melhor voc\u00EA salvar e sair
+PluginServices.No_se_encontro_el_recurso_de_traducciones=N\u00E3o posso encontrar pacote de recursos
+PluginServices.No_se_encontro_la_traduccion_para=N\u00E3o posso encontrar a tradu\u00E7\u00E3o 
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=n\u00E3o posso setar ampulheta
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=N\u00E3o posso restaurar o cursor
+SplashWindow.Iniciando=Iniciando...
+StatusBar.Aplicacion_iniciada=Aplica\u00E7\u00E3o iniciada

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_pt.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PropertyDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PropertyDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PropertyDescriptor.java	(revision 3340)
@@ -0,0 +1,251 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class PropertyDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PropertyDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PropertyDescriptor() {
+        super();
+        xmlName = "property";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _name
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_name", "name", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Property target = (Property) object;
+                return target.getName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Property target = (Property) object;
+                    target.setName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _name
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _value
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_value", "value", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Property target = (Property) object;
+                return target.getValue();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Property target = (Property) object;
+                    target.setValue( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _value
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.persistence.generate.PropertyDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.Property.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PropertyDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginsStatusDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginsStatusDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginsStatusDescriptor.java	(revision 3340)
@@ -0,0 +1,250 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class PluginsStatusDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PluginsStatusDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PluginsStatusDescriptor() {
+        super();
+        xmlName = "plugins-status";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- initialize element descriptors
+        
+        //-- _plugin
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.Plugin.class, "_plugin", "plugin", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginsStatus target = (PluginsStatus) object;
+                return target.getPlugin();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginsStatus target = (PluginsStatus) object;
+                    target.setPlugin( (com.iver.andami.persistence.generate.Plugin) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.Plugin();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _plugin
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _toolBars
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.ToolBars.class, "_toolBars", "tool-bars", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                PluginsStatus target = (PluginsStatus) object;
+                return target.getToolBars();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    PluginsStatus target = (PluginsStatus) object;
+                    target.setToolBars( (com.iver.andami.persistence.generate.ToolBars) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.ToolBars();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _toolBars
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.persistence.generate.PluginsStatusDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.PluginsStatus.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginsStatusDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Property.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Property.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Property.java	(revision 3340)
@@ -0,0 +1,199 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Property.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Property implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _name
+     */
+    private java.lang.String _name;
+
+    /**
+     * Field _value
+     */
+    private java.lang.String _value;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Property() {
+        super();
+    } //-- com.iver.andami.persistence.generate.Property()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'name'.
+     * 
+     * @return the value of field 'name'.
+     */
+    public java.lang.String getName()
+    {
+        return this._name;
+    } //-- java.lang.String getName() 
+
+    /**
+     * Returns the value of field 'value'.
+     * 
+     * @return the value of field 'value'.
+     */
+    public java.lang.String getValue()
+    {
+        return this._value;
+    } //-- java.lang.String getValue() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'name'.
+     * 
+     * @param name the value of field 'name'.
+     */
+    public void setName(java.lang.String name)
+    {
+        this._name = name;
+    } //-- void setName(java.lang.String) 
+
+    /**
+     * Sets the value of field 'value'.
+     * 
+     * @param value the value of field 'value'.
+     */
+    public void setValue(java.lang.String value)
+    {
+        this._value = value;
+    } //-- void setValue(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.Property) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.Property.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Property.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBarsDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBarsDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBarsDescriptor.java	(revision 3340)
@@ -0,0 +1,215 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class ToolBarsDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ToolBarsDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ToolBarsDescriptor() {
+        super();
+        xmlName = "tool-bars";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- initialize element descriptors
+        
+        //-- _toolBarList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.ToolBar.class, "_toolBarList", "tool-bar", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ToolBars target = (ToolBars) object;
+                return target.getToolBar();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ToolBars target = (ToolBars) object;
+                    target.addToolBar( (com.iver.andami.persistence.generate.ToolBar) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.ToolBar();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _toolBarList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.persistence.generate.ToolBarsDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.ToolBars.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBarsDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginsStatus.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginsStatus.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginsStatus.java	(revision 3340)
@@ -0,0 +1,199 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class PluginsStatus.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PluginsStatus implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _plugin
+     */
+    private com.iver.andami.persistence.generate.Plugin _plugin;
+
+    /**
+     * Field _toolBars
+     */
+    private com.iver.andami.persistence.generate.ToolBars _toolBars;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PluginsStatus() {
+        super();
+    } //-- com.iver.andami.persistence.generate.PluginsStatus()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'plugin'.
+     * 
+     * @return the value of field 'plugin'.
+     */
+    public com.iver.andami.persistence.generate.Plugin getPlugin()
+    {
+        return this._plugin;
+    } //-- com.iver.andami.persistence.generate.Plugin getPlugin() 
+
+    /**
+     * Returns the value of field 'toolBars'.
+     * 
+     * @return the value of field 'toolBars'.
+     */
+    public com.iver.andami.persistence.generate.ToolBars getToolBars()
+    {
+        return this._toolBars;
+    } //-- com.iver.andami.persistence.generate.ToolBars getToolBars() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'plugin'.
+     * 
+     * @param plugin the value of field 'plugin'.
+     */
+    public void setPlugin(com.iver.andami.persistence.generate.Plugin plugin)
+    {
+        this._plugin = plugin;
+    } //-- void setPlugin(com.iver.andami.persistence.generate.Plugin) 
+
+    /**
+     * Sets the value of field 'toolBars'.
+     * 
+     * @param toolBars the value of field 'toolBars'.
+     */
+    public void setToolBars(com.iver.andami.persistence.generate.ToolBars toolBars)
+    {
+        this._toolBars = toolBars;
+    } //-- void setToolBars(com.iver.andami.persistence.generate.ToolBars) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.PluginsStatus) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.PluginsStatus.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginsStatus.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBars.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBars.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBars.java	(revision 3340)
@@ -0,0 +1,275 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class ToolBars.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ToolBars implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _toolBarList
+     */
+    private java.util.Vector _toolBarList;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ToolBars() {
+        super();
+        _toolBarList = new Vector();
+    } //-- com.iver.andami.persistence.generate.ToolBars()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addToolBar
+     * 
+     * @param vToolBar
+     */
+    public void addToolBar(com.iver.andami.persistence.generate.ToolBar vToolBar)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _toolBarList.addElement(vToolBar);
+    } //-- void addToolBar(com.iver.andami.persistence.generate.ToolBar) 
+
+    /**
+     * Method addToolBar
+     * 
+     * @param index
+     * @param vToolBar
+     */
+    public void addToolBar(int index, com.iver.andami.persistence.generate.ToolBar vToolBar)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _toolBarList.insertElementAt(vToolBar, index);
+    } //-- void addToolBar(int, com.iver.andami.persistence.generate.ToolBar) 
+
+    /**
+     * Method enumerateToolBar
+     */
+    public java.util.Enumeration enumerateToolBar()
+    {
+        return _toolBarList.elements();
+    } //-- java.util.Enumeration enumerateToolBar() 
+
+    /**
+     * Method getToolBar
+     * 
+     * @param index
+     */
+    public com.iver.andami.persistence.generate.ToolBar getToolBar(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _toolBarList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.persistence.generate.ToolBar) _toolBarList.elementAt(index);
+    } //-- com.iver.andami.persistence.generate.ToolBar getToolBar(int) 
+
+    /**
+     * Method getToolBar
+     */
+    public com.iver.andami.persistence.generate.ToolBar[] getToolBar()
+    {
+        int size = _toolBarList.size();
+        com.iver.andami.persistence.generate.ToolBar[] mArray = new com.iver.andami.persistence.generate.ToolBar[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.persistence.generate.ToolBar) _toolBarList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.persistence.generate.ToolBar[] getToolBar() 
+
+    /**
+     * Method getToolBarCount
+     */
+    public int getToolBarCount()
+    {
+        return _toolBarList.size();
+    } //-- int getToolBarCount() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllToolBar
+     */
+    public void removeAllToolBar()
+    {
+        _toolBarList.removeAllElements();
+    } //-- void removeAllToolBar() 
+
+    /**
+     * Method removeToolBar
+     * 
+     * @param index
+     */
+    public com.iver.andami.persistence.generate.ToolBar removeToolBar(int index)
+    {
+        java.lang.Object obj = _toolBarList.elementAt(index);
+        _toolBarList.removeElementAt(index);
+        return (com.iver.andami.persistence.generate.ToolBar) obj;
+    } //-- com.iver.andami.persistence.generate.ToolBar removeToolBar(int) 
+
+    /**
+     * Method setToolBar
+     * 
+     * @param index
+     * @param vToolBar
+     */
+    public void setToolBar(int index, com.iver.andami.persistence.generate.ToolBar vToolBar)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _toolBarList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _toolBarList.setElementAt(vToolBar, index);
+    } //-- void setToolBar(int, com.iver.andami.persistence.generate.ToolBar) 
+
+    /**
+     * Method setToolBar
+     * 
+     * @param toolBarArray
+     */
+    public void setToolBar(com.iver.andami.persistence.generate.ToolBar[] toolBarArray)
+    {
+        //-- copy array
+        _toolBarList.removeAllElements();
+        for (int i = 0; i < toolBarArray.length; i++) {
+            _toolBarList.addElement(toolBarArray[i]);
+        }
+    } //-- void setToolBar(com.iver.andami.persistence.generate.ToolBar) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.ToolBars) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.ToolBars.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBars.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/BookmarksDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/BookmarksDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/BookmarksDescriptor.java	(revision 3340)
@@ -0,0 +1,215 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class BookmarksDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class BookmarksDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public BookmarksDescriptor() {
+        super();
+        xmlName = "bookmarks";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- initialize element descriptors
+        
+        //-- _bookmark
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.Bookmark.class, "_bookmark", "bookmark", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Bookmarks target = (Bookmarks) object;
+                return target.getBookmark();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Bookmarks target = (Bookmarks) object;
+                    target.setBookmark( (com.iver.andami.persistence.generate.Bookmark) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.Bookmark();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _bookmark
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.persistence.generate.BookmarksDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.Bookmarks.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/BookmarksDescriptor.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Bookmarks.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Bookmarks.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Bookmarks.java	(revision 3340)
@@ -0,0 +1,174 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Bookmarks.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Bookmarks implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _bookmark
+     */
+    private com.iver.andami.persistence.generate.Bookmark _bookmark;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Bookmarks() {
+        super();
+    } //-- com.iver.andami.persistence.generate.Bookmarks()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'bookmark'.
+     * 
+     * @return the value of field 'bookmark'.
+     */
+    public com.iver.andami.persistence.generate.Bookmark getBookmark()
+    {
+        return this._bookmark;
+    } //-- com.iver.andami.persistence.generate.Bookmark getBookmark() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'bookmark'.
+     * 
+     * @param bookmark the value of field 'bookmark'.
+     */
+    public void setBookmark(com.iver.andami.persistence.generate.Bookmark bookmark)
+    {
+        this._bookmark = bookmark;
+    } //-- void setBookmark(com.iver.andami.persistence.generate.Bookmark) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.Bookmarks) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.Bookmarks.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Bookmarks.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/WindowsDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/WindowsDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/WindowsDescriptor.java	(revision 3340)
@@ -0,0 +1,215 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class WindowsDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class WindowsDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public WindowsDescriptor() {
+        super();
+        xmlName = "windows";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- initialize element descriptors
+        
+        //-- _windowList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.Window.class, "_windowList", "window", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Windows target = (Windows) object;
+                return target.getWindow();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Windows target = (Windows) object;
+                    target.addWindow( (com.iver.andami.persistence.generate.Window) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.Window();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _windowList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.persistence.generate.WindowsDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.Windows.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/WindowsDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Windows.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Windows.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Windows.java	(revision 3340)
@@ -0,0 +1,275 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Windows.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Windows implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _windowList
+     */
+    private java.util.Vector _windowList;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Windows() {
+        super();
+        _windowList = new Vector();
+    } //-- com.iver.andami.persistence.generate.Windows()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addWindow
+     * 
+     * @param vWindow
+     */
+    public void addWindow(com.iver.andami.persistence.generate.Window vWindow)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _windowList.addElement(vWindow);
+    } //-- void addWindow(com.iver.andami.persistence.generate.Window) 
+
+    /**
+     * Method addWindow
+     * 
+     * @param index
+     * @param vWindow
+     */
+    public void addWindow(int index, com.iver.andami.persistence.generate.Window vWindow)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _windowList.insertElementAt(vWindow, index);
+    } //-- void addWindow(int, com.iver.andami.persistence.generate.Window) 
+
+    /**
+     * Method enumerateWindow
+     */
+    public java.util.Enumeration enumerateWindow()
+    {
+        return _windowList.elements();
+    } //-- java.util.Enumeration enumerateWindow() 
+
+    /**
+     * Method getWindow
+     * 
+     * @param index
+     */
+    public com.iver.andami.persistence.generate.Window getWindow(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _windowList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.persistence.generate.Window) _windowList.elementAt(index);
+    } //-- com.iver.andami.persistence.generate.Window getWindow(int) 
+
+    /**
+     * Method getWindow
+     */
+    public com.iver.andami.persistence.generate.Window[] getWindow()
+    {
+        int size = _windowList.size();
+        com.iver.andami.persistence.generate.Window[] mArray = new com.iver.andami.persistence.generate.Window[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.persistence.generate.Window) _windowList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.persistence.generate.Window[] getWindow() 
+
+    /**
+     * Method getWindowCount
+     */
+    public int getWindowCount()
+    {
+        return _windowList.size();
+    } //-- int getWindowCount() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllWindow
+     */
+    public void removeAllWindow()
+    {
+        _windowList.removeAllElements();
+    } //-- void removeAllWindow() 
+
+    /**
+     * Method removeWindow
+     * 
+     * @param index
+     */
+    public com.iver.andami.persistence.generate.Window removeWindow(int index)
+    {
+        java.lang.Object obj = _windowList.elementAt(index);
+        _windowList.removeElementAt(index);
+        return (com.iver.andami.persistence.generate.Window) obj;
+    } //-- com.iver.andami.persistence.generate.Window removeWindow(int) 
+
+    /**
+     * Method setWindow
+     * 
+     * @param index
+     * @param vWindow
+     */
+    public void setWindow(int index, com.iver.andami.persistence.generate.Window vWindow)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _windowList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _windowList.setElementAt(vWindow, index);
+    } //-- void setWindow(int, com.iver.andami.persistence.generate.Window) 
+
+    /**
+     * Method setWindow
+     * 
+     * @param windowArray
+     */
+    public void setWindow(com.iver.andami.persistence.generate.Window[] windowArray)
+    {
+        //-- copy array
+        _windowList.removeAllElements();
+        for (int i = 0; i < windowArray.length; i++) {
+            _windowList.addElement(windowArray[i]);
+        }
+    } //-- void setWindow(com.iver.andami.persistence.generate.Window) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.Windows) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.Windows.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Windows.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/XmlEntityDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/XmlEntityDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/XmlEntityDescriptor.java	(revision 3340)
@@ -0,0 +1,215 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class XmlEntityDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class XmlEntityDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public XmlEntityDescriptor() {
+        super();
+        xmlName = "xml-entity";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- initialize element descriptors
+        
+        //-- _propertyList
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.Property.class, "_propertyList", "property", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                XmlEntity target = (XmlEntity) object;
+                return target.getProperty();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    XmlEntity target = (XmlEntity) object;
+                    target.addProperty( (com.iver.andami.persistence.generate.Property) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.Property();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _propertyList
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.persistence.generate.XmlEntityDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.XmlEntity.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/XmlEntityDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/XmlEntity.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/XmlEntity.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/XmlEntity.java	(revision 3340)
@@ -0,0 +1,275 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import java.util.Enumeration;
+import java.util.Vector;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class XmlEntity.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class XmlEntity implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _propertyList
+     */
+    private java.util.Vector _propertyList;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public XmlEntity() {
+        super();
+        _propertyList = new Vector();
+    } //-- com.iver.andami.persistence.generate.XmlEntity()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method addProperty
+     * 
+     * @param vProperty
+     */
+    public void addProperty(com.iver.andami.persistence.generate.Property vProperty)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _propertyList.addElement(vProperty);
+    } //-- void addProperty(com.iver.andami.persistence.generate.Property) 
+
+    /**
+     * Method addProperty
+     * 
+     * @param index
+     * @param vProperty
+     */
+    public void addProperty(int index, com.iver.andami.persistence.generate.Property vProperty)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        _propertyList.insertElementAt(vProperty, index);
+    } //-- void addProperty(int, com.iver.andami.persistence.generate.Property) 
+
+    /**
+     * Method enumerateProperty
+     */
+    public java.util.Enumeration enumerateProperty()
+    {
+        return _propertyList.elements();
+    } //-- java.util.Enumeration enumerateProperty() 
+
+    /**
+     * Method getProperty
+     * 
+     * @param index
+     */
+    public com.iver.andami.persistence.generate.Property getProperty(int index)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _propertyList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        
+        return (com.iver.andami.persistence.generate.Property) _propertyList.elementAt(index);
+    } //-- com.iver.andami.persistence.generate.Property getProperty(int) 
+
+    /**
+     * Method getProperty
+     */
+    public com.iver.andami.persistence.generate.Property[] getProperty()
+    {
+        int size = _propertyList.size();
+        com.iver.andami.persistence.generate.Property[] mArray = new com.iver.andami.persistence.generate.Property[size];
+        for (int index = 0; index < size; index++) {
+            mArray[index] = (com.iver.andami.persistence.generate.Property) _propertyList.elementAt(index);
+        }
+        return mArray;
+    } //-- com.iver.andami.persistence.generate.Property[] getProperty() 
+
+    /**
+     * Method getPropertyCount
+     */
+    public int getPropertyCount()
+    {
+        return _propertyList.size();
+    } //-- int getPropertyCount() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Method removeAllProperty
+     */
+    public void removeAllProperty()
+    {
+        _propertyList.removeAllElements();
+    } //-- void removeAllProperty() 
+
+    /**
+     * Method removeProperty
+     * 
+     * @param index
+     */
+    public com.iver.andami.persistence.generate.Property removeProperty(int index)
+    {
+        java.lang.Object obj = _propertyList.elementAt(index);
+        _propertyList.removeElementAt(index);
+        return (com.iver.andami.persistence.generate.Property) obj;
+    } //-- com.iver.andami.persistence.generate.Property removeProperty(int) 
+
+    /**
+     * Method setProperty
+     * 
+     * @param index
+     * @param vProperty
+     */
+    public void setProperty(int index, com.iver.andami.persistence.generate.Property vProperty)
+        throws java.lang.IndexOutOfBoundsException
+    {
+        //-- check bounds for index
+        if ((index < 0) || (index > _propertyList.size())) {
+            throw new IndexOutOfBoundsException();
+        }
+        _propertyList.setElementAt(vProperty, index);
+    } //-- void setProperty(int, com.iver.andami.persistence.generate.Property) 
+
+    /**
+     * Method setProperty
+     * 
+     * @param propertyArray
+     */
+    public void setProperty(com.iver.andami.persistence.generate.Property[] propertyArray)
+    {
+        //-- copy array
+        _propertyList.removeAllElements();
+        for (int i = 0; i < propertyArray.length; i++) {
+            _propertyList.addElement(propertyArray[i]);
+        }
+    } //-- void setProperty(com.iver.andami.persistence.generate.Property) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.XmlEntity) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.XmlEntity.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/XmlEntity.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginDescriptor.java	(revision 3340)
@@ -0,0 +1,357 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class PluginDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class PluginDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public PluginDescriptor() {
+        super();
+        xmlName = "plugin";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _name
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_name", "name", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Plugin target = (Plugin) object;
+                return target.getName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Plugin target = (Plugin) object;
+                    target.setName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _name
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _lastUpdate
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_lastUpdate", "lastUpdate", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Plugin target = (Plugin) object;
+                return target.getLastUpdate();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Plugin target = (Plugin) object;
+                    target.setLastUpdate( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _lastUpdate
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+        //-- _xmlEntity
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.XmlEntity.class, "_xmlEntity", "xml-entity", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Plugin target = (Plugin) object;
+                return target.getXmlEntity();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Plugin target = (Plugin) object;
+                    target.setXmlEntity( (com.iver.andami.persistence.generate.XmlEntity) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.XmlEntity();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _xmlEntity
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _bookmarks
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.Bookmarks.class, "_bookmarks", "bookmarks", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Plugin target = (Plugin) object;
+                return target.getBookmarks();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Plugin target = (Plugin) object;
+                    target.setBookmarks( (com.iver.andami.persistence.generate.Bookmarks) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.Bookmarks();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _bookmarks
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+        //-- _windows
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.Windows.class, "_windows", "windows", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Plugin target = (Plugin) object;
+                return target.getWindows();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Plugin target = (Plugin) object;
+                    target.setWindows( (com.iver.andami.persistence.generate.Windows) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.Windows();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _windows
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.persistence.generate.PluginDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.Plugin.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/PluginDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Plugin.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Plugin.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Plugin.java	(revision 3340)
@@ -0,0 +1,274 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Plugin.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Plugin implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _name
+     */
+    private java.lang.String _name;
+
+    /**
+     * Field _lastUpdate
+     */
+    private java.lang.String _lastUpdate;
+
+    /**
+     * Field _xmlEntity
+     */
+    private com.iver.andami.persistence.generate.XmlEntity _xmlEntity;
+
+    /**
+     * Field _bookmarks
+     */
+    private com.iver.andami.persistence.generate.Bookmarks _bookmarks;
+
+    /**
+     * Field _windows
+     */
+    private com.iver.andami.persistence.generate.Windows _windows;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Plugin() {
+        super();
+    } //-- com.iver.andami.persistence.generate.Plugin()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'bookmarks'.
+     * 
+     * @return the value of field 'bookmarks'.
+     */
+    public com.iver.andami.persistence.generate.Bookmarks getBookmarks()
+    {
+        return this._bookmarks;
+    } //-- com.iver.andami.persistence.generate.Bookmarks getBookmarks() 
+
+    /**
+     * Returns the value of field 'lastUpdate'.
+     * 
+     * @return the value of field 'lastUpdate'.
+     */
+    public java.lang.String getLastUpdate()
+    {
+        return this._lastUpdate;
+    } //-- java.lang.String getLastUpdate() 
+
+    /**
+     * Returns the value of field 'name'.
+     * 
+     * @return the value of field 'name'.
+     */
+    public java.lang.String getName()
+    {
+        return this._name;
+    } //-- java.lang.String getName() 
+
+    /**
+     * Returns the value of field 'windows'.
+     * 
+     * @return the value of field 'windows'.
+     */
+    public com.iver.andami.persistence.generate.Windows getWindows()
+    {
+        return this._windows;
+    } //-- com.iver.andami.persistence.generate.Windows getWindows() 
+
+    /**
+     * Returns the value of field 'xmlEntity'.
+     * 
+     * @return the value of field 'xmlEntity'.
+     */
+    public com.iver.andami.persistence.generate.XmlEntity getXmlEntity()
+    {
+        return this._xmlEntity;
+    } //-- com.iver.andami.persistence.generate.XmlEntity getXmlEntity() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'bookmarks'.
+     * 
+     * @param bookmarks the value of field 'bookmarks'.
+     */
+    public void setBookmarks(com.iver.andami.persistence.generate.Bookmarks bookmarks)
+    {
+        this._bookmarks = bookmarks;
+    } //-- void setBookmarks(com.iver.andami.persistence.generate.Bookmarks) 
+
+    /**
+     * Sets the value of field 'lastUpdate'.
+     * 
+     * @param lastUpdate the value of field 'lastUpdate'.
+     */
+    public void setLastUpdate(java.lang.String lastUpdate)
+    {
+        this._lastUpdate = lastUpdate;
+    } //-- void setLastUpdate(java.lang.String) 
+
+    /**
+     * Sets the value of field 'name'.
+     * 
+     * @param name the value of field 'name'.
+     */
+    public void setName(java.lang.String name)
+    {
+        this._name = name;
+    } //-- void setName(java.lang.String) 
+
+    /**
+     * Sets the value of field 'windows'.
+     * 
+     * @param windows the value of field 'windows'.
+     */
+    public void setWindows(com.iver.andami.persistence.generate.Windows windows)
+    {
+        this._windows = windows;
+    } //-- void setWindows(com.iver.andami.persistence.generate.Windows) 
+
+    /**
+     * Sets the value of field 'xmlEntity'.
+     * 
+     * @param xmlEntity the value of field 'xmlEntity'.
+     */
+    public void setXmlEntity(com.iver.andami.persistence.generate.XmlEntity xmlEntity)
+    {
+        this._xmlEntity = xmlEntity;
+    } //-- void setXmlEntity(com.iver.andami.persistence.generate.XmlEntity) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.Plugin) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.Plugin.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Plugin.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBarDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBarDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBarDescriptor.java	(revision 3340)
@@ -0,0 +1,285 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class ToolBarDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ToolBarDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ToolBarDescriptor() {
+        super();
+        xmlName = "tool-bar";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _xPosition
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_xPosition", "x-position", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ToolBar target = (ToolBar) object;
+                return target.getXPosition();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ToolBar target = (ToolBar) object;
+                    target.setXPosition( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _xPosition
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _yPosition
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_yPosition", "y-position", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ToolBar target = (ToolBar) object;
+                return target.getYPosition();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ToolBar target = (ToolBar) object;
+                    target.setYPosition( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _yPosition
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _name
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_name", "name", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                ToolBar target = (ToolBar) object;
+                return target.getName();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    ToolBar target = (ToolBar) object;
+                    target.setName( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _name
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.persistence.generate.ToolBarDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.ToolBar.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBarDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBar.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBar.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBar.java	(revision 3340)
@@ -0,0 +1,224 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class ToolBar.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class ToolBar implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _xPosition
+     */
+    private java.lang.String _xPosition;
+
+    /**
+     * Field _yPosition
+     */
+    private java.lang.String _yPosition;
+
+    /**
+     * Field _name
+     */
+    private java.lang.String _name;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public ToolBar() {
+        super();
+    } //-- com.iver.andami.persistence.generate.ToolBar()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'name'.
+     * 
+     * @return the value of field 'name'.
+     */
+    public java.lang.String getName()
+    {
+        return this._name;
+    } //-- java.lang.String getName() 
+
+    /**
+     * Returns the value of field 'xPosition'.
+     * 
+     * @return the value of field 'xPosition'.
+     */
+    public java.lang.String getXPosition()
+    {
+        return this._xPosition;
+    } //-- java.lang.String getXPosition() 
+
+    /**
+     * Returns the value of field 'yPosition'.
+     * 
+     * @return the value of field 'yPosition'.
+     */
+    public java.lang.String getYPosition()
+    {
+        return this._yPosition;
+    } //-- java.lang.String getYPosition() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'name'.
+     * 
+     * @param name the value of field 'name'.
+     */
+    public void setName(java.lang.String name)
+    {
+        this._name = name;
+    } //-- void setName(java.lang.String) 
+
+    /**
+     * Sets the value of field 'xPosition'.
+     * 
+     * @param xPosition the value of field 'xPosition'.
+     */
+    public void setXPosition(java.lang.String xPosition)
+    {
+        this._xPosition = xPosition;
+    } //-- void setXPosition(java.lang.String) 
+
+    /**
+     * Sets the value of field 'yPosition'.
+     * 
+     * @param yPosition the value of field 'yPosition'.
+     */
+    public void setYPosition(java.lang.String yPosition)
+    {
+        this._yPosition = yPosition;
+    } //-- void setYPosition(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.ToolBar) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.ToolBar.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/ToolBar.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/BookmarkDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/BookmarkDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/BookmarkDescriptor.java	(revision 3340)
@@ -0,0 +1,253 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class BookmarkDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class BookmarkDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public BookmarkDescriptor() {
+        super();
+        xmlName = "bookmark";
+        
+        //-- set grouping compositor
+        setCompositorAsSequence();
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _text
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_text", "text", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Bookmark target = (Bookmark) object;
+                return target.getText();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Bookmark target = (Bookmark) object;
+                    target.setText( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _text
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+        //-- _xmlEntity
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(com.iver.andami.persistence.generate.XmlEntity.class, "_xmlEntity", "xml-entity", org.exolab.castor.xml.NodeType.Element);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Bookmark target = (Bookmark) object;
+                return target.getXmlEntity();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Bookmark target = (Bookmark) object;
+                    target.setXmlEntity( (com.iver.andami.persistence.generate.XmlEntity) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new com.iver.andami.persistence.generate.XmlEntity();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        desc.setMultivalued(false);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _xmlEntity
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+        }
+        desc.setValidator(fieldValidator);
+    } //-- com.iver.andami.persistence.generate.BookmarkDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.Bookmark.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/BookmarkDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Bookmark.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Bookmark.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Bookmark.java	(revision 3340)
@@ -0,0 +1,199 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Bookmark.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Bookmark implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _text
+     */
+    private java.lang.String _text;
+
+    /**
+     * Field _xmlEntity
+     */
+    private com.iver.andami.persistence.generate.XmlEntity _xmlEntity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Bookmark() {
+        super();
+    } //-- com.iver.andami.persistence.generate.Bookmark()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'text'.
+     * 
+     * @return the value of field 'text'.
+     */
+    public java.lang.String getText()
+    {
+        return this._text;
+    } //-- java.lang.String getText() 
+
+    /**
+     * Returns the value of field 'xmlEntity'.
+     * 
+     * @return the value of field 'xmlEntity'.
+     */
+    public com.iver.andami.persistence.generate.XmlEntity getXmlEntity()
+    {
+        return this._xmlEntity;
+    } //-- com.iver.andami.persistence.generate.XmlEntity getXmlEntity() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'text'.
+     * 
+     * @param text the value of field 'text'.
+     */
+    public void setText(java.lang.String text)
+    {
+        this._text = text;
+    } //-- void setText(java.lang.String) 
+
+    /**
+     * Sets the value of field 'xmlEntity'.
+     * 
+     * @param xmlEntity the value of field 'xmlEntity'.
+     */
+    public void setXmlEntity(com.iver.andami.persistence.generate.XmlEntity xmlEntity)
+    {
+        this._xmlEntity = xmlEntity;
+    } //-- void setXmlEntity(com.iver.andami.persistence.generate.XmlEntity) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.Bookmark) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.Bookmark.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Bookmark.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/WindowDescriptor.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/WindowDescriptor.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/WindowDescriptor.java	(revision 3340)
@@ -0,0 +1,251 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import org.exolab.castor.mapping.AccessMode;
+import org.exolab.castor.xml.TypeValidator;
+import org.exolab.castor.xml.XMLFieldDescriptor;
+import org.exolab.castor.xml.validators.*;
+
+/**
+ * Class WindowDescriptor.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class WindowDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field nsPrefix
+     */
+    private java.lang.String nsPrefix;
+
+    /**
+     * Field nsURI
+     */
+    private java.lang.String nsURI;
+
+    /**
+     * Field xmlName
+     */
+    private java.lang.String xmlName;
+
+    /**
+     * Field identity
+     */
+    private org.exolab.castor.xml.XMLFieldDescriptor identity;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public WindowDescriptor() {
+        super();
+        xmlName = "window";
+        org.exolab.castor.xml.util.XMLFieldDescriptorImpl  desc           = null;
+        org.exolab.castor.xml.XMLFieldHandler              handler        = null;
+        org.exolab.castor.xml.FieldValidator               fieldValidator = null;
+        //-- initialize attribute descriptors
+        
+        //-- _rectangle
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_rectangle", "rectangle", org.exolab.castor.xml.NodeType.Attribute);
+        desc.setImmutable(true);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Window target = (Window) object;
+                return target.getRectangle();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Window target = (Window) object;
+                    target.setRectangle( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return null;
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _rectangle
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            StringValidator typeValidator = new StringValidator();
+            typeValidator.setWhiteSpace("preserve");
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- _id
+        desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_id", "id", org.exolab.castor.xml.NodeType.Attribute);
+        handler = (new org.exolab.castor.xml.XMLFieldHandler() {
+            public java.lang.Object getValue( java.lang.Object object ) 
+                throws IllegalStateException
+            {
+                Window target = (Window) object;
+                return target.getId();
+            }
+            public void setValue( java.lang.Object object, java.lang.Object value) 
+                throws IllegalStateException, IllegalArgumentException
+            {
+                try {
+                    Window target = (Window) object;
+                    target.setId( (java.lang.String) value);
+                }
+                catch (java.lang.Exception ex) {
+                    throw new IllegalStateException(ex.toString());
+                }
+            }
+            public java.lang.Object newInstance( java.lang.Object parent ) {
+                return new java.lang.String();
+            }
+        } );
+        desc.setHandler(handler);
+        desc.setRequired(true);
+        addFieldDescriptor(desc);
+        
+        //-- validation code for: _id
+        fieldValidator = new org.exolab.castor.xml.FieldValidator();
+        fieldValidator.setMinOccurs(1);
+        { //-- local scope
+            NameValidator typeValidator = new NameValidator(NameValidator.NMTOKEN);
+            fieldValidator.setValidator(typeValidator);
+        }
+        desc.setValidator(fieldValidator);
+        //-- initialize element descriptors
+        
+    } //-- com.iver.andami.persistence.generate.WindowDescriptor()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method getAccessMode
+     */
+    public org.exolab.castor.mapping.AccessMode getAccessMode()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
+
+    /**
+     * Method getExtends
+     */
+    public org.exolab.castor.mapping.ClassDescriptor getExtends()
+    {
+        return null;
+    } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
+
+    /**
+     * Method getIdentity
+     */
+    public org.exolab.castor.mapping.FieldDescriptor getIdentity()
+    {
+        return identity;
+    } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
+
+    /**
+     * Method getJavaClass
+     */
+    public java.lang.Class getJavaClass()
+    {
+        return com.iver.andami.persistence.generate.Window.class;
+    } //-- java.lang.Class getJavaClass() 
+
+    /**
+     * Method getNameSpacePrefix
+     */
+    public java.lang.String getNameSpacePrefix()
+    {
+        return nsPrefix;
+    } //-- java.lang.String getNameSpacePrefix() 
+
+    /**
+     * Method getNameSpaceURI
+     */
+    public java.lang.String getNameSpaceURI()
+    {
+        return nsURI;
+    } //-- java.lang.String getNameSpaceURI() 
+
+    /**
+     * Method getValidator
+     */
+    public org.exolab.castor.xml.TypeValidator getValidator()
+    {
+        return this;
+    } //-- org.exolab.castor.xml.TypeValidator getValidator() 
+
+    /**
+     * Method getXMLName
+     */
+    public java.lang.String getXMLName()
+    {
+        return xmlName;
+    } //-- java.lang.String getXMLName() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/WindowDescriptor.java
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Window.java
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Window.java	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Window.java	(revision 3340)
@@ -0,0 +1,199 @@
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
+ *
+ * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
+ *
+ * For more information, contact:
+ *
+ *  Generalitat Valenciana
+ *   Conselleria d'Infraestructures i Transport
+ *   Av. Blasco Ib��ez, 50
+ *   46010 VALENCIA
+ *   SPAIN
+ *
+ *      +34 963862235
+ *   gvsig@gva.es
+ *      www.gvsig.gva.es
+ *
+ *    or
+ *
+ *   IVER T.I. S.A
+ *   Salamanca 50
+ *   46005 Valencia
+ *   Spain
+ *
+ *   +34 963163400
+ *   dac@iver.es
+ */
+package com.iver.andami.persistence.generate;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class Window.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class Window implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * Field _rectangle
+     */
+    private java.lang.String _rectangle;
+
+    /**
+     * Field _id
+     */
+    private java.lang.String _id;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public Window() {
+        super();
+    } //-- com.iver.andami.persistence.generate.Window()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Returns the value of field 'id'.
+     * 
+     * @return the value of field 'id'.
+     */
+    public java.lang.String getId()
+    {
+        return this._id;
+    } //-- java.lang.String getId() 
+
+    /**
+     * Returns the value of field 'rectangle'.
+     * 
+     * @return the value of field 'rectangle'.
+     */
+    public java.lang.String getRectangle()
+    {
+        return this._rectangle;
+    } //-- java.lang.String getRectangle() 
+
+    /**
+     * Method isValid
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'id'.
+     * 
+     * @param id the value of field 'id'.
+     */
+    public void setId(java.lang.String id)
+    {
+        this._id = id;
+    } //-- void setId(java.lang.String) 
+
+    /**
+     * Sets the value of field 'rectangle'.
+     * 
+     * @param rectangle the value of field 'rectangle'.
+     */
+    public void setRectangle(java.lang.String rectangle)
+    {
+        this._rectangle = rectangle;
+    } //-- void setRectangle(java.lang.String) 
+
+    /**
+     * Method unmarshal
+     * 
+     * @param reader
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (com.iver.andami.persistence.generate.Window) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.Window.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/persistence/generate/Window.java
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_de.properties
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_de.properties	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_de.properties	(revision 3340)
@@ -0,0 +1,36 @@
+#text_de.properties
+KeyMapping.Caracter_no_valido=Ung\u00FCltigiges Zeichen\:
+Launcher.config_mal_formado=Datei 'config.xml' fehlerhaft
+Launcher.config_no_encontrado=Konnte die Datei 'config.xml' nicht finden.
+Launcher.Dependencia_no_resuelta_en_plugin=Ungekl\u00E4rte Plugin-Abh\u00E4ngigkeit
+Launcher.Dos_skin_extension=Zwei skin-extensions. Es wird die letzte verwendet.
+Launcher.Error_con_las_librerias_del_plugin=Fehler bei den Plugin-Bibliotheken
+Launcher.Error_instanciando_la_extension=Kann die Erweiterung nicht instanziieren.
+Launcher.Error_localizando_la_clase_de_la_extension=Fehler bei der Lokalisierung der Erweiterungsklasse
+Launcher.Hay_dependencias_circulares=Kreisf\u00F6rmige Abh\u00E4ngigkeiten zwischen den Plugins
+Launcher.Ignorando_el_directorio=Das Verzeichnis wird ignoriert.
+Launcher.labelset_class=Kann die Etikettenklasse (labelset) nicht finden.
+Launcher.look_and_feel=Konnte nicht auf 'look and feel'  stellen.
+Launcher.No_se_encontro_la_clase_de_la_extension=Konnte die Erweiterungsklasse nicht finden.
+Launcher.No_se_encontro_la_clase_mdi_manager=Konnte die mdi-manager-Klasse nicht finden.
+Launcher.No_se_pudo_acceder_a_la_clase_mdi_manager=Konnte nicht auf den mdi-manager zugreifen.
+Launcher.No_se_pudo_guardar_la_configuracion_de_andami=Konnte die andami-Erweiterung nicht speichern.
+Launcher.No_se_pudo_instanciar_la_clase_mdi_manager=Konnte den mdi-manager nicht erstellen.
+Launcher.No_se_puede_acceder_a=Kein Zugriff m\u00F6glich auf\: 
+Launcher.Se_produjo_un_error_guardando_la_configuracion_de_los_plugins=Fehler bei der Speicherung der Plugin-Konfiguration
+Launcher.Two_extensions_with_the_same_priority=Zwei Erweiterungen mit der gleichen Priorit\u00E4t. Es wird nur eine geladen.
+Launcher.Two_menus_with_the_same_position=Zwei Men\u00FCs mit der gleichen Priorit\u00E4t. Es wird nur eins geladen.
+MDIFrame.Error_no_capturado_por_el_usuario=Anwendungsfehler
+MDIFrame.quiere_salir=Sind Sie sicher, dass Sie das Programm beenden wollen?
+MDIFrame.salir=Beenden
+MDIManagerFactory.No_skin_extension_in_the_plugins=Keine skin-extension in den Plugins gefunden
+PluginClassLoader.Dos_clases_con_el_mismo_nombre_en_el_plugin=Zwei Klassen mit dem gleichen Namen im Plugin
+PluginClassLoader.Error_reading_file=Dateilesefehler \:
+PluginServices.Bug_en_el_codigo=Bug im Code
+PluginServices.Error_grave_de_la_aplicacion=Schwerer Anwendungsfehler. Sie sollten Ihre Daten speichern und die Anwendung beenden.
+PluginServices.No_se_encontro_el_recurso_de_traducciones=Konnte die \u00DCbersetzungsressource nicht finden.
+PluginServices.No_se_encontro_la_traduccion_para=Konnte \u00DCbersetzung nicht finden f\u00FCr\:
+PluginServices.No_se_pudo_poner_el_reloj_de_arena=Konnte die Sanduhr nicht stellen.
+PluginServices.No_se_pudo_restaurar_el_cursor_del_raton=Konnte den Cursor nicht wiederherstellen.
+SplashWindow.Iniciando=Startet...
+StatusBar.Aplicacion_iniciada=Anwendung gestartet

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/src/com/iver/andami/text_de.properties
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/docs/style.css
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/docs/style.css
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/docs/Servicios para los plugins.txt
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/docs/Servicios para los plugins.txt	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/docs/Servicios para los plugins.txt	(revision 3340)
@@ -0,0 +1,12 @@
+1 Ejecuci�n en segundo plano.
+
+	Es conveniente que la interfaz est� siempre en funcionamiento,
+nunca bloqueada, aunque sea s�lo para mostrar al usuario que el
+programa est� procesando. Para ello hay que realizar las tareas
+que puedan tomar demasiado tiempo en un thread a parte. La
+clase PluginServices proporciona un m�todo est�tico 
+backgroundExecution al cual se le pasa un objeto Runnable, que
+es ejecutado en segundo plano, dejando el thread de la interfaz
+libre para responder pero con sus eventos bloqueados con el fin
+de que la interfaz responda y se redibuje, pero se ignoren los
+eventos que produce el usuario mientras se procesa la petici�n
\ No newline at end of file

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/docs/Servicios para los plugins.txt
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/docs/funcionamiento class loader.txt
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/docs/funcionamiento class loader.txt	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/docs/funcionamiento class loader.txt	(revision 3340)
@@ -0,0 +1,5 @@
+En Andami, el class loader de cada plugin delega primero en el classloader del sistemaes decir, que si se ejecuta desde eclipse buscar� por todos los jars que haya en el classpath del proyecto, y si se ejecuta desde la linea de comandos, buscar� en la variable de entorno CLASSPATH o en el argumento -classpath que se pase como par�metro a java.
+
+Si el class loader del sistema no satisface la b�squeda, se buscar� en los jars especificados por el config.xml del plugin que intenta cargar la clase y si no se encuentra en dichos jars, se buscar� en los jars de los plugins de los cuales depende el plugin que intenta cargar la clase.
+
+Por otra parte, FMap tiene un directorio de drivers en los que vas dejando los jars y autom�ticamente los procesa FMap. Sin embargo, FMap no conoce que es usado por Andami, y de hecho, FMap puede ser usado desde otros entornos, por lo que no usa directamente el class loader del plugin que tiene la librer�a fmap.jar en el config.xml. Usa su propio class loader, que est� definido en el proyecto driver-manager. Este class loader busca en los jars que hay en el mismo directorio del driver y de no encontrarla �stos, delega en el classloader padre. El class loader padre, en el caso de gvSIG con Andami es el class loader del plugin que accede al driver.

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/docs/funcionamiento class loader.txt
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Index: tags/Root_Andami_CAD/frameworks/_fwAndami/docs/Andami developer guide.html
===================================================================
--- tags/Root_Andami_CAD/frameworks/_fwAndami/docs/Andami developer guide.html	(revision 0)
+++ tags/Root_Andami_CAD/frameworks/_fwAndami/docs/Andami developer guide.html	(revision 3340)
@@ -0,0 +1,289 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1"
+ http-equiv="content-type">
+  <title>Andami developer guide</title>
+<link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body>
+<table width="90%" border="0">
+  <tr>
+    <td class="Nivel2"><a href="#Introduccion"><strong><font color="#FFFFFF">Introducci&oacute;n</font></strong></a></td>
+  </tr>
+  <tr>
+    <td class="Nivel2"><a href="#Creacion_de_plugins"><font color="#FFFFFF"><strong>Creaci&oacute;n 
+      de plugins</strong></font></a></td>
+  </tr>
+  <tr>
+    <td class="Nivel2"><a href="#Funcionamiento_del_class_loader"><strong><font color="#FFFFFF">Funcionamiento 
+      del class loader</font></strong></a></td>
+  </tr>
+  <tr>
+    <td class="Nivel2"><a href="#Servicios_a_los_plugins"><font color="#FFFFFF"><strong>Servicios 
+      a los plugins</strong></font></a></td>
+  </tr>
+  <tr>
+    <td><strong>&nbsp;&nbsp;&nbsp; <a
+ href="#Ejecucion_en_segundo_plano">Ejecuci&oacute;n en segundo plano</a></strong></td>
+  </tr>
+  <tr>
+    <td><strong>&nbsp;&nbsp;&nbsp; <a href="#Acceso_a_las_extensiones">Acceso 
+      a las extensiones</a></strong></td>
+  </tr>
+  <tr>
+    <td class="urbanismo"><strong>&nbsp;&nbsp;&nbsp; <a href="#Persistencia_de_los_plugins">Persistencia 
+      de los plugins</a></strong></td>
+  </tr>
+  <tr>
+    <td><strong>&nbsp;&nbsp;&nbsp; <a href="#popupmenus">Pop-up menus</a></strong></td>
+  </tr>
+  <tr>
+    <td><strong>&nbsp;&nbsp;&nbsp; <a href="#Vistas">Vistas</a></strong></td>
+  </tr>
+  <tr>
+    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#SingletonView">SingletonView's</a></td>
+  </tr>
+</table>
+
+
+
+<p> <strong><font size="+1"><a name="Introduccion"></a>Introducci&oacute;n</font></strong></p>
+<p> &nbsp;&nbsp;&nbsp; Andami es un framework orientado a plugins construido sobre 
+  swing que permite la construcci&oacute;n de forma r&aacute;pida y extensible 
+  de aplicaciones MDI (Multiple Document Interface). Tiene ya implementadas muchas 
+  de las funcionalidades requeridas para este tipo de aplicaciones tales como 
+  un men&uacute; Ventana, en la que van apareciendo las ventanas que se abren, 
+  soporte para el traducciones, configuraci&oacute;n personalizada para cada usuario, 
+  actualizaciones autom&aacute;ticas, tanto del propio Andami como de los plugins, 
+  persistencia del tama&ntilde;o y posici&oacute;n de la ventana, del idioma, 
+  distintos tipos de vista, con la finalidad de facilitar la programaci&oacute;n 
+  de ventanas especiales, ... Todo esto adem&aacute;s de tener ya solventados 
+  los problemas t&iacute;picos de la programaci&oacute;n de un entorno como &eacute;ste 
+  que no son pocos.<br>
+  <br>
+  &nbsp;&nbsp;&nbsp; Adem&aacute;s, Andami est&aacute; dise&ntilde;ada de forma 
+  que la propia l&oacute;gica MDI puede ser reemplazada. Si en lugar de una aplicaci&oacute;n 
+  estilo arcView, se quiere que cada vista que se a&ntilde;ada, se haga en una 
+  ventana de windows nueva (de las que aparecen en la barra de estado) o una vista 
+  como la de Eclipse, no hay m&aacute;s que desarrollar el plugin adecuado.<br>
+  <br>
+  &nbsp;&nbsp;&nbsp; Andami est&aacute; dise&ntilde;ada para ser amistosa con 
+  el usuario y para ello incorpora la posibilidad de a&ntilde;adir tooltips y 
+  enabletexts a los botones. El tooltip es el texto que aparece cuando el rat&oacute;n 
+  se detiene sobre un bot&oacute;n o men&uacute;. El enableText es el texto que 
+  aparece en el caso anterior cuando el bot&oacute;n est&aacute; desactivado, 
+  permitiendo mostrar al usuario qu&eacute; es lo que debe hacer para que dicho 
+  bot&oacute;n se active (o cualquier otro mensaje).<br>
+  <br>
+  &nbsp;&nbsp;&nbsp; Por &uacute;ltimo, Andami tiene una gesti&oacute;n de errores 
+  que agradar&aacute; a cualquier programador, ya que en casos de errores graves, 
+  el propio framework avisa de dicho fallo y aconseja al usuario salvar los cambios 
+  y reiniciar el programa, a parte de que toda excepci&oacute;n no capturada por 
+  el usuario se redirige a un fichero de log configurable en el que se escribir&aacute; 
+  su traza.<br>
+</p>
+<p> <strong><font size="+1"><a name="Creacion_de_plugins"></a>Creaci&oacute;n 
+  de plugins</font></strong></p>
+<p> &nbsp;&nbsp;&nbsp; Andami gira en torno al concepto de plugin. Andami mantiene 
+  un directorio como directorio de los plugins, que se puede cambiar en cualquier 
+  momento. Un plugin viene definido por la existencia de un subdirectorio dentro 
+  del directorio de los plugins, siendo el nombre del plugin el nombre de dicho 
+  directorio. Dentro de dicho directorio debe haber un fichero config.xml en el 
+  que se configuran los puntos de entrada y salida del plugin (men&uacute;es, 
+  barras de herramientas, etiquetas de la barra de estado, men&uacute;es contextuales), 
+  las librer&iacute;as que va a usar, el paquete de traducciones, los plugins 
+  de los que depende, etc. El fichero plugin-config.xsd contiene el esquema que 
+  ha de seguir este fichero y est&aacute;n comentados todos los elementos. En 
+  el CorePlugin que viene con Adami se puede ver un ejemplo de config.xml.<br>
+  <br>
+  &nbsp;&nbsp;&nbsp; Las rutas de los directorios son siempre relativas al directorio 
+  del plugin y los textos de los men&uacute;es, tooltips y enabletext's son claves 
+  en el fichero de traducciones en caso de que haya y textos literales en caso 
+  de que no haya traducciones. El fichero de traducciones es un fichero de propiedades 
+  com&uacute;n: ver ResourceBundle en la API de Java.<br>
+  <br>
+  &nbsp;&nbsp;&nbsp; Dentro de los plugins aparece el concepto de extensi&oacute;n. 
+  Una extensi&oacute;n es instalada por los plugins mediante la implementaci&oacute;n 
+  de la interfaz com.iver.andami.plugins.Extension y la instalaci&oacute;n de 
+  unos controles geobernados por &eacute;sta en el fichero config.xml. Mediante 
+  esta implementaci&oacute;n se le dice a Andami la condici&oacute;n que se debe 
+  cumplir para que los controles sean visibles o est&eacute;n activos. Adem&aacute;s 
+  se implementa la acci&oacute;n a llevar a cabo cuando se selecciona uno de los 
+  men&uacute;es o botones asociados a la extensi&oacute;n. Cabe resaltar que Andami 
+  crea una instancia de cada extensi&oacute;n configurada en config.xml, por lo 
+  que las clases que implementen la interfaz Extension deben de tener un constructor 
+  sin argumentos.<br>
+  <br>
+  &nbsp;&nbsp;&nbsp; En los tag 'extension' existe un atributo class-name en el 
+  que se especifica la clase que gobierna el punto de extensi&oacute;n que se 
+  est&aacute; definiendo. Esta clase deber&aacute; implementar la interfaz com.iver.andami.plugins.Extension 
+  y ser&aacute; mediante &eacute;sta que gobernar&aacute; los men&uacute;es y 
+  botones asociados a este punto de extensi&oacute;n<br>
+  <br>
+  &nbsp;&nbsp;&nbsp; Una problema com&uacute;n en este framework es no ver c&oacute;mo 
+  se mantiene la informaci&oacute;n del proyecto concreto que se est&aacute; desarrollando. 
+  El lugar adecuado es una de las extensiones instaladas. Por ejemplo en el caso 
+  de gvSIG est&aacute; la extensi&oacute;n com.iver.cit.gvsig.ProjectExtension, 
+  en la cual hay un atributo Project que es la ra&iacute;z del &aacute;rbol jer&aacute;rquico 
+  del cual penden las vistas, mapas, tablas, ... Adem&aacute;s esta extensi&oacute;n 
+  tiene un m&eacute;todo getProject que devuelve la referencia al proyecto, de 
+  manera que se puede acceder desde cualquier punto de la aplicaci&oacute;n. Para 
+  ver el acceso a las instancias de las extensiones ver <a href="#Acceso_a_las_extensiones">acceso 
+  a las extensiones</a></p>
+<p><br>
+  <font size="+1"><strong><a name="Funcionamiento_del_class_loader"></a>Funcionamiento 
+  del class loader</strong></font></p>
+<p> En Andami, el class loader de cada plugin delega primero en el classloader 
+  del sistemaes decir, que si se ejecuta desde eclipse buscar&aacute; por todos 
+  los jars que haya en el classpath del proyecto, y si se ejecuta desde la linea 
+  de comandos, buscar&aacute; en la variable de entorno CLASSPATH o en el argumento 
+  -classpath que se pase como par&aacute;metro a java.<br>
+  <br>
+  Si el class loader del sistema no satisface la b&uacute;squeda, se buscar&aacute; 
+  en los jars del directorio especificado por el config.xml del plugin que intenta 
+  cargar la clase y si no se encuentra en dichos jars, se buscar&aacute; en los 
+  jars de los plugins de los cuales depende el plugin que intenta cargar la clase.<br>
+  <br>
+  <strong><font size="+1"><a name="Servicios_a_los_plugins"></a>Servicios 
+  a los plugins</font></strong></p>
+<p><br>
+&nbsp;&nbsp;&nbsp; Andami ofrece a los plugins distintos servicios 
+  a trav&eacute;s de la clase PluginServices en cuyo javadoc se puede obtener 
+  informaci&oacute;n sobre como usarlos. Existen unos servicios gen&eacute;ricos 
+  que vienen dados por m&eacute;todos est&aacute;ticos de dicha clase y luego 
+  est&aacute; el m&eacute;todo getPluginServices que obtiene una instancia de 
+  esta clase espec&iacute;fica del plugin, mediante la cual puede acceder a servicios 
+  concretos de cada plugin, traducciones, persistencia, directorio del plugin, 
+  ...<br>
+  &nbsp;<br>
+  <strong><a name="Ejecucion_en_segundo_plano"></a>Ejecuci&oacute;n en segundo 
+  plano</strong><br>
+  &nbsp;&nbsp;&nbsp; Es conveniente que la interfaz gr&aacute;fica est&eacute; 
+  siempre en funcionamiento, nunca bloqueada, aunque sea s&oacute;lo para mostrar 
+  al usuario que el programa est&aacute; procesando. Para ello hay que realizar 
+  las tareas que puedan tomar demasiado tiempo en un thread a parte. La clase 
+  PluginServices proporciona un m&eacute;todo est&aacute;tico backgroundExecution 
+  al cual se le pasa un objeto Runnable, que es ejecutado en segundo plano, dejando 
+  el thread de la interfaz libre para responder pero con sus eventos bloqueados 
+  con el fin de que la interfaz responda y se redibuje, pero se ignoren los eventos 
+  que produce el usuario mientras se procesa la petici&oacute;n<br>
+  <br>
+  <a name="Acceso_a_las_extensiones"></a><strong>Acceso a las extensiones</strong><br>
+  &nbsp;&nbsp;&nbsp; Para acceder a la instancia de una extensi&oacute;n 
+  se puede usar simplemente el m&eacute;todo de PluginServices getExtension(Class) 
+  a la cual habr&aacute; que pasar como par&aacute;metro la clase de la extensi&oacute;n 
+  a la que se quiere acceder. Dicho m&eacute;todo retorna un objeto Extensi&oacute;n 
+  y por tanto habr&aacute; que hacer casting a la clase concreta de dicha extensi&oacute;n, 
+  habiendo obtenido as&iacute; la referencia a la instancia de la extensi&oacute;n 
+  deseada.<br>
+  &nbsp;&nbsp;&nbsp; A la hora de desarrollar habr&aacute; que tener en el build 
+  path del entorno de desarrollo que se use, el jar del plugin dentro del cual 
+  est&aacute; la extensi&oacute;n que se quiere obtener, para poder pasarle como 
+  par&aacute;metro a getExtension(Class) la clase de la misma.<br>
+  <br>
+  <strong><a name="Persistencia_de_los_plugins"></a>Persistencia de 
+  los plugins</strong><br>
+  &nbsp;&nbsp;&nbsp; Uno de los servicios que ofrece Andami a los 
+  plugins es la facilidad de guardar datos gen&eacute;ricos de los mismos en el 
+  directorio del usuario de manera que cada usuario mantiene su propia configuraci&oacute;n 
+  de los plugins. Para ello, las instancias de PluginServices contienen una propiedad 
+  persistentXML que puede ser obtenida y asignada y que es de tipo XMLEntity, 
+  pudiendo a&ntilde;adir informaci&oacute;n de tipo b&aacute;sico (String, int, 
+  long, ...) a dicha instancia y siendo esta informaci&oacute;n persistente entre 
+  ejecuciones.<br>
+  <br>
+  <strong><a name="popupmenus"></a>Pop-up menus</strong><br>
+  &nbsp;&nbsp;&nbsp;&nbsp; Otro servicio proporcionado por Andami es el de pop-up 
+  menu's extensibles. Mediante el XML se puede definir un pop-up menu con un nombre 
+  y unas entradas al igual que cualquier otro men&uacute;, con la &uacute;nica 
+  diferencia que para mostrar el popup men&uacute; habr&aacute; que registrar 
+  un listener de la siguiente manera:<br>
+</p>
+<div style="text-align: center;">
+<pre><>public void addPopupMenuListener(String name, Component c, ActionListener listener)</><br></pre>
+</div>
+&nbsp;&nbsp;&nbsp; Lo cual har&aacute; que al pinchar con el
+bot&oacute;n derecho sobre el componente 'c' aparezca el men&uacute;
+'name' del fichero de configuraci&oacute;n del plugin y al seleccionar
+cualquier entrada se ejecutar&aacute; el ActionListener que se pasa
+como par&aacute;metro.<br>
+<br>
+&nbsp;&nbsp;&nbsp; Estos men&uacute;es son extensibles porque cualquier
+otro plugin puede a&ntilde;adir entradas a dicho men&uacute; en su
+propio fichero config.xml referenciando el men&uacute; al que quiere
+extender mediante el nombre del plugin m&aacute;s el nombre del
+men&uacute;. Un ejemplo. Tenemos un plugin llamado com.iver.cit.gvsig
+que instala un men&uacute; de la siguiente manera:<br>
+<pre>		&lt;popupMenu name="cascada"&gt;<br>			&lt;entry text="Cascada" <br>				tooltip="cascada_tooltip" <br>				enableText="cascada_enable" actionCommand="CASCADA"/&gt;<br>			&lt;entry text="Tile" <br>				tooltip="tile_tooltip" <br>				enableText="cascada_enable" actionCommand="CASCADA"/&gt;<br>		&lt;/popupMenu&gt;<br></pre>
+y tenemos otro plugin que quiere a&ntilde;adir una entrada a dicho
+men&uacute;. Para ello deber&aacute; de incluir un fragmento similar a
+este en su fichero config.xml:<br>
+<pre>		&lt;popupMenu name="com.iver.cit.gvsig.cascada"&gt;<br>			&lt;entry text="Nueva entrada" actionCommand="NUEVA"/&gt;<br>		&lt;/popupMenu&gt;<br></pre>
+y adem&aacute;s deber&aacute; de registrarse como listener de la manera
+que se explic&oacute; anteriormente.<br>
+<br>
+<strong><a name="Vistas"></a>Vistas</strong><br>
+&nbsp;&nbsp;&nbsp; El servicio m&aacute;s importante que
+proporciona Andami es el de a&ntilde;adir vistas al marco principal.
+Podemos calsificar las vistas por varios criterios:<br>
+<ul>
+  <li>Por su modalidad</li>
+  <ul>
+    <li>Modales</li>
+    <li>No modales</li>
+  </ul>
+</ul>
+<ul>
+  <li>Por su contenido</li>
+  <ul>
+    <li>Singleton (Contenido identificable)</li>
+    <li>Normales (Contenido no identificable)</li>
+  </ul>
+</ul>
+&nbsp;&nbsp;&nbsp; Para crear una vista hay que hacer una clase que
+derive de JPanel en la que se pone toda la funcionalidad como si de un
+di&aacute;logo normal se tratara. Adem&aacute;s esta clase ha de
+implementar la interfaz View la cual proporciona un m&eacute;todo
+getViewInfo que es invocado una vez en la vida de la vista. Este objeto
+contiene las caracter&iacute;sticas que tendr&aacute; la vista:
+maximizable, resizable, title, ... y puede ser actualizado en cualquier
+momento, reflej&aacute;ndose estos cambios de manera autom&aacute;tica
+en la interfaz de usuario. Una vez implementada la vista, hay que
+a&ntilde;adirla al manger MDI, que es el encargado de manejar toda la
+l&oacute;gica relacionada con las vistas. Para obtener una referencia
+al manager MDI la clase PluginServices tiene un m&eacute;todo
+getMDIManager, el cual a su vez tiene un m&eacute;todo addView mediante
+el cual se puede a&ntilde;adir la vista.<br>
+<br>
+&nbsp;&nbsp;&nbsp; Si durante la ejecuci&oacute;n se quiere cambiar
+alguna propiedad de la vista tal como el tama&ntilde;o, la
+posici&oacute;n o el
+t&iacute;tulo, s&oacute;lo hay que acceder al objeto ViewInfo de la
+misma y realizar los cambios de la manera deseada. El siguiente trozo
+de c&oacute;digo cambia el t&iacute;tulo de una ventana (se supone que
+es ejecutado desde la clase que implementa View).<br>
+<pre>	PluginServices.getMDIManager().getViewInfo(this).setTitle("Nuevo t&iacute;tulo");<br></pre>
+&nbsp;&nbsp;&nbsp; Puede ser necesario que algunas vistas realicen
+alg&uacute;n tipo de procesamiento al ser activadas pero esto no se
+sabe cuando ocurre ya que lo que se entrega al manager MDI es un
+JPanel. Para recibir los eventos sobre las vistas, adem&aacute;s de
+implementar View hay que implementar ViewListener la cual
+proporcionar&aacute; los m&eacute;todos que ser&aacute;n invocados
+cuando sucedan los eventos oportunos en las vistas.<br>
+<br>
+<big><a name="SingletonView"></a>SingletonView<br>
+</big>&nbsp;&nbsp;&nbsp; Un tipo especial de vistas son las
+SingletonView. Su principal caracter&iacute;stica es que se les define
+el contenido de las mismas, de manera que cuando hay una SingletonView
+minimizada en el proyecto y se intenta a&ntilde;adir un JPanel con el
+mismo contenido, en lugar de aparecer otra ventana en el escritorio, lo
+que sucede es que la ventana que estaba minimizada se restaura a su
+posici&oacute;n anterior. Para esto, el m&eacute;todo addView devuelve
+una referencia a la vista que se muestra, sea esta la que se
+est&aacute; a&ntilde;adiendo o la que ya est&aacute; a&ntilde;adida.
+Adem&aacute;s, al cerrar dicha ventana se guardan las dimensiones y la
+posici&oacute;n de las mismas, de manera que al volverla a abrir se
+recuerdan estos datos.<br>
+</body>
+</html>

Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami/docs/Andami developer guide.html
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native


Property changes on: tags/Root_Andami_CAD/frameworks/_fwAndami
___________________________________________________________________
Added: svn:ignore
   + bin
gvsig.log
gvSIG
web
andami.jar
keystore
java.hprof.txt
build-doc
*.log


