Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/distribution/distribution.xml
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/distribution/distribution.xml	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/distribution/distribution.xml	(revision 39269)
@@ -0,0 +1,44 @@
+<assembly>
+	<id>distribution</id>
+	<formats>
+		<format>dir</format>
+	</formats>
+	<fileSets>
+		<fileSet>
+			<directory>src/main/resources/config</directory>
+			<outputDirectory>${extension.install.dir.name}
+			</outputDirectory>
+		</fileSet>
+		<fileSet>
+			<directory>src/main/resources/images</directory>
+			<outputDirectory>${extension.install.dir.name}/images
+			</outputDirectory>
+		</fileSet>
+		<fileSet>
+			<directory>src/main/resources/about</directory>
+			<outputDirectory>${extension.install.dir.name}
+			</outputDirectory>
+		</fileSet>
+		<fileSet>
+			<directory>src/main/resources/locale</directory>
+			<outputDirectory>${extension.install.dir.name}
+			</outputDirectory>
+		</fileSet>	
+	</fileSets>
+	<files>
+		<file>
+			<source>package.info</source>
+			<outputDirectory>${extension.install.dir.name}
+			</outputDirectory>
+		</file>
+	</files>
+	<dependencySets>
+		<dependencySet>
+			<outputDirectory>${extension.install.dir.name}/${library-dir}
+			</outputDirectory>
+			<includes>
+				<include>org.gvsig:org.gvsig.symbology.app.importsymbols:jar</include>		
+			</includes>
+		</dependencySet>		
+	</dependencySets>
+</assembly>

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/distribution/distribution.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/buildNumber.properties
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/buildNumber.properties	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/buildNumber.properties	(revision 39269)
@@ -0,0 +1,3 @@
+#maven.buildNumber.plugin properties file
+#Tue Nov 13 15:35:39 CET 2012
+buildNumber=2069

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/buildNumber.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/config/config.xml
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/config/config.xml	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/config/config.xml	(revision 39269)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<plugin-config>
+	<libraries library-dir="lib" />
+	<depends plugin-name="org.gvsig.app" />
+	<resourceBundle name="text" />
+	<extensions>
+        <extension
+            class-name="org.gvsig.symbology.app.importsymbols.ImportPictureMarkerSymbolsExtension"
+            description="" active="true">
+
+          <action 
+                 name="tools-symbology-import-picture-marker-symbol" 
+                 label="_import_picture-marker_symbols"
+                 tooltip="_import_images_from_folder_as_picture_marker_symbols" 
+                 action-command="tools-symbology-import-picture-marker-symbol"
+                 icon="tools-simbology-import-picture-marker-symbol" 
+                 position="900400200" 
+                 accelerator="" 
+            />
+            <menu
+                 name="tools-symbology-import-picture-marker-symbol" 
+                 text="tools/Symbols/Import picture marker symbols"
+            />
+        </extension>
+	</extensions>
+</plugin-config>
+
+

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/config/config.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text.properties
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text.properties	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text.properties	(revision 39269)
@@ -0,0 +1,16 @@
+_Import_images_as_picture_marker_symbols=Importar imagenes como simbolos puntuales de imagen
+_Images_to_import=Imagenes a importar
+_Folder_name_for_creatimg_the_symbols=Nombre de la carpeta donde crear los simbolos
+_Default_size_to_use_in_symbols=Tamaño por defecto a usar para los nuevos simbolos
+_import=Importar
+_Overwrite_options=Opciones de sobreescritura
+_Select_images=Seleccione las imagenes
+_Ask_to_the_user=Preguntar al usuario
+_Dont_overwrite=No sobreescribir
+_Overwrite_always=Sobreescribir siempre
+_Import_picture_marker_symbols=Importar simbolos de imagen puntual
+_Should_select_a_folder_name=Debera seleccionar un nombre de carpeta
+_Should_select_the_images_to_import=Debera seleccionar las imagenes a importar
+_Select_the_images=Seleccione las imagenes
+_Images=Imagenes
+_Import_process_already_running_Wait_to_terminate_and_retry=El proceso de importacion esta ejecutandose.Espere a que termine y reintentelo de nuevo.
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text_en.properties
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text_en.properties	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text_en.properties	(revision 39269)
@@ -0,0 +1,16 @@
+_Import_images_as_picture_marker_symbols=Import images as picture marker symbols
+_Images_to_import=Images to import
+_Folder_name_for_creatimg_the_symbols=Folder name for creating the symbols
+_Default_size_to_use_in_symbols=Default size to use in symbols
+_import=Import
+_Overwrite_options=Overwrite options
+_Select_images=Select images
+_Ask_to_the_user=Ask to the user
+_Dont_overwrite=Don't overwrite
+_Overwrite_always=Overwrite always
+_Import_picture_marker_symbols=Import picture marker symbols
+_Should_select_a_folder_name=Should select a folder name
+_Should_select_the_images_to_import=Should select the images to import
+_Select_the_images=Select the images
+_Images=Images
+_Import_process_already_running_Wait_to_terminate_and_retry=Import process already running. Wait to terminate and retry.

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsExtension.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsExtension.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsExtension.java	(revision 39269)
@@ -0,0 +1,53 @@
+package org.gvsig.symbology.app.importsymbols;
+
+import java.awt.Component;
+
+import javax.swing.JOptionPane;
+
+import org.gvsig.andami.plugins.Extension;
+import org.gvsig.app.ApplicationLocator;
+import org.gvsig.app.ApplicationManager;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class ImportPictureMarkerSymbolsExtension extends Extension {
+
+    @SuppressWarnings("unused")
+    private static Logger logger = LoggerFactory.getLogger(ImportPictureMarkerSymbolsExtension.class);
+    private ImportPictureMarkerSymbolsProcess process = null;
+
+    public void initialize() {
+      // Do nothing
+    }
+    public void execute(String actionCommand) {
+      ApplicationManager application = ApplicationLocator.getManager();
+
+      if ("tools-symbology-import-picture-marker-symbol".equalsIgnoreCase(actionCommand)) {
+        if (process != null && process.isAlive()) {
+          application.messageDialog(
+        	  application.translate("_Import_process_already_running_Wait_to_terminate"),
+              application.translate("_Import_picture_marker_symbols"),
+              JOptionPane.WARNING_MESSAGE);
+          return;
+        }
+        process = new ImportPictureMarkerSymbolsProcess();
+        /*
+		Component dlg = application.createComponent(ImportPictureMarkerSymbolsPanel.class, process);
+		application.showDialog(dlg, application.translate("_Import_point_symbols"));
+		*/
+		if( !process.isCancellationRequested() ) {
+			process.start();
+		}
+      }
+    }
+    public boolean isEnabled() {
+      if (process != null && process.isAlive()) { 
+        return false;
+      }
+      return true;
+    }
+    public boolean isVisible() {
+      return true;
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsExtension.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.xml
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.xml	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.xml	(revision 39269)
@@ -0,0 +1,1003 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<object classname="com.jeta.forms.store.memento.FormPackage">
+ <at name="fileversion">
+  <object classname="com.jeta.forms.store.memento.FormsVersion2">
+   <at name="major">2</at>
+   <at name="minor">0</at>
+   <at name="sub">0</at>
+  </object>
+ </at>
+ <at name="form">
+  <object classname="com.jeta.forms.store.memento.FormMemento">
+   <super classname="com.jeta.forms.store.memento.ComponentMemento">
+    <at name="cellconstraints">
+     <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+      <at name="column">1</at>
+      <at name="row">1</at>
+      <at name="colspan">1</at>
+      <at name="rowspan">1</at>
+      <at name="halign">default</at>
+      <at name="valign">default</at>
+      <at name="insets" object="insets">0,0,0,0</at>
+     </object>
+    </at>
+    <at name="componentclass">com.jeta.forms.gui.form.FormComponent</at>
+   </super>
+   <at name="id">/home/jjdelcerro/workspaces/gvsig-desktop-2.0.0-20120418/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.xml</at>
+   <at name="path">gvsig-desktop-2.0.0-20120418/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.xml</at>
+   <at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,FILL:PREF:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at>
+   <at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE</at>
+   <at name="components">
+    <object classname="java.util.LinkedList">
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">2</at>
+           <at name="row">2</at>
+           <at name="colspan">6</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">com.jeta.forms.components.label.JETALabel</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">com.jeta.forms.components.label.JETALabel</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="text">_Import_images_as_picture_marker_symbols</at>
+            <at name="height">17</at>
+            <at name="width">631</at>
+            <at name="name">labelTitle</at>
+            <at name="fill">
+             <object classname="com.jeta.forms.store.properties.effects.PaintProperty">
+              <at name="name">fill</at>
+             </object>
+            </at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">2</at>
+           <at name="row">4</at>
+           <at name="colspan">6</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">com.jeta.forms.components.label.JETALabel</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">com.jeta.forms.components.label.JETALabel</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="text">_Images_to_import</at>
+            <at name="height">17</at>
+            <at name="width">631</at>
+            <at name="name">labelImagesToImport</at>
+            <at name="fill">
+             <object classname="com.jeta.forms.store.properties.effects.PaintProperty">
+              <at name="name">fill</at>
+             </object>
+            </at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">2</at>
+           <at name="row">7</at>
+           <at name="colspan">6</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">com.jeta.forms.components.label.JETALabel</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">com.jeta.forms.components.label.JETALabel</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="text">_Folder_name_for_creatimg_the_symbols</at>
+            <at name="height">17</at>
+            <at name="width">631</at>
+            <at name="name">labelFolderName</at>
+            <at name="fill">
+             <object classname="com.jeta.forms.store.properties.effects.PaintProperty">
+              <at name="name">fill</at>
+             </object>
+            </at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">3</at>
+           <at name="row">8</at>
+           <at name="colspan">5</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">javax.swing.JTextField</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">javax.swing.JTextField</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="height">21</at>
+            <at name="width">615</at>
+            <at name="name">ctrltFolderName</at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">3</at>
+           <at name="row">9</at>
+           <at name="colspan">5</at>
+           <at name="rowspan">1</at>
+           <at name="halign">fill</at>
+           <at name="valign">top</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">javax.swing.JList</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">javax.swing.JList</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="scrollableTracksViewportWidth">true</at>
+            <at name="height">78</at>
+            <at name="items">
+             <object classname="com.jeta.forms.store.properties.ItemsProperty">
+              <at name="name">items</at>
+             </object>
+            </at>
+            <at name="width">613</at>
+            <at name="name">ctrlExistingFolders</at>
+            <at name="scollBars">
+             <object classname="com.jeta.forms.store.properties.ScrollBarsProperty">
+              <at name="name">scollBars</at>
+              <at name="verticalpolicy">20</at>
+              <at name="horizontalpolicy">30</at>
+              <at name="border">
+               <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+                <super classname="com.jeta.forms.store.properties.BorderProperty">
+                 <at name="name">border</at>
+                </super>
+                <at name="borders">
+                 <object classname="java.util.LinkedList">
+                  <item >
+                   <at name="value">
+                    <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                     <super classname="com.jeta.forms.store.properties.BorderProperty">
+                      <at name="name">border</at>
+                     </super>
+                    </object>
+                   </at>
+                  </item>
+                 </object>
+                </at>
+               </object>
+              </at>
+             </object>
+            </at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+            <at name="scrollableTracksViewportHeight">true</at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">2</at>
+           <at name="row">11</at>
+           <at name="colspan">6</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">com.jeta.forms.components.label.JETALabel</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">com.jeta.forms.components.label.JETALabel</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="text">_Default_size_to_use_in_symbols</at>
+            <at name="height">17</at>
+            <at name="width">631</at>
+            <at name="name">labelSize</at>
+            <at name="fill">
+             <object classname="com.jeta.forms.store.properties.effects.PaintProperty">
+              <at name="name">fill</at>
+             </object>
+            </at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">3</at>
+           <at name="row">12</at>
+           <at name="colspan">5</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">javax.swing.JSpinner</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">javax.swing.JSpinner</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="height">24</at>
+            <at name="width">615</at>
+            <at name="name">ctrlDefaultSize</at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">5</at>
+           <at name="row">17</at>
+           <at name="colspan">1</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">javax.swing.JButton</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">javax.swing.JButton</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="text">_Cancel</at>
+            <at name="height">22</at>
+            <at name="width">62</at>
+            <at name="name">ctrlCancel</at>
+            <at name="actionCommand">_Cancel</at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">7</at>
+           <at name="row">17</at>
+           <at name="colspan">1</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">javax.swing.JButton</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">javax.swing.JButton</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="text">_import</at>
+            <at name="height">22</at>
+            <at name="width">62</at>
+            <at name="name">ctrlImport</at>
+            <at name="actionCommand">_import</at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">2</at>
+           <at name="row">14</at>
+           <at name="colspan">6</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">com.jeta.forms.components.label.JETALabel</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">com.jeta.forms.components.label.JETALabel</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="text">_Overwrite_options</at>
+            <at name="height">17</at>
+            <at name="width">631</at>
+            <at name="name">labelOverwriteOptions</at>
+            <at name="fill">
+             <object classname="com.jeta.forms.store.properties.effects.PaintProperty">
+              <at name="name">fill</at>
+             </object>
+            </at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">3</at>
+           <at name="row">15</at>
+           <at name="colspan">5</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">javax.swing.JComboBox</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">javax.swing.JComboBox</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="height">23</at>
+            <at name="selectedItem">
+             <object classname="com.jeta.forms.store.properties.ListItemProperty">
+              <at name="name">listitem</at>
+              <at name="label">_Ask_to_user</at>
+              <at name="icon">
+               <object classname="com.jeta.forms.store.properties.IconProperty">
+                <at name="embedded">false</at>
+                <at name="description"></at>
+                <at name="width">0</at>
+                <at name="height">0</at>
+               </object>
+              </at>
+             </object>
+            </at>
+            <at name="items">
+             <object classname="com.jeta.forms.store.properties.ItemsProperty">
+              <at name="name">items</at>
+              <at name="items">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.ListItemProperty">
+                   <at name="name">listitem</at>
+                   <at name="label">_Ask_to_user</at>
+                   <at name="icon">
+                    <object classname="com.jeta.forms.store.properties.IconProperty">
+                     <at name="embedded">false</at>
+                     <at name="description"></at>
+                     <at name="width">0</at>
+                     <at name="height">0</at>
+                    </object>
+                   </at>
+                  </object>
+                 </at>
+                </item>
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.ListItemProperty">
+                   <at name="name">listitem</at>
+                   <at name="label">_Dont_overwrite</at>
+                   <at name="icon">
+                    <object classname="com.jeta.forms.store.properties.IconProperty">
+                     <at name="embedded">false</at>
+                     <at name="description"></at>
+                     <at name="width">0</at>
+                     <at name="height">0</at>
+                    </object>
+                   </at>
+                  </object>
+                 </at>
+                </item>
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.ListItemProperty">
+                   <at name="name">listitem</at>
+                   <at name="label">_Overwrite_always</at>
+                   <at name="icon">
+                    <object classname="com.jeta.forms.store.properties.IconProperty">
+                     <at name="embedded">false</at>
+                     <at name="description"></at>
+                     <at name="width">0</at>
+                     <at name="height">0</at>
+                    </object>
+                   </at>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+            <at name="width">615</at>
+            <at name="name">ctrlOverwriteOptions</at>
+            <at name="itemCount">3</at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">3</at>
+           <at name="row">5</at>
+           <at name="colspan">5</at>
+           <at name="rowspan">1</at>
+           <at name="halign">default</at>
+           <at name="valign">top</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">javax.swing.JList</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">javax.swing.JList</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="scrollableTracksViewportWidth">true</at>
+            <at name="height">78</at>
+            <at name="items">
+             <object classname="com.jeta.forms.store.properties.ItemsProperty">
+              <at name="name">items</at>
+             </object>
+            </at>
+            <at name="width">613</at>
+            <at name="name">ctrlImagesToImport</at>
+            <at name="scollBars">
+             <object classname="com.jeta.forms.store.properties.ScrollBarsProperty">
+              <at name="name">scollBars</at>
+              <at name="verticalpolicy">20</at>
+              <at name="horizontalpolicy">30</at>
+             </object>
+            </at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+            <at name="scrollableTracksViewportHeight">true</at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+     <item >
+      <at name="value">
+       <object classname="com.jeta.forms.store.memento.BeanMemento">
+        <super classname="com.jeta.forms.store.memento.ComponentMemento">
+         <at name="cellconstraints">
+          <object classname="com.jeta.forms.store.memento.CellConstraintsMemento">
+           <at name="column">3</at>
+           <at name="row">6</at>
+           <at name="colspan">5</at>
+           <at name="rowspan">1</at>
+           <at name="halign">right</at>
+           <at name="valign">default</at>
+           <at name="insets" object="insets">0,0,0,0</at>
+          </object>
+         </at>
+         <at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
+        </super>
+        <at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at>
+        <at name="beanclass">javax.swing.JButton</at>
+        <at name="beanproperties">
+         <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+          <at name="classname">javax.swing.JButton</at>
+          <at name="properties">
+           <object classname="com.jeta.forms.store.support.PropertyMap">
+            <at name="text">_Select_images</at>
+            <at name="height">22</at>
+            <at name="width">119</at>
+            <at name="name">ctrlBrowseImagesToImport</at>
+            <at name="actionCommand">_Browse</at>
+            <at name="border">
+             <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+              <super classname="com.jeta.forms.store.properties.BorderProperty">
+               <at name="name">border</at>
+              </super>
+              <at name="borders">
+               <object classname="java.util.LinkedList">
+                <item >
+                 <at name="value">
+                  <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                   <super classname="com.jeta.forms.store.properties.BorderProperty">
+                    <at name="name">border</at>
+                   </super>
+                  </object>
+                 </at>
+                </item>
+               </object>
+              </at>
+             </object>
+            </at>
+           </object>
+          </at>
+         </object>
+        </at>
+       </object>
+      </at>
+     </item>
+    </object>
+   </at>
+   <at name="properties">
+    <object classname="com.jeta.forms.store.memento.PropertiesMemento">
+     <at name="classname">com.jeta.forms.gui.form.GridView</at>
+     <at name="properties">
+      <object classname="com.jeta.forms.store.support.PropertyMap">
+       <at name="name"></at>
+       <at name="fill">
+        <object classname="com.jeta.forms.store.properties.effects.PaintProperty">
+         <at name="name">fill</at>
+        </object>
+       </at>
+       <at name="scollBars">
+        <object classname="com.jeta.forms.store.properties.ScrollBarsProperty">
+         <at name="name">scollBars</at>
+         <at name="verticalpolicy">21</at>
+         <at name="horizontalpolicy">31</at>
+         <at name="border">
+          <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+           <super classname="com.jeta.forms.store.properties.BorderProperty">
+            <at name="name">border</at>
+           </super>
+           <at name="borders">
+            <object classname="java.util.LinkedList">
+             <item >
+              <at name="value">
+               <object classname="com.jeta.forms.store.properties.DefaultBorderProperty">
+                <super classname="com.jeta.forms.store.properties.BorderProperty">
+                 <at name="name">border</at>
+                </super>
+               </object>
+              </at>
+             </item>
+            </object>
+           </at>
+          </object>
+         </at>
+        </object>
+       </at>
+       <at name="border">
+        <object classname="com.jeta.forms.store.properties.CompoundBorderProperty">
+         <super classname="com.jeta.forms.store.properties.BorderProperty">
+          <at name="name">border</at>
+         </super>
+         <at name="borders">
+          <object classname="java.util.LinkedList"/>
+         </at>
+        </object>
+       </at>
+      </object>
+     </at>
+    </object>
+   </at>
+   <at name="cellpainters">
+    <object classname="com.jeta.forms.store.support.Matrix">
+     <at name="rows">
+      <object classname="[Ljava.lang.Object;" size="18">
+       <at name="item" index="0">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="1">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="2">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="3">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="4">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="5">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="6">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="7">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="8">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="9">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="10">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="11">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="12">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="13">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="14">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="15">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="16">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+       <at name="item" index="17">
+        <object classname="[Ljava.lang.Object;" size="8"/>
+       </at>
+      </object>
+     </at>
+    </object>
+   </at>
+   <at name="rowgroups">
+    <object classname="com.jeta.forms.store.memento.FormGroupSet">
+     <at name="groups">
+      <object classname="java.util.HashMap"/>
+     </at>
+    </object>
+   </at>
+   <at name="colgroups">
+    <object classname="com.jeta.forms.store.memento.FormGroupSet">
+     <at name="groups">
+      <object classname="java.util.HashMap"/>
+     </at>
+    </object>
+   </at>
+  </object>
+ </at>
+</object>

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.java	(revision 39269)
@@ -0,0 +1,212 @@
+package org.gvsig.symbology.app.importsymbols;
+
+import java.awt.BorderLayout;
+import java.awt.ComponentOrientation;
+import java.awt.Container;
+import java.awt.Dimension;
+
+import javax.swing.Box;
+import javax.swing.ImageIcon;
+import javax.swing.JButton;
+import javax.swing.JComboBox;
+import javax.swing.JLabel;
+import javax.swing.JList;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.JSpinner;
+import javax.swing.JTextField;
+
+import com.jgoodies.forms.layout.CellConstraints;
+import com.jgoodies.forms.layout.FormLayout;
+
+
+public class ImportPictureMarkerSymbolsPanelLayout extends JPanel
+{
+   /**
+	 * 
+	 */
+	private static final long serialVersionUID = -5315759500182797864L;
+JLabel labelTitle = new JLabel();
+   JLabel labelImagesToImport = new JLabel();
+   JLabel labelFolderName = new JLabel();
+   JTextField ctrltFolderName = new JTextField();
+   JList ctrlExistingFolders = new JList();
+   JLabel labelSize = new JLabel();
+   JSpinner ctrlDefaultSize = new JSpinner();
+   JButton ctrlCancel = new JButton();
+   JButton ctrlImport = new JButton();
+   JLabel labelOverwriteOptions = new JLabel();
+   JComboBox ctrlOverwriteOptions = new JComboBox();
+   JList ctrlImagesToImport = new JList();
+   JButton ctrlBrowseImagesToImport = new JButton();
+
+   /**
+    * Default constructor
+    */
+   public ImportPictureMarkerSymbolsPanelLayout()
+   {
+      initializePanel();
+   }
+
+   /**
+    * Adds fill components to empty cells in the first row and first column of the grid.
+    * This ensures that the grid spacing will be the same as shown in the designer.
+    * @param cols an array of column indices in the first row where fill components should be added.
+    * @param rows an array of row indices in the first column where fill components should be added.
+    */
+   void addFillComponents( Container panel, int[] cols, int[] rows )
+   {
+      Dimension filler = new Dimension(10,10);
+
+      boolean filled_cell_11 = false;
+      CellConstraints cc = new CellConstraints();
+      if ( cols.length > 0 && rows.length > 0 )
+      {
+         if ( cols[0] == 1 && rows[0] == 1 )
+         {
+            /** add a rigid area  */
+            panel.add( Box.createRigidArea( filler ), cc.xy(1,1) );
+            filled_cell_11 = true;
+         }
+      }
+
+      for( int index = 0; index < cols.length; index++ )
+      {
+         if ( cols[index] == 1 && filled_cell_11 )
+         {
+            continue;
+         }
+         panel.add( Box.createRigidArea( filler ), cc.xy(cols[index],1) );
+      }
+
+      for( int index = 0; index < rows.length; index++ )
+      {
+         if ( rows[index] == 1 && filled_cell_11 )
+         {
+            continue;
+         }
+         panel.add( Box.createRigidArea( filler ), cc.xy(1,rows[index]) );
+      }
+
+   }
+
+   /**
+    * Helper method to load an image file from the CLASSPATH
+    * @param imageName the package and name of the file to load relative to the CLASSPATH
+    * @return an ImageIcon instance with the specified image file
+    * @throws IllegalArgumentException if the image resource cannot be loaded.
+    */
+   public ImageIcon loadImage( String imageName )
+   {
+      try
+      {
+         ClassLoader classloader = getClass().getClassLoader();
+         java.net.URL url = classloader.getResource( imageName );
+         if ( url != null )
+         {
+            ImageIcon icon = new ImageIcon( url );
+            return icon;
+         }
+      }
+      catch( Exception e )
+      {
+         e.printStackTrace();
+      }
+      throw new IllegalArgumentException( "Unable to load image: " + imageName );
+   }
+
+   /**
+    * Method for recalculating the component orientation for 
+    * right-to-left Locales.
+    * @param orientation the component orientation to be applied
+    */
+   public void applyComponentOrientation( ComponentOrientation orientation )
+   {
+      // Not yet implemented...
+      // I18NUtils.applyComponentOrientation(this, orientation);
+      super.applyComponentOrientation(orientation);
+   }
+
+   public JPanel createPanel()
+   {
+      JPanel jpanel1 = new JPanel();
+      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,FILL:PREF:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
+      CellConstraints cc = new CellConstraints();
+      jpanel1.setLayout(formlayout1);
+
+      labelTitle.setName("labelTitle");
+      labelTitle.setText("_Import_images_as_picture_marker_symbols");
+      jpanel1.add(labelTitle,cc.xywh(2,2,6,1));
+
+      labelImagesToImport.setName("labelImagesToImport");
+      labelImagesToImport.setText("_Images_to_import");
+      jpanel1.add(labelImagesToImport,cc.xywh(2,4,6,1));
+
+      labelFolderName.setName("labelFolderName");
+      labelFolderName.setText("_Folder_name_for_creatimg_the_symbols");
+      jpanel1.add(labelFolderName,cc.xywh(2,7,6,1));
+
+      ctrltFolderName.setName("ctrltFolderName");
+      jpanel1.add(ctrltFolderName,cc.xywh(3,8,5,1));
+
+      ctrlExistingFolders.setName("ctrlExistingFolders");
+      JScrollPane jscrollpane1 = new JScrollPane();
+      jscrollpane1.setViewportView(ctrlExistingFolders);
+      jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
+      jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
+      jpanel1.add(jscrollpane1,new CellConstraints(3,9,5,1,CellConstraints.FILL,CellConstraints.TOP));
+
+      labelSize.setName("labelSize");
+      labelSize.setText("_Default_size_to_use_in_symbols");
+      jpanel1.add(labelSize,cc.xywh(2,11,6,1));
+
+      ctrlDefaultSize.setName("ctrlDefaultSize");
+      jpanel1.add(ctrlDefaultSize,cc.xywh(3,12,5,1));
+
+      ctrlCancel.setActionCommand("_Cancel");
+      ctrlCancel.setName("ctrlCancel");
+      ctrlCancel.setText("_Cancel");
+      jpanel1.add(ctrlCancel,cc.xy(5,17));
+
+      ctrlImport.setActionCommand("_import");
+      ctrlImport.setName("ctrlImport");
+      ctrlImport.setText("_import");
+      jpanel1.add(ctrlImport,cc.xy(7,17));
+
+      labelOverwriteOptions.setName("labelOverwriteOptions");
+      labelOverwriteOptions.setText("_Overwrite_options");
+      jpanel1.add(labelOverwriteOptions,cc.xywh(2,14,6,1));
+
+      ctrlOverwriteOptions.setName("ctrlOverwriteOptions");
+      ctrlOverwriteOptions.addItem("_Ask_to_user");
+      ctrlOverwriteOptions.addItem("_Dont_overwrite");
+      ctrlOverwriteOptions.addItem("_Overwrite_always");
+      jpanel1.add(ctrlOverwriteOptions,cc.xywh(3,15,5,1));
+
+      ctrlImagesToImport.setName("ctrlImagesToImport");
+      JScrollPane jscrollpane2 = new JScrollPane();
+      jscrollpane2.setViewportView(ctrlImagesToImport);
+      jscrollpane2.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
+      jscrollpane2.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
+      jpanel1.add(jscrollpane2,new CellConstraints(3,5,5,1,CellConstraints.DEFAULT,CellConstraints.TOP));
+
+      ctrlBrowseImagesToImport.setActionCommand("_Browse");
+      ctrlBrowseImagesToImport.setName("ctrlBrowseImagesToImport");
+      ctrlBrowseImagesToImport.setText("_Select_images");
+      jpanel1.add(ctrlBrowseImagesToImport,new CellConstraints(3,6,5,1,CellConstraints.RIGHT,CellConstraints.DEFAULT));
+
+      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7,8 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 });
+      return jpanel1;
+   }
+
+   /**
+    * Initializer
+    */
+   protected void initializePanel()
+   {
+      setLayout(new BorderLayout());
+      add(createPanel(), BorderLayout.CENTER);
+   }
+
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsProcess.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsProcess.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsProcess.java	(revision 39269)
@@ -0,0 +1,339 @@
+package org.gvsig.symbology.app.importsymbols;
+
+import java.awt.Component;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+import javax.swing.JOptionPane;
+
+import org.apache.commons.io.FileUtils;
+import org.apache.commons.io.FilenameUtils;
+import org.gvsig.app.ApplicationLocator;
+import org.gvsig.app.ApplicationManager;
+import org.gvsig.fmap.mapcontext.MapContextLocator;
+import org.gvsig.fmap.mapcontext.rendering.symbols.SymbolManager;
+import org.gvsig.symbology.SymbologyLocator;
+import org.gvsig.symbology.SymbologyManager;
+import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.IPictureMarkerSymbol;
+import org.gvsig.tools.ToolsLocator;
+import org.gvsig.tools.persistence.PersistenceManager;
+import org.gvsig.tools.persistence.PersistentState;
+import org.gvsig.tools.task.AbstractMonitorableTask;
+import org.gvsig.tools.task.SimpleTaskStatus;
+import org.gvsig.tools.util.FolderSet;
+import org.gvsig.tools.util.impl.DefaultFolderSet;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class ImportPictureMarkerSymbolsProcess extends AbstractMonitorableTask {
+	private static Logger logger = LoggerFactory
+			.getLogger(ImportPictureMarkerSymbolsProcess.class);
+
+	public enum YesNoAsk {
+		YES, NO, ASK
+	};
+
+	private ApplicationManager application = null;
+	private SymbolManager symbolManager = null;
+	private SymbologyManager symbologyManager = null;
+
+	private Set<String> allowedFileExtensions = null;
+	private List<File> notCreatedSymbols = new ArrayList<File>();
+
+	private boolean quietMode = false;
+
+	private YesNoAsk overwrite = YesNoAsk.ASK;
+	private List<File> selectedImageFiles = new ArrayList<File>();
+
+	// Name of the folder in the symbols repository
+	private String targetFolderName;
+	private double symbolSize = 18;
+
+	protected ImportPictureMarkerSymbolsProcess() {
+		super(false);
+		this.application = ApplicationLocator.getManager();
+		this.setTaskName(application.translate("_Import_picture_marker_symbols"));
+	}
+
+	public Set<String> getAllowedFileExtensions() {
+		if (allowedFileExtensions == null) {
+			allowedFileExtensions = new HashSet<String>();
+			allowedFileExtensions.add("png");
+			allowedFileExtensions.add("jpg");
+			allowedFileExtensions.add("jpeg");
+			allowedFileExtensions.add("gif");
+			allowedFileExtensions.add("bmp");
+			allowedFileExtensions.add("svg");
+		}
+		return allowedFileExtensions;
+	}
+
+	public YesNoAsk getOverwrite() {
+		return overwrite;
+	}
+
+	public void setOverwrite(YesNoAsk overwrite) {
+		this.overwrite = overwrite;
+	}
+
+	public double getSymbolSize() {
+		return symbolSize;
+	}
+
+	public void setSymbolSize(double symbolSize) {
+		this.symbolSize = symbolSize;
+	}
+
+	public String getTargetFolderName() {
+		return targetFolderName;
+	}
+
+	public void setTargetFolderName(String targetFolderName) {
+		this.targetFolderName = targetFolderName;
+	}
+
+	public List<File> getSelectedImageFiles() {
+		return selectedImageFiles;
+	}
+
+	public boolean isQuietMode() {
+		return quietMode;
+	}
+
+	public void setQuietMode(boolean quietMode) {
+		this.quietMode = quietMode;
+	}
+
+	public FolderSet getSymbolsRepository() {
+		File symbolsFolder = new File(getSymbolManager().getSymbolPreferences()
+				.getSymbolLibraryPath());
+
+		FolderSet repo = new DefaultFolderSet();
+		repo.add(symbolsFolder);
+		return repo;
+	}
+
+	public List<File> getNotCreatedSymbols() {
+		return notCreatedSymbols;
+	}
+
+	public void run() {
+		SimpleTaskStatus status = null;
+		try {
+			status = (SimpleTaskStatus) this.getTaskStatus();
+			this.preProcess();
+			if (status.isCancellationRequested()) {
+				status.cancel();
+				return;
+			}
+			status.add();
+			status.setRangeOfValues(1, this.getSelectedImageFiles().size());
+			for (int i = 1; i < this.getSelectedImageFiles().size(); i++) {
+				if (status.isCancellationRequested()) {
+					status.cancel();
+					return;
+				}
+				status.setCurValue(i+1);
+				this.processItem(this.getSelectedImageFiles().get(i));
+			}
+			this.postPrecess();
+			if (status.isCancellationRequested()) {
+				status.cancel();
+				return;
+			}
+			if (!this.isQuietMode()) {
+				application.message("_import_of_symbols_completed",
+						JOptionPane.INFORMATION_MESSAGE);
+			}
+		} catch (Exception e) {
+			logger.info("Error in process", e);
+			if (status != null) {
+				status.abort();
+			}
+			if (!this.isQuietMode()) {
+				application.message(
+						"_Import_of_symbols_aborted" + "\n\n" + e.getMessage(),
+						JOptionPane.WARNING_MESSAGE);
+				application.messageDialog(
+						"_Error_in_the_process_of_import_point_symbols_Some_symbols_cant_be_imported"
+								+ "\n\n" + e.getMessage(), this.getName(),
+						JOptionPane.WARNING_MESSAGE);
+			}
+		} finally {
+			if (status != null) {
+				// Mark process as terminate if it is running.
+				if (status.isRunning()) {
+					status.terminate();
+				}
+			}
+			application.refreshMenusAndToolBars();
+		}
+	}
+
+	private void preProcess() {
+		if (this.isQuietMode() && this.getOverwrite() == YesNoAsk.ASK) {
+			this.setOverwrite(YesNoAsk.YES);
+		} else {
+			Component dlg = application.createComponent(ImportPictureMarkerSymbolsPanel.class, this);
+			application.showDialog(dlg, this.getName());
+		}
+	}
+
+	private void processItem(File item) throws InterruptedException {
+		File source_image;
+		File source_image_sel;
+		File target_image;
+		File target_image_sel;
+		File target_symbol;
+		IPictureMarkerSymbol symbol;
+		PersistenceManager persistenceManager = ToolsLocator
+				.getPersistenceManager();
+
+		source_image = this.getSourceImage(item);
+		source_image_sel = this.getSourceImageSelected(item);
+		target_image = this.getTargetImage(item);
+		target_image_sel = this.getTargetImageSelected(item);
+		target_symbol = this.getTargetSymbol(item);
+
+		if (!source_image_sel.exists()) {
+			source_image_sel = source_image;
+		}
+
+		if (target_symbol.exists()) {
+			switch (this.getOverwrite()) {
+			case ASK:
+				int resp = application
+						.confirmDialog(application.translate(
+								"_Symbol_{}_already_exists_Overwrite",
+								target_symbol.getAbsolutePath()), this
+								.getName(), JOptionPane.YES_NO_OPTION,
+								JOptionPane.QUESTION_MESSAGE);
+				if (resp == JOptionPane.NO_OPTION) {
+					return;
+				}
+				break;
+			case NO:
+				return;
+			case YES:
+				break;
+			}
+		}
+		try {
+			if( !target_image.getParentFile().exists() ) {
+				target_image.getParentFile().mkdirs();
+			}
+			copyFile(source_image, target_image);
+			copyFile(source_image_sel, target_image_sel);
+			symbol = this.getSymbologyManager().createPictureMarkerSymbol(
+					target_image.toURI().toURL(),
+					target_image_sel.toURI().toURL());
+			symbol.setSize(this.getSymbolSize());
+			symbol.setDescription(FilenameUtils.getBaseName(target_image.getName()));
+
+			PersistentState state = persistenceManager.getState(symbol);
+			FileOutputStream out = new FileOutputStream(target_symbol);
+			persistenceManager.saveState(state, out);
+		} catch (Exception e) {
+			logger.info("Can't create symbol from '" + item.getAbsolutePath()
+					+ ".", e);
+			this.notCreatedSymbols.add(item);
+		}
+	}
+
+	private void postPrecess() {
+		if (!this.isQuietMode()) {
+			if (this.notCreatedSymbols.size() > 0) {
+				StringBuffer listOfFiles = new StringBuffer();
+				listOfFiles.append("\n\n");
+				for (File file : this.notCreatedSymbols) {
+					listOfFiles.append(file.getAbsolutePath());
+					listOfFiles.append("\n");
+				}
+				application.message(
+						application.translate("_many_symbols_can_be_createds")
+								+ listOfFiles.toString(),
+						JOptionPane.WARNING_MESSAGE);
+			}
+		}
+	}
+
+	private void copyFile(File source, File target) throws IOException {
+		if (target.exists()) {
+			switch (this.getOverwrite()) {
+			case ASK:
+				int resp = application
+						.confirmDialog(application.translate(
+								"_File_{}_already_exists_Overwrite",
+								target.getAbsolutePath()), this.getName(),
+								JOptionPane.YES_NO_OPTION,
+								JOptionPane.QUESTION_MESSAGE);
+				if (resp == JOptionPane.YES_OPTION) {
+					FileUtils.copyFile(source, target);
+				}
+				break;
+			case NO:
+				break;
+			case YES:
+				FileUtils.copyFile(source, target);
+				break;
+			}
+		} else {
+			FileUtils.copyFile(source, target);
+		}
+
+	}
+
+	private File getTargetSymbol(File item) {
+		File target = FileUtils.getFile(getSymbolsRepository()
+				.asFile(), this.getTargetFolderName(),
+				FilenameUtils.getBaseName(item.getName())
+						+ this.getSymbolManager().getSymbolPreferences()
+								.getSymbolFileExtension());
+		return target;
+	}
+
+	private File getSourceImage(File item) {
+		return item;
+	}
+
+	private File getSourceImageSelected(File item) {
+		String ext = FilenameUtils.getExtension(item.getName());
+		String name = FilenameUtils.getBaseName(item.getName());
+		File source = new File(item.getParentFile(), name + "_sel." + ext);
+		return source;
+	}
+
+	private File getTargetImage(File item) {
+		File target = FileUtils.getFile(getSymbolsRepository()
+				.asFile(), this.getTargetFolderName(), item.getName());
+		return target;
+	}
+
+	private File getTargetImageSelected(File item) {
+		String ext = FilenameUtils.getExtension(item.getName());
+		String name = FilenameUtils.getBaseName(item.getName());
+		File target = FileUtils.getFile(getSymbolsRepository()
+				.asFile(), this.getTargetFolderName(), name + "_sel." + ext);
+		return target;
+	}
+
+	private SymbolManager getSymbolManager() {
+		if (symbolManager == null) {
+			symbolManager = MapContextLocator.getSymbolManager();
+		}
+		return symbolManager;
+	}
+
+	private SymbologyManager getSymbologyManager() {
+		if (symbologyManager == null) {
+			symbologyManager = SymbologyLocator.getSymbologyManager();
+		}
+		return symbologyManager;
+	}
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsProcess.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanel.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanel.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanel.java	(revision 39269)
@@ -0,0 +1,318 @@
+package org.gvsig.symbology.app.importsymbols;
+
+import java.awt.Component;
+import java.awt.Container;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.io.File;
+import java.io.FilenameFilter;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import javax.swing.AbstractButton;
+import javax.swing.ComboBoxModel;
+import javax.swing.JButton;
+import javax.swing.JFileChooser;
+import javax.swing.JLabel;
+import javax.swing.JOptionPane;
+import javax.swing.JTextArea;
+import javax.swing.JTextField;
+import javax.swing.ListModel;
+import javax.swing.SpinnerNumberModel;
+import javax.swing.event.ListDataListener;
+import javax.swing.event.ListSelectionEvent;
+import javax.swing.event.ListSelectionListener;
+import javax.swing.filechooser.FileFilter;
+import javax.swing.text.JTextComponent;
+
+import org.apache.commons.io.FilenameUtils;
+import org.gvsig.app.ApplicationLocator;
+import org.gvsig.app.ApplicationManager;
+import org.gvsig.symbology.app.importsymbols.ImportPictureMarkerSymbolsProcess.YesNoAsk;
+import org.gvsig.tools.util.FolderSet;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class ImportPictureMarkerSymbolsPanel extends ImportPictureMarkerSymbolsPanelLayout {
+	
+	private static final long serialVersionUID = 1919826881234125305L;
+	
+	private static Logger logger = LoggerFactory.getLogger(ImportPictureMarkerSymbolsPanel.class);
+	private ImportPictureMarkerSymbolsProcess process = null;
+	private ApplicationManager application;
+	private List<File> selectedFiles = null;
+
+	public ImportPictureMarkerSymbolsPanel(ImportPictureMarkerSymbolsProcess process) {
+		super();
+		this.process = process;
+		this.application = ApplicationLocator.getManager();
+		initComponents();
+	}
+
+	private void closeWindow() {
+		this.setVisible(false);
+	}
+
+	private class OverwriteItem {
+		private String label;
+		private YesNoAsk value;
+
+		OverwriteItem(String label, YesNoAsk value) {
+			this.label = label;
+			this.value = value;
+		}
+		public String toString() {
+			return this.label;
+		}
+		public YesNoAsk getValue() {
+			return value;
+		}
+	}
+
+	private class FileItem {
+		private File value;
+
+		FileItem(File value) {
+			this.value = value;
+		}
+		public String toString() {
+			return this.value.getName();
+		}
+		public File getValue() {
+			return value;
+		}
+	}
+	
+	private void translate(Container container) {
+		for (int n = 0; n < container.getComponentCount(); n++) {
+			Component component = container.getComponent(n);
+			try {
+				if (component instanceof JLabel) {
+					JLabel label = (JLabel) component;
+					if( label.getText().startsWith("_") ) {
+						label.setText(application.translate(label.getText()));
+					}
+				} else if (component instanceof AbstractButton) {
+					AbstractButton button = (AbstractButton) component;
+					if( button.getText().startsWith("_") ) {
+						button.setText(application.translate(button.getText()));
+					}
+				} else if (component instanceof JTextComponent) {
+					JTextComponent text = (JTextComponent) component;
+					if( text.getText().startsWith("_") ) {
+						text.setText(application.translate(text.getText()));
+					}
+				} else if (component instanceof Container) {
+					translate((Container) component);
+				}
+			} catch (Throwable e) {
+				// Ignore if
+			} 
+		}
+	}
+	
+	private void initComponents() {
+		translate(this);
+		// ------------------------------------------------------------
+		// Image file names
+		this.ctrlBrowseImagesToImport.addActionListener(new ActionListener() {
+			public void actionPerformed(ActionEvent arg0) {
+				doBrowseImagesToImport();
+			}
+
+		});
+		
+		// ------------------------------------------------------------
+		// Default symbol size
+		this.ctrlDefaultSize.setValue(this.process.getSymbolSize());
+	
+		// ------------------------------------------------------------
+		// Target folder name
+		if( this.process.getTargetFolderName()!=null ) {
+			this.ctrltFolderName.setText(this.process.getTargetFolderName());
+		}
+		
+		// ------------------------------------------------------------
+		// List of existing target folders 
+		FolderSet repo = this.process.getSymbolsRepository();
+		final File[] folders = repo.listFiles(new FilenameFilter() {
+			public boolean accept(File arg0, String arg1) {
+				return arg0.isDirectory(); 
+			}
+		});
+		final List<FileItem> folderItems = new ArrayList<FileItem>();
+		for( int i=0; i<folders.length; i ++ ) {
+			folderItems.add(new FileItem(folders[i]));
+		}
+		ctrlExistingFolders.setModel(new ListModel() {
+			public void removeListDataListener(ListDataListener arg0) {
+				// Do nothing
+			}
+			public int getSize() {
+				return folderItems.size();
+			}
+			public Object getElementAt(int arg0) {
+				return folderItems.get(arg0);
+						
+			}
+			public void addListDataListener(ListDataListener arg0) {
+				// Do nothing
+			}
+		});
+		this.ctrlExistingFolders.addListSelectionListener(new ListSelectionListener() {
+			public void valueChanged(ListSelectionEvent arg0) {
+				if( !arg0.getValueIsAdjusting() ) {
+					try {
+						File file = ((FileItem)ctrlExistingFolders.getSelectedValue()).getValue();
+						ctrltFolderName.setText(file.getName());
+					} catch(Exception ex) {
+						logger.info("Error getting selected filename",ex);
+					}
+				}
+			}
+		});
+		
+		// ------------------------------------------------------------
+		// Overwrite options
+		final OverwriteItem[] overwriteItems = new OverwriteItem[] {
+				new OverwriteItem(application.translate("_Ask_to_the_user"), YesNoAsk.ASK),
+				new OverwriteItem(application.translate("_Dont_overwrite"), YesNoAsk.NO),
+				new OverwriteItem(application.translate("_Overwrite_always"), YesNoAsk.YES)
+		};
+		this.ctrlOverwriteOptions.setModel(new ComboBoxModel() {
+			OverwriteItem selected = null;
+			public void removeListDataListener(ListDataListener arg0) {
+				// Do nothing
+			}
+			public int getSize() {
+				return overwriteItems.length;
+			}
+			public Object getElementAt(int arg0) {
+				return overwriteItems[arg0];
+			}
+			public void addListDataListener(ListDataListener arg0) {
+				// Do nothing
+			}
+			public void setSelectedItem(Object arg0) {
+				this.selected = (OverwriteItem) arg0;
+			}
+			public Object getSelectedItem() {
+				return this.selected;
+			}
+		});
+		this.ctrlOverwriteOptions.setSelectedIndex(0);
+		
+		// ------------------------------------------------------------
+		// Import button
+		this.ctrlImport.addActionListener(new ActionListener() {
+			public void actionPerformed(ActionEvent arg0) {
+				doImport();
+			}
+		});
+		
+		// ------------------------------------------------------------
+		// Cancel button
+		this.ctrlCancel.addActionListener(new ActionListener() {
+			public void actionPerformed(ActionEvent arg0) {
+				doCancel();
+			}
+		});
+
+
+	}
+
+	private void doImport() {
+		if( this.ctrltFolderName.getText().trim().length()==0 ) {
+			application.messageDialog(
+					application.translate("_Should_select_a_folder_name"),
+					this.process.getName(), 
+					JOptionPane.WARNING_MESSAGE);
+			return;
+		}
+		if( this.selectedFiles==null || this.selectedFiles.size()==0 ) {
+			application.messageDialog(
+					application.translate("_Should_select_the_images_to_import"),
+					this.process.getName(), 
+					JOptionPane.WARNING_MESSAGE);
+			return;
+		}
+		this.process.setTargetFolderName(this.ctrltFolderName.getText());
+		this.process.setSymbolSize( (( SpinnerNumberModel)this.ctrlDefaultSize.getModel()).getNumber().doubleValue());
+		this.process.setOverwrite( ((OverwriteItem)this.ctrlOverwriteOptions.getSelectedItem()).getValue() );
+		this.process.getSelectedImageFiles().clear();
+		this.process.getSelectedImageFiles().addAll(selectedFiles);
+		this.closeWindow();
+	}
+
+	private void doCancel() {
+		this.process.cancelRequest();
+		this.closeWindow();
+	}
+
+	private List<File> fileChooser(String title, boolean multiselect, FileFilter filter) {
+		JFileChooser fc = new JFileChooser();
+		fc.setFileFilter(filter);
+		fc.setMultiSelectionEnabled(multiselect);
+		int r = fc.showDialog(application.getRootComponent(),title);
+		if( r == JFileChooser.APPROVE_OPTION ) {
+			return Arrays.asList(fc.getSelectedFiles()); 
+		}
+		return null;
+	}
+	
+	private void doBrowseImagesToImport() {
+		List<File> files = fileChooser(application.translate("_Select_the_images"), true, new FileFilter() {
+			public String getDescription() {
+				StringBuffer buffer = new StringBuffer();
+				List<String> extensions = new ArrayList<String>();
+				extensions.addAll(process.getAllowedFileExtensions());
+				int l=extensions.size();
+				if( l>=2 ) {
+					for( int i=0; i<l-2; i++) {
+						buffer.append(extensions.get(i));
+						buffer.append(", ");
+					}
+					buffer.append( extensions.get(l-2));
+					buffer.append(" & ");
+					buffer.append( extensions.get(l-1));
+				} else {
+					buffer.append( extensions.get(0));
+				}
+				buffer.append(" ");
+				buffer.append(application.translate("_Images"));
+				return buffer.toString();
+			}
+
+			public boolean accept(File f) {
+				if (f.isDirectory()) {
+					return true;
+				}
+				String extension = FilenameUtils.getExtension(f.getName()).toLowerCase(); 
+				return extension != null && process.getAllowedFileExtensions().contains(extension);
+			}
+		});
+		if( files != null ) {
+			this.selectedFiles = files;
+			final List<FileItem> folderItems = new ArrayList<FileItem>();
+			for( int i=0; i<files.size(); i ++ ) {
+				folderItems.add(new FileItem(files.get(i)));
+			}
+			ctrlImagesToImport.setModel(new ListModel() {
+				public void removeListDataListener(ListDataListener arg0) {
+					// Do nothing
+				}
+				public int getSize() {
+					return folderItems.size();
+				}
+				public Object getElementAt(int arg0) {
+					return folderItems.get(arg0);
+							
+				}
+				public void addListDataListener(ListDataListener arg0) {
+					// Do nothing
+				}
+			});
+		}
+	}
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/pom.xml
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/pom.xml	(revision 39269)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>org.gvsig.symbology.app.importsymbols</artifactId>
+	<packaging>jar</packaging>
+	<name>Tools: Import marker symbols tool</name>
+	<description>Importador de simbolos puntuales a partir de las imagenes que existan en una carpeta</description>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.symbology.app</artifactId>
+		<version>2.0.0-SNAPSHOT</version>
+	</parent>
+	<profiles>
+		<profile>
+			<id>gvsig-install</id>
+			<activation>
+				<activeByDefault>true</activeByDefault>
+			</activation>
+			<properties>
+				<!-- gvSIG installation folder -->
+				<gvsig.install.dir>${basedir}/../../build/product</gvsig.install.dir>
+			</properties>
+		</profile>
+	</profiles>
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.app</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.andami</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.tools.lib</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.tools.swing.api</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.i18n</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.symbology.lib.api</artifactId>
+			<scope>compile</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-api</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>commons-io</groupId>
+			<artifactId>commons-io</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.fmap.mapcontext</artifactId>
+			<scope>compile</scope>
+		</dependency>
+	</dependencies>
+	<properties>
+		<package.info.dependencies>required: org.gvsig.app -ge 2</package.info.dependencies>
+		<package.info.categories>Simbology,Import And Export</package.info.categories>
+	</properties>
+</project>

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols
___________________________________________________________________
Added: svn:ignore
   + .settings
target
.classpath
.project
package.info
bin


Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/buildNumber.properties
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/buildNumber.properties	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/buildNumber.properties	(revision 39269)
@@ -0,0 +1,3 @@
+#maven.buildNumber.plugin properties file
+#Tue Nov 13 15:35:43 CET 2012
+buildNumber=2067

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/buildNumber.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/resources/META-INF/services/org.gvsig.tools.library.Library	(revision 39269)
@@ -0,0 +1 @@
+org.gvsig.symbology.app.symbolinstaller.SymbolInstallerProviderLibrary
\ No newline at end of file
Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/resources/config.xml
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/resources/config.xml	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/resources/config.xml	(revision 39269)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<plugin-config>
+	<libraries library-dir="lib"/>
+	<depends plugin-name="org.gvsig.app"/>
+	<resourceBundle name="text"/>
+	<extensions>
+		<extension class-name="org.gvsig.symbology.app.symbolinstaller.execution.SymbolInstallerExtension"
+			description=""
+			active="true">
+			<menu text="tools/Symbols/Create package"
+				  tooltip="Create a symbols package from symbols that exist in a folder."
+				  action-command="Create_Package" />
+				  	
+		</extension>
+	</extensions>
+</plugin-config>

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/resources/config.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/resources/images/symbol-installer/wizard-make-symbol-package.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/resources/images/symbol-installer/wizard-make-symbol-package.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/SymbolInstallerProviderLibrary.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/SymbolInstallerProviderLibrary.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/SymbolInstallerProviderLibrary.java	(revision 39269)
@@ -0,0 +1,51 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+package org.gvsig.symbology.app.symbolinstaller;
+
+import org.gvsig.installer.lib.api.InstallerLibrary;
+import org.gvsig.installer.lib.spi.InstallerProviderLocator;
+import org.gvsig.symbology.app.symbolinstaller.execution.SymbolInstallerExecutionProviderFactory;
+import org.gvsig.tools.library.AbstractLibrary;
+import org.gvsig.tools.library.LibraryException;
+import org.gvsig.tools.service.spi.ProviderManager;
+
+public class SymbolInstallerProviderLibrary extends AbstractLibrary {
+
+    @Override
+    public void doRegistration() {
+        registerAsServiceOf(InstallerLibrary.class);
+    }
+
+    @Override
+    protected void doInitialize() throws LibraryException {
+    }
+
+    @Override
+    protected void doPostInitialize() throws LibraryException {
+        ProviderManager providerManager =
+            InstallerProviderLocator.getProviderManager();
+
+        providerManager
+            .addProviderFactory(new SymbolInstallerExecutionProviderFactory());
+    }
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/SymbolInstallerProviderLibrary.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExecutionProviderFactory.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExecutionProviderFactory.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExecutionProviderFactory.java	(revision 39269)
@@ -0,0 +1,65 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+package org.gvsig.symbology.app.symbolinstaller.execution;
+
+import org.gvsig.tools.ToolsLocator;
+import org.gvsig.tools.dynobject.DynClass;
+import org.gvsig.tools.dynobject.DynObject;
+import org.gvsig.tools.dynobject.DynObjectManager;
+import org.gvsig.tools.service.spi.AbstractProviderFactory;
+import org.gvsig.tools.service.spi.Provider;
+import org.gvsig.tools.service.spi.ProviderServices;
+
+public class SymbolInstallerExecutionProviderFactory extends
+    AbstractProviderFactory {
+
+    public static final String PROVIDER_NAME = "symbol_installer_provider";
+    public static final String PROVIDER_DESCRIPTION = "";
+
+    private DynClass dynclass;
+
+    @Override
+    protected DynClass createParametersDynClass() {
+        if (dynclass == null) {
+            initialize();
+        }
+        return dynclass;
+    }
+
+    @Override
+    protected Provider doCreate(DynObject parameters, ProviderServices services) {
+        return new SymbolInstallerExecutionProvider(services);
+    }
+
+    public void initialize() {
+        if (dynclass == null) {
+            DynObjectManager dynObjectManager =
+                ToolsLocator.getDynObjectManager();
+            dynclass =
+                dynObjectManager.createDynClass(PROVIDER_NAME,
+                    PROVIDER_DESCRIPTION);
+            dynObjectManager.add(dynclass);
+        }
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExecutionProviderFactory.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExtension.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExtension.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExtension.java	(revision 39269)
@@ -0,0 +1,69 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+package org.gvsig.symbology.app.symbolinstaller.execution;
+
+import java.util.Locale;
+
+import org.gvsig.andami.IconThemeHelper;
+import org.gvsig.andami.plugins.Extension;
+import org.gvsig.andami.ui.ToolsWindowManager;
+import org.gvsig.i18n.Messages;
+import org.gvsig.symbology.app.symbolinstaller.creation.DefaultMakeSymbolPackageWizard;
+import org.gvsig.tools.swing.api.windowmanager.WindowManager;
+
+public class SymbolInstallerExtension extends Extension {
+
+    public void initialize() {
+        if (!Messages.hasLocales()) {
+            Messages.addLocale(Locale.getDefault());
+        }
+        Messages.addResourceFamily("org.gvsig.symbology.app.symbolinstaller.text",
+            SymbolInstallerExtension.class.getClassLoader(),
+            SymbolInstallerExtension.class.getClass().getName());
+        
+        IconThemeHelper.registerIcon("symbol-installer", "wizard-make-symbol-package", this);
+    }
+
+    @Override
+    public void postInitialize() {
+    }
+
+    public boolean isEnabled() {
+        return true;
+    }
+
+    public boolean isVisible() {
+        return true;
+    }
+
+    public void execute(String actionCommand) {
+        if (actionCommand.equals("Create_Package")) {
+            DefaultMakeSymbolPackageWizard wizard =
+                new DefaultMakeSymbolPackageWizard();
+
+            WindowManager windowManager = new ToolsWindowManager();
+            windowManager.showWindow(wizard, Messages.getText("_Symbols_wizard"),
+                WindowManager.MODE.DIALOG);
+        }
+    }
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExtension.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExecutionProvider.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExecutionProvider.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExecutionProvider.java	(revision 39269)
@@ -0,0 +1,90 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+package org.gvsig.symbology.app.symbolinstaller.execution;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+
+import org.gvsig.andami.PluginsLocator;
+import org.gvsig.andami.PluginsManager;
+import org.gvsig.installer.lib.api.PackageInfo;
+import org.gvsig.installer.lib.api.execution.InstallPackageServiceException;
+import org.gvsig.installer.lib.spi.InstallPackageProviderServices;
+import org.gvsig.installer.lib.spi.InstallerProviderLocator;
+import org.gvsig.installer.lib.spi.InstallerProviderManager;
+import org.gvsig.installer.lib.spi.execution.InstallPackageProvider;
+import org.gvsig.tools.service.spi.AbstractProvider;
+import org.gvsig.tools.service.spi.ProviderServices;
+
+public class SymbolInstallerExecutionProvider extends AbstractProvider
+    implements InstallPackageProvider {
+
+    public SymbolInstallerExecutionProvider(ProviderServices providerServices) {
+        super(providerServices);
+    }
+
+    public class InstallerSymbolsDirectoryNotFoundException extends
+        InstallPackageServiceException {
+
+        private static final long serialVersionUID = 4416143986837955880L;
+        private static final String message = "Symbols directory not found";
+        private static final String KEY = "symbols_directory_not_found";
+
+        public InstallerSymbolsDirectoryNotFoundException() {
+            super(message, KEY, serialVersionUID);
+        }
+    }
+
+    public void install(File applicationDirectory, InputStream inputStream,
+        PackageInfo packageInfo) throws InstallPackageServiceException {
+
+        PluginsManager pluginManager = PluginsLocator.getManager();
+
+        File symbolsDirectory =
+            new File(pluginManager.getApplicationHomeFolder() + File.separator
+                + "Symbols");
+
+        try {
+            if (!symbolsDirectory.exists()) {
+                throw new InstallerSymbolsDirectoryNotFoundException();
+            }
+            InstallerProviderManager installerProviderManager =
+                InstallerProviderLocator.getProviderManager();
+            InstallPackageProviderServices installerProviderServices =
+                installerProviderManager.createInstallerProviderServices();
+
+            installerProviderServices.decompress(inputStream, symbolsDirectory);
+
+        } catch (Exception e) {
+            throw new InstallPackageServiceException(e);
+        }
+    }
+
+    public void installLater(File applicationDirectory,
+        InputStream inputStream, PackageInfo packageInfo)
+        throws InstallPackageServiceException, IOException {
+        // TODO Auto-generated method stub
+
+    }
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/execution/SymbolInstallerExecutionProvider.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/panel/SelectSymbolsFolderInstallPanel.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/panel/SelectSymbolsFolderInstallPanel.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/panel/SelectSymbolsFolderInstallPanel.java	(revision 39269)
@@ -0,0 +1,112 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.symbology.app.symbolinstaller.creation.panel;
+
+import java.awt.BorderLayout;
+import java.awt.event.ActionEvent;
+import java.io.File;
+import java.util.ArrayList;
+
+import javax.swing.JLabel;
+import javax.swing.JList;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.ListSelectionModel;
+
+import org.gvsig.andami.PluginsLocator;
+import org.gvsig.andami.PluginsManager;
+import org.gvsig.i18n.Messages;
+
+/**
+ * @author gvSIG Team
+ * @version $Id$
+ * 
+ */
+public class SelectSymbolsFolderInstallPanel extends JPanel {
+
+    private static final long serialVersionUID = 948949741432221418L;
+
+    private JList folderJList;
+    private File symbolsDirectory = null;
+    private ArrayList<String> folders = null;
+
+    public SelectSymbolsFolderInstallPanel() {
+        super();
+        initComponents();
+    }
+
+    private String getText(String string) {
+        return Messages.getText(string);
+    }
+
+    private void initComponents() {
+
+        JLabel symbolsFolderLabel =
+            new JLabel(
+                getText("_select_the_folder_to_create_the_package_with")
+                    + ":");
+
+        PluginsManager pluginManager = PluginsLocator.getManager();
+        symbolsDirectory =
+            new File(pluginManager.getApplicationHomeFolder() + File.separator
+                + "Symbols");
+
+        String[] itemsArray = symbolsDirectory.list();
+        folders = new ArrayList<String>();
+
+        for (int i = 0; i < itemsArray.length; i++) {
+            File f = new File(symbolsDirectory, itemsArray[i]);
+            if (f.isDirectory()) {
+                folders.add(itemsArray[i]);
+            }
+        }
+
+        folderJList = new JList(folders.toArray());
+        folderJList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
+
+        // TODO: actionEvent should be added
+        folderJList.setSelectedIndex(0);
+
+        setLayout(new BorderLayout(2, 2));
+        setBounds(2, 2, 2, 2);
+
+        add(symbolsFolderLabel, BorderLayout.NORTH);
+
+        JScrollPane scroller = new JScrollPane(folderJList);
+
+        add(scroller);
+    }
+
+    public File getSelectedFolder() {
+        String folderName = folders.get(folderJList.getSelectedIndex());
+        return new File(symbolsDirectory + "/" + folderName.toString());
+    }
+
+    public void setSelectedFolder(File selectedFile) {
+        folderJList.setSelectedValue(selectedFile, true);
+    }
+
+    public void actionPerformed(ActionEvent arg0) {
+        // TODO Auto-generated method stub
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/panel/SelectSymbolsFolderInstallPanel.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/PackageInfoWizard.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/PackageInfoWizard.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/PackageInfoWizard.java	(revision 39269)
@@ -0,0 +1,89 @@
+package org.gvsig.symbology.app.symbolinstaller.creation.wizard;
+
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+/*
+ * AUTHORS (In addition to CIT):
+ * 2010 {Prodevelop}   {Task}
+ */
+
+import javax.swing.JPanel;
+
+import org.gvsig.gui.beans.wizard.panel.NotContinueWizardException;
+import org.gvsig.gui.beans.wizard.panel.OptionPanel;
+import org.gvsig.i18n.Messages;
+import org.gvsig.installer.lib.api.PackageInfo;
+import org.gvsig.installer.swing.api.SwingInstallerLocator;
+import org.gvsig.installer.swing.api.creation.JPackageInfoPanel;
+import org.gvsig.symbology.app.symbolinstaller.creation.DefaultMakeSymbolPackageWizard;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class PackageInfoWizard implements OptionPanel {
+
+    private JPackageInfoPanel packageInfoPanel;
+
+    private PackageInfo packageInfo;
+
+    // private DefaultMakeSymbolPackageWizard wizard;
+
+    public PackageInfoWizard(DefaultMakeSymbolPackageWizard wizard,
+        PackageInfo packageInfo) {
+        super();
+        // this.wizard = wizard;
+        this.packageInfoPanel =
+            SwingInstallerLocator.getSwingInstallerManager()
+                .createPackageInfoPanel();
+        this.packageInfo = packageInfo;
+    }
+
+    private String getText(String msg) {
+        return Messages.getText(msg);
+    }
+
+    public JPanel getJPanel() {
+        return this.packageInfoPanel;
+    }
+
+    public String getPanelTitle() {
+        return getText("_plugin_description");
+    }
+
+    public void lastPanel() {
+        // TODO Auto-generated method stub
+
+    }
+
+    public void nextPanel() throws NotContinueWizardException {
+        if (!this.packageInfoPanel.validatePanel()) {
+            throw new NotContinueWizardException("", null, false);
+        }
+        this.packageInfoPanel.panelToPackageInfo(packageInfo);
+    }
+
+    public void updatePanel() {
+        this.packageInfoPanel.packageInfoToPanel(packageInfo);
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/PackageInfoWizard.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/SelectSymbolsFolderInstallWizard.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/SelectSymbolsFolderInstallWizard.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/SelectSymbolsFolderInstallWizard.java	(revision 39269)
@@ -0,0 +1,82 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.symbology.app.symbolinstaller.creation.wizard;
+
+import javax.swing.JPanel;
+
+import org.gvsig.gui.beans.wizard.panel.NotContinueWizardException;
+import org.gvsig.gui.beans.wizard.panel.OptionPanel;
+import org.gvsig.i18n.Messages;
+import org.gvsig.installer.lib.api.PackageInfo;
+import org.gvsig.symbology.app.symbolinstaller.creation.DefaultMakeSymbolPackageWizard;
+import org.gvsig.symbology.app.symbolinstaller.creation.panel.SelectSymbolsFolderInstallPanel;
+
+/**
+ * @author gvSIG Team
+ * @version $Id$
+ * 
+ */
+public class SelectSymbolsFolderInstallWizard implements OptionPanel {
+
+    private SelectSymbolsFolderInstallPanel panel = null;
+    // private PackageInfo packageInfo;
+    DefaultMakeSymbolPackageWizard wizard;
+
+    /**
+     * @param defaultMakeSymbolPackageWizard
+     * @param packageInfo
+     */
+    public SelectSymbolsFolderInstallWizard(
+        DefaultMakeSymbolPackageWizard defaultMakeSymbolPackageWizard,
+        PackageInfo packageInfo) {
+        super();
+        wizard = defaultMakeSymbolPackageWizard;
+        panel = new SelectSymbolsFolderInstallPanel();
+        // this.packageInfo = packageInfo;
+    }
+
+    public JPanel getJPanel() {
+        return panel;
+    }
+
+    public void lastPanel() {
+
+    }
+
+    public void nextPanel() throws NotContinueWizardException {
+
+        wizard.setSymbolFolderToInsertInPackage(panel.getSelectedFolder());
+    }
+
+    public void updatePanel() {
+
+    }
+
+    public String getPanelTitle() {
+        return getText("_select_symbol_folder");
+    }
+
+    private String getText(String msg) {
+        return Messages.getText(msg);
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/SelectSymbolsFolderInstallWizard.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/OutputWizard.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/OutputWizard.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/OutputWizard.java	(revision 39269)
@@ -0,0 +1,141 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+/*
+ * AUTHORS (In addition to CIT):
+ * 2010 {Prodevelop}   {Task}
+ */
+
+package org.gvsig.symbology.app.symbolinstaller.creation.wizard;
+
+import java.io.File;
+import java.net.URL;
+
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+
+import org.gvsig.andami.PluginsLocator;
+import org.gvsig.andami.PluginsManager;
+import org.gvsig.gui.beans.wizard.panel.NotContinueWizardException;
+import org.gvsig.gui.beans.wizard.panel.OptionPanel;
+import org.gvsig.i18n.Messages;
+import org.gvsig.installer.lib.api.InstallerLocator;
+import org.gvsig.installer.lib.api.PackageInfo;
+import org.gvsig.installer.swing.api.SwingInstallerLocator;
+import org.gvsig.installer.swing.api.creation.JOutputPanel;
+import org.gvsig.symbology.app.symbolinstaller.creation.DefaultMakeSymbolPackageWizard;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class OutputWizard implements OptionPanel {
+
+    private JOutputPanel outputPanel;
+    private PackageInfo packageInfo;
+
+    // private DefaultMakeSymbolPackageWizard wizard;
+
+    // private static final Logger logger =
+    // LoggerFactory.getLogger(OutputWizard.class);
+
+    public OutputWizard(DefaultMakeSymbolPackageWizard wizard,
+        PackageInfo packageInfo) {
+        super();
+        // this.wizard = wizard;
+        outputPanel =
+            SwingInstallerLocator.getSwingInstallerManager()
+                .createOutputPanel();
+        this.packageInfo = packageInfo;
+    }
+
+    public JPanel getJPanel() {
+        return this.outputPanel;
+    }
+
+    private String getText(String msg) {
+        return Messages.getText(msg);
+    }
+
+    public String getPanelTitle() {
+        return getText("_output_options");
+    }
+
+    public void lastPanel() {
+
+    }
+
+    public void nextPanel() throws NotContinueWizardException {
+        // try {
+        File file = outputPanel.getPackageFile();
+        File filePath = new File(file.getParent());
+        if (!filePath.exists()) {
+            JOptionPane.showMessageDialog(outputPanel,
+                getText("_the_package_file_folder_does_not_exist") + ": "
+                    + filePath);
+            throw new NotContinueWizardException("", null, false);
+        }
+        if (outputPanel.isCreatePackageIndex()) {
+            URL url = outputPanel.getDownloadURL();
+            if (url == null) {
+                throw new NotContinueWizardException("", null, false);
+            }
+            File indexFile = outputPanel.getPackageIndexFile();
+            File indexFilePath = new File(indexFile.getParent());
+            if (!indexFilePath.exists()) {
+                JOptionPane.showMessageDialog(outputPanel,
+                    getText("_the_package_index_file_folder_does_not_exist")
+                        + ": " + indexFilePath);
+                throw new NotContinueWizardException("", null, false);
+            }
+        }
+        // } catch (FileNotFoundException e) {
+        // logger.info(
+        // getText("create_output_file_exception"), e);
+        // JOptionPane.showMessageDialog(wizard,
+        // getText("create_output_file_exception"));
+        // }
+    }
+
+    public void updatePanel() {
+        outputPanel.setPackageFile(getDefaultPackageBundleFile());
+        outputPanel.setPackageIndexFile(getDefaultPackageIndexBundleFile());
+    }
+
+    private File getDefaultPackageBundleFile() {
+        PluginsManager manager = PluginsLocator.getManager();
+        File installsFolder = manager.getInstallFolder();
+        String fileName =
+            InstallerLocator.getInstallerManager().getPackageFileName(
+                packageInfo);
+        return new File(installsFolder, fileName);
+    }
+
+    private File getDefaultPackageIndexBundleFile() {
+        PluginsManager manager = PluginsLocator.getManager();
+        File installsFolder = manager.getInstallFolder();
+        String fileName =
+            InstallerLocator.getInstallerManager().getPackageIndexFileName(
+                packageInfo);
+        return new File(installsFolder, fileName);
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/OutputWizard.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/ProgressWizard.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/ProgressWizard.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/ProgressWizard.java	(revision 39269)
@@ -0,0 +1,158 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+/*
+ * AUTHORS (In addition to CIT):
+ * 2010 {Prodevelop}   {Task}
+ */
+package org.gvsig.symbology.app.symbolinstaller.creation.wizard;
+
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.OutputStream;
+
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+
+import org.gvsig.gui.beans.wizard.panel.OptionPanel;
+import org.gvsig.i18n.Messages;
+import org.gvsig.installer.lib.api.InstallerLocator;
+import org.gvsig.installer.lib.api.PackageInfo;
+import org.gvsig.installer.lib.api.creation.MakePackageService;
+import org.gvsig.installer.lib.api.creation.MakePackageServiceException;
+import org.gvsig.installer.swing.api.JProgressPanel;
+import org.gvsig.installer.swing.api.SwingInstallerLocator;
+import org.gvsig.installer.swing.api.creation.JOutputPanel;
+import org.gvsig.symbology.app.symbolinstaller.creation.DefaultMakeSymbolPackageWizard;
+import org.gvsig.tools.ToolsLocator;
+import org.gvsig.tools.task.SimpleTaskStatus;
+
+/**
+ * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
+ */
+public class ProgressWizard implements OptionPanel {
+
+    private DefaultMakeSymbolPackageWizard wizard;
+    private PackageInfo packageInfo;
+    private JOutputPanel outputPanel;
+    private JProgressPanel progressPanel;
+
+    public ProgressWizard(DefaultMakeSymbolPackageWizard wizard,
+        PackageInfo packageInfo, JOutputPanel outputPanel) {
+        super();
+        this.wizard = wizard;
+        this.packageInfo = packageInfo;
+        this.outputPanel = outputPanel;
+        progressPanel =
+            SwingInstallerLocator.getSwingInstallerManager()
+                .createProgressPanel();
+    }
+
+    private String getText(String msg) {
+        return Messages.getText(msg);
+    }
+
+    public JPanel getJPanel() {
+        return this.progressPanel;
+    }
+
+    public String getPanelTitle() {
+        return Messages.getText("_Installer_progress");
+    }
+
+    public void lastPanel() {
+        wizard.setFinishButtonEnabled(false);
+        wizard.setCancelButtonEnabled(true);
+    }
+
+    public void nextPanel() {
+        // Do nothing
+    }
+
+    public void updatePanel() {
+
+        OutputStream outputStream =
+            openFileOutputStream(outputPanel.getPackageFile());
+        if (outputStream == null) {
+            return;
+        }
+        OutputStream indexOutputStream = null;
+        if (outputPanel.isCreatePackageIndex()) {
+            indexOutputStream =
+                openFileOutputStream(outputPanel.getPackageIndexFile());
+            if (indexOutputStream == null) {
+                return;
+            }
+        }
+
+        wizard.setFinishButtonEnabled(false);
+        wizard.setCancelButtonEnabled(false);
+
+        SimpleTaskStatus taskStatus =
+            ToolsLocator.getTaskStatusManager().createDefaultSimpleTaskStatus(
+                packageInfo.getName());
+
+        this.progressPanel.bind(taskStatus);
+
+        try {
+
+            MakePackageService makePackageService =
+                InstallerLocator.getInstallerManager().createMakePackage(
+                    wizard.getSymbolFolderToInsertInPackage(), packageInfo);
+
+            taskStatus.message(getText("_Compressing"));
+
+            makePackageService.preparePackage();
+            makePackageService.createPackage(outputStream);
+            if (indexOutputStream != null) {
+                taskStatus.message(getText("_Creating_index"));
+                makePackageService.createPackageIndex(outputPanel
+                    .getDownloadURL(), indexOutputStream);
+            }
+            taskStatus.terminate();
+
+            // Set the finished text
+            taskStatus.message(getText("_Finished"));
+        } catch (MakePackageServiceException e) {
+            JOptionPane.showMessageDialog(null, getText("_cant_create_the_package")
+                + "\n\n" + e.getLocalizedMessageStack(),
+                getText("_create_package"), JOptionPane.ERROR_MESSAGE);
+        }
+        wizard.setFinishButtonEnabled(true);
+        wizard.setCancelButtonEnabled(false);
+    }
+
+    private OutputStream openFileOutputStream(File file) {
+        OutputStream os;
+
+        try {
+            os = new FileOutputStream(file);
+        } catch (FileNotFoundException e1) {
+            JOptionPane.showMessageDialog(null,
+                getText("_cant_create_the_package") + " (" + file + ").",
+                getText("_create_package"), JOptionPane.WARNING_MESSAGE);
+            return null;
+        }
+        return os;
+    }
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/wizard/ProgressWizard.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/DefaultMakeSymbolPackageWizard.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/DefaultMakeSymbolPackageWizard.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/DefaultMakeSymbolPackageWizard.java	(revision 39269)
@@ -0,0 +1,139 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ */
+
+package org.gvsig.symbology.app.symbolinstaller.creation;
+
+import java.awt.BorderLayout;
+import java.io.File;
+
+import javax.swing.JPanel;
+
+import org.gvsig.andami.IconThemeHelper;
+import org.gvsig.gui.beans.wizard.WizardPanel;
+import org.gvsig.gui.beans.wizard.WizardPanelActionListener;
+import org.gvsig.gui.beans.wizard.WizardPanelWithLogo;
+import org.gvsig.installer.lib.api.InstallerLocator;
+import org.gvsig.installer.lib.api.PackageInfo;
+import org.gvsig.installer.swing.api.creation.JOutputPanel;
+import org.gvsig.symbology.app.symbolinstaller.WizardListenerAdapter;
+import org.gvsig.symbology.app.symbolinstaller.creation.wizard.OutputWizard;
+import org.gvsig.symbology.app.symbolinstaller.creation.wizard.PackageInfoWizard;
+import org.gvsig.symbology.app.symbolinstaller.creation.wizard.ProgressWizard;
+import org.gvsig.symbology.app.symbolinstaller.creation.wizard.SelectSymbolsFolderInstallWizard;
+import org.gvsig.symbology.app.symbolinstaller.execution.SymbolInstallerExecutionProviderFactory;
+import org.gvsig.tools.locator.LocatorException;
+
+public class DefaultMakeSymbolPackageWizard extends JPanel implements
+    WizardPanel {
+
+    private static final long serialVersionUID = 9205891710214122265L;
+    private WizardPanelWithLogo wizardPanelWithLogo = null;
+
+    // Wizards
+    private PackageInfoWizard packageInfoWizard = null;
+    private ProgressWizard progressWizard = null;
+    private OutputWizard outputWizard = null;
+    private SelectSymbolsFolderInstallWizard selectSymbolsFolderInstallWizard =
+        null;
+    private PackageInfo packageInfo = null;
+
+    private File symbolFolderToInsertInPackage = null;
+
+    private WizardListenerAdapter wizardListenerAdapter = null;
+
+    public DefaultMakeSymbolPackageWizard() throws LocatorException {
+        wizardPanelWithLogo = new WizardPanelWithLogo(IconThemeHelper.getImageIcon("wizard-make-symbol-package"));
+
+        setCancelButtonEnabled(true);
+        setFinishButtonEnabled(false);
+
+        // WizardPanel wizardPanel = this;
+
+        packageInfo =
+            InstallerLocator.getInstallerManager().createPackageInfo();
+        packageInfo
+            .setType(SymbolInstallerExecutionProviderFactory.PROVIDER_NAME);
+
+        selectSymbolsFolderInstallWizard =
+            new SelectSymbolsFolderInstallWizard(this, packageInfo);
+        packageInfoWizard = new PackageInfoWizard(this, packageInfo);
+        outputWizard = new OutputWizard(this, packageInfo);
+        progressWizard =
+            new ProgressWizard(this, packageInfo, (JOutputPanel) (outputWizard
+                .getJPanel()));
+
+        addWizards();
+
+        // Adding the listeners
+        wizardPanelWithLogo.setWizardListener(this);
+
+        this.setLayout(new BorderLayout());
+        this.add(wizardPanelWithLogo, BorderLayout.CENTER);
+    }
+
+    private void addWizards() {
+        wizardPanelWithLogo.addOptionPanel(selectSymbolsFolderInstallWizard);
+        wizardPanelWithLogo.addOptionPanel(packageInfoWizard);
+        wizardPanelWithLogo.addOptionPanel(outputWizard);
+        wizardPanelWithLogo.addOptionPanel(progressWizard);
+    }
+
+    public void setNextButtonEnabled(boolean isEnabled) {
+        wizardPanelWithLogo.setNextButtonEnabled(isEnabled);
+    }
+
+    public void setCancelButtonEnabled(boolean isEnabled) {
+        wizardPanelWithLogo.setCancelButtonEnabled(isEnabled);
+    }
+
+    public void setFinishButtonEnabled(boolean isEnabled) {
+        wizardPanelWithLogo.setFinishButtonEnabled(isEnabled);
+    }
+
+    public void setBackButtonEnabled(boolean isEnabled) {
+        wizardPanelWithLogo.setBackButtonEnabled(isEnabled);
+    }
+
+    public WizardPanelActionListener getWizardPanelActionListener() {
+        if (wizardListenerAdapter == null) { // && (getWizardActionListener() !=
+            // null))) {
+            return new WizardListenerAdapter(this);
+        }
+        return wizardListenerAdapter;
+    }
+
+    public void setWizardPanelActionListener(
+        WizardPanelActionListener wizardActionListener) {
+        // TODO Auto-generated method stub
+        // this.wizardListenerAdapter = wizardActionListener;
+        throw new RuntimeException("Esto falta por ver que hace");
+    }
+
+    public void setSymbolFolderToInsertInPackage(File file) {
+        symbolFolderToInsertInPackage = file;
+    }
+
+    public File getSymbolFolderToInsertInPackage() {
+        return symbolFolderToInsertInPackage;
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/creation/DefaultMakeSymbolPackageWizard.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/WizardListenerAdapter.java
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/WizardListenerAdapter.java	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/WizardListenerAdapter.java	(revision 39269)
@@ -0,0 +1,51 @@
+/* gvSIG. Geographic Information System of the Valencian Government
+ *
+ * Copyright (C) 2007-2008 Infrastructures and Transports Department
+ * of the Valencian Government (CIT)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ */
+package org.gvsig.symbology.app.symbolinstaller;
+
+import org.gvsig.gui.beans.wizard.WizardPanel;
+import org.gvsig.gui.beans.wizard.WizardPanelActionListener;
+import org.gvsig.symbology.app.symbolinstaller.creation.DefaultMakeSymbolPackageWizard;
+
+/**
+ * @author gvSIG Team
+ * @version $Id$
+ * 
+ */
+public class WizardListenerAdapter implements WizardPanelActionListener {
+
+    private DefaultMakeSymbolPackageWizard installerWizardPanel;
+
+    public WizardListenerAdapter(
+        DefaultMakeSymbolPackageWizard installerWizardPanel) {
+        super();
+        this.installerWizardPanel = installerWizardPanel;
+    }
+
+    public void cancel(WizardPanel wizardPanel) {
+        installerWizardPanel.setVisible(false);
+    }
+
+    public void finish(WizardPanel wizardPanel) {
+        installerWizardPanel.setVisible(false);
+    }
+
+}

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/src/main/java/org/gvsig/symbology/app/symbolinstaller/WizardListenerAdapter.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/pom.xml
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/pom.xml	(revision 39269)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>org.gvsig.symbology.app.symbolinstaller</artifactId>
+	<packaging>jar</packaging>
+	<name>Tools: Install marker symbols tool</name>
+        <description>Plugin that allows to install packages of symbols</description>
+	<parent>
+		<groupId>org.gvsig</groupId>
+		<artifactId>org.gvsig.symbology.app</artifactId>
+		<version>2.0.0-SNAPSHOT</version>
+	</parent>
+	<profiles>
+    	<profile>
+    		<id>gvsig-install</id>
+    		<activation>
+    			<activeByDefault>true</activeByDefault>
+    		</activation>
+    		<properties>
+				<!--  gvSIG installation folder -->
+    			<gvsig.install.dir>${basedir}/../../build/product</gvsig.install.dir>
+    		</properties>
+    	</profile>
+   	</profiles>
+	<dependencies>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.app</artifactId>
+		        <scope>compile</scope>
+		</dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.andami</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.lib</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.tools.swing.api</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.gvsig</groupId>
+            <artifactId>org.gvsig.i18n</artifactId>
+            <scope>compile</scope>
+        </dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.symbology.lib.api</artifactId>
+            <scope>compile</scope>
+		</dependency>		
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+            <scope>compile</scope>
+        </dependency>       
+        <dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.installer.lib.api</artifactId>
+            <scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.installer.lib.spi</artifactId>
+            <scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.installer.swing.api</artifactId>
+            <scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>jwizardcomponent</groupId>
+			<artifactId>jwizardcomponent</artifactId>
+            <scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.gvsig</groupId>
+			<artifactId>org.gvsig.ui</artifactId>
+            <scope>compile</scope>
+		</dependency>
+	</dependencies>
+    <properties>
+    	<package.info.dependencies>required: org.gvsig.app -ge 2</package.info.dependencies>
+    	<package.info.categories>Simbology,Addon Management</package.info.categories>
+	</properties>
+</project>

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/distribution/distribution.xml
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/distribution/distribution.xml	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/distribution/distribution.xml	(revision 39269)
@@ -0,0 +1,29 @@
+<assembly>
+	<id>distribution</id>
+	<formats>
+		<format>dir</format>
+	</formats>
+	<fileSets>
+		<fileSet>
+			<directory>src/main/resources</directory>
+			<outputDirectory>${extension.install.dir.name}
+			</outputDirectory>
+		</fileSet>
+	</fileSets>
+	<files>
+		<file>
+			<source>package.info</source>
+			<outputDirectory>${extension.install.dir.name}
+			</outputDirectory>
+		</file>
+	</files>
+	<dependencySets>
+		<dependencySet>
+			<outputDirectory>${extension.install.dir.name}/${library-dir}
+			</outputDirectory>
+			<includes>
+				<include>org.gvsig:org.gvsig.symbology.app.symbolinstaller:jar</include>		
+			</includes>
+		</dependencySet>		
+	</dependencySets>
+</assembly>

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller/distribution/distribution.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.symbolinstaller
___________________________________________________________________
Added: svn:ignore
   + target
.project
.settings
.classpath
package.info
bin


Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/pom.xml
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/pom.xml	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/pom.xml	(revision 39269)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>org.gvsig.symbology.app</artifactId>
+	<packaging>pom</packaging>
+	<version>2.0.0-SNAPSHOT</version>
+	<name>org.gvsig.symbology.app</name>
+	<description></description>
+    <parent>
+        <groupId>org.gvsig</groupId>
+        <artifactId>org.gvsig.maven.base.extension.pom</artifactId>
+        <version>1.0.8-SNAPSHOT</version>
+    </parent>
+    <scm>
+        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.symbology.app</connection>
+        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.symbology.app</developerConnection>
+        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep/extensions/org.gvsig.symbology.app</url>
+    </scm>
+	<developers>
+		<developer>
+			<id>jjdelcerro</id>
+			<name>Joaquín José del Cerro</name>
+			<email>jjdelcerro@gvsig.org</email>
+			<roles>
+				<role>Architect</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>nfrancisco</id>
+			<name>Nadal Francisco</name>
+			<email>francisco_nad@gva.es</email>
+			<roles>
+				<role>Developer</role>
+			</roles>
+		</developer>
+	</developers>
+	<repositories>
+		<repository>
+			<id>gvsig-public-http-repository</id>
+			<name>gvSIG maven public HTTP repository</name>
+            <url>http://devel.gvsig.org/m2repo/j2se</url>
+			<releases>
+				<enabled>true</enabled>
+				<updatePolicy>daily</updatePolicy>
+				<checksumPolicy>warn</checksumPolicy>
+			</releases>
+			<snapshots>
+				<enabled>true</enabled>
+				<updatePolicy>daily</updatePolicy>
+				<checksumPolicy>warn</checksumPolicy>
+			</snapshots>
+		</repository>
+	</repositories>
+	<dependencyManagement>
+		<dependencies>
+			<dependency>
+				<groupId>org.gvsig</groupId>
+				<artifactId>org.gvsig.core.maven.dependencies</artifactId>
+				<version>2.0.1-SNAPSHOT</version>
+				<type>pom</type>
+				<scope>import</scope>
+			</dependency>
+			<dependency>
+				<groupId>org.gvsig</groupId>
+				<artifactId>org.gvsig.app</artifactId>
+				<version>2.0-SNAPSHOT</version>
+			</dependency>
+		</dependencies>
+	</dependencyManagement>
+
+	<modules>
+		<module>org.gvsig.symbology.app.importsymbols</module>
+		<module>org.gvsig.symbology.app.symbolinstaller</module>
+	</modules>
+	<properties>
+		<package.info.state>testing</package.info.state>
+		<!-- alpha-devel -->
+	</properties>
+</project>

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/pom.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/distribution/distribution.xml
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/distribution/distribution.xml	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/distribution/distribution.xml	(revision 39269)
@@ -0,0 +1,2 @@
+<assembly>
+</assembly>
\ No newline at end of file

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/distribution/distribution.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/buildNumber.properties
===================================================================
--- tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/buildNumber.properties	(revision 0)
+++ tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/buildNumber.properties	(revision 39269)
@@ -0,0 +1,3 @@
+#maven.buildNumber.plugin properties file
+#Tue Nov 13 15:35:38 CET 2012
+buildNumber=2068

Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app/buildNumber.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain


Property changes on: tags/v2_0_0_Build_2058/extensions/org.gvsig.symbology.app
___________________________________________________________________
Added: svn:ignore
   + target
.project
.settings


