Revision 33671

View differences:

tags/tmp_build/extensions/extProjectBackup/.classpath
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5
	<classpathentry kind="lib" path="/_fwAndami/andami.jar"/>
6
	<classpathentry kind="lib" path="/_fwAndami/lib/iver-utiles.jar" sourcepath="/libIverUtiles"/>
7
	<classpathentry combineaccessrules="false" kind="src" path="/libCorePlugin"/>
8
	<classpathentry combineaccessrules="false" kind="src" path="/appgvSIG"/>
9
	<classpathentry kind="lib" path="/_fwAndami/lib/org.gvsig.ui.jar" sourcepath="/libUIComponent/src"/>
10
	<classpathentry kind="output" path="bin"/>
11
</classpath>
tags/tmp_build/extensions/extProjectBackup/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>extProjectBackup</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
	</buildSpec>
14
	<natures>
15
		<nature>org.eclipse.jdt.core.javanature</nature>
16
	</natures>
17
</projectDescription>
tags/tmp_build/extensions/extProjectBackup/config/about.htm
1
<html>
2
  <head>
3
    <title>Backup Proyecto GVP al Salvar. Proyecto Junta de Castilla y Le&oacute;n.</title>
4
    <meta content="">
5
<style type="text/css">
6
body {
7
	background-color: #7e7e7e;
8
	background-image: url(images/about.jpg);
9
	background-position: top center;
10
	background-repeat:no-repeat;
11
}
12

  
13
html, body, h1, h2, h3, h4, div, p, ul, li, input {
14
   font-family: Arial, Helvetica, sans-serif;
15
}
16

  
17
p, h1, h2, h3 {
18
  text-align: center;
19
}
20

  
21
</style>
22
  </head>
23
  <body>
24
  <br><br><br><br><br><br><br><br><br><br><br><br>
25
  <p>Version: 0.1
26
  <br>Build Number: #build.number#</p>
27
  <p><br><br><br><a href="http://www.iver.es/">http://www.iver.es/</a></p>
28
  </body>
29
</html>
tags/tmp_build/extensions/extProjectBackup/config/text_en.properties
1
#Translations for language [en]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=GVP Backup Extension
4
Failed_doing_backup_of_project_to_be_overwritten=Failed to backup the project file to be overwritten.
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Failed to initialize extension for backing up project files.
6
options.general.backup_project_to_be_overwriten=Always create backup copy of project file
7
The_project_has_only_read_permissions=Project file opened with read-only permission.
8
The_project_hasnt_read_permissions=You have no read permission for the project file.
9
Warning=Warning
tags/tmp_build/extensions/extProjectBackup/config/text_gl.properties
1
#Translations for language [gl]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=Extensi\u00f3n Backup GVP
4
Failed_doing_backup_of_project_to_be_overwritten=Erro ao realizar o back up de proxecto a sobrescribir.
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Erro ao inicializar a extensi\u00f3n de back up de proxecto a sobrescribir.
6
options.general.backup_project_to_be_overwriten=Gardar copia de seguridade do proxecto a sobrescribir.
7
The_project_has_only_read_permissions=O proxecto ten so permisos de lectura.
8
The_project_hasnt_read_permissions=O proxecto non ten permisos de lectura.
9
Warning=Aviso
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<libraries library-dir="."/>
4
	<depends plugin-name="com.iver.cit.gvsig"/>
5
	<depends plugin-name="com.iver.core"/>
6
	<resourceBundle name="text"/>
7
	<extensions>		
8
		<extension class-name="org.gvsig.backup.AboutBackUpProjectExtension"
9
                description="GVP Backup Extension of the Consejer?a de Medio Ambiente of the Junta de Castilla y Le?n Project."
10
                active="true"
11
                priority="1">
12
		</extension>
13
		<extension class-name="org.gvsig.backup.BackUpProjectExtension"
14
                description="Extension that registers an extension point that allows save a back up of the previous
15
                 gvSIG project."
16
                active="true"
17
                priority="100">
18
		</extension>
19
	</extensions>
20
</plugin-config>
tags/tmp_build/extensions/extProjectBackup/config/text_cs.properties
1
#Translations for language [cs]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=
4
Failed_doing_backup_of_project_to_be_overwritten=
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=
8
The_project_hasnt_read_permissions=
9
Warning=
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_pt_BR.properties
1
#Translations for language [pt_BR]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=Extens\u00e3o Backup GVP
4
Failed_doing_backup_of_project_to_be_overwritten=Falha realizando backup do projeto a sobrescrever.
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Falha inicializando a extens\u00e3o de backup do projeto a sobrescrever.
6
options.general.backup_project_to_be_overwriten=Salvar c\u00f3pia de seguran\u00e7a do projeto a sobrescrever.
7
The_project_has_only_read_permissions=O projeto possui apenas permi\u00e7\u00e3o de teitura.
8
The_project_hasnt_read_permissions=O projeto possui apenas permi\u00e7\u00e3o de leitura.
9
Warning=Aviso
tags/tmp_build/extensions/extProjectBackup/config/text_fr.properties
1
#Translations for language [fr]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=Extension de sauvegarde GVP
4
Failed_doing_backup_of_project_to_be_overwritten=Echec lors de la cr\u00e9ation de la copie de sauvegarde du projet.
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Echec lors du d\u00e9marrage de l'extension de sauvegarde de projets.
6
options.general.backup_project_to_be_overwriten=Conserver une copie de sauvegarde
7
The_project_has_only_read_permissions=Le projet est en lecture seule.
8
The_project_hasnt_read_permissions=Le projet n'a pas les droits d'\u00e9criture.
9
Warning=Attention
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_en_US.properties
1
#Translations for language [en_US]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=GVP Backup Extension
4
Failed_doing_backup_of_project_to_be_overwritten=Failed to backup the project file to be overwritten.
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Failed to initialize extension for backing up project files.
6
options.general.backup_project_to_be_overwriten=Always create backup copy of project file
7
The_project_has_only_read_permissions=Project file opened with read-only permission.
8
The_project_hasnt_read_permissions=You have no read permission for the project file.
9
Warning=Warning
tags/tmp_build/extensions/extProjectBackup/config/text_eu.properties
1
#Translations for language [eu]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=Backup GVP luzapena
4
Failed_doing_backup_of_project_to_be_overwritten=Hutsegitea gainidatzi beharreko proiektuaren backup-a egitean
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Hutsegitea gainidatzi beharreko proiektuaren backup-aren luzapena hasieratzean
6
options.general.backup_project_to_be_overwriten=Gorde proiektuaren babeskopia gainidaztean 
7
The_project_has_only_read_permissions=Proiektuak irakurtzeko baimena dauka soilik.
8
The_project_hasnt_read_permissions=Proiektuak ez dauka irakurtzeko baimenik.
9
Warning=Oharra
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_nl.properties
1
#Translations for language [nl]
2
#Tue Aug 11 10:49:14 CEST 2009
3
extProjectBackup=
4
Failed_doing_backup_of_project_to_be_overwritten=
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=
8
The_project_hasnt_read_permissions=
9
Warning=
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_pl.properties
1
#Translations for language [pl]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=
4
Failed_doing_backup_of_project_to_be_overwritten=
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=
8
The_project_hasnt_read_permissions=
9
Warning=
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_it.properties
1
#Translations for language [it]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=Estensione Backup GVP
4
Failed_doing_backup_of_project_to_be_overwritten=FALLITA Esecuzione del backup di progetto da sovrascrivere
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=FALLITA Inizializzazione dell'estensione di backup di progetto da sovrascrivere.
6
options.general.backup_project_to_be_overwriten=Salva copia di back-up del progetto da sovrascrivere.
7
The_project_has_only_read_permissions=Il progetto ha solo permessi di lettura.
8
The_project_hasnt_read_permissions=Il progetto non possiede permessi di lettura.
9
Warning=Attenzione
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_ro.properties
1
#Translations for language [ro]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=Rezerv\u0103 extensie .gvp
4
Failed_doing_backup_of_project_to_be_overwritten=E\u0219ec realizare copie de rezerv\u0103 la suprascriere
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=E\u0219ec ini\u021bializare copiere de rezerv\u0103 a proiectului la suprascriere
6
options.general.backup_project_to_be_overwriten=Salveaz\u0103 copie de securitate a proiectului la suprascriere.
7
The_project_has_only_read_permissions=Proiectul are doar permisiuni de citire
8
The_project_hasnt_read_permissions=Proiectul nu are permisiuni de citire
9
Warning=Avertisment
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text.properties
1
#Translations for language [es]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=Extensi\u00f3n Backup GVP
4
Failed_doing_backup_of_project_to_be_overwritten=Fall\u00f3 realizando el back up de proyecto a sobrescribir.
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Fall\u00f3 inicializando la extensi\u00f3n de back up de proyecto a sobrescribir.
6
options.general.backup_project_to_be_overwriten=Guardar copia de seguridad de proyecto a sobrescribir.
7
The_project_has_only_read_permissions=El proyecto tiene solo permisos de lectura.
8
The_project_hasnt_read_permissions=El proyecto no tiene permisos de lectura.
9
Warning=Aviso
tags/tmp_build/extensions/extProjectBackup/config/text_zh.properties
1
#Translations for language [zh]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=
4
Failed_doing_backup_of_project_to_be_overwritten=
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=
8
The_project_hasnt_read_permissions=
9
Warning=
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_pt.properties
1
#Translations for language [pt]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=
4
Failed_doing_backup_of_project_to_be_overwritten=
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=
8
The_project_hasnt_read_permissions=
9
Warning=
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_ca.properties
1
#Translations for language [ca]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=Extensi\u00f3 Backup GVP
4
Failed_doing_backup_of_project_to_be_overwritten=Ha fallat en realitzar el back up de projecte que s'ha de sobreescriure.
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Ha fallat en iniciar l'extensi\u00f3 de back up de projecte que s'ha de sobreescriure.
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=El projecte t\u00e9 sols permisos de lectura.
8
The_project_hasnt_read_permissions=El projecte no t\u00e9 permisos de lectura.
9
Warning=Av\u00eds
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_sr.properties
1
#Translations for language [sr]
2
#Mon Nov 02 08:36:03 CET 2009
3
extProjectBackup=Ekstenzija Backup GVP
4
Failed_doing_backup_of_project_to_be_overwritten=Gre\u0161ka pri realizaciji back up-a projekta pri presnimavanju. 
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Neuspe\u0161no pokretanje ekstenzije back up-a projekta preko kojeg je potrebno pisati.
6
options.general.backup_project_to_be_overwriten=Sa\u010duvati sigurnosnu kopiju projekta preko koga treba pisati.
7
The_project_has_only_read_permissions=Na projekciji je samo dozvoljeno \u010ditanje.
8
The_project_hasnt_read_permissions=Projekcija nema dozvolu za \u010ditanje.
9
Warning=Upozorenje
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_tr.properties
1
#Translations for language [tr]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=
4
Failed_doing_backup_of_project_to_be_overwritten=
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=
8
The_project_hasnt_read_permissions=
9
Warning=Uyar\u0131
tags/tmp_build/extensions/extProjectBackup/config/text_ru.properties
1
#Translations for language [ru]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=
4
Failed_doing_backup_of_project_to_be_overwritten=
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=
8
The_project_hasnt_read_permissions=
9
Warning=
tags/tmp_build/extensions/extProjectBackup/config/text_de.properties
1
#Translations for language [de]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=Erweiterung gvp- Backup
4
Failed_doing_backup_of_project_to_be_overwritten=Fehler beim Backup von Projektdateien.
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=Fehler beim Laden der Erweiterung zum automatischen Backup von Projektdateien.
6
options.general.backup_project_to_be_overwriten=Kopie des Projektes als Sicherung speichern
7
The_project_has_only_read_permissions=Projekt hat nur Schreibrechte
8
The_project_hasnt_read_permissions=Projekt hat keine Leserechte
9
Warning=Warnung
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_sw.properties
1
#Translations for language [sw]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=
4
Failed_doing_backup_of_project_to_be_overwritten=
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=
8
The_project_hasnt_read_permissions=
9
Warning=
0 10

  
tags/tmp_build/extensions/extProjectBackup/config/text_el.properties
1
#Translations for language [el]
2
#Mon Sep 21 10:02:08 CEST 2009
3
extProjectBackup=
4
Failed_doing_backup_of_project_to_be_overwritten=
5
Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension=
6
options.general.backup_project_to_be_overwriten=
7
The_project_has_only_read_permissions=
8
The_project_hasnt_read_permissions=
9
Warning=
tags/tmp_build/extensions/extProjectBackup/build.number
1
#Build Number for ANT. Do not edit!
2
#Tue Nov 10 17:06:26 CET 2009
3
build.number=1253
tags/tmp_build/extensions/extProjectBackup/src/org/gvsig/backup/AboutBackUpProjectExtension.java
1
package org.gvsig.backup;
2

  
3
/* gvSIG. Geographic Information System of the Valencian Government
4
 *
5
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
6
 * of the Valencian Government (CIT)
7
 * 
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 * 
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *  
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
21
 * MA  02110-1301, USA.
22
 * 
23
 */
24

  
25
import com.iver.andami.PluginServices;
26
import com.iver.andami.plugins.Extension;
27
import com.iver.cit.gvsig.About;
28
import com.iver.cit.gvsig.gui.panels.FPanelAbout;
29

  
30
/**
31
 * <p>Backup GVP Extension of the <i>Consejer?a de Medio Ambiente de
32
 *  la Junta de Castilla y Le?n.</i></p> project.
33
 *
34
 * @author Vicente Caballero Navarro (vicente.caballero@iver.es)
35
 * @author Jaume Dom?nguez Faus (jaume.dominguez@iver.es)
36
 * @author C?sar Mart?nez Izquierdo (cesar.martinez@iver.es)
37
 * @author Pablo Piqueras Bartolom? (pablo.piqueras@iver.es)
38
 * @author Jos? Manuel Viv? Arnal (josemanuel.vivo@iver.es)
39
 */
40
public class AboutBackUpProjectExtension extends Extension {
41
	/*
42
	 * (non-Javadoc)
43
	 * @see com.iver.andami.plugins.IExtension#initialize()
44
	 */
45
    public void initialize() {
46
     }
47

  
48
    /*
49
     * (non-Javadoc)
50
     * @see com.iver.andami.plugins.Extension#postInitialize()
51
     */
52
    public void postInitialize() {
53
		About about=(About)PluginServices.getExtension(About.class);
54
		FPanelAbout panelAbout=about.getAboutPanel();
55
		java.net.URL aboutURL = this.getClass().getResource("/about.htm");
56
		panelAbout.addAboutUrl(PluginServices.getText(this, "extProjectBackup"),aboutURL);
57
    }
58

  
59
    /*
60
     * (non-Javadoc)
61
     * @see com.iver.andami.plugins.IExtension#execute(java.lang.String)
62
     */
63
	public void execute(String actionCommand) {
64
	}
65

  
66
	/*
67
	 * (non-Javadoc)
68
	 * @see com.iver.andami.plugins.IExtension#isEnabled()
69
	 */
70
	public boolean isEnabled() {
71
		return false;
72
	}
73

  
74
	/*
75
	 * (non-Javadoc)
76
	 * @see com.iver.andami.plugins.IExtension#isVisible()
77
	 */
78
	public boolean isVisible() {
79
		return false;
80
	}
81
}
tags/tmp_build/extensions/extProjectBackup/src/org/gvsig/backup/BackUpProjectExtension.java
1
package org.gvsig.backup;
2

  
3
/* gvSIG. Geographic Information System of the Valencian Government
4
 *
5
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
6
 * of the Valencian Government (CIT)
7
 * 
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 * 
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *  
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
21
 * MA  02110-1301, USA.
22
 * 
23
 */
24

  
25
import java.awt.event.ActionEvent;
26
import java.awt.event.ActionListener;
27
import java.io.File;
28

  
29
import javax.swing.JCheckBox;
30
import javax.swing.JOptionPane;
31

  
32
import org.gvsig.tools.backup.DefaultBackupGeneratorFactory;
33

  
34
import com.iver.andami.PluginServices;
35
import com.iver.andami.messages.NotificationManager;
36
import com.iver.andami.plugins.Extension;
37
import com.iver.cit.gvsig.ProjectExtension;
38
import com.iver.core.preferences.general.GeneralPage;
39
import com.iver.utiles.extensionPoints.ExtensionPoint;
40
import com.iver.utiles.extensionPoints.ExtensionPoints;
41
import com.iver.utiles.extensionPoints.ExtensionPointsSingleton;
42
import com.iver.utiles.save.BeforeSavingAdapter;
43
import com.iver.utiles.save.SaveEvent;
44

  
45
/**
46
 * <p>Extension to add support for saving a back up of the <a href="">gvSIG</a> project to be replaced.</p>
47
 * <p>Adds also a check box in the general preferences to enable or disable that option.</p>
48
 *
49
 * @author Pablo Piqueras Bartolom? (pablo.piqueras@iver.es)
50
 */
51
public class BackUpProjectExtension extends Extension {
52
	
53
	private JCheckBox backUpProjectCBox;
54
	private BackupConfig backupConfig;
55

  
56
	/*
57
	 * (non-Javadoc)
58
	 * @see com.iver.andami.plugins.IExtension#initialize()
59
	 */
60
	public void initialize() {
61
		try {
62
			/* 1- Replaces in the General panel in the gvSIG preferences, a checkbox as an option to save a back up of the
63
			   previous gvSIG project to be overwritten as a backup */
64
			ExtensionPoints extensionPoints = ExtensionPointsSingleton.getInstance();
65
			ExtensionPoint extensionPoint = (ExtensionPoint) extensionPoints.get("AplicationPreferences");
66

  
67
			// Adds the new checkbox
68
			((GeneralPage)extensionPoint.get("GeneralPage")).addComponent(getBackupProjectCheckBox());
69
			
70
			/* 2- Adds the listener to the ProjectExtension (extension that saves the gvSIG project */
71
			ProjectExtension prjExtension = (ProjectExtension) PluginServices.getExtension(ProjectExtension.class);
72
			
73
			prjExtension.addListener(new BeforeSavingAdapter() {
74
				/*
75
				 * (non-Javadoc)
76
				 * @see com.iver.utiles.save.BeforeSavingAdapter#beforeSaving(com.iver.utiles.save.SaveEvent)
77
				 */
78
				public void beforeSaving(SaveEvent e) {
79
					/* 3- Performs a backup of the file as another file at the same directory, with ".bak" as the file extension */
80
					if ((backUpProjectCBox != null) && (backUpProjectCBox.isSelected())) {
81
						// 3.1- If exists the original file
82
						try {
83
							File source = e.getFile();
84
							
85
							// 3.2- Validates if can be written
86
							// 3.2.1- If there is a project in that path with that name -> perform the backup, otherwise no
87
							if (source.exists()) {
88
								// 3.2.2- If can't be read -> notifies it, and finish
89
								if (! source.canRead()) {
90
									JOptionPane.showMessageDialog(null, PluginServices.getText(null, "The_project_hasnt_read_permissions"), PluginServices.getText(null, "Warning"), JOptionPane.WARNING_MESSAGE);
91
									return;
92
								}
93
								
94
								// 3.2.3- If can't be written -> notifies it, and finish
95
								if (! source.canWrite()) {
96
									JOptionPane.showMessageDialog(null, PluginServices.getText(null, "The_project_has_only_read_permissions"), PluginServices.getText(null, "Warning"), JOptionPane.WARNING_MESSAGE);
97
									return;
98
								}
99
								
100
								DefaultBackupGeneratorFactory factory = new DefaultBackupGeneratorFactory();
101
	
102
								// 3.3- Performs the backup
103
								factory.getBackupGenerator().backup(source);
104
							}
105
						}
106
						catch (Exception ex) {
107
							NotificationManager.showMessageError(PluginServices.getText(null, "Failed_doing_backup_of_project_to_be_overwritten"), ex);
108
						}
109
					}
110
				}
111
			});
112
			
113
			// Creates a new backupConfig
114
			backupConfig = new BackupConfig();
115
			
116
			// Sets the preference value
117
			backUpProjectCBox.setSelected(backupConfig.isBackupProjectToBeOverwritten());
118
		}
119
		catch (Exception e) {
120
			NotificationManager.showMessageError(PluginServices.getText(this, "Failed_initializing_the_backup_of_previous_project_to_be_overwritten_extension"), e);
121
		}
122
	}
123

  
124
	/*
125
	 * (non-Javadoc)
126
	 * @see com.iver.andami.plugins.IExtension#execute(java.lang.String)
127
	 */
128
	public void execute(String actionCommand) {
129
	}
130

  
131
	/*
132
	 * (non-Javadoc)
133
	 * @see com.iver.andami.plugins.IExtension#isEnabled()
134
	 */
135
	public boolean isEnabled() {
136
		return true;
137
	}
138

  
139
	/*
140
	 * (non-Javadoc)
141
	 * @see com.iver.andami.plugins.IExtension#isVisible()
142
	 */
143
	public boolean isVisible() {
144
		return true;
145
	}
146

  
147
	/**
148
	 * <p>Gets the check box in the General preferences that determines if it has to save a back up
149
	 *  of the previous project to be replaced.</p>
150
	 * 
151
	 * @return javax.swing.JCheckBox
152
	 */
153
	public JCheckBox getBackupProjectCheckBox() {
154
		if (backUpProjectCBox == null) {
155
			backUpProjectCBox = new JCheckBox(PluginServices.getText(this, "options.general.backup_project_to_be_overwriten"));
156
			backUpProjectCBox.addActionListener(new ActionListener() {
157
				/*
158
				 * (non-Javadoc)
159
				 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
160
				 */
161
				public void actionPerformed(ActionEvent e) {
162
					backupConfig.setBackupProjectToBeOverwritten(((JCheckBox)e.getSource()).isSelected());
163
				}
164
			});
165
		}
166

  
167
		return backUpProjectCBox;
168
	}
169
}
tags/tmp_build/extensions/extProjectBackup/src/org/gvsig/backup/BackupConfig.java
1
package org.gvsig.backup;
2

  
3
/* gvSIG. Geographic Information System of the Valencian Government
4
 *
5
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
6
 * of the Valencian Government (CIT)
7
 * 
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 * 
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *  
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
21
 * MA  02110-1301, USA.
22
 * 
23
 */
24

  
25
import com.iver.andami.PluginServices;
26
import com.iver.utiles.IPersistence;
27
import com.iver.utiles.XMLEntity;
28

  
29
/**
30
 * Stores the backup configuration in memory, and offers a simple
31
 * interface to change them.
32
 *
33
 * @author Pablo Piqueras Bartolom? (pablo.piqueras@iver.es)
34
 */
35
public class BackupConfig implements IPersistence {
36
	public static final String BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID = "backup_project_to_be_overwritten";
37

  
38
	protected boolean backupProjectToBeOverwritten = false; // By default -> false
39
	protected XMLEntity xmlConfig = null;
40

  
41
	/**
42
	 * Creates a new BackupConfig instance
43
	 */
44
	public BackupConfig() {
45
		super();
46

  
47
		initConfig();
48
	}
49
	
50
	/*
51
	 * @see com.iver.utiles.IPersistance#getClassName()
52
	 */	
53
	public String getClassName() {
54
		return this.getClass().getName();
55
	}
56

  
57
	/*
58
	 * (non-Javadoc)
59
	 * @see com.iver.utiles.IPersistance#getXMLEntity()
60
	 */
61
	public XMLEntity getXMLEntity() {
62
		XMLEntity xml = new XMLEntity();
63
		xml.putProperty(BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID, backupProjectToBeOverwritten);
64
		
65
		return xml;
66
	}
67

  
68
	/*
69
	 * (non-Javadoc)
70
	 * @see com.iver.utiles.IPersistance#setXMLEntity(com.iver.utiles.XMLEntity)
71
	 */
72
	public void setXMLEntity(XMLEntity xml) {
73
		if (xml.contains(BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID)) {
74
			backupProjectToBeOverwritten = xml.getBooleanProperty(BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID);
75
		}
76
		else {
77
			backupProjectToBeOverwritten = false; // By default -> false
78
		}
79
	}
80

  
81
	/**
82
	 * Sets the XML property {@link BackupConfig#BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID BackupConfig#BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID}
83
	 *
84
	 * @param b the value to persist
85
	 */
86
	public void setBackupProjectToBeOverwritten(boolean b) {
87
		backupProjectToBeOverwritten = b;
88
		xmlConfig.putProperty(BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID, backupProjectToBeOverwritten);
89
	}
90
	
91
	/**
92
	 * Gets the XML property {@link BackupConfig#BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID BackupConfig#BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID}
93
	 *
94
	 * @return the value to persist
95
	 */
96
	public boolean isBackupProjectToBeOverwritten() {
97
		return backupProjectToBeOverwritten;
98
	}
99

  
100
	/**
101
	 * Initializes the configuration of the associated extension.
102
	 */
103
	private void initConfig() {
104
		PluginServices ps = PluginServices.getPluginServices(this);
105
		XMLEntity xml = ps.getPersistentXML();
106
		XMLEntity child;
107
		boolean found = false;
108

  
109
		for (int i=0; i<xml.getChildrenCount(); i++) {
110
			child = xml.getChild(i); 
111
			if (child.contains(BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID)) {
112
				setXMLEntity(child);
113
				found = true;
114
				xmlConfig = child;
115
				backupProjectToBeOverwritten = child.getBooleanProperty(BACKUP_PROJECT_TO_BE_OVERWRITTEN_ID);
116
			}
117
		}
118
		if (!found)  {
119
			child = getXMLEntity();
120
			xml.addChild(child);
121
			xmlConfig = child;
122
			backupProjectToBeOverwritten = false;
123
		}
124
	}
125
}
tags/tmp_build/extensions/extProjectBackup/build.xml
1
	<project name="extProjectBackup" default="batch-build" basedir=".">
2

  
3
		<description>
4
	        Installs the plugin extProjectBackup in gvSIG.
5
	    </description>
6

  
7
		  <!-- set global properties for this build -->
8
		  <property name="src" location="src"/>
9
		  <property name="build" location="bin"/>
10
		  <property name="dist"  location="dist"/>
11
		  <property name="lib"  location="lib"/>
12
		  <property name="plugin" value="org.gvsig.backup"/>
13
		  <property name="andami-lib" value="../_fwAndami/lib"/>
14
		  <property name="andami" value="../_fwAndami/"/>
15
		  <property name="extension-dir" location="../_fwAndami/gvSIG/extensiones"/>
16
		  <property name="validation-dir" location="../_fwAndami/lib"/>
17
		  <property name="gvSIGlib-dir" location="${extension-dir}/com.iver.cit.gvsig/lib"/>
18
		  <property name="model-dir" location="../_fwAndami/gvSIG/extensiones/"/>
19
		  <property name="img-dir" location="../_fwAndami/src/images"/>
20
		  <property name="theme-dir" location="../_fwAndami/theme"/>
21
		  <property name="gvSIG-dir" location="${extension-dir}/com.iver.cit.gvsig/"/>
22
		  <property name="jarName" value="org.gvsig.backup.jar"/>
23
		<import file="../binaries/ant/utilities.xml"/>
24

  
25
	 <target name="init">
26
	    <!-- Create the time stamp -->
27
	    <tstamp/>
28
	    <!-- Create the build directory structure used by compile -->
29
	    <mkdir dir="${build}"/>
30
	    <mkdir dir="${dist}"/>
31
	  	<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
32
	  	<!-- <buildnumber/> -->
33
	  </target>
34

  
35
	<target name="batch-build" depends="compile,generate-without-source,generate-validation-without-source, generate-model-without-source">
36
	</target>
37

  
38
	<target name="buildNumber">
39
		<propertyfile
40
			file="build.number"
41
			comment="Build Number for ANT. Do not edit!">
42
			<entry
43
				key="build.number"
44
				default="0"
45
				type="int" operation="+"/>
46
			</propertyfile>
47
		<property file="build.number"/>
48
	</target>
49

  
50

  
51
	<target name="clean"
52
		    description="cleans the build directories">
53
		<delete dir="${build}" failonerror="no"/>
54
		<delete dir="${dist}" failonerror="no"/>
55
	</target>
56

  
57

  
58
	<target name="distribution" depends="buildNumber,batch-build">
59
	</target>
60

  
61

  
62
	<target name="generate-without-source" description="generate the distribution without the source file" >
63
	    <!-- Create the distribution directory -->
64
	    <mkdir dir="${dist}"/>
65

  
66
	    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
67
	    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/>
68

  
69
		<copy todir="${dist}">
70
			<fileset dir="config/" includes="*"/>
71
	    </copy>
72

  
73
		<mkdir dir="${dist}/images"/>
74
		<copy todir="${dist}/images">
75
			<fileset dir="images" includes="*"/>
76
		</copy>
77
		<copy todir="${dist}">
78
			<fileset dir="lib" includes="*"/>
79
		</copy>
80

  
81
	    <loadproperties srcFile="build.number"/>
82
		<replace casesensitive="true"
83
			file="${dist}/about.htm"
84
			token="#build.number#"
85
			value="${build.number}"/>
86
	    <copy todir="${dist}">
87
	    	<fileset dir="config" includes="text*.properties"/>
88
	    </copy>
89

  
90
    	<copy file="build.number" todir="${dist}"/>
91

  
92
		<!-- <move file="${dist}/${plugin}.jar" todir="${gvSIGlib-dir}" />
93
	    <move todir="${extension-dir}/${plugin}/">
94
	    	<fileset dir="${dist}" includes="**/**" />
95
	    </move> -->
96
	</target>
97

  
98
		<target name="compile" description="compile the source" >
99
				<!-- Compile the Java code from ${src} to ${build} -->
100
				<mkdir dir="${build}" />
101
				<loadEclipseClasspath project="${basedir}"/>
102
				<gvSIG-javac
103
					classpath="${eclipseClasspath}"
104
				/>
105

  
106
				<!--<javac  srcdir="${src}"
107
					destdir="${build}"
108
					source="${JavaSourceVersion}"
109
					target="${JavaTargetVersion}"
110
					debug="${debug}"
111
					debuglevel="${debuglevel}">
112
			    	<classpath refid="libFMap.compile-classpath"/>
113
				</javac>-->
114
				<!-- copy data files -->
115
				<copy todir="${build}">
116
					<fileset
117
						dir="src"
118
						excludes="**/*.java"/>
119
				</copy>
120
		</target>
121

  
122
		 <target name="generate-validation-without-source" description="generate the validation module distribution without the source file" >
123
		    <!-- Create the distribution directory -->
124
		    <mkdir dir="${dist}"/>
125
		    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
126

  
127
		 	<!-- <copy todir="${build}/images">
128
		 	    	<fileset dir="images/" includes="*"/>
129
		 	</copy> -->
130
		    <move todir="${extension-dir}/${plugin}/">
131
		    	<fileset dir="${dist}"  includes="**/**"/>
132
		    </move>
133

  
134
		 </target>
135

  
136
		 <target name="generate-model-without-source" description="generate the model module distribution without the source file" >
137
		    <!-- Create the distribution directory -->
138
		    <mkdir dir="${dist}"/>
139
		    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
140
		    <move todir="${extension-dir}/${plugin}/">
141
		    	<fileset dir="${dist}" includes="**/**"/>
142
		    </move>
143

  
144
		 </target>
145
	</project>
0 146

  
tags/tmp_build/extensions/extWCS/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>extWCS</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>de.loskutov.FileSync.FSBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
	</buildSpec>
19
	<natures>
20
		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
21
		<nature>org.eclipse.jdt.core.javanature</nature>
22
		<nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature>
23
	</natures>
24
</projectDescription>
0 25

  
tags/tmp_build/extensions/extWCS/src-test/com/iver/cit/gvsig/wcs/AllTests.java
1
package com.iver.cit.gvsig.wcs;
2

  
3
import junit.framework.Test;
4
import junit.framework.TestSuite;
5

  
6
public class AllTests {
7

  
8
	public static Test suite() {
9
		TestSuite suite = new TestSuite("Test for com.iver.cit.gvsig.wcs");
10
		//$JUnit-BEGIN$
11

  
12
		//$JUnit-END$
13
		return suite;
14
	}
15

  
16
}
0 17

  
tags/tmp_build/extensions/extWCS/.beaninfoConfig
1
<?xml version="1.0" encoding="UTF-8"?>
2
<beaninfos>
3
<beaninfo kind="lib" path="/_fwAndami/lib/beans.jar" exported="true"/>
4
</beaninfos>
0 5

  
tags/tmp_build/extensions/extWCS/config/text_pt.properties
1
#Translations for language [pt]
2
#Mon Sep 21 10:02:14 CEST 2009
3
abstract=Resumo
4
Aceptar=Aceitar
5
Anadir=Adicionar
6
ancho_alto=Largura X altura
7
anterior=Anterior
8
Aplicar=Aplicar
9
Apply=Aplicar
10
bandas=Bandas
11
brillo=Brightness
12
brillo_y_contraste=Brilho e contraste
13
Cancel=Cancelar
14
Cancelar=Cancelar
15
connect=Conectar
16
connect_error=Erro ao conectar
17
contraste=Contrast
18
coor_geograficas=Coordenadas geogr\u00e1ficas
19
coverage=Raster
20
covered_extension=Extens\u00e3o
21
descripcion=Descri\u00e7\u00e3o
22
Eliminar=Remover
23
eliminar_extremos=Remover extremos
24
extents_no_coincidentes=A extens\u00e3o da imagem seleccionada n\u00e3o coincide com a imagem de origem.
25
Fichero=Ficheiro
26
fichero_existe=O ficheiro seleccionado j\u00e1 existe como banda da capa
27
fit_WCS_layer=Ajustar tema WCS
28
format=Formato
29
formato=Formato
30
georeferenciado=Georreferenciado
31
info=Informa\u00e7\u00e3o
32
Informacion=Informa\u00e7\u00e3o
33
Layer=Capa
34
layer_abstract=Resumo
35
layer_title=Titulo da capa
36
lineal_directo=Lineal direito
37
m/pixel=metros/pixel
38
metadatos=Metadatos
39
name=Nome
40
nombre=Nome
41
nombre_cobertura=Nome da cobertura
42
none_selected=Nenhum seleccionado
43
not_available=N\u00e3o dispon\u00edvel
44
num_bandas=N\u00famero de bandas
45
Ok=Aceitar
46
opacidad=Opacidade
47
origen_de_datos=Origem de dados
48
parameters=Par\u00e2metros
49
previsualizacion=Pr\u00e9-visualiza\u00e7\u00e3o
50
properties=Propriedades
51
propiedades_raster=Propiedades da cobertura
52
Proyecciones=Projec\u00e7\u00f5es
53
realce=Realce
54
recorte_colas=Recorte de filas
55
refresh_capabilities=Actualizar cache
56
refresh_capabilities_tooltip=Marque esta op\u00e7\u00e3o para reescrever os dados anteriores.
57
seleccionar_coberturas=Seleccionar coberturas
58
seleccionar_CRS=Seleccionar CRS
59
seleccionar_formato=Seleccionar formato
60
seleccionar_parametros=Seleccionar os par\u00e2metros
61
seleccionar_tiempo=Seleccionar a posi\u00e7\u00e3o para o tempo
62
selected_layers=Capas seleccionadas
63
selected_parameters=Par\u00e2metros seleccionados
64
server=Servidor
65
server_abstract=Sumario
66
server_title=Titulo
67
server_type=Tipo de servidor
68
service_info=Informa\u00e7\u00e3o do servi\u00e7o
69
show_layer_names=Mostrar nomes
70
si=Sim
71
siguiente=Seguinte
72
tamano=Tamanho\:
73
tamPixX=Tamanho do pixel em X
74
tamPixY=Tamanho do pixel em Y
75
time=Tempo
76
tipo_dato=Tipo de dado
77
transparencia=Transpar\u00eancia
78
unknown_response_format=Formato de resposta desconhecido
79
use_interpolation_method=Usar m\u00e9todo de interpola\u00e7\u00e3o
80
version_conflict=Conflito de vers\u00f5es
81
wcs_cant_connect=N\u00e3o se pode realizar a conex\u00e3o
82
wcs_properties=Propriedades WCS
83
WCS_properties=Propietats del WCS
84
wcs_server_error=Erro com servidor WCS
85
wcs_server_timeout=Tempo de espera esgotado
86
xmax=X m\u00e1xima
87
xmin=X m\u00ednima
88
ymax=Y m\u00e1xima
89
ymin=Y m\u00ednima
90
Zoom_pixel=Zoom \u00e0 resolu\u00e7\u00e3o do raster
0 91

  
tags/tmp_build/extensions/extWCS/config/text_ca.properties
1
#Translations for language [ca]
2
#Mon Sep 21 10:02:14 CEST 2009
3
abstract=Resum
4
Aceptar=Acceptar
5
Anadir=Afegir
6
ancho_alto=Amplada al\u00e7ada
7
anterior=Anterior
8
Aplicar=Aplicar
9
Apply=Aplicar
10
bandas=Bandes
11
brillo=Brillantor
12
brillo_y_contraste=Brillantor i contrast
13
Cancel=Cancel\u00b7lar
14
Cancelar=Cancel\u00b7lar
15
connect=Connectar
16
connect_error=Error de connexi\u00f3
17
contraste=Contrast
18
coor_geograficas=Coordenades geogr\u00e0fiques
19
coverage=Cobertura
20
covered_extension=Cobertura de l'extensi\u00f3
21
descripcion=Descripci\u00f3
22
Eliminar=Eliminar
23
eliminar_extremos=Eliminar extrems
24
extents_no_coincidentes=Extensions no coincidents
25
Fichero=Fitxer
26
fichero_existe=Hi ha fitxer
27
fit_WCS_layer=Ajustar capa WCS
28
format=Format
29
formato=Format
30
georeferenciado=Georeferenciat
31
info=Informaci\u00f3
32
Informacion=Informaci\u00f3
33
Layer=Capa
34
layer_abstract=Resum de la capa
35
layer_title=T\u00edtol de la capa
36
lineal_directo=Lineal directe
37
m/pixel=metros/pixel
38
metadatos=Metadatos
39
name=Nom
40
nombre=Nom
41
nombre_cobertura=Nom cobertura
42
none_selected=Cap seleccionat
43
not_available=No disponible
44
num_bandas=Nombre de bandes
45
Ok=D'acord
46
opacidad=Opacitat
47
origen_de_datos=Origen de dades
48
parameters=Par\u00e0metres
49
previsualizacion=Previsualitzaci\u00f3
50
properties=Propietats
51
propiedades_raster=Propietats del raster
52
Proyecciones=Projeccions
53
realce=Relleu
54
recorte_colas=Retall de cues
55
refresh_capabilities=Refrescar la mem\u00f2ria cau
56
refresh_capabilities_tooltip=Marque esta casella per a sobreescriure les dades anteriors.
57
seleccionar_coberturas=Seleccioneu les cobertures
58
seleccionar_CRS=Seleccioneu CRS
59
seleccionar_formato=Seleccionar format
60
seleccionar_parametros=Seleccionar parametres
61
seleccionar_tiempo=Seleccionar temps
62
selected_layers=Capes seleccionades
63
selected_parameters=Par\u00e0metres seleccionats
64
server=Servidor
65
server_abstract=Resum del servidor
66
server_title=T\u00edtol del servidor
67
server_type=Tipus de servidor
68
service_info=Informaci\u00f3 del servici
69
show_layer_names=Mostrar noms de capes
70
si=s\u00ed
71
siguiente=Seg\u00fcent
72
tamano=Dimensi\u00f3\:
73
tamPixX=Dimensi\u00f3 p\u00edxel x
74
tamPixY=Dimensi\u00f3 p\u00edxel y
75
time=Temps
76
tipo_dato=Tipus de dada
77
transparencia=Transpar\u00e8ncia
78
unknown_response_format=Format de resposta desconeguda
79
use_interpolation_method=Usar m\u00e8tode d'interpolaci\u00f3
80
version_conflict=Conflicte de versi\u00f3
81
wcs_cant_connect=No es pot realitzar la connexi\u00f3 WCS
82
wcs_properties=Propietats de WCS
83
WCS_properties=Propietats del WCS
84
wcs_server_error=Error en el servidor WCS
85
wcs_server_timeout=Temps d\u0092espera esgotat
86
xmax=X m\u00e0xima
87
xmin=X m\u00ednima
88
ymax=Y m\u00e0xima
89
ymin=Y m\u00ednima
90
Zoom_pixel=Zoom a la resoluci\u00f3 del raster
0 91

  
tags/tmp_build/extensions/extWCS/config/text_sr.properties
1
#Translations for language [sr]
2
#Mon Nov 02 08:36:03 CET 2009
3
abstract=Rezime
4
anterior=Prethodni
5
Apply=Primeni
6
Cancel=Odustani
7
connect=Uspostavi vezu
8
coverage=Pokrivenost
9
covered_extension=Pokrivenost ekstenzije
10
descripcion=Opis
11
fit_WCS_layer=Podesi lejer ArcIMS 
12
format=Format
13
info=Informacija
14
Layer=Lejer
15
layer_abstract=Rezime lejera
16
layer_title=Naziv lejera
17
name=Naziv
18
nombre=Naziv
19
nombre_cobertura=Naziv dometa
20
none_selected=Nijedan nije ozna\u010den
21
not_available=Nije dostupan
22
Ok=ok
23
parameters=Parametri
24
properties=Karakteristike
25
refresh_capabilities=A\u017euriraj ke\u0161
26
refresh_capabilities_tooltip=Obele\u017ei ovo polje radi pisanja preko prethodnih podataka. 
27
seleccionar_coberturas=Izaberi domete
28
seleccionar_CRS=Izaberi CRS
29
seleccionar_formato=Izaberi format
30
seleccionar_parametros=Izaberi parametre
31
seleccionar_tiempo=Izaberi vreme
32
selected_layers=Izabrani lejeri
33
selected_parameters=Izabrani parametri
34
server=Server
35
server_abstract=Kratak pregled servera
36
server_title=Naziv servera
37
server_type=Tip servera
38
service_info=Informacija o servisu
39
show_layer_names=Prika\u017ei nazive lejera
40
siguiente=Slede\u0107i
41
time=Vreme
42
unknown_response_format=Nepoznat format odgovora
43
use_interpolation_method=Upotrebi metodu interpolacije
44
version_conflict=Konflikt verzija
45
wcs_cant_connect=Nije mogu\u0107e izvr\u0161iti povezivanje sa WCS
46
wcs_properties=Karakteristike WCS
47
WCS_properties=Karakteristike WCS
48
wcs_server_error=Gre\u0161ka na serveru WCS
49
wcs_server_timeout=Vreme za \u010dekanje isteklo
50
Zoom_pixel=Zoom na rezoluciju rastera
0 51

  
tags/tmp_build/extensions/extWCS/config/text_tr.properties
1
#Translations for language [tr]
2
#Mon Sep 21 10:02:15 CEST 2009
3
abstract=\u00d6zet
4
anterior=\u00d6nceki
5
Apply=Uygula
6
Cancel=\u0130ptal
7
connect=Ba\u011flan
8
coverage=
9
covered_extension=
10
descripcion=Tan\u0131m
11
fit_WCS_layer=
12
format=Bi\u00e7im
13
info=Bilgi
14
Layer=Katman
15
layer_abstract=\u00d6zet
16
layer_title=Katman ba\u015fl\u0131\u011f\u0131
17
name=Ad
18
nombre=Ad
19
nombre_cobertura=
20
none_selected=Hi\u00e7biri se\u00e7ilmedi
21
not_available=Mevcut de\u011fil
22
Ok=Tamam
23
parameters=Parametreler
24
properties=\u00d6zellikler
25
refresh_capabilities=
26
refresh_capabilities_tooltip=
27
seleccionar_coberturas=
28
seleccionar_CRS=KRS se\u00e7
29
seleccionar_formato=Bi\u00e7imi se\u00e7
30
seleccionar_parametros=Parametreleri se\u00e7
31
seleccionar_tiempo=
32
selected_layers=Se\u00e7ilen katmanlar
33
selected_parameters=Se\u00e7ilen parametreler
34
server=Sunucu
35
server_abstract=\u00d6zet
36
server_title=Ba\u015fl\u0131k
37
server_type=Sunucu tipi
38
service_info=Servis bilgisi
39
show_layer_names=Katman adlar\u0131n\u0131 g\u00f6ster
40
siguiente=Sonraki
41
time=Zaman
42
use_interpolation_method=Enterpolasyon y\u00f6ntemi kullan
43
wcs_cant_connect=WCS ye ba\u011flan\u0131lam\u0131yor
44
wcs_properties=WCS \u00f6zellikleri
45
WCS_properties=WCS \u00f6zellikleri
46
wcs_server_error=WCS sunucu hatas\u0131
47
wcs_server_timeout=Sunucu zaman a\u015f\u0131m\u0131
48
Zoom_pixel=Raster \u00e7\u00f6z\u00fcn\u00fcrl\u00fc\u011f\u00fcne b\u00fcy\u00fclt
tags/tmp_build/extensions/extWCS/config/text_ru.properties
1
#Translations for language [ru]
2
#Mon Sep 21 10:02:15 CEST 2009
3
abstract=\u0420\u0435\u0437\u044e\u043c\u0435
4
anterior=\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439
5
Apply=\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c
6
Cancel=\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c
7
connect=\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c
8
coverage=\u041f\u043e\u043a\u0440\u044b\u0442\u0438\u0435
9
covered_extension=\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043e\u0445\u0432\u0430\u0442
10
descripcion=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
11
fit_WCS_layer=\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u043b\u043e\u044f WCS
12
format=\u0424\u043e\u0440\u043c\u0430\u0442
13
info=\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f
14
Layer=\u0421\u043b\u043e\u0439
15
layer_abstract=\u041a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
16
layer_title=\u041d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043b\u043e\u044f
17
name=\u0418\u043c\u044f
18
nombre=\u0418\u043c\u044f
19
nombre_cobertura=\u0418\u043c\u044f \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f
20
none_selected=\u043d\u0438 \u043e\u0434\u0438\u043d \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d
21
not_available=\u041d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e
22
Ok=\u041e\u041a
23
parameters=\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b
24
properties=\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430
25
refresh_capabilities=\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u044d\u0448
26
refresh_capabilities_tooltip=\u041f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 "\u0433\u0430\u043b\u043e\u0447\u043a\u0443", \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435
27
seleccionar_coberturas=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f
28
seleccionar_CRS=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0421\u041a
29
seleccionar_formato=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442
30
seleccionar_parametros=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b
31
seleccionar_tiempo=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f
32
selected_layers=\u0412\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0441\u043b\u043e\u0438
33
selected_parameters=\u0412\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b
34
server=\u0421\u0435\u0440\u0432\u0435\u0440
35
server_abstract=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
36
server_title=\u0418\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430
37
server_type=\u0422\u0438\u043f \u0441\u0435\u0440\u0432\u0435\u0440\u0430
38
service_info=\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0435
39
show_layer_names=\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u0441\u043b\u043e\u0435\u0432
40
siguiente=\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439
41
time=\u0412\u0440\u0435\u043c\u044f
42
use_interpolation_method=\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438
43
wcs_cant_connect=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a WCS
44
wcs_properties=\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 WCS
45
WCS_properties=\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 WCS
46
wcs_server_error=\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 WCS
47
wcs_server_timeout=\u0412\u0440\u0435\u043c\u044f \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430
48
Zoom_pixel=\u041f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u044c \u043a \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff