Revision 28869

View differences:

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>
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/text_sw.properties
1
#Translations for language [sw]
2
#Tue May 12 10:57:39 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/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
#Tue May 12 10:57:39 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=Warning
tags/tmp_build/extensions/extProjectBackup/config/text_gl.properties
1
#Translations for language [gl]
2
#Tue May 12 10:57:39 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/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
#Tue May 12 10:57:39 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
#Tue May 12 10:57:39 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_fr.properties
1
#Translations for language [fr]
2
#Tue May 12 10:57:39 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_eu.properties
1
#Translations for language [eu]
2
#Tue May 12 10:57:39 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_nl.properties
1
#Translations for language [nl]
2
#Tue May 12 10:57:39 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
#Tue May 12 10:57:39 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
#Tue May 12 10:57:39 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_ro.properties
1
#Translations for language [ro]
2
#Tue May 12 10:57:39 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.properties
1
#Translations for language [es]
2
#Tue May 12 10:57:39 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
#Tue May 12 10:57:39 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
#Tue May 12 10:57:39 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
#Tue May 12 10:57:39 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_sr.properties
1
#Translations for language [sr]
2
#Tue May 12 10:57:39 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_de.properties
1
#Translations for language [de]
2
#Tue May 12 10:57:39 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/build.number
1
#Build Number for ANT. Do not edit!
2
#Fri Apr 24 13:12:16 CEST 2009
3
build.number=1231
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/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
}
0 170

  
tags/tmp_build/extensions/extWCS/.cvsignore
1
bin
2
bin-test
0 3

  
tags/tmp_build/extensions/extWCS/build.xml
1
<project name="Generar extension en Andami" default="generate-without-source" basedir=".">
2
    <description>
3
        Instala el plugin en Andami
4
    </description>
5
  <!-- set global properties for this build -->
6
  <import file="../binaries/ant/utilities.xml"/>
7
  <property name="src" location="src"/>
8
  <property name="build" location="bin"/>
9
  <property name="src-test" location="src-test"/>
10
  <property name="build-test" location="bin-test"/>
11
  <property name="dist"  location="dist"/>
12
  <property name="mainplugin" value="com.iver.cit.gvsig"/>
13
  <property name="plugin" value="com.iver.cit.gvsig.wcs"/>
14
  <property name="gvsiglibjar" value="gvsig-wcs"/>
15
  <property name="fmapjar" value="fmap-wcs"/>
16
  <property name="driverjar" value="wcs"/>
17
	<property name="andami" location="../_fwAndami" />
18
	<property name="extensionsDir" location="../_fwAndami/gvSIG/extensiones"/>
19
	<property name="drivers-dir" location="${extensionsDir}/${mainplugin}/drivers" />
20
	<property name="lib-dir" location="${extensionsDir}/${mainplugin}/lib"/>
21
	<property name="fmapLibs" location="../libFMap/lib" />
22
	<property name="remoteclientjar" value="${fmapLibs}/remote-clients.jar"/>
23
	<property name="andamiLibs" location="${andami}/lib" />
24
	<property name="andamiJar" location="${andami}/andami.jar"/>
25
	<property name="fmapJar" location="../libFMap/dist/lib/fmap.jar" />
26
	<property name="gvsigJar" location="${extensionsDir}/${mainplugin}/lib/${mainplugin}.jar"/>
27

  
28

  
29
  <target name="init">
30
    <!-- Create the time stamp -->
31
    <tstamp/>
32
    <!-- Create the build directory structure used by compile -->
33
    <mkdir dir="${build}"/>
34
    <mkdir dir="${dist}"/>
35

  
36
  </target>
37

  
38
  <target name="generate-without-source"
39
  		description="generate the distribution without the source file">
40
    <!-- Create the distribution directory -->
41
    <mkdir dir="${dist}"/>
42

  
43
    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
44
    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}" includes="com/iver/cit/gvsig/**"
45
    	excludes="com/iver/cit/gvsig/fmap/**"
46
    />
47
  	<jar jarfile="${dist}/${fmapjar}.jar" basedir="${build}"
48
  	  		includes="com/iver/cit/gvsig/fmap/**" />
49
<!--  	  		excludes="com/iver/cit/gvsig/fmap/drivers/wcs/**" />-->
50
  	<copy file="config/config.xml" todir="${dist}"/>
51
  	<copy file="build.number" todir="${dist}"/>
52
    <copy todir="${dist}">
53
    	<fileset dir="config" includes="text*.properties"/>
54
    </copy>
55
  	<!--copy todir="${dist}/images">
56
  	    	<fileset dir="images/" includes="*"/>
57
  	</copy>
58
  	<copy todir="${lib-dir}">
59
    	<fileset dir="./lib" includes="*.jar,*.zip"/>
60
    	<fileset dir="." includes=".keystore"/>
61
    </copy-->
62
  	<move todir="${extensionsDir}/${mainplugin}/lib">
63
  		<fileset dir="${dist}" includes="${gvsiglibjar}.jar"/>
64
		<fileset dir="${dist}" includes="${fmapjar}.jar"/>
65
		<fileset dir="${dist}" includes="${remoteclientjar}"/>
66
 	</move>
67
    <move todir="${extensionsDir}/${plugin}/">
68
    	<fileset dir="${dist}" includes="**/**"/>
69
    </move>
70
  </target>
71

  
72

  
73
	<target name="batch-build"
74
			description="compile the sources, create the jar file"
75
			depends="compile,create-jar,copy-data-files,copy-libs,move-to-andami">
76
	</target>
77

  
78
	<target name="compile" description="compile the source" >
79
		<!-- Compile the Java code from ${src} to ${build} -->
80
		<antcall target="gvSIG-import-build-number"/>
81
		<mkdir dir="${build}" />
82
		<loadEclipseClasspath project="${basedir}"/>
83
		<gvSIG-javac
84
			classpath="${eclipseClasspath}"/>
85
	</target>
86

  
87
	<target name="create-jar"
88
			description="Creates the plugin jar">
89
		<mkdir dir="${dist}/lib"/>
90
	    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}" includes="com/iver/cit/gvsig/**"
91
	    	excludes="com/iver/cit/gvsig/fmap/**"
92
	    />
93
	  	<jar jarfile="${dist}/${fmapjar}.jar" basedir="${build}"
94
	  	  		includes="com/iver/cit/gvsig/fmap/**" />
95
	</target>
96

  
97
	<target name="copy-data-files">
98
	    <copy file="config/config.xml" todir="${dist}"/>
99
		<copy file="build.number" todir="${dist}"/>
100
		<copy todir="${dist}">
101
			<fileset dir="config" includes="text*.properties"/>
102
		</copy>
103
	</target>
104

  
105
	<target name="copy-libs">
106
	  	<copy todir="${extensionsDir}/${mainplugin}/lib">
107
			<fileset file="${remoteclientjar}"/>
108
	 	</copy>
109
	</target>
110

  
111
	<target name="move-to-andami">
112
	  	<move todir="${extensionsDir}/${mainplugin}/lib">
113
			<fileset dir="${dist}" includes="${fmapjar}.jar"/>
114
	  	</move>
115
	    <move todir="${extensionsDir}/${plugin}/">
116
	    	<fileset dir="${dist}" includes="**/**"/>
117
	    </move>
118
	</target>
119

  
120

  
121
	<target name="clean"
122
	        description="clean up" >
123
	    <!-- Delete the ${build} and ${dist} directory trees -->
124
		<delete dir="${dist}"/>
125
		<delete dir="${build}"/>
126
	</target>
127

  
128
	<target name="run-tests" depends="batch-build,compile-tests">
129
		<antcall target="generic-run-tests">
130
			<param name="TestSuite.Name" value="com.iver.cit.gvsig.wcs.AllTests"/>
131
		</antcall>
132
	</target>
133
</project>
134

  
0 135

  
tags/tmp_build/extensions/extWCS/distribution/distribution.xml
1
<assembly>
2
  <id>distribution</id>
3
  <formats>
4
    <format>dir</format>
5
  </formats>
6
  <fileSets>
7
	<!-- Extructure for the extension -->
8
    <fileSet>
9
      <directory>config</directory>
10
	  <outputDirectory>${extension-distribution}</outputDirectory>
11
    </fileSet>
12
	<fileSet>
13
      <directory>images</directory>
14
	  <outputDirectory>/${extension-distribution}/images</outputDirectory>
15
    </fileSet>
16
	<!-- Extructure for the native libraries -->
17
<!--	<fileSet>-->
18
<!--      <directory>${basedir}/../binaries/linux/3D/</directory>-->
19
<!--	  <outputDirectory>/linux/lib</outputDirectory>-->
20
<!--    </fileSet>-->
21
  </fileSets>
22
  <files>
23
    <file>
24
      <source>build.number</source>
25
      <outputDirectory>${extension-distribution}</outputDirectory>
26
    </file>
27
  </files>
28
  <!-- *********************************************************************** -->
29
  <!-- *													   *-->
30
  <!-- ***********************************************************************-->
31
  <dependencySets>
32
<!--    <dependencySet>-->
33
<!--	  <outputDirectory>${extension-distribution}/${library-dir}</outputDirectory>-->
34
<!--	  <includes>-->
35
<!--        <include>org.gvsig:extRasterTools-SE</include>-->
36
<!--      </includes>-->
37
<!--    </dependencySet>-->
38
<!--	 <dependencySet>-->
39
<!--	  <outputDirectory>${gvsig-extension-distribution}/lib</outputDirectory>-->
40
<!--	  <includes>-->
41
<!--        <include>org.gvsig:lib3DMap-share</include>-->
42
<!--	  </includes>-->
43
<!--    </dependencySet>-->
44
  </dependencySets>
45
</assembly>
tags/tmp_build/extensions/extWCS/.classpath
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="src" output="bin-test" path="src-test"/>
5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6
	<classpathentry kind="lib" path="/_fwAndami/lib/iver-utiles.jar"/>
7
	<classpathentry kind="lib" path="/_fwAndami/lib/log4j-1.2.8.jar"/>
8
	<classpathentry kind="src" path="/appgvSIG"/>
9
	<classpathentry kind="src" path="/libFMap"/>
10
	<classpathentry kind="lib" path="/_fwAndami/lib/castor-0.9.5.3-xml.jar"/>
11
	<classpathentry kind="lib" path="/libFMap/lib/units-0.01.jar"/>
12
	<classpathentry kind="lib" path="/libFMap/lib/driver-manager-1.1.jar"/>
13
	<classpathentry kind="src" path="/_fwAndami"/>
14
	<classpathentry kind="lib" path="/_fwAndami/lib/tempFileManager.jar"/>
15
	<classpathentry kind="lib" path="/libFMap/lib/gdbms-0.8-SNAPSHOT.jar" sourcepath="/libGDBMS"/>
16
	<classpathentry kind="lib" path="/libFMap/lib/org.gvsig.fmap.raster.jar" sourcepath="/extRasterTools-SE"/>
17
	<classpathentry kind="lib" path="/libFMap/lib/remote-clients.jar" sourcepath="/libRemoteServices"/>
18
	<classpathentry kind="lib" path="/_fwAndami/lib/org.gvsig.ui.jar"/>
19
	<classpathentry kind="lib" path="/libFMap/lib/org.cresques.cts.jar"/>
20
	<classpathentry kind="lib" path="/libFMap/lib/org.gvsig.raster.jar"/>
21
	<classpathentry kind="var" path="JUNIT_HOME/junit.jar"/>
22
	<classpathentry kind="lib" path="/_fwAndami/lib/org.gvsig.exceptions.jar"/>
23
	<classpathentry kind="output" path="bin"/>
24
</classpath>
0 25

  
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_de.properties
1
#Translations for language [de]
2
#Tue May 12 10:57:39 CEST 2009
3
abstract=Abstrakt
4
Aceptar=OK
5
Anadir=Hinzuf\u00fcgen
6
ancho_alto=Breite x H\u00f6he
7
anterior=Zur\u00fcck
8
Aplicar=Anwenden
9
Apply=Anwenden
10
bandas=Farbstreifen
11
brillo=Helligkeit
12
brillo_y_contraste=Helligkeit und Kontrast
13
Cancel=Abbrechen
14
Cancelar=Abbrechen
15
connect=Verbinden
16
connect_error=Verbindungsfehler
17
contraste=Kontrast
18
coor_geograficas=Geografische Koordinaten
19
coverage=Coverage
20
covered_extension=Bedeckter Bereich
21
descripcion=Beschreibung
22
Eliminar=L\u00f6schen
23
eliminar_extremos=Eckpunkte l\u00f6schen
24
extents_no_coincidentes=Ausma\u00dfe des ausgew\u00e4hlten Bildes stimmen nicht mit dem Originalbild \u00fcberein.
25
Fichero=Datei
26
fichero_existe=Die ausgew\u00e4hlte Datei besteht bereits als Layer
27
fit_WCS_layer=WCS-Ebene einpassen
28
format=Format
29
formato=Format
30
georeferenciado=Georeferenziert
31
info=Information
32
Informacion=Information
33
Layer=Ebene
34
layer_abstract=Kurzfassung
35
layer_title=Layer-Titel
36
lineal_directo=Direkt- Lineal
37
m/pixel=Meter/Pixel
38
metadatos=Metadaten
39
name=Name
40
nombre=Name
41
nombre_cobertura=Name der Coverage
42
none_selected=Nichts ausgew\u00e4hlt
43
not_available=Nicht verf\u00fcgbar
44
num_bandas=Kanalzahl
45
Ok=OK
46
opacidad=Undurchsichtigkeit
47
origen_de_datos=Datenquelle
48
parameters=Parameter
49
previsualizacion=Vorschau
50
properties=Eigenschaften
51
propiedades_raster=Eigenschaften des Rasterbildes
52
Proyecciones=Projektionen
53
realce=Optimierung\n
54
recorte_colas=Zuschnitt der Randbereiche
55
refresh_capabilities=Cache auffrischen
56
refresh_capabilities_tooltip=H\u00e4kchen setzen um lokale Daten zu \u00fcberschreiben
57
seleccionar_coberturas=Coverages ausw\u00e4hlen
58
seleccionar_CRS=CRS ausw\u00e4hlen
59
seleccionar_formato=Format ausw\u00e4hlen
60
seleccionar_parametros=Parameter ausw\u00e4hlen
61
seleccionar_tiempo=Zeitposition ausw\u00e4hlen
62
selected_layers=Ausgew\u00e4hlte Layer
63
selected_parameters=Ausgew\u00e4hlte Parameter
64
server=Server
65
server_abstract=Zusammenfassung
66
server_title=Titel
67
server_type=Server-Typ
68
service_info=Service- Info
69
show_layer_names=Layernamen anzeigen
70
si=ja
71
siguiente=Weiter
72
tamano=Gr\u00f6\u00dfe\:
73
tamPixX=Pixel Gr\u00f6\u00dfe X
74
tamPixY=Pixel Gr\u00f6\u00dfe X
75
time=Zeit
76
tipo_dato=Datentyp
77
transparencia=Transparenz
78
unknown_response_format=Unbekanntes Antwortformat
79
use_interpolation_method=Interpolationsmethode benutzen
80
version_conflict=Versionskonflikt
81
wcs_cant_connect=Es konnte keine Verbindung zum WCS-Dienst aufgebaut werden
82
wcs_properties=WCS-Eigenschaften
83
WCS_properties=WCS Eigenschaften
84
wcs_server_error=WCS Server-Fehler
85
wcs_server_timeout=Server Timeout
86
xmax=Maximaler X-Wert
87
xmin=Minimaler X-Wert
88
ymax=Maximaler Y-Wert
89
ymin=Minimaler Y-Wert
90
Zoom_pixel=Zoom zur Rasteraufl\u00f6sung
0 91

  
tags/tmp_build/extensions/extWCS/config/text_sw.properties
1
#Translations for language [sw]
2
#Tue May 12 10:57:39 CEST 2009
3
abstract=Muhtasari
4
anterior=ya awali (kabla)
5
Apply=Tumia
6
Cancel=Futa
7
connect=Unganisha
8
coverage=Upeo au Mzunguko
9
covered_extension=Mzunguko Uliofikiwa
10
descripcion=Maelezo
11
fit_WCS_layer=Pachika Tabaka ya WCS
12
format=Muundo
13
info=Habari
14
Layer=Tabaka/Safu
15
layer_abstract=Fupisho
16
layer_title=Jina la Tabaka
17
name=nakili
18
nombre=Jina
19
nombre_cobertura=Jina la Tabaka
20
none_selected=Hakuna Kilichochaguliwa
21
not_available=Haipatikani
22
Ok=Ok
23
parameters=Vigezo
24
properties=Tabia
25
refresh_capabilities=Hifadhi ya Burudisha
26
refresh_capabilities_tooltip=Weka Alama kwa ajili ya kuandika juu ya data za kawaida
27
seleccionar_coberturas=Chagua Maeneo
28
seleccionar_CRS=Chagua CRS
29
seleccionar_formato=Chagua Mfumo
30
seleccionar_parametros=Chagua  Vigezo
31
seleccionar_tiempo=Chagua Muda
32
selected_layers=Tabaka Zilizochaguliwa
33
selected_parameters=Vigezo Vilivyochaguliwa
34
server=Kompyuta Hudumizi
35
server_abstract=Muhtasari
36
server_title=Kichwa cha Habari
37
server_type=Aina ya Kompyuta Hudumizi 
38
service_info=Habari Kuhusu Huduma
39
show_layer_names=Onesha Jina la Tabaka
40
siguiente=Inayofuata
41
time=Wakati
42
unknown_response_format=Mfumo wa Jibu Haujulikani
43
use_interpolation_method=Tumia Njia ya Kutoma
44
version_conflict=Mgongano wa Toleo
45
wcs_cant_connect=Haiwezi Kuunga kwa WCS
46
wcs_properties=Tabia za WCS
47
WCS_properties=Tabia za WCS
48
wcs_server_error=Kosa la Kompyuta Hudumizi ya WCS
49
wcs_server_timeout=Muda wa Kompyuta Hudumizi ya WCS  Umekwisha
50
Zoom_pixel=Vuta picha/Mchoro Mpaka kiwango cha Mgawo/Mchanganuo wa Rasta
0 51

  
tags/tmp_build/extensions/extWCS/config/text_en.properties
1
#Translations for language [en]
2
#Tue May 12 10:57:39 CEST 2009
3
abstract=Abstract
4
Aceptar=Accept
5
Anadir=Add
6
ancho_alto=Width x Height
7
anterior=Previous
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff