Revision 268
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
|
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.projection.jcrs</artifactId> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<version>2.1.5</version> |
|
8 |
<name>${project.artifactId}</name> |
|
9 |
<parent> |
|
10 |
<groupId>org.gvsig</groupId> |
|
11 |
<artifactId>org.gvsig.desktop</artifactId> |
|
12 |
<version>2.0.57</version> |
|
13 |
</parent> |
|
14 |
|
|
15 |
<description> |
|
16 |
This project contains the support for CRS based in JCRS, proj4+Geotools, for gvSIG |
|
17 |
</description> |
|
18 |
|
|
19 |
<scm> |
|
20 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-jcrs/org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5</connection> |
|
21 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-jcrs/org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5</developerConnection> |
|
22 |
<url>scm:svn:https://devel.gvsig.org/svn/gvsig-jcrs/org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5</url> |
|
23 |
</scm> |
|
24 |
|
|
25 |
<repositories> |
|
26 |
<repository> |
|
27 |
<id>gvsig-public-http-repository</id> |
|
28 |
<name>gvSIG maven public HTTP repository</name> |
|
29 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
30 |
<releases> |
|
31 |
<enabled>true</enabled> |
|
32 |
<updatePolicy>daily</updatePolicy> |
|
33 |
<checksumPolicy>warn</checksumPolicy> |
|
34 |
</releases> |
|
35 |
<snapshots> |
|
36 |
<enabled>true</enabled> |
|
37 |
<updatePolicy>daily</updatePolicy> |
|
38 |
<checksumPolicy>warn</checksumPolicy> |
|
39 |
</snapshots> |
|
40 |
</repository> |
|
41 |
<repository> |
|
42 |
<id>osgeo</id> |
|
43 |
<name>Open Source Geospatial Foundation</name> |
|
44 |
<url>http://download.osgeo.org/webdav/geotools</url> |
|
45 |
<releases> |
|
46 |
<enabled>true</enabled> |
|
47 |
<updatePolicy>never</updatePolicy> |
|
48 |
<checksumPolicy>warn</checksumPolicy> |
|
49 |
</releases> |
|
50 |
<snapshots> |
|
51 |
<enabled>false</enabled> |
|
52 |
</snapshots> |
|
53 |
</repository> |
|
54 |
</repositories> |
|
55 |
|
|
56 |
<distributionManagement> |
|
57 |
<site> |
|
58 |
<id>gvsig-repository</id> |
|
59 |
<url>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</url> |
|
60 |
</site> |
|
61 |
</distributionManagement> |
|
62 |
|
|
63 |
|
|
64 |
<dependencyManagement> |
|
65 |
<dependencies> |
|
66 |
<dependency> |
|
67 |
<groupId>org.gvsig</groupId> |
|
68 |
<artifactId>org.gvsig.projection.jcrs.lib</artifactId> |
|
69 |
<version>2.1.5</version> |
|
70 |
</dependency> |
|
71 |
<dependency> |
|
72 |
<groupId>org.gvsig</groupId> |
|
73 |
<artifactId>org.gvsig.projection.app.jcrs</artifactId> |
|
74 |
<version>2.1.5</version> |
|
75 |
</dependency> |
|
76 |
<dependency> |
|
77 |
<groupId>org.gvsig</groupId> |
|
78 |
<artifactId>org.gvsig.projection.app.jcrs.common</artifactId> |
|
79 |
<version>2.1.5</version> |
|
80 |
</dependency> |
|
81 |
<dependency> |
|
82 |
<groupId>org.gvsig</groupId> |
|
83 |
<artifactId>org.gvsig.projection.app.jcrs.common</artifactId> |
|
84 |
<version>2.1.5</version> |
|
85 |
<type>zip</type> |
|
86 |
</dependency> |
|
87 |
<dependency> |
|
88 |
<groupId>org.gvsig</groupId> |
|
89 |
<artifactId>org.gvsig.projection.app.jcrs.lin.x86</artifactId> |
|
90 |
<version>2.1.5</version> |
|
91 |
</dependency> |
|
92 |
<dependency> |
|
93 |
<groupId>org.gvsig</groupId> |
|
94 |
<artifactId>org.gvsig.projection.app.jcrs.win.x86</artifactId> |
|
95 |
<version>2.1.5</version> |
|
96 |
</dependency> |
|
97 |
|
|
98 |
<!-- Non gvSIG projects --> |
|
99 |
<dependency> |
|
100 |
<groupId>org.opengis</groupId> |
|
101 |
<artifactId>geoapi</artifactId> |
|
102 |
<version>2.0</version> |
|
103 |
</dependency> |
|
104 |
<dependency> |
|
105 |
<groupId>hsqldb</groupId> |
|
106 |
<artifactId>hsqldb</artifactId> |
|
107 |
<version>1.8.0.10</version> |
|
108 |
</dependency> |
|
109 |
<dependency> |
|
110 |
<groupId>org.geotools</groupId> |
|
111 |
<artifactId>gt2-main</artifactId> |
|
112 |
<!-- Override the org.gvsig.desktop value --> |
|
113 |
<version>unknown</version> |
|
114 |
</dependency> |
|
115 |
<dependency> |
|
116 |
<groupId>org.geotools</groupId> |
|
117 |
<artifactId>gt2-legacy</artifactId> |
|
118 |
<!-- Override the org.gvsig.desktop value --> |
|
119 |
<version>unknown</version> |
|
120 |
</dependency> |
|
121 |
|
|
122 |
<!-- External gvSIG projects --> |
|
123 |
|
|
124 |
</dependencies> |
|
125 |
</dependencyManagement> |
|
126 |
|
|
127 |
<properties> |
|
128 |
<!-- General configuration --> |
|
129 |
<site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository> |
|
130 |
|
|
131 |
<!-- The property svn.tags.folder is used in external projects to override --> |
|
132 |
<!-- configuraction in maven-release-plugin --> |
|
133 |
<svn.tags.folder>https://devel.gvsig.org/svn/gvsig-jcrs/org.gvsig.projection.jcrs/tags/</svn.tags.folder> |
|
134 |
|
|
135 |
</properties> |
|
136 |
|
|
137 |
<modules> |
|
138 |
<module>org.gvsig.projection.jcrs.lib</module> |
|
139 |
<module>org.gvsig.projection.app.jcrs</module> |
|
140 |
</modules> |
|
141 |
|
|
142 |
</project> |
|
143 |
|
|
144 |
|
|
145 |
|
|
0 | 146 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.lin.x86/buildNumber.properties | ||
---|---|---|
1 |
#Sun Sep 14 15:37:35 EDT 2014 |
|
2 |
buildNumber=2065 |
|
0 | 3 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.lin.x86/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>gvsig-plugin-package</id> |
|
28 |
<formats> |
|
29 |
<format>zip</format> |
|
30 |
</formats> |
|
31 |
<baseDirectory>${gvsig.package.info.code}</baseDirectory> |
|
32 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
33 |
<files> |
|
34 |
<file> |
|
35 |
<source>target/package.info</source> |
|
36 |
</file> |
|
37 |
</files> |
|
38 |
|
|
39 |
<fileSets> |
|
40 |
<fileSet> |
|
41 |
<directory>target/org.gvsig.projection.app.jcrs.common</directory> |
|
42 |
<outputDirectory>.</outputDirectory> |
|
43 |
<excludes> |
|
44 |
<exclude>package.info</exclude> |
|
45 |
</excludes> |
|
46 |
</fileSet> |
|
47 |
<fileSet> |
|
48 |
<directory>target/native/lib</directory> |
|
49 |
<outputDirectory>native</outputDirectory> |
|
50 |
</fileSet> |
|
51 |
<fileSet> |
|
52 |
<directory>src/main/resources-plugin</directory> |
|
53 |
<outputDirectory>.</outputDirectory> |
|
54 |
</fileSet> |
|
55 |
</fileSets> |
|
56 |
|
|
57 |
|
|
58 |
<dependencySets> |
|
59 |
<dependencySet> |
|
60 |
<useProjectArtifact>false</useProjectArtifact> |
|
61 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
62 |
<outputDirectory>lib</outputDirectory> |
|
63 |
<includes> |
|
64 |
<include>org.gvsig:org.gvsig.jproj:jar</include> |
|
65 |
</includes> |
|
66 |
</dependencySet> |
|
67 |
</dependencySets> |
|
68 |
|
|
69 |
</assembly> |
|
70 |
|
|
71 |
|
|
72 |
|
|
0 | 73 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.lin.x86/src/main/resources-plugin/autorun.sh | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
# |
|
3 |
# gvSIG. Desktop Geographic Information System. |
|
4 |
# |
|
5 |
# Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
# |
|
7 |
# This program is free software; you can redistribute it and/or |
|
8 |
# modify it under the terms of the GNU General Public License |
|
9 |
# as published by the Free Software Foundation; either version 3 |
|
10 |
# of the License, or (at your option) any later version. |
|
11 |
# |
|
12 |
# This program is distributed in the hope that it will be useful, |
|
13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
# GNU General Public License for more details. |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License |
|
18 |
# along with this program; if not, write to the Free Software |
|
19 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
# MA 02110-1301, USA. |
|
21 |
# |
|
22 |
# For any additional information, do not hesitate to contact us |
|
23 |
# at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
# |
|
25 |
|
|
26 |
|
|
27 |
# |
|
28 |
# Plugin autorun |
|
29 |
# |
|
30 |
|
|
31 |
PLUGIN_NAME=$(basename "$PLUGIN_FOLDER") |
|
32 |
|
|
33 |
# Proj4 data files |
|
34 |
export PROJ_LIB="${GVSIG_HOME_FOLDER}/plugins/$PLUGIN_NAME/projlib" |
|
35 |
|
|
36 |
# Temporary fix for number locale related formatting error with proj4. |
|
37 |
export LC_NUMERIC=C |
|
38 |
|
|
39 |
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PLUGIN_FOLDER/native" |
|
40 |
GVSIG_NATIVE_LIBS="$GVSIG_NATIVE_LIBS:$PLUGIN_FOLDER/native" |
|
41 |
|
|
42 |
|
|
43 |
|
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.lin.x86/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<artifactId>org.gvsig.projection.app.jcrs.lin.x86</artifactId> |
|
5 |
<packaging>jar</packaging> |
|
6 |
|
|
7 |
<parent> |
|
8 |
<groupId>org.gvsig</groupId> |
|
9 |
<artifactId>org.gvsig.projection.app.jcrs</artifactId> |
|
10 |
<version>2.1.5</version> |
|
11 |
</parent> |
|
12 |
|
|
13 |
<properties> |
|
14 |
<gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem> |
|
15 |
<gvsig.package.info.architecture>x86</gvsig.package.info.architecture> |
|
16 |
</properties> |
|
17 |
|
|
18 |
<dependencyManagement> |
|
19 |
<dependencies> |
|
20 |
<dependency> |
|
21 |
<groupId>org.gvsig</groupId> |
|
22 |
<artifactId>org.gvsig.jproj</artifactId> |
|
23 |
<version>2.0.1</version> |
|
24 |
</dependency> |
|
25 |
<dependency> |
|
26 |
<groupId>org.gvsig</groupId> |
|
27 |
<artifactId>org.gvsig.jproj</artifactId> |
|
28 |
<version>2.0.1</version> |
|
29 |
<classifier>linux-all-gcc4-i386-dynamic</classifier> |
|
30 |
<type>tar.gz</type> |
|
31 |
</dependency> |
|
32 |
</dependencies> |
|
33 |
</dependencyManagement> |
|
34 |
|
|
35 |
|
|
36 |
<dependencies> |
|
37 |
<dependency> |
|
38 |
<groupId>org.gvsig</groupId> |
|
39 |
<artifactId>org.gvsig.projection.app.jcrs.common</artifactId> |
|
40 |
<type>zip</type> |
|
41 |
</dependency> |
|
42 |
<dependency> |
|
43 |
<groupId>org.gvsig</groupId> |
|
44 |
<artifactId>org.gvsig.jproj</artifactId> |
|
45 |
</dependency> |
|
46 |
<dependency> |
|
47 |
<groupId>org.gvsig</groupId> |
|
48 |
<artifactId>org.gvsig.jproj</artifactId> |
|
49 |
<classifier>linux-all-gcc4-i386-dynamic</classifier> |
|
50 |
<type>tar.gz</type> |
|
51 |
</dependency> |
|
52 |
</dependencies> |
|
53 |
|
|
54 |
<build> |
|
55 |
<plugins> |
|
56 |
|
|
57 |
<plugin> |
|
58 |
<groupId>org.apache.maven.plugins</groupId> |
|
59 |
<artifactId>maven-dependency-plugin</artifactId> |
|
60 |
<executions> |
|
61 |
<execution> |
|
62 |
<id>unpack</id> |
|
63 |
<phase>process-sources</phase> |
|
64 |
<goals> |
|
65 |
<goal>unpack</goal> |
|
66 |
</goals> |
|
67 |
<configuration> |
|
68 |
<artifactItems> |
|
69 |
<artifactItem> |
|
70 |
<groupId>org.gvsig</groupId> |
|
71 |
<artifactId>org.gvsig.projection.app.jcrs.common</artifactId> |
|
72 |
<type>zip</type> |
|
73 |
<overWrite>true</overWrite> |
|
74 |
<outputDirectory>target</outputDirectory> |
|
75 |
</artifactItem> |
|
76 |
<artifactItem> |
|
77 |
<groupId>org.gvsig</groupId> |
|
78 |
<artifactId>org.gvsig.jproj</artifactId> |
|
79 |
<classifier>linux-all-gcc4-i386-dynamic</classifier> |
|
80 |
<type>tar.gz</type> |
|
81 |
<overWrite>true</overWrite> |
|
82 |
<outputDirectory>target/native</outputDirectory> |
|
83 |
</artifactItem> |
|
84 |
</artifactItems> |
|
85 |
</configuration> |
|
86 |
</execution> |
|
87 |
</executions> |
|
88 |
</plugin> |
|
89 |
|
|
90 |
|
|
91 |
</plugins> |
|
92 |
</build> |
|
93 |
|
|
94 |
<profiles> |
|
95 |
|
|
96 |
<profile> |
|
97 |
<id>gvsig-plugin-install-jcrs-linux-x86</id> |
|
98 |
<activation> |
|
99 |
<os> |
|
100 |
<family>unix</family> |
|
101 |
<name>linux</name> |
|
102 |
<arch>x86</arch> |
|
103 |
</os> |
|
104 |
</activation> |
|
105 |
<properties> |
|
106 |
<gvsig.install.plugin>true</gvsig.install.plugin> |
|
107 |
</properties> |
|
108 |
</profile> |
|
109 |
<profile> |
|
110 |
<!-- Some platforms report i386 instead of x86 --> |
|
111 |
<id>gvsig-plugin-install-jcrs-linux-i386</id> |
|
112 |
<activation> |
|
113 |
<os> |
|
114 |
<family>unix</family> |
|
115 |
<name>linux</name> |
|
116 |
<arch>i386</arch> |
|
117 |
</os> |
|
118 |
</activation> |
|
119 |
<properties> |
|
120 |
<gvsig.install.plugin>true</gvsig.install.plugin> |
|
121 |
</properties> |
|
122 |
</profile> |
|
123 |
</profiles> |
|
124 |
|
|
125 |
</project> |
|
126 |
|
|
0 | 127 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/wizard/FrameMain.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.wizard; |
|
2 |
|
|
3 |
|
|
4 |
import java.awt.event.WindowAdapter; |
|
5 |
import java.awt.event.WindowEvent; |
|
6 |
|
|
7 |
import javax.swing.ImageIcon; |
|
8 |
import javax.swing.JFrame; |
|
9 |
import javax.swing.JPanel; |
|
10 |
import javax.swing.UIManager; |
|
11 |
import javax.swing.UnsupportedLookAndFeelException; |
|
12 |
|
|
13 |
import org.gvsig.crs.gui.panels.wizard.DefCrsUsr; |
|
14 |
import org.gvsig.crs.gui.panels.wizard.MainPanel; |
|
15 |
|
|
16 |
public class FrameMain { |
|
17 |
|
|
18 |
|
|
19 |
/** |
|
20 |
* @param args |
|
21 |
* @throws UnsupportedLookAndFeelException |
|
22 |
* @throws IllegalAccessException |
|
23 |
* @throws InstantiationException |
|
24 |
* @throws ClassNotFoundException |
|
25 |
*/ |
|
26 |
public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException { |
|
27 |
|
|
28 |
/* |
|
29 |
com.sun.java.swing.plaf.motif.MotifLookAndFeel |
|
30 |
com.sun.java.swing.plaf.windows.WindowsLookAndFeel |
|
31 |
javax.swing.plaf.metal.MetalLookAndFeel |
|
32 |
*/ |
|
33 |
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); |
|
34 |
JFrame frame = new JFrame("Asistente de Definicin de Crs"); |
|
35 |
//cerrar el formulario |
|
36 |
frame.addWindowListener(new WindowAdapter() { |
|
37 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
38 |
}); |
|
39 |
frame.getContentPane().add(new MainPanel(null)); |
|
40 |
frame.setSize(300,500); |
|
41 |
//colocar en la pantalla |
|
42 |
frame.setLocation(300,0); |
|
43 |
frame.pack(); |
|
44 |
frame.setVisible(true); |
|
45 |
|
|
46 |
} |
|
47 |
|
|
48 |
} |
|
0 | 49 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/wizard/FramDefinirDatum.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.wizard; |
|
2 |
|
|
3 |
|
|
4 |
import java.awt.event.WindowAdapter; |
|
5 |
import java.awt.event.WindowEvent; |
|
6 |
|
|
7 |
import javax.swing.JFrame; |
|
8 |
import javax.swing.UIManager; |
|
9 |
import javax.swing.UnsupportedLookAndFeelException; |
|
10 |
|
|
11 |
import org.gvsig.crs.gui.panels.wizard.DefinirDatum; |
|
12 |
|
|
13 |
public class FramDefinirDatum { |
|
14 |
|
|
15 |
|
|
16 |
/** |
|
17 |
* @param args |
|
18 |
*/ |
|
19 |
public static void main(String[] args) { |
|
20 |
|
|
21 |
JFrame frame = new JFrame("Definicin del Datum"); |
|
22 |
/* |
|
23 |
com.sun.java.swing.plaf.motif.MotifLookAndFeel |
|
24 |
com.sun.java.swing.plaf.windows.WindowsLookAndFeel |
|
25 |
javax.swing.plaf.metal.MetalLookAndFeel |
|
26 |
*/ |
|
27 |
try { |
|
28 |
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); |
|
29 |
} catch (ClassNotFoundException e1) { |
|
30 |
// TODO Auto-generated catch block |
|
31 |
e1.printStackTrace(); |
|
32 |
} catch (InstantiationException e1) { |
|
33 |
// TODO Auto-generated catch block |
|
34 |
e1.printStackTrace(); |
|
35 |
} catch (IllegalAccessException e1) { |
|
36 |
// TODO Auto-generated catch block |
|
37 |
e1.printStackTrace(); |
|
38 |
} catch (UnsupportedLookAndFeelException e1) { |
|
39 |
// TODO Auto-generated catch block |
|
40 |
e1.printStackTrace(); |
|
41 |
} |
|
42 |
//cerrar el formulario |
|
43 |
frame.addWindowListener(new WindowAdapter() { |
|
44 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
45 |
}); |
|
46 |
|
|
47 |
frame.getContentPane().add(new DefinirDatum()); |
|
48 |
frame.setSize(300,500); |
|
49 |
//colocar en la pantalla |
|
50 |
frame.setLocation(300,0); |
|
51 |
frame.pack(); |
|
52 |
frame.setVisible(true); |
|
53 |
|
|
54 |
} |
|
55 |
|
|
56 |
} |
|
0 | 57 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/wizard/FrameSistemaCoordenadas.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.wizard; |
|
2 |
|
|
3 |
|
|
4 |
import java.awt.event.WindowAdapter; |
|
5 |
import java.awt.event.WindowEvent; |
|
6 |
|
|
7 |
import javax.swing.JFrame; |
|
8 |
import org.gvsig.crs.gui.panels.wizard.DefSistCoordenadas; |
|
9 |
|
|
10 |
/** |
|
11 |
* Test para el interfaz del wizard de elecci?n del sistema de coordenadas |
|
12 |
* @author Luisa Marina Fern?ndez Ruiz (luisam.fernandez@uclm.es) |
|
13 |
* |
|
14 |
*/ |
|
15 |
public class FrameSistemaCoordenadas { |
|
16 |
|
|
17 |
public static void main(String[] args) { |
|
18 |
|
|
19 |
JFrame frame = new JFrame("Definicion del Sistema de Coordenadas"); |
|
20 |
|
|
21 |
//cerrar el formulario |
|
22 |
frame.addWindowListener(new WindowAdapter() { |
|
23 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
24 |
}); |
|
25 |
|
|
26 |
frame.getContentPane().add(new DefSistCoordenadas()); |
|
27 |
frame.setSize(300,500); |
|
28 |
//colocar en la pantalla |
|
29 |
frame.setLocation(300,300); |
|
30 |
frame.pack(); |
|
31 |
frame.setVisible(true); |
|
32 |
|
|
33 |
} |
|
34 |
|
|
35 |
} |
|
0 | 36 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/wizard/FrameDefinicionCRS.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.wizard; |
|
2 |
|
|
3 |
|
|
4 |
import java.awt.event.WindowAdapter; |
|
5 |
import java.awt.event.WindowEvent; |
|
6 |
|
|
7 |
import javax.swing.JFrame; |
|
8 |
import javax.swing.JPanel; |
|
9 |
import javax.swing.UIManager; |
|
10 |
import javax.swing.UnsupportedLookAndFeelException; |
|
11 |
|
|
12 |
import org.gvsig.crs.gui.panels.wizard.DefCrsUsr; |
|
13 |
|
|
14 |
public class FrameDefinicionCRS { |
|
15 |
|
|
16 |
|
|
17 |
/** |
|
18 |
* @param args |
|
19 |
* @throws UnsupportedLookAndFeelException |
|
20 |
* @throws IllegalAccessException |
|
21 |
* @throws InstantiationException |
|
22 |
* @throws ClassNotFoundException |
|
23 |
*/ |
|
24 |
public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException { |
|
25 |
|
|
26 |
/* |
|
27 |
com.sun.java.swing.plaf.motif.MotifLookAndFeel |
|
28 |
com.sun.java.swing.plaf.windows.WindowsLookAndFeel |
|
29 |
javax.swing.plaf.metal.MetalLookAndFeel |
|
30 |
*/ |
|
31 |
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); |
|
32 |
JFrame frame = new JFrame("Definicin de CRS por el usuario"); |
|
33 |
//cerrar el formulario |
|
34 |
frame.addWindowListener(new WindowAdapter() { |
|
35 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
36 |
}); |
|
37 |
|
|
38 |
frame.getContentPane().add(new DefCrsUsr(null)); |
|
39 |
frame.setSize(300,500); |
|
40 |
//colocar en la pantalla |
|
41 |
frame.setLocation(300,300); |
|
42 |
frame.pack(); |
|
43 |
frame.setVisible(true); |
|
44 |
|
|
45 |
} |
|
46 |
|
|
47 |
} |
|
0 | 48 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/panels/IAU2000PanelTest.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.panels; |
|
2 |
|
|
3 |
import java.awt.event.WindowAdapter; |
|
4 |
import java.awt.event.WindowEvent; |
|
5 |
|
|
6 |
import javax.swing.JFrame; |
|
7 |
/** |
|
8 |
* Test para el interfaz de IAU200Panel |
|
9 |
* @author Luisa Marina Fern?ndez Ruiz (luisam.fernandez@uclm.es) |
|
10 |
* |
|
11 |
*/ |
|
12 |
public class IAU2000PanelTest { |
|
13 |
|
|
14 |
public static void main(String[] args) { |
|
15 |
|
|
16 |
JFrame frame = new JFrame("UAU200 Panel Test"); |
|
17 |
//cerrar el formulario |
|
18 |
frame.addWindowListener(new WindowAdapter() { |
|
19 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
20 |
}); |
|
21 |
frame.getContentPane().add(new IAU2000panel()); |
|
22 |
frame.setLocation(300,0); |
|
23 |
frame.pack(); |
|
24 |
frame.setVisible(true); |
|
25 |
|
|
26 |
} |
|
27 |
|
|
28 |
} |
|
0 | 29 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/panels/ESRIPanelTest.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.panels; |
|
2 |
|
|
3 |
import java.awt.event.WindowAdapter; |
|
4 |
import java.awt.event.WindowEvent; |
|
5 |
|
|
6 |
import javax.swing.JFrame; |
|
7 |
|
|
8 |
|
|
9 |
/** |
|
10 |
* Test para el interfaz de ESRIPanel |
|
11 |
* @author Luisa Marina Fern?ndez Ruiz (luisam.fernandez@uclm.es) |
|
12 |
* |
|
13 |
*/ |
|
14 |
public class ESRIPanelTest { |
|
15 |
|
|
16 |
|
|
17 |
public static void main(String[] args){ |
|
18 |
|
|
19 |
JFrame frame = new JFrame("ESRI Panel Test"); |
|
20 |
//cerrar el formulario |
|
21 |
frame.addWindowListener(new WindowAdapter() { |
|
22 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
23 |
}); |
|
24 |
frame.getContentPane().add(new ESRIpanel()); |
|
25 |
frame.setLocation(300,0); |
|
26 |
frame.pack(); |
|
27 |
frame.setVisible(true); |
|
28 |
|
|
29 |
} |
|
30 |
|
|
31 |
} |
|
0 | 32 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/panels/CrsRecentsPanelTest.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.panels; |
|
2 |
|
|
3 |
import java.awt.event.WindowAdapter; |
|
4 |
import java.awt.event.WindowEvent; |
|
5 |
|
|
6 |
import javax.swing.JFrame; |
|
7 |
|
|
8 |
|
|
9 |
/** |
|
10 |
* Test para el interfaz de CRSs Recientes |
|
11 |
* @author Luisa Marina Fern?ndez Ruiz (luisam.fernandez@uclm.es) |
|
12 |
* |
|
13 |
*/ |
|
14 |
public class CrsRecentsPanelTest { |
|
15 |
|
|
16 |
public static void main(String[] args) { |
|
17 |
JFrame frame = new JFrame("CrsRecents Test"); |
|
18 |
//cerrar el formulario |
|
19 |
frame.addWindowListener(new WindowAdapter() { |
|
20 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
21 |
}); |
|
22 |
frame.getContentPane().add(new CrsRecentsPanel()); |
|
23 |
frame.setLocation(300,0); |
|
24 |
frame.pack(); |
|
25 |
frame.setVisible(true); |
|
26 |
|
|
27 |
} |
|
28 |
} |
|
29 |
|
|
30 |
|
|
0 | 31 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/panels/TransformationCapaPanelTest.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.panels; |
|
2 |
|
|
3 |
|
|
4 |
import java.awt.event.WindowAdapter; |
|
5 |
import java.awt.event.WindowEvent; |
|
6 |
|
|
7 |
import javax.swing.JFrame; |
|
8 |
/** |
|
9 |
* Test para el interfaz de Transformaci?n de la capa dentro de la transformacion compuesta |
|
10 |
* @author Luisa Marina Fern?ndez Ruiz (luisam.fernandez@uclm.es) |
|
11 |
* |
|
12 |
*/ |
|
13 |
|
|
14 |
public class TransformationCapaPanelTest { |
|
15 |
|
|
16 |
|
|
17 |
public static void main(String[] args) { |
|
18 |
|
|
19 |
JFrame frame = new JFrame("Transformaci?n de la Capa"); |
|
20 |
//cerrar el formulario |
|
21 |
frame.addWindowListener(new WindowAdapter() { |
|
22 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
23 |
}); |
|
24 |
|
|
25 |
frame.getContentPane().add(new TransformationCapaPanel("",null)); |
|
26 |
frame.setSize(300,500); |
|
27 |
//colocar en la pantalla |
|
28 |
frame.setLocation(300,0); |
|
29 |
frame.pack(); |
|
30 |
frame.setVisible(true); |
|
31 |
|
|
32 |
} |
|
33 |
} |
|
0 | 34 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/panels/TransformationVistaPanelTest.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.panels; |
|
2 |
|
|
3 |
import java.awt.event.WindowAdapter; |
|
4 |
import java.awt.event.WindowEvent; |
|
5 |
|
|
6 |
import javax.swing.JFrame; |
|
7 |
|
|
8 |
/** |
|
9 |
* Test para el interfaz de transformaci?n de la vista dentro de la transformacion compuesta |
|
10 |
* @author Luisa Marina Fern?ndez Ruiz (luisam.fernandez@uclm.es) |
|
11 |
* |
|
12 |
*/ |
|
13 |
public class TransformationVistaPanelTest { |
|
14 |
|
|
15 |
public static void main(String[] args) { |
|
16 |
JFrame frame = new JFrame("Transformaci?n de la Capa"); |
|
17 |
|
|
18 |
// //cerrar el formulario |
|
19 |
frame.addWindowListener(new WindowAdapter() { |
|
20 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
21 |
}); |
|
22 |
|
|
23 |
frame.getContentPane().add(new TransformationVistaPanel("",null)); |
|
24 |
frame.setSize(300,500); |
|
25 |
//colocar en la pantalla |
|
26 |
frame.setLocation(300,0); |
|
27 |
frame.pack(); |
|
28 |
frame.setVisible(true); |
|
29 |
|
|
30 |
} |
|
31 |
} |
|
0 | 32 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/gui/panels/EPSGPanelTest.java | ||
---|---|---|
1 |
package org.gvsig.crs.gui.panels; |
|
2 |
|
|
3 |
import java.awt.event.WindowAdapter; |
|
4 |
import java.awt.event.WindowEvent; |
|
5 |
|
|
6 |
import javax.swing.JFrame; |
|
7 |
|
|
8 |
/** |
|
9 |
* Test para el interfaz de EPSGPanel |
|
10 |
* @author Luisa Marina Fern?ndez Ruiz (luisam.fernandez@uclm.es) |
|
11 |
* |
|
12 |
*/ |
|
13 |
public class EPSGPanelTest { |
|
14 |
|
|
15 |
public static void main(String[] args){ |
|
16 |
JFrame frame = new JFrame("UAU200 Panel Test"); |
|
17 |
frame.addWindowListener(new WindowAdapter() { |
|
18 |
public void windowClosing(WindowEvent e) {System.exit(0);} |
|
19 |
}); |
|
20 |
frame.getContentPane().add(new EPSGpanel()); |
|
21 |
frame.setLocation(300,0); |
|
22 |
frame.pack(); |
|
23 |
frame.setVisible(true); |
|
24 |
|
|
25 |
} |
|
26 |
|
|
27 |
} |
|
0 | 28 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/test/java/org/gvsig/crs/jgridshift/JGridShiftTest.java | ||
---|---|---|
1 |
package org.gvsig.crs.jgridshift; |
|
2 |
|
|
3 |
import java.io.FileNotFoundException; |
|
4 |
import java.io.IOException; |
|
5 |
import java.io.RandomAccessFile; |
|
6 |
|
|
7 |
import au.com.objectix.jgridshift.GridShift; |
|
8 |
import au.com.objectix.jgridshift.GridShiftFile; |
|
9 |
import au.com.objectix.jgridshift.SubGrid; |
|
10 |
|
|
11 |
public class JGridShiftTest { |
|
12 |
|
|
13 |
public static void main(String[] args){ |
|
14 |
//InputStream fis = null; |
|
15 |
RandomAccessFile raf = null; |
|
16 |
try { |
|
17 |
raf = new RandomAccessFile("/home/dguerrero/Desarrollo-gvSIG/crs/workspace/extJCRS/data/sped2et.gsb","r"); |
|
18 |
//fis = new FileInputStream("/home/dguerrero/Desarrollo-gvSIG/crs/workspace/extJCRS/data/sped2et.gsb"); |
|
19 |
} catch (FileNotFoundException e) { |
|
20 |
// TODO Auto-generated catch block |
|
21 |
e.printStackTrace(); |
|
22 |
} |
|
23 |
GridShiftFile gsf = new GridShiftFile(); |
|
24 |
try { |
|
25 |
gsf.loadGridShiftFile(raf); |
|
26 |
} catch (IOException e) { |
|
27 |
// TODO Auto-generated catch block |
|
28 |
e.printStackTrace(); |
|
29 |
} |
|
30 |
|
|
31 |
SubGrid subGrid[] = gsf.getSubGridTree(); |
|
32 |
System.out.println(subGrid.length); |
|
33 |
System.out.println(subGrid[0].getMaxLat()); |
|
34 |
System.out.println(subGrid[0].getMinLat()); |
|
35 |
System.out.println(subGrid[0].getMaxLon()); |
|
36 |
System.out.println(subGrid[0].getMinLon()); |
|
37 |
GridShift gridShift = new GridShift(); |
|
38 |
} |
|
39 |
|
|
40 |
} |
|
0 | 41 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>gvsig-plugin-package</id> |
|
28 |
<formats> |
|
29 |
<format>zip</format> |
|
30 |
</formats> |
|
31 |
<baseDirectory>${project.artifactId}</baseDirectory> |
|
32 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
33 |
<files> |
|
34 |
<file> |
|
35 |
<source>target/${project.artifactId}-${project.version}.jar</source> |
|
36 |
<outputDirectory>lib</outputDirectory> |
|
37 |
</file> |
|
38 |
<file> |
|
39 |
<source>target/package.info</source> |
|
40 |
</file> |
|
41 |
</files> |
|
42 |
|
|
43 |
<fileSets> |
|
44 |
<fileSet> |
|
45 |
<directory>src/main/resources-plugin</directory> |
|
46 |
<outputDirectory>.</outputDirectory> |
|
47 |
</fileSet> |
|
48 |
</fileSets> |
|
49 |
|
|
50 |
|
|
51 |
<dependencySets> |
|
52 |
<dependencySet> |
|
53 |
<useProjectArtifact>false</useProjectArtifact> |
|
54 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
55 |
<outputDirectory>lib</outputDirectory> |
|
56 |
<includes> |
|
57 |
<include>org.gvsig:org.gvsig.projection.jcrs.lib</include> |
|
58 |
<include>net.sf:jgridshiftapi</include> |
|
59 |
<include>org.geotools:gt2-main:jar:unknown</include> |
|
60 |
<include>hsqldb:hsqldb</include> |
|
61 |
<include>javax.units:jsr108</include> |
|
62 |
<include>java3d:vecmath</include> |
|
63 |
<include>org.opengis:geoapi</include> |
|
64 |
|
|
65 |
<include>org.gvsig:org.gvsig.projection.api</include> |
|
66 |
<include>org.gvsig:org.gvsig.projection.cresques.ui</include> |
|
67 |
<include>org.gvsig:org.gvsig.projection.cresques.impl</include> |
|
68 |
</includes> |
|
69 |
</dependencySet> |
|
70 |
</dependencySets> |
|
71 |
|
|
72 |
</assembly> |
|
73 |
|
|
74 |
|
|
75 |
|
|
0 | 76 |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/main/java/org/gvsig/crs/preferences/JCRSPreferencesPanel.java | ||
---|---|---|
1 |
/* |
|
2 |
* To change this license header, choose License Headers in Project Properties. |
|
3 |
* To change this template file, choose Tools | Templates |
|
4 |
* and open the template in the editor. |
|
5 |
*/ |
|
6 |
|
|
7 |
package org.gvsig.crs.preferences; |
|
8 |
|
|
9 |
import java.awt.Dimension; |
|
10 |
import java.awt.GridBagConstraints; |
|
11 |
import java.awt.GridBagLayout; |
|
12 |
import javax.swing.AbstractListModel; |
|
13 |
import javax.swing.Box; |
|
14 |
import javax.swing.JCheckBox; |
|
15 |
import javax.swing.JLabel; |
|
16 |
import javax.swing.JList; |
|
17 |
import javax.swing.JScrollPane; |
|
18 |
import org.jdesktop.layout.GroupLayout; |
|
19 |
|
|
20 |
/** |
|
21 |
* |
|
22 |
* @author usuario |
|
23 |
*/ |
|
24 |
public class JCRSPreferencesPanel extends javax.swing.JPanel { |
|
25 |
|
|
26 |
/** |
|
27 |
* Creates new form JCRSPreferencesPanel |
|
28 |
*/ |
|
29 |
public JCRSPreferencesPanel() { |
|
30 |
initComponents(); |
|
31 |
} |
|
32 |
|
|
33 |
/** |
|
34 |
* This method is called from within the constructor to |
|
35 |
* initialize the form. |
|
36 |
* WARNING: Do NOT modify this code. The content of this method is |
|
37 |
* always regenerated by the Form Editor. |
|
38 |
*/ |
|
39 |
@SuppressWarnings("unchecked") |
|
40 |
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents |
|
41 |
private void initComponents() { |
|
42 |
GridBagConstraints gridBagConstraints; |
|
43 |
|
|
44 |
lblHeader = new JLabel(); |
|
45 |
jScrollPane1 = new JScrollPane(); |
|
46 |
lstBBDD = new JList(); |
|
47 |
filler1 = new Box.Filler(new Dimension(16, 16), new Dimension(16, 16), new Dimension(16, 16)); |
|
48 |
filler2 = new Box.Filler(new Dimension(16, 16), new Dimension(16, 16), new Dimension(16, 16)); |
|
49 |
chkUseMomoryChacheForCRSs = new JCheckBox(); |
|
50 |
|
|
51 |
GridBagLayout layout = new GridBagLayout(); |
|
52 |
layout.columnWidths = new int[] {0, 4, 0, 4, 0}; |
|
53 |
layout.rowHeights = new int[] {0, 4, 0, 4, 0, 4, 0, 4, 0}; |
|
54 |
setLayout(layout); |
|
55 |
|
|
56 |
lblHeader.setText("<html> Seleccione la base de datos EPSG a utilizar </html>"); // NOI18N |
|
57 |
gridBagConstraints = new GridBagConstraints(); |
|
58 |
gridBagConstraints.gridx = 2; |
|
59 |
gridBagConstraints.gridy = 2; |
|
60 |
gridBagConstraints.anchor = GridBagConstraints.LINE_START; |
|
61 |
add(lblHeader, gridBagConstraints); |
|
62 |
|
|
63 |
jScrollPane1.setViewportView(lstBBDD); |
|
64 |
|
|
65 |
gridBagConstraints = new GridBagConstraints(); |
|
66 |
gridBagConstraints.gridx = 2; |
|
67 |
gridBagConstraints.gridy = 4; |
|
68 |
gridBagConstraints.fill = GridBagConstraints.BOTH; |
|
69 |
gridBagConstraints.weightx = 0.1; |
|
70 |
gridBagConstraints.weighty = 0.2; |
|
71 |
add(jScrollPane1, gridBagConstraints); |
|
72 |
gridBagConstraints = new GridBagConstraints(); |
|
73 |
gridBagConstraints.gridx = 0; |
|
74 |
gridBagConstraints.gridy = 6; |
|
75 |
add(filler1, gridBagConstraints); |
|
76 |
gridBagConstraints = new GridBagConstraints(); |
|
77 |
gridBagConstraints.gridx = 4; |
|
78 |
gridBagConstraints.gridy = 6; |
|
79 |
add(filler2, gridBagConstraints); |
|
80 |
|
|
81 |
chkUseMomoryChacheForCRSs.setText("Usar cache para los CRSs"); |
|
82 |
gridBagConstraints = new GridBagConstraints(); |
|
83 |
gridBagConstraints.gridx = 2; |
|
84 |
gridBagConstraints.gridy = 6; |
|
85 |
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL; |
|
86 |
add(chkUseMomoryChacheForCRSs, gridBagConstraints); |
|
87 |
}// </editor-fold>//GEN-END:initComponents |
|
88 |
|
|
89 |
|
|
90 |
// Variables declaration - do not modify//GEN-BEGIN:variables |
|
91 |
protected JCheckBox chkUseMomoryChacheForCRSs; |
|
92 |
protected Box.Filler filler1; |
|
93 |
protected Box.Filler filler2; |
|
94 |
protected JScrollPane jScrollPane1; |
|
95 |
protected JLabel lblHeader; |
|
96 |
protected JList lstBBDD; |
|
97 |
// End of variables declaration//GEN-END:variables |
|
98 |
} |
org.gvsig.projection.jcrs/tags/org.gvsig.projection.jcrs-2.1.5/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/main/java/org/gvsig/crs/preferences/JCRSPreferencesPanel.form | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
|
2 |
|
|
3 |
<Form version="1.8" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> |
|
4 |
<AuxValues> |
|
5 |
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> |
|
6 |
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> |
|
7 |
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="false"/> |
|
8 |
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> |
|
9 |
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> |
|
10 |
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/> |
|
11 |
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> |
|
12 |
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> |
|
13 |
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="4"/> |
|
14 |
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/> |
|
15 |
</AuxValues> |
|
16 |
<SubComponents> |
|
17 |
<Component class="javax.swing.JLabel" name="lblHeader"> |
|
18 |
<Properties> |
|
19 |
<Property name="text" type="java.lang.String" value="<html> Seleccione la base de datos EPSG a utilizar </html>" noResource="true"/> |
|
20 |
</Properties> |
|
21 |
<Constraints> |
|
22 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
23 |
<GridBagConstraints gridX="2" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="21" weightX="0.0" weightY="0.0"/> |
|
24 |
</Constraint> |
|
25 |
</Constraints> |
|
26 |
</Component> |
|
27 |
<Container class="javax.swing.JScrollPane" name="jScrollPane1"> |
|
28 |
<AuxValues> |
|
29 |
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> |
|
30 |
</AuxValues> |
|
31 |
<Constraints> |
|
32 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
33 |
<GridBagConstraints gridX="2" gridY="4" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.1" weightY="0.2"/> |
|
34 |
</Constraint> |
|
35 |
</Constraints> |
|
36 |
|
|
37 |
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> |
|
38 |
<SubComponents> |
|
39 |
<Component class="javax.swing.JList" name="lstBBDD"> |
|
40 |
<Properties> |
|
41 |
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor"> |
|
42 |
<StringArray count="0"/> |
|
43 |
</Property> |
|
44 |
</Properties> |
|
45 |
</Component> |
|
46 |
</SubComponents> |
|
47 |
</Container> |
|
48 |
<Component class="javax.swing.Box$Filler" name="filler1"> |
|
49 |
<Properties> |
|
50 |
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
|
51 |
<Dimension value="[16, 16]"/> |
|
52 |
</Property> |
|
53 |
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
|
54 |
<Dimension value="[16, 16]"/> |
|
55 |
</Property> |
|
56 |
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
|
57 |
<Dimension value="[16, 16]"/> |
|
58 |
</Property> |
|
59 |
</Properties> |
|
60 |
<AuxValues> |
|
61 |
<AuxValue name="classDetails" type="java.lang.String" value="Box.Filler.RigidArea"/> |
|
62 |
</AuxValues> |
|
63 |
<Constraints> |
|
64 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
65 |
<GridBagConstraints gridX="0" gridY="6" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> |
|
66 |
</Constraint> |
|
67 |
</Constraints> |
|
68 |
</Component> |
|
69 |
<Component class="javax.swing.Box$Filler" name="filler2"> |
|
70 |
<Properties> |
|
71 |
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
|
72 |
<Dimension value="[16, 16]"/> |
|
73 |
</Property> |
|
74 |
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
|
75 |
<Dimension value="[16, 16]"/> |
|
76 |
</Property> |
|
77 |
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
|
78 |
<Dimension value="[16, 16]"/> |
|
79 |
</Property> |
|
80 |
</Properties> |
|
81 |
<AuxValues> |
|
82 |
<AuxValue name="classDetails" type="java.lang.String" value="Box.Filler.RigidArea"/> |
|
83 |
</AuxValues> |
|
84 |
<Constraints> |
|
85 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
86 |
<GridBagConstraints gridX="4" gridY="6" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> |
|
87 |
</Constraint> |
|
88 |
</Constraints> |
|
89 |
</Component> |
|
90 |
<Component class="javax.swing.JCheckBox" name="chkUseMomoryChacheForCRSs"> |
|
91 |
<Properties> |
|
92 |
<Property name="text" type="java.lang.String" value="Usar cache para los CRSs"/> |
|
93 |
</Properties> |
|
94 |
<Constraints> |
|
95 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
96 |
<GridBagConstraints gridX="2" gridY="6" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> |
|
97 |
</Constraint> |
|
98 |
</Constraints> |
|
99 |
</Component> |
|
100 |
</SubComponents> |
|
101 |
<LayoutCode> |
|
102 |
<CodeStatement> |
|
103 |
<CodeExpression id="1_layout"> |
|
104 |
<CodeVariable name="layout" type="4096" declaredType="java.awt.GridBagLayout"/> |
|
105 |
<ExpressionOrigin> |
|
106 |
<ExpressionProvider type="CodeConstructor"> |
|
107 |
<CodeConstructor class="java.awt.GridBagLayout" parameterTypes=""/> |
|
108 |
</ExpressionProvider> |
|
109 |
</ExpressionOrigin> |
|
110 |
</CodeExpression> |
|
111 |
<StatementProvider type="CodeExpression"> |
|
112 |
<CodeExpression id="1_layout"/> |
|
113 |
</StatementProvider> |
|
114 |
</CodeStatement> |
|
115 |
<CodeStatement> |
|
116 |
<CodeExpression id="1_layout"/> |
|
117 |
<StatementProvider type="CodeField"> |
|
118 |
<CodeField name="columnWidths" class="java.awt.GridBagLayout"/> |
|
119 |
</StatementProvider> |
|
120 |
<Parameters> |
|
121 |
<CodeExpression id="2"> |
|
122 |
<ExpressionOrigin> |
|
123 |
<Value type="[I" editor="org.netbeans.modules.form.layoutsupport.delegates.GridBagLayoutSupport$IntArrayPropertyEditor"> |
|
124 |
<PropertyValue value="[0, 4, 0, 4, 0]"/> |
|
125 |
</Value> |
|
126 |
</ExpressionOrigin> |
|
127 |
</CodeExpression> |
|
128 |
</Parameters> |
|
129 |
</CodeStatement> |
|
130 |
<CodeStatement> |
|
131 |
<CodeExpression id="1_layout"/> |
|
132 |
<StatementProvider type="CodeField"> |
|
133 |
<CodeField name="rowHeights" class="java.awt.GridBagLayout"/> |
|
134 |
</StatementProvider> |
|
135 |
<Parameters> |
|
136 |
<CodeExpression id="3"> |
|
137 |
<ExpressionOrigin> |
|
138 |
<Value type="[I" editor="org.netbeans.modules.form.layoutsupport.delegates.GridBagLayoutSupport$IntArrayPropertyEditor"> |
|
139 |
<PropertyValue value="[0, 4, 0, 4, 0, 4, 0, 4, 0]"/> |
|
140 |
</Value> |
|
141 |
</ExpressionOrigin> |
|
142 |
</CodeExpression> |
|
143 |
</Parameters> |
|
144 |
</CodeStatement> |
|
145 |
<CodeStatement> |
|
146 |
<CodeExpression id="4"> |
|
147 |
<ExpressionOrigin> |
|
148 |
<ExpressionProvider type="ComponentRef"> |
|
149 |
<ComponentRef name="."/> |
|
150 |
</ExpressionProvider> |
|
151 |
</ExpressionOrigin> |
|
152 |
</CodeExpression> |
|
153 |
<StatementProvider type="CodeMethod"> |
|
154 |
<CodeMethod name="setLayout" class="java.awt.Container" parameterTypes="java.awt.LayoutManager"/> |
|
155 |
</StatementProvider> |
|
156 |
<Parameters> |
|
157 |
<CodeExpression id="1_layout"/> |
|
158 |
</Parameters> |
|
159 |
</CodeStatement> |
|
160 |
<CodeStatement> |
|
161 |
<CodeExpression id="5_gridBagConstraints"> |
|
162 |
<CodeVariable name="gridBagConstraints" type="20480" declaredType="java.awt.GridBagConstraints"/> |
|
163 |
<ExpressionOrigin> |
|
164 |
<ExpressionProvider type="CodeConstructor"> |
|
165 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
166 |
</ExpressionProvider> |
|
167 |
</ExpressionOrigin> |
|
168 |
</CodeExpression> |
|
169 |
<StatementProvider type="CodeExpression"> |
|
170 |
<CodeExpression id="5_gridBagConstraints"/> |
|
171 |
</StatementProvider> |
|
172 |
</CodeStatement> |
|
173 |
<CodeStatement> |
|
174 |
<CodeExpression id="5_gridBagConstraints"/> |
|
175 |
<StatementProvider type="CodeField"> |
|
176 |
<CodeField name="gridx" class="java.awt.GridBagConstraints"/> |
|
177 |
</StatementProvider> |
|
178 |
<Parameters> |
|
179 |
<CodeExpression id="6"> |
|
180 |
<ExpressionOrigin> |
|
181 |
<Value type="int" value="2"/> |
|
182 |
</ExpressionOrigin> |
|
183 |
</CodeExpression> |
|
184 |
</Parameters> |
|
185 |
</CodeStatement> |
|
186 |
<CodeStatement> |
|
187 |
<CodeExpression id="5_gridBagConstraints"/> |
|
188 |
<StatementProvider type="CodeField"> |
|
189 |
<CodeField name="gridy" class="java.awt.GridBagConstraints"/> |
|
190 |
</StatementProvider> |
|
191 |
<Parameters> |
|
192 |
<CodeExpression id="7"> |
|
193 |
<ExpressionOrigin> |
|
194 |
<Value type="int" value="2"/> |
|
195 |
</ExpressionOrigin> |
|
196 |
</CodeExpression> |
|
197 |
</Parameters> |
|
198 |
</CodeStatement> |
|
199 |
<CodeStatement> |
|
200 |
<CodeExpression id="5_gridBagConstraints"/> |
|
201 |
<StatementProvider type="CodeField"> |
|
202 |
<CodeField name="anchor" class="java.awt.GridBagConstraints"/> |
|
203 |
</StatementProvider> |
|
204 |
<Parameters> |
|
205 |
<CodeExpression id="8"> |
|
206 |
<ExpressionOrigin> |
|
207 |
<Value type="int" value="21"/> |
|
208 |
</ExpressionOrigin> |
|
209 |
</CodeExpression> |
|
210 |
</Parameters> |
|
211 |
</CodeStatement> |
|
212 |
<CodeStatement> |
|
213 |
<CodeExpression id="4"/> |
|
214 |
<StatementProvider type="CodeMethod"> |
|
215 |
<CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/> |
|
216 |
</StatementProvider> |
|
217 |
<Parameters> |
|
218 |
<CodeExpression id="9_lblHeader"> |
|
219 |
<CodeVariable name="lblHeader" type="8196" declaredType="javax.swing.JLabel"/> |
|
220 |
<ExpressionOrigin> |
|
221 |
<ExpressionProvider type="ComponentRef"> |
|
222 |
<ComponentRef name="lblHeader"/> |
|
223 |
</ExpressionProvider> |
|
224 |
</ExpressionOrigin> |
|
225 |
</CodeExpression> |
|
226 |
<CodeExpression id="5_gridBagConstraints"/> |
|
227 |
</Parameters> |
|
228 |
</CodeStatement> |
|
229 |
<CodeStatement> |
|
230 |
<CodeExpression id="10_gridBagConstraints"> |
|
231 |
<CodeVariable name="gridBagConstraints"/> |
|
232 |
<ExpressionOrigin> |
|
233 |
<ExpressionProvider type="CodeConstructor"> |
|
234 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
235 |
</ExpressionProvider> |
|
236 |
</ExpressionOrigin> |
|
237 |
</CodeExpression> |
|
238 |
<StatementProvider type="CodeExpression"> |
|
239 |
<CodeExpression id="10_gridBagConstraints"/> |
|
240 |
</StatementProvider> |
|
241 |
</CodeStatement> |
|
242 |
<CodeStatement> |
|
243 |
<CodeExpression id="10_gridBagConstraints"/> |
|
244 |
<StatementProvider type="CodeField"> |
|
245 |
<CodeField name="gridx" class="java.awt.GridBagConstraints"/> |
|
246 |
</StatementProvider> |
|
247 |
<Parameters> |
|
248 |
<CodeExpression id="11"> |
|
249 |
<ExpressionOrigin> |
|
250 |
<Value type="int" value="2"/> |
|
251 |
</ExpressionOrigin> |
|
252 |
</CodeExpression> |
|
253 |
</Parameters> |
|
254 |
</CodeStatement> |
|
255 |
<CodeStatement> |
|
256 |
<CodeExpression id="10_gridBagConstraints"/> |
|
257 |
<StatementProvider type="CodeField"> |
|
258 |
<CodeField name="gridy" class="java.awt.GridBagConstraints"/> |
|
259 |
</StatementProvider> |
|
260 |
<Parameters> |
|
261 |
<CodeExpression id="12"> |
|
262 |
<ExpressionOrigin> |
|
263 |
<Value type="int" value="4"/> |
|
264 |
</ExpressionOrigin> |
|
265 |
</CodeExpression> |
|
266 |
</Parameters> |
|
267 |
</CodeStatement> |
|
268 |
<CodeStatement> |
|
269 |
<CodeExpression id="10_gridBagConstraints"/> |
|
270 |
<StatementProvider type="CodeField"> |
|
271 |
<CodeField name="fill" class="java.awt.GridBagConstraints"/> |
|
272 |
</StatementProvider> |
|
273 |
<Parameters> |
|
274 |
<CodeExpression id="13"> |
|
275 |
<ExpressionOrigin> |
|
276 |
<Value type="int" value="1"/> |
|
277 |
</ExpressionOrigin> |
|
278 |
</CodeExpression> |
|
279 |
</Parameters> |
|
280 |
</CodeStatement> |
|
281 |
<CodeStatement> |
|
282 |
<CodeExpression id="10_gridBagConstraints"/> |
|
283 |
<StatementProvider type="CodeField"> |
|
284 |
<CodeField name="weightx" class="java.awt.GridBagConstraints"/> |
|
285 |
</StatementProvider> |
|
286 |
<Parameters> |
|
287 |
<CodeExpression id="14"> |
|
288 |
<ExpressionOrigin> |
|
289 |
<Value type="double" value="0.1"/> |
|
290 |
</ExpressionOrigin> |
|
291 |
</CodeExpression> |
|
292 |
</Parameters> |
|
293 |
</CodeStatement> |
|
294 |
<CodeStatement> |
|
295 |
<CodeExpression id="10_gridBagConstraints"/> |
|
296 |
<StatementProvider type="CodeField"> |
|
297 |
<CodeField name="weighty" class="java.awt.GridBagConstraints"/> |
|
298 |
</StatementProvider> |
|
299 |
<Parameters> |
|
300 |
<CodeExpression id="15"> |
|
301 |
<ExpressionOrigin> |
|
302 |
<Value type="double" value="0.2"/> |
|
303 |
</ExpressionOrigin> |
|
304 |
</CodeExpression> |
|
305 |
</Parameters> |
|
306 |
</CodeStatement> |
|
307 |
<CodeStatement> |
|
308 |
<CodeExpression id="4"/> |
|
309 |
<StatementProvider type="CodeMethod"> |
|
310 |
<CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/> |
|
311 |
</StatementProvider> |
|
312 |
<Parameters> |
|
313 |
<CodeExpression id="16_jScrollPane1"> |
|
314 |
<CodeVariable name="jScrollPane1" type="8196" declaredType="javax.swing.JScrollPane"/> |
|
315 |
<ExpressionOrigin> |
|
316 |
<ExpressionProvider type="ComponentRef"> |
|
317 |
<ComponentRef name="jScrollPane1"/> |
|
318 |
</ExpressionProvider> |
|
319 |
</ExpressionOrigin> |
|
320 |
</CodeExpression> |
|
321 |
<CodeExpression id="10_gridBagConstraints"/> |
|
322 |
</Parameters> |
|
323 |
</CodeStatement> |
|
324 |
<CodeStatement> |
|
325 |
<CodeExpression id="17_gridBagConstraints"> |
|
326 |
<CodeVariable name="gridBagConstraints"/> |
|
327 |
<ExpressionOrigin> |
|
328 |
<ExpressionProvider type="CodeConstructor"> |
|
329 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
330 |
</ExpressionProvider> |
|
331 |
</ExpressionOrigin> |
|
332 |
</CodeExpression> |
|
333 |
<StatementProvider type="CodeExpression"> |
|
334 |
<CodeExpression id="17_gridBagConstraints"/> |
|
335 |
</StatementProvider> |
Also available in: Unified diff