Revision 385
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.win.x86/buildNumber.properties | ||
---|---|---|
1 |
#Sun Jul 27 22:34:56 EDT 2014 |
|
2 |
buildNumber=2063 |
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.win.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.gvsig3d.app.commons</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.osgvp.libjni-osgvp:libjni-osgvpmanipulator:jar</include> |
|
65 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpcore:jar</include> |
|
66 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpviewer:jar</include> |
|
67 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpterrain:jar</include> |
|
68 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpsymbology:jar</include> |
|
69 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpgeometry:jar</include> |
|
70 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpfeatures:jar</include> |
|
71 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpmultiresolution:jar</include> |
|
72 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpstereoconfig:jar</include> |
|
73 |
|
|
74 |
|
|
75 |
</includes> |
|
76 |
</dependencySet> |
|
77 |
</dependencySets> |
|
78 |
|
|
79 |
</assembly> |
|
80 |
|
|
81 |
|
|
82 |
|
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.win.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 |
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PLUGIN_FOLDER/native" |
|
34 |
GVSIG_NATIVE_LIBS="$GVSIG_NATIVE_LIBS:$PLUGIN_FOLDER/native" |
|
35 |
|
|
36 |
|
|
37 |
|
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.win.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" |
|
3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.gvsig3d.app.win.x86</artifactId> |
|
6 |
<packaging>jar</packaging> |
|
7 |
<name>org.gvsig.gvsig3d.app.win.x86</name> |
|
8 |
<parent> |
|
9 |
<groupId>org.gvsig</groupId> |
|
10 |
<artifactId>org.gvsig.gvsig3d.app</artifactId> |
|
11 |
<version>1.0.0-SNAPSHOT</version> |
|
12 |
</parent> |
|
13 |
|
|
14 |
|
|
15 |
<properties> |
|
16 |
<gvsig.package.info.operatingSystem>win</gvsig.package.info.operatingSystem> |
|
17 |
<gvsig.package.info.architecture>x86</gvsig.package.info.architecture> |
|
18 |
<native_classifier>win-nt-vs9-i386-dynamic</native_classifier> |
|
19 |
</properties> |
|
20 |
<dependencyManagement> |
|
21 |
<dependencies> |
|
22 |
|
|
23 |
</dependencies> |
|
24 |
</dependencyManagement> |
|
25 |
|
|
26 |
|
|
27 |
<dependencies> |
|
28 |
<dependency> |
|
29 |
<groupId>org.gvsig</groupId> |
|
30 |
<artifactId>org.gvsig.gvsig3d.app.commons</artifactId> |
|
31 |
<version>1.0.0-SNAPSHOT</version> |
|
32 |
<type>zip</type> |
|
33 |
</dependency> |
|
34 |
|
|
35 |
<dependency> |
|
36 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
37 |
<artifactId>libjni-osgvpcore</artifactId> |
|
38 |
</dependency> |
|
39 |
<dependency> |
|
40 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
41 |
<artifactId>libjni-osgvpcore</artifactId> |
|
42 |
<version>2.3.0-SNAPSHOT</version> |
|
43 |
<classifier>${native_classifier}</classifier> |
|
44 |
<type>tar.gz</type> |
|
45 |
</dependency> |
|
46 |
|
|
47 |
<dependency> |
|
48 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
49 |
<artifactId>libjni-osgvpviewer</artifactId> |
|
50 |
</dependency> |
|
51 |
<dependency> |
|
52 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
53 |
<artifactId>libjni-osgvpviewer</artifactId> |
|
54 |
<version>2.3.0-SNAPSHOT</version> |
|
55 |
<classifier>${native_classifier}</classifier> |
|
56 |
<type>tar.gz</type> |
|
57 |
</dependency> |
|
58 |
<dependency> |
|
59 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
60 |
<artifactId>libjni-osgvpterrain</artifactId> |
|
61 |
</dependency> |
|
62 |
<dependency> |
|
63 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
64 |
<artifactId>libjni-osgvpterrain</artifactId> |
|
65 |
<version>2.3.0-SNAPSHOT</version> |
|
66 |
<classifier>${native_classifier}</classifier> |
|
67 |
<type>tar.gz</type> |
|
68 |
</dependency> |
|
69 |
<dependency> |
|
70 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
71 |
<artifactId>libjni-osgvpsymbology</artifactId> |
|
72 |
</dependency> |
|
73 |
<dependency> |
|
74 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
75 |
<artifactId>libjni-osgvpsymbology</artifactId> |
|
76 |
<version>2.3.0-SNAPSHOT</version> |
|
77 |
<classifier>${native_classifier}</classifier> |
|
78 |
<type>tar.gz</type> |
|
79 |
</dependency> |
|
80 |
<dependency> |
|
81 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
82 |
<artifactId>libjni-osgvpgeometry</artifactId> |
|
83 |
</dependency> |
|
84 |
<dependency> |
|
85 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
86 |
<artifactId>libjni-osgvpgeometry</artifactId> |
|
87 |
<version>2.3.0-SNAPSHOT</version> |
|
88 |
<classifier>${native_classifier}</classifier> |
|
89 |
<type>tar.gz</type> |
|
90 |
</dependency> |
|
91 |
<dependency> |
|
92 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
93 |
<artifactId>libjni-osgvpmanipulator</artifactId> |
|
94 |
</dependency> |
|
95 |
<dependency> |
|
96 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
97 |
<artifactId>libjni-osgvpmanipulator</artifactId> |
|
98 |
<version>2.3.0-SNAPSHOT</version> |
|
99 |
<classifier>${native_classifier}</classifier> |
|
100 |
<type>tar.gz</type> |
|
101 |
</dependency> |
|
102 |
<dependency> |
|
103 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
104 |
<artifactId>libjni-osgvpmultiresolution</artifactId> |
|
105 |
</dependency> |
|
106 |
<dependency> |
|
107 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
108 |
<artifactId>libjni-osgvpmultiresolution</artifactId> |
|
109 |
<version>2.3.0-SNAPSHOT</version> |
|
110 |
<classifier>${native_classifier}</classifier> |
|
111 |
<type>tar.gz</type> |
|
112 |
</dependency> |
|
113 |
<dependency> |
|
114 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
115 |
<artifactId>libjni-osgvpfeatures</artifactId> |
|
116 |
</dependency> |
|
117 |
<dependency> |
|
118 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
119 |
<artifactId>libjni-osgvpfeatures</artifactId> |
|
120 |
<version>2.3.0-SNAPSHOT</version> |
|
121 |
<classifier>${native_classifier}</classifier> |
|
122 |
<type>tar.gz</type> |
|
123 |
</dependency> |
|
124 |
<dependency> |
|
125 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
126 |
<artifactId>libjni-osgvpstereoconfig</artifactId> |
|
127 |
</dependency> |
|
128 |
<dependency> |
|
129 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
130 |
<artifactId>libjni-osgvpstereoconfig</artifactId> |
|
131 |
<version>2.3.0-SNAPSHOT</version> |
|
132 |
<classifier>${native_classifier}</classifier> |
|
133 |
<type>tar.gz</type> |
|
134 |
</dependency> |
|
135 |
</dependencies> |
|
136 |
|
|
137 |
<build> |
|
138 |
<plugins> |
|
139 |
|
|
140 |
<plugin> |
|
141 |
<groupId>org.apache.maven.plugins</groupId> |
|
142 |
<artifactId>maven-dependency-plugin</artifactId> |
|
143 |
<executions> |
|
144 |
<execution> |
|
145 |
<id>unpack</id> |
|
146 |
<phase>process-sources</phase> |
|
147 |
<goals> |
|
148 |
<goal>unpack</goal> |
|
149 |
</goals> |
|
150 |
<configuration> |
|
151 |
<artifactItems> |
|
152 |
<artifactItem> |
|
153 |
<groupId>org.gvsig</groupId> |
|
154 |
<artifactId>org.gvsig.gvsig3d.app.commons</artifactId> |
|
155 |
<type>zip</type> |
|
156 |
<overWrite>true</overWrite> |
|
157 |
<outputDirectory>target</outputDirectory> |
|
158 |
</artifactItem> |
|
159 |
|
|
160 |
|
|
161 |
<artifactItem> |
|
162 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
163 |
<artifactId>libjni-osgvpcore</artifactId> |
|
164 |
<classifier>${native_classifier}</classifier> |
|
165 |
<type>tar.gz</type> |
|
166 |
<overWrite>true</overWrite> |
|
167 |
<outputDirectory>target/native</outputDirectory> |
|
168 |
</artifactItem> |
|
169 |
|
|
170 |
|
|
171 |
<artifactItem> |
|
172 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
173 |
<artifactId>libjni-osgvpviewer</artifactId> |
|
174 |
<classifier>${native_classifier}</classifier> |
|
175 |
<type>tar.gz</type> |
|
176 |
<overWrite>true</overWrite> |
|
177 |
<outputDirectory>target/native</outputDirectory> |
|
178 |
</artifactItem> |
|
179 |
|
|
180 |
<artifactItem> |
|
181 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
182 |
<artifactId>libjni-osgvpterrain</artifactId> |
|
183 |
<classifier>${native_classifier}</classifier> |
|
184 |
<type>tar.gz</type> |
|
185 |
<overWrite>true</overWrite> |
|
186 |
<outputDirectory>target/native</outputDirectory> |
|
187 |
|
|
188 |
</artifactItem> |
|
189 |
|
|
190 |
<artifactItem> |
|
191 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
192 |
<artifactId>libjni-osgvpsymbology</artifactId> |
|
193 |
<classifier>${native_classifier}</classifier> |
|
194 |
<type>tar.gz</type> |
|
195 |
<overWrite>true</overWrite> |
|
196 |
<outputDirectory>target/native</outputDirectory> |
|
197 |
|
|
198 |
</artifactItem> |
|
199 |
|
|
200 |
<artifactItem> |
|
201 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
202 |
<artifactId>libjni-osgvpgeometry</artifactId> |
|
203 |
<classifier>${native_classifier}</classifier> |
|
204 |
<type>tar.gz</type> |
|
205 |
<overWrite>true</overWrite> |
|
206 |
<outputDirectory>target/native</outputDirectory> |
|
207 |
|
|
208 |
</artifactItem> |
|
209 |
|
|
210 |
<artifactItem> |
|
211 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
212 |
<artifactId>libjni-osgvpmanipulator</artifactId> |
|
213 |
<classifier>${native_classifier}</classifier> |
|
214 |
<type>tar.gz</type> |
|
215 |
<overWrite>true</overWrite> |
|
216 |
<outputDirectory>target/native</outputDirectory> |
|
217 |
|
|
218 |
</artifactItem> |
|
219 |
|
|
220 |
<artifactItem> |
|
221 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
222 |
<artifactId>libjni-osgvpmultiresolution</artifactId> |
|
223 |
<classifier>${native_classifier}</classifier> |
|
224 |
<type>tar.gz</type> |
|
225 |
<overWrite>true</overWrite> |
|
226 |
<outputDirectory>target/native</outputDirectory> |
|
227 |
|
|
228 |
</artifactItem> |
|
229 |
|
|
230 |
<artifactItem> |
|
231 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
232 |
<artifactId>libjni-osgvpfeatures</artifactId> |
|
233 |
<classifier>${native_classifier}</classifier> |
|
234 |
<type>tar.gz</type> |
|
235 |
<overWrite>true</overWrite> |
|
236 |
<outputDirectory>target/native</outputDirectory> |
|
237 |
|
|
238 |
</artifactItem> |
|
239 |
|
|
240 |
<artifactItem> |
|
241 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
242 |
<artifactId>libjni-osgvpstereoconfig</artifactId> |
|
243 |
<classifier>${native_classifier}</classifier> |
|
244 |
<type>tar.gz</type> |
|
245 |
<overWrite>true</overWrite> |
|
246 |
<outputDirectory>target/native</outputDirectory> |
|
247 |
|
|
248 |
</artifactItem> |
|
249 |
|
|
250 |
|
|
251 |
</artifactItems> |
|
252 |
</configuration> |
|
253 |
</execution> |
|
254 |
</executions> |
|
255 |
</plugin> |
|
256 |
|
|
257 |
|
|
258 |
</plugins> |
|
259 |
</build> |
|
260 |
|
|
261 |
|
|
262 |
</project> |
|
263 |
|
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
5 |
<modelVersion>4.0.0</modelVersion> |
|
6 |
<artifactId>org.gvsig.gvsig3d.app</artifactId> |
|
7 |
<packaging>pom</packaging> |
|
8 |
<name>org.gvsig.gvsig3d.app</name> |
|
9 |
<description>Extension of the Gvsig3D example project</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.gvsig3d/${project.version}/basic/org.gvsig.gvsig3d.app</url> |
|
11 |
<parent> |
|
12 |
<groupId>org.gvsig</groupId> |
|
13 |
<artifactId>org.gvsig.gvsig3d</artifactId> |
|
14 |
<version>1.0.0-SNAPSHOT</version> |
|
15 |
</parent> |
|
16 |
|
|
17 |
<modules> |
|
18 |
<module>org.gvsig.gvsig3d.app.commons</module> |
|
19 |
<module>org.gvsig.gvsig3d.app.lin.x86</module> |
|
20 |
<!-- <module>org.gvsig.gvsig3d.app.win.x86</module>--> |
|
21 |
</modules> |
|
22 |
<properties> |
|
23 |
<svn.tags.folder>https://devel.gvsig.org/svn/gvsig-3d/org.gvsig.gvsig3d.app/tags/</svn.tags.folder> |
|
24 |
|
|
25 |
<gvsig.package.info.state>testing</gvsig.package.info.state> |
|
26 |
<gvsig.package.info.official>true</gvsig.package.info.official> |
|
27 |
<gvsig.package.info.operatingSystem>all</gvsig.package.info.operatingSystem> |
|
28 |
<gvsig.package.info.architecture>all</gvsig.package.info.architecture> |
|
29 |
<gvsig.package.info.categories /> |
|
30 |
<gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/3d/pool</gvsig.package.info.poolURL> |
|
31 |
<gvsig.package.info.code>${project.parent.artifactId}</gvsig.package.info.code> |
|
32 |
<gvsig.package.info.name>${project.parent.name}</gvsig.package.info.name> |
|
33 |
<gvsig.package.info.description>${project.parent.description}</gvsig.package.info.description> |
|
34 |
<gvsig.install.plugin>false</gvsig.install.plugin> |
|
35 |
</properties> |
|
36 |
</project> |
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.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 |
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PLUGIN_FOLDER/native" |
|
34 |
GVSIG_NATIVE_LIBS="$GVSIG_NATIVE_LIBS:$PLUGIN_FOLDER/native" |
|
35 |
|
|
36 |
|
|
37 |
|
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.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.gvsig3d.app.commons</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.osgvp.libjni-osgvp:libjni-osgvpmanipulator:jar</include> |
|
65 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpcore:jar</include> |
|
66 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpviewer:jar</include> |
|
67 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpterrain:jar</include> |
|
68 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpsymbology:jar</include> |
|
69 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpgeometry:jar</include> |
|
70 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpfeatures:jar</include> |
|
71 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpmultiresolution:jar</include> |
|
72 |
<include>org.gvsig.osgvp.libjni-osgvp:libjni-osgvpstereoconfig:jar</include> |
|
73 |
|
|
74 |
|
|
75 |
</includes> |
|
76 |
</dependencySet> |
|
77 |
</dependencySets> |
|
78 |
|
|
79 |
</assembly> |
|
80 |
|
|
81 |
|
|
82 |
|
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.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" |
|
3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.gvsig3d.app.lin.x86</artifactId> |
|
6 |
<packaging>jar</packaging> |
|
7 |
<name>org.gvsig.gvsig3d.app.lin.x86</name> |
|
8 |
<parent> |
|
9 |
<groupId>org.gvsig</groupId> |
|
10 |
<artifactId>org.gvsig.gvsig3d.app</artifactId> |
|
11 |
<version>1.0.0-SNAPSHOT</version> |
|
12 |
</parent> |
|
13 |
|
|
14 |
|
|
15 |
<properties> |
|
16 |
<gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem> |
|
17 |
<gvsig.package.info.architecture>x86</gvsig.package.info.architecture> |
|
18 |
<native_classifier>linux-all-gcc4-i386-dynamic</native_classifier> |
|
19 |
</properties> |
|
20 |
<dependencyManagement> |
|
21 |
<dependencies> |
|
22 |
|
|
23 |
</dependencies> |
|
24 |
</dependencyManagement> |
|
25 |
|
|
26 |
|
|
27 |
<dependencies> |
|
28 |
<dependency> |
|
29 |
<groupId>org.gvsig</groupId> |
|
30 |
<artifactId>org.gvsig.gvsig3d.app.commons</artifactId> |
|
31 |
<version>1.0.0-SNAPSHOT</version> |
|
32 |
<type>zip</type> |
|
33 |
</dependency> |
|
34 |
|
|
35 |
<dependency> |
|
36 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
37 |
<artifactId>libjni-osgvpcore</artifactId> |
|
38 |
</dependency> |
|
39 |
<dependency> |
|
40 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
41 |
<artifactId>libjni-osgvpcore</artifactId> |
|
42 |
<version>2.9.0-SNAPSHOT</version> |
|
43 |
<classifier>${native_classifier}</classifier> |
|
44 |
<type>tar.gz</type> |
|
45 |
</dependency> |
|
46 |
|
|
47 |
<dependency> |
|
48 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
49 |
<artifactId>libjni-osgvpviewer</artifactId> |
|
50 |
</dependency> |
|
51 |
<dependency> |
|
52 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
53 |
<artifactId>libjni-osgvpviewer</artifactId> |
|
54 |
<version>2.9.0-SNAPSHOT</version> |
|
55 |
<classifier>${native_classifier}</classifier> |
|
56 |
<type>tar.gz</type> |
|
57 |
</dependency> |
|
58 |
<dependency> |
|
59 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
60 |
<artifactId>libjni-osgvpterrain</artifactId> |
|
61 |
</dependency> |
|
62 |
<dependency> |
|
63 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
64 |
<artifactId>libjni-osgvpterrain</artifactId> |
|
65 |
<version>2.9.0-SNAPSHOT</version> |
|
66 |
<classifier>${native_classifier}</classifier> |
|
67 |
<type>tar.gz</type> |
|
68 |
</dependency> |
|
69 |
<dependency> |
|
70 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
71 |
<artifactId>libjni-osgvpsymbology</artifactId> |
|
72 |
</dependency> |
|
73 |
<dependency> |
|
74 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
75 |
<artifactId>libjni-osgvpsymbology</artifactId> |
|
76 |
<version>2.9.0-SNAPSHOT</version> |
|
77 |
<classifier>${native_classifier}</classifier> |
|
78 |
<type>tar.gz</type> |
|
79 |
</dependency> |
|
80 |
<dependency> |
|
81 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
82 |
<artifactId>libjni-osgvpgeometry</artifactId> |
|
83 |
</dependency> |
|
84 |
<dependency> |
|
85 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
86 |
<artifactId>libjni-osgvpgeometry</artifactId> |
|
87 |
<version>2.9.0-SNAPSHOT</version> |
|
88 |
<classifier>${native_classifier}</classifier> |
|
89 |
<type>tar.gz</type> |
|
90 |
</dependency> |
|
91 |
<dependency> |
|
92 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
93 |
<artifactId>libjni-osgvpmanipulator</artifactId> |
|
94 |
</dependency> |
|
95 |
<dependency> |
|
96 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
97 |
<artifactId>libjni-osgvpmanipulator</artifactId> |
|
98 |
<version>2.9.0-SNAPSHOT</version> |
|
99 |
<classifier>${native_classifier}</classifier> |
|
100 |
<type>tar.gz</type> |
|
101 |
</dependency> |
|
102 |
<dependency> |
|
103 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
104 |
<artifactId>libjni-osgvpmultiresolution</artifactId> |
|
105 |
</dependency> |
|
106 |
<dependency> |
|
107 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
108 |
<artifactId>libjni-osgvpmultiresolution</artifactId> |
|
109 |
<version>2.9.0-SNAPSHOT</version> |
|
110 |
<classifier>${native_classifier}</classifier> |
|
111 |
<type>tar.gz</type> |
|
112 |
</dependency> |
|
113 |
<dependency> |
|
114 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
115 |
<artifactId>libjni-osgvpfeatures</artifactId> |
|
116 |
</dependency> |
|
117 |
<dependency> |
|
118 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
119 |
<artifactId>libjni-osgvpfeatures</artifactId> |
|
120 |
<version>2.9.0-SNAPSHOT</version> |
|
121 |
<classifier>${native_classifier}</classifier> |
|
122 |
<type>tar.gz</type> |
|
123 |
</dependency> |
|
124 |
<dependency> |
|
125 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
126 |
<artifactId>libjni-osgvpstereoconfig</artifactId> |
|
127 |
</dependency> |
|
128 |
<dependency> |
|
129 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
130 |
<artifactId>libjni-osgvpstereoconfig</artifactId> |
|
131 |
<version>2.9.0-SNAPSHOT</version> |
|
132 |
<classifier>${native_classifier}</classifier> |
|
133 |
<type>tar.gz</type> |
|
134 |
</dependency> |
|
135 |
</dependencies> |
|
136 |
|
|
137 |
<build> |
|
138 |
<plugins> |
|
139 |
|
|
140 |
<plugin> |
|
141 |
<groupId>org.apache.maven.plugins</groupId> |
|
142 |
<artifactId>maven-dependency-plugin</artifactId> |
|
143 |
<executions> |
|
144 |
<execution> |
|
145 |
<id>unpack</id> |
|
146 |
<phase>process-sources</phase> |
|
147 |
<goals> |
|
148 |
<goal>unpack</goal> |
|
149 |
</goals> |
|
150 |
<configuration> |
|
151 |
<artifactItems> |
|
152 |
<artifactItem> |
|
153 |
<groupId>org.gvsig</groupId> |
|
154 |
<artifactId>org.gvsig.gvsig3d.app.commons</artifactId> |
|
155 |
<type>zip</type> |
|
156 |
<overWrite>true</overWrite> |
|
157 |
<outputDirectory>target</outputDirectory> |
|
158 |
</artifactItem> |
|
159 |
|
|
160 |
|
|
161 |
<artifactItem> |
|
162 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
163 |
<artifactId>libjni-osgvpcore</artifactId> |
|
164 |
<classifier>${native_classifier}</classifier> |
|
165 |
<type>tar.gz</type> |
|
166 |
<overWrite>true</overWrite> |
|
167 |
<outputDirectory>target/native</outputDirectory> |
|
168 |
</artifactItem> |
|
169 |
|
|
170 |
|
|
171 |
<artifactItem> |
|
172 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
173 |
<artifactId>libjni-osgvpviewer</artifactId> |
|
174 |
<version>2.9.0-SNAPSHOT</version> |
|
175 |
<classifier>${native_classifier}</classifier> |
|
176 |
<type>tar.gz</type> |
|
177 |
<overWrite>true</overWrite> |
|
178 |
<outputDirectory>target/native</outputDirectory> |
|
179 |
</artifactItem> |
|
180 |
|
|
181 |
<artifactItem> |
|
182 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
183 |
<artifactId>libjni-osgvpterrain</artifactId> |
|
184 |
<version>2.9.0-SNAPSHOT</version> |
|
185 |
<classifier>${native_classifier}</classifier> |
|
186 |
<type>tar.gz</type> |
|
187 |
<overWrite>true</overWrite> |
|
188 |
<outputDirectory>target/native</outputDirectory> |
|
189 |
|
|
190 |
</artifactItem> |
|
191 |
|
|
192 |
<artifactItem> |
|
193 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
194 |
<artifactId>libjni-osgvpsymbology</artifactId> |
|
195 |
<version>2.9.0-SNAPSHOT</version> |
|
196 |
<classifier>${native_classifier}</classifier> |
|
197 |
<type>tar.gz</type> |
|
198 |
<overWrite>true</overWrite> |
|
199 |
<outputDirectory>target/native</outputDirectory> |
|
200 |
|
|
201 |
</artifactItem> |
|
202 |
|
|
203 |
<artifactItem> |
|
204 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
205 |
<artifactId>libjni-osgvpgeometry</artifactId> |
|
206 |
<version>2.9.0-SNAPSHOT</version> |
|
207 |
<classifier>${native_classifier}</classifier> |
|
208 |
<type>tar.gz</type> |
|
209 |
<overWrite>true</overWrite> |
|
210 |
<outputDirectory>target/native</outputDirectory> |
|
211 |
|
|
212 |
</artifactItem> |
|
213 |
|
|
214 |
<artifactItem> |
|
215 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
216 |
<artifactId>libjni-osgvpmanipulator</artifactId> |
|
217 |
<version>2.9.0-SNAPSHOT</version> |
|
218 |
<classifier>${native_classifier}</classifier> |
|
219 |
<type>tar.gz</type> |
|
220 |
<overWrite>true</overWrite> |
|
221 |
<outputDirectory>target/native</outputDirectory> |
|
222 |
|
|
223 |
</artifactItem> |
|
224 |
|
|
225 |
<artifactItem> |
|
226 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
227 |
<artifactId>libjni-osgvpmultiresolution</artifactId> |
|
228 |
<version>2.9.0-SNAPSHOT</version> |
|
229 |
<classifier>${native_classifier}</classifier> |
|
230 |
<type>tar.gz</type> |
|
231 |
<overWrite>true</overWrite> |
|
232 |
<outputDirectory>target/native</outputDirectory> |
|
233 |
|
|
234 |
</artifactItem> |
|
235 |
|
|
236 |
<artifactItem> |
|
237 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
238 |
<artifactId>libjni-osgvpfeatures</artifactId> |
|
239 |
<version>2.9.0-SNAPSHOT</version> |
|
240 |
<classifier>${native_classifier}</classifier> |
|
241 |
<type>tar.gz</type> |
|
242 |
<overWrite>true</overWrite> |
|
243 |
<outputDirectory>target/native</outputDirectory> |
|
244 |
|
|
245 |
</artifactItem> |
|
246 |
|
|
247 |
<artifactItem> |
|
248 |
<groupId>org.gvsig.osgvp.libjni-osgvp</groupId> |
|
249 |
<artifactId>libjni-osgvpstereoconfig</artifactId> |
|
250 |
<version>2.9.0-SNAPSHOT</version> |
|
251 |
<classifier>${native_classifier}</classifier> |
|
252 |
<type>tar.gz</type> |
|
253 |
<overWrite>true</overWrite> |
|
254 |
<outputDirectory>target/native</outputDirectory> |
|
255 |
|
|
256 |
</artifactItem> |
|
257 |
|
|
258 |
|
|
259 |
</artifactItems> |
|
260 |
</configuration> |
|
261 |
</execution> |
|
262 |
</executions> |
|
263 |
</plugin> |
|
264 |
|
|
265 |
|
|
266 |
</plugins> |
|
267 |
</build> |
|
268 |
|
|
269 |
<profiles> |
|
270 |
|
|
271 |
<profile> |
|
272 |
<id>gvsig-plugin-install-gvsig3d-linux-x86</id> |
|
273 |
<activation> |
|
274 |
<os> |
|
275 |
<family>unix</family> |
|
276 |
<name>linux</name> |
|
277 |
<arch>x86</arch> |
|
278 |
</os> |
|
279 |
</activation> |
|
280 |
<properties> |
|
281 |
<gvsig.install.plugin>true</gvsig.install.plugin> |
|
282 |
</properties> |
|
283 |
</profile> |
|
284 |
<profile> |
|
285 |
<!-- Some platforms report i386 instead of x86 --> |
|
286 |
<id>gvsig-plugin-install-gvsig3d-linux-i386</id> |
|
287 |
<activation> |
|
288 |
<os> |
|
289 |
<family>unix</family> |
|
290 |
<name>linux</name> |
|
291 |
<arch>i386</arch> |
|
292 |
</os> |
|
293 |
</activation> |
|
294 |
<properties> |
|
295 |
<gvsig.install.plugin>true</gvsig.install.plugin> |
|
296 |
</properties> |
|
297 |
</profile> |
|
298 |
</profiles> |
|
299 |
|
|
300 |
</project> |
|
301 |
|
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.lin.x86/buildNumber.properties | ||
---|---|---|
1 |
#Sun Jul 27 22:34:56 EDT 2014 |
|
2 |
buildNumber=2063 |
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.commons/src/main/java/org/gvsig/gvsig3d/app/gui/panels/Raster3DPanel.java | ||
---|---|---|
1 |
/* gvSIG 3D extension for gvSIG |
|
2 |
* |
|
3 |
* Copyright (C) 2012 Prodevelop. |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
18 |
* |
|
19 |
* For more information, contact: |
|
20 |
* |
|
21 |
* Prodevelop, S.L. |
|
22 |
* Pza. Don Juan de Villarrasa, 14 - 5 |
|
23 |
* 46001 Valencia |
|
24 |
* Spain |
|
25 |
* |
|
26 |
* +34 963 510 612 |
|
27 |
* +34 963 510 968 |
|
28 |
* prode@prodevelop.es |
|
29 |
* http://www.prodevelop.es |
|
30 |
*/ |
|
31 |
/* |
|
32 |
* AUTHORS: |
|
33 |
* 2012 AI2 - Instituto Universitario de Automatica e Informatica Industrial. |
|
34 |
* Universitat Politecnica de Valencia (UPV) |
|
35 |
* http://www.ai2.upv.es |
|
36 |
*/ |
|
37 |
|
|
38 |
|
|
39 |
package org.gvsig.gvsig3d.app.gui.panels; |
|
40 |
|
|
41 |
import java.awt.BorderLayout; |
|
42 |
import java.awt.Dimension; |
|
43 |
import java.awt.GridBagConstraints; |
|
44 |
import java.awt.GridBagLayout; |
|
45 |
import java.awt.Insets; |
|
46 |
import java.awt.event.ActionEvent; |
|
47 |
import java.awt.event.ActionListener; |
|
48 |
|
|
49 |
import javax.swing.BorderFactory; |
|
50 |
import javax.swing.JCheckBox; |
|
51 |
import javax.swing.JComboBox; |
|
52 |
import javax.swing.JPanel; |
|
53 |
import javax.swing.border.EtchedBorder; |
|
54 |
import javax.swing.border.TitledBorder; |
|
55 |
|
|
56 |
import org.gvsig.andami.PluginServices; |
|
57 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
|
58 |
import org.gvsig.gui.beans.checkslidertext.CheckSliderTextContainer; |
|
59 |
import org.gvsig.gui.beans.panelGroup.panels.AbstractPanel; |
|
60 |
import org.gvsig.gui.beans.slidertext.listeners.SliderEvent; |
|
61 |
import org.gvsig.gui.beans.slidertext.listeners.SliderListener; |
|
62 |
import org.gvsig.gvsig3d.map3d.Layer3DProps; |
|
63 |
import org.gvsig.gvsig3d.map3d.MapContext3D; |
|
64 |
import org.gvsig.raster.fmap.layers.FLyrRaster; |
|
65 |
|
|
66 |
/** |
|
67 |
* @author Jesus Zarzoso- jzarzoso@ai2.upv.es |
|
68 |
* @version $Id$ |
|
69 |
* |
|
70 |
*/ |
|
71 |
public class Raster3DPanel extends AbstractPanel implements ActionListener, |
|
72 |
SliderListener { |
|
73 |
|
|
74 |
private static final long serialVersionUID = 8767956294176805437L; |
|
75 |
|
|
76 |
private FLyrRaster lyr = null; |
|
77 |
|
|
78 |
public int nBands = 3; |
|
79 |
private JCheckBox cbElevation = null; |
|
80 |
private CheckSliderTextContainer elevation = null; |
|
81 |
private JComboBox bandsCombo = null; |
|
82 |
private JPanel panelRaster3D; |
|
83 |
|
|
84 |
/** |
|
85 |
* Constructor. |
|
86 |
*/ |
|
87 |
public Raster3DPanel() { |
|
88 |
setLabel(PluginServices.getText(this, "Raster_3D_properties")); |
|
89 |
initialize(); |
|
90 |
} |
|
91 |
|
|
92 |
/** |
|
93 |
* This method initializes this |
|
94 |
* |
|
95 |
* @return void |
|
96 |
*/ |
|
97 |
protected void initialize() { |
|
98 |
|
|
99 |
setPreferredSize(new Dimension(500, 400)); |
|
100 |
|
|
101 |
panelRaster3D = new JPanel(); |
|
102 |
panelRaster3D.setLayout(new GridBagLayout()); |
|
103 |
|
|
104 |
GridBagConstraints gbc = new GridBagConstraints(); |
|
105 |
gbc.fill = GridBagConstraints.HORIZONTAL; |
|
106 |
gbc.weightx = 1.0; |
|
107 |
gbc.insets = new Insets(0, 0, 0, 0); |
|
108 |
panelRaster3D.add(getElevationPanel(), gbc); |
|
109 |
|
|
110 |
gbc.fill = GridBagConstraints.NONE; |
|
111 |
gbc.weightx = 1.0; |
|
112 |
gbc.insets = new Insets(0, 0, 0, 0); |
|
113 |
panelRaster3D.add(getNumBandSelectorCombo(), gbc); |
|
114 |
|
|
115 |
this.setLayout(new BorderLayout()); |
|
116 |
this.add(panelRaster3D, BorderLayout.NORTH); |
|
117 |
|
|
118 |
} |
|
119 |
|
|
120 |
/** |
|
121 |
* Asigna el n?mero de bandas de la imagen |
|
122 |
* |
|
123 |
* @param nBands |
|
124 |
*/ |
|
125 |
public void setBands(int nBands) { |
|
126 |
this.nBands = nBands; |
|
127 |
} |
|
128 |
|
|
129 |
/** |
|
130 |
* Inicializa controles a sus valores por defecto |
|
131 |
*/ |
|
132 |
public void initControls() { |
|
133 |
this.setActiveElevationControl(isLayerElevation()); |
|
134 |
this.getNumBandSelectorCombo().setEnabled(true); |
|
135 |
|
|
136 |
} |
|
137 |
|
|
138 |
/** |
|
139 |
* This method initializes jCheckBox |
|
140 |
* |
|
141 |
* @return javax.swing.JCheckBox |
|
142 |
*/ |
|
143 |
public JCheckBox getElevationCheck() { |
|
144 |
if (cbElevation == null) { |
|
145 |
cbElevation = new JCheckBox(); |
|
146 |
cbElevation.setText("Vertical_Exageration"); |
|
147 |
cbElevation.addActionListener(this); |
|
148 |
} |
|
149 |
|
|
150 |
return cbElevation; |
|
151 |
} |
|
152 |
|
|
153 |
/** |
|
154 |
* This method initializes TranspOpacitySliderPanel |
|
155 |
* |
|
156 |
* @return javax.swing.JPanel |
|
157 |
*/ |
|
158 |
public CheckSliderTextContainer getElevationPanel() { |
|
159 |
if (elevation == null) { |
|
160 |
elevation = new CheckSliderTextContainer(1, 100, 100, false, |
|
161 |
PluginServices.getText(this, "Vertical_Exageration"), |
|
162 |
false, false, true); |
|
163 |
elevation.setDecimal(true); |
|
164 |
elevation.setBorder(PluginServices.getText(this, "Elevation")); |
|
165 |
elevation.addValueChangedListener(this); |
|
166 |
|
|
167 |
} |
|
168 |
|
|
169 |
return elevation; |
|
170 |
} |
|
171 |
|
|
172 |
private boolean isLayerElevation() { |
|
173 |
|
|
174 |
int i = ((MapContext3D) lyr.getMapContext()).getLayer3DProps(lyr) |
|
175 |
.getType(); |
|
176 |
|
|
177 |
if (i == Layer3DProps.layer3DElevation) |
|
178 |
return true; |
|
179 |
else |
|
180 |
return false; |
|
181 |
} |
|
182 |
|
|
183 |
/** |
|
184 |
* Activa/Desactiva los controles de transparencia |
|
185 |
* |
|
186 |
* @param active |
|
187 |
*/ |
|
188 |
public void setActiveElevationControl(boolean active) { |
|
189 |
this.getElevationCheck().setSelected(active); |
|
190 |
} |
|
191 |
|
|
192 |
/** |
|
193 |
* Eventos sobre TextField y CheckBox. Controla eventos de checkbox de |
|
194 |
* opacidad, transparencia, recorte de colas y los textfield de opacidad, |
|
195 |
* valores de transparencia por banda y porcentaje de recorte. |
|
196 |
*/ |
|
197 |
public void actionPerformed(ActionEvent e) { |
|
198 |
// Evento sobre el checkbox de transparencia |
|
199 |
if (e.getSource().equals(getElevationCheck())) { |
|
200 |
// Check de opacidad activado -> Activar controles de opacidad |
|
201 |
if (getElevationCheck().isSelected()) { |
|
202 |
getNumBandSelectorCombo().setEnabled(true); |
|
203 |
|
|
204 |
} else |
|
205 |
getNumBandSelectorCombo().setEnabled(false); |
|
206 |
} |
|
207 |
} |
|
208 |
|
|
209 |
/** |
|
210 |
* Obtiene la capa si existe esta. |
|
211 |
* |
|
212 |
* @return FLayer si existe una capa o null si no existe. |
|
213 |
*/ |
|
214 |
public FLayer getLayer() { |
|
215 |
if (lyr instanceof FLayer) |
|
216 |
return (FLayer) lyr; |
|
217 |
return null; |
|
218 |
} |
|
219 |
|
|
220 |
public void setReference(Object ref) { |
|
221 |
super.setReference(ref); |
|
222 |
|
|
223 |
if (!(ref instanceof FLyrRaster)) |
|
224 |
return; |
|
225 |
|
|
226 |
this.lyr = (FLyrRaster) ref; |
|
227 |
|
|
228 |
if(!((lyr.getMapContext()) instanceof MapContext3D)){ |
|
229 |
this.setVisible(false); |
|
230 |
this.repaint(); |
|
231 |
return; |
|
232 |
|
|
233 |
} |
|
234 |
|
|
235 |
actionEnabled(); |
|
236 |
|
|
237 |
boolean enabled = isLayerElevation(); |
|
238 |
|
|
239 |
elevation.check.setSelected(enabled); |
|
240 |
elevation.getSlider().setEnabled(enabled); |
|
241 |
elevation.getTextField().setEnabled(enabled); |
|
242 |
elevation.getSlider().setValue( |
|
243 |
(int) ((MapContext3D) lyr.getMapContext()).getLayer3DProps(lyr) |
|
244 |
.getVerticalEx()-1); |
|
245 |
|
|
246 |
int numBands = lyr.getDataStore().getBandCount(); |
|
247 |
String[] list = new String[numBands]; |
|
248 |
|
|
249 |
for (int i = 1; i < numBands; i++) |
|
250 |
bandsCombo.addItem(Integer.toString(i)); |
|
251 |
|
|
252 |
bandsCombo.setSelectedIndex(getActiveBandElevation()); |
|
253 |
|
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
} |
|
258 |
|
|
259 |
private int getActiveBandElevation() { |
|
260 |
return ((MapContext3D) lyr.getMapContext()).getLayer3DProps(lyr) |
|
261 |
.getElevationBand(); |
|
262 |
|
|
263 |
} |
|
264 |
|
|
265 |
private void actionEnabled() { |
|
266 |
if (lyr == null) { |
|
267 |
setVisible(false); |
|
268 |
return; |
|
269 |
} |
|
270 |
|
|
271 |
} |
|
272 |
|
|
273 |
/* |
|
274 |
* (non-Javadoc) |
|
275 |
* |
|
276 |
* @see org.gvsig.rastertools.properties.dialog.IRegistrablePanel#accept() |
|
277 |
*/ |
|
278 |
public void accept() { |
|
279 |
|
|
280 |
if (elevation.check.isSelected() /*&& !isLayerElevation()*/) { |
|
281 |
|
|
282 |
MapContext3D mc = ((MapContext3D) getLayer().getMapContext()); |
|
283 |
Layer3DProps props = mc.getLayer3DProps(getLayer()); |
|
284 |
mc.removeLayerToTerrain(getLayer()); |
|
285 |
float value = elevation.getSlider().getValue(); |
|
286 |
props.setType(Layer3DProps.layer3DElevation); |
|
287 |
props.setVerticalEx(value+1); |
|
288 |
props.setElevationBand(Integer.parseInt((String) bandsCombo |
|
289 |
.getSelectedItem())); |
|
290 |
mc.addLayerToTerrain(getLayer(), true); |
|
291 |
} |
|
292 |
|
|
293 |
// Elevation check and layer is elevation |
|
294 |
else if (!elevation.check.isSelected() && isLayerElevation()) { |
|
295 |
|
|
296 |
MapContext3D mc = ((MapContext3D) getLayer().getMapContext()); |
|
297 |
Layer3DProps props = mc.getLayer3DProps(getLayer()); |
|
298 |
mc.removeLayerToTerrain(getLayer()); |
|
299 |
props.setType(Layer3DProps.layer3DImage); |
|
300 |
props.setElevationBand(Integer.parseInt((String) bandsCombo |
|
301 |
.getSelectedItem())); |
|
302 |
mc.addLayerToTerrain(getLayer(), true); |
|
303 |
|
|
304 |
} |
|
305 |
|
|
306 |
} |
|
307 |
|
|
308 |
/* |
|
309 |
* (non-Javadoc) |
|
310 |
* |
|
311 |
* @see org.gvsig.rastertools.properties.dialog.IRegistrablePanel#apply() |
|
312 |
*/ |
|
313 |
public void apply() { |
|
314 |
accept(); |
|
315 |
} |
|
316 |
|
|
317 |
/* |
|
318 |
* (non-Javadoc) |
|
319 |
* |
|
320 |
* @see org.gvsig.rastertools.properties.dialog.IRegistrablePanel#cancel() |
|
321 |
*/ |
|
322 |
public void cancel() { |
|
323 |
// getTransparencyListener().cancel(); |
|
324 |
} |
|
325 |
|
|
326 |
/* |
|
327 |
* (non-Javadoc) |
|
328 |
* |
|
329 |
* @see |
|
330 |
* org.gvsig.gui.beans.slidertext.listeners.SliderListener#actionValueChanged |
|
331 |
* (org.gvsig.gui.beans.slidertext.listeners.SliderEvent) |
|
332 |
*/ |
|
333 |
public void actionValueChanged(SliderEvent e) { |
|
334 |
|
|
335 |
if (e.getSource().equals(getElevationCheck())) { |
|
336 |
|
|
337 |
if (getElevationCheck().isSelected()) { |
|
338 |
getNumBandSelectorCombo().setEnabled(true); |
|
339 |
|
|
340 |
} else |
|
341 |
getNumBandSelectorCombo().setEnabled(false); |
|
342 |
|
|
343 |
} |
|
344 |
|
|
345 |
} |
|
346 |
|
|
347 |
public void actionValueDragged(SliderEvent e) { |
|
348 |
} |
|
349 |
|
|
350 |
public void selected() { |
|
351 |
} |
|
352 |
|
|
353 |
public JComboBox getNumBandSelectorCombo() { |
|
354 |
if (bandsCombo == null) { |
|
355 |
|
|
356 |
String[] list = { "0" }; |
|
357 |
|
|
358 |
bandsCombo = new JComboBox(list); |
|
359 |
bandsCombo.setSelectedIndex(0); |
|
360 |
bandsCombo.setPreferredSize(new java.awt.Dimension(70, 60)); |
|
361 |
bandsCombo.setBorder(BorderFactory.createTitledBorder( |
|
362 |
BorderFactory.createEtchedBorder(EtchedBorder.LOWERED), |
|
363 |
PluginServices.getText(this, "Banda_elevacion"), |
|
364 |
TitledBorder.DEFAULT_JUSTIFICATION, |
|
365 |
TitledBorder.DEFAULT_POSITION, null, null)); |
|
366 |
} |
|
367 |
|
|
368 |
return bandsCombo; |
|
369 |
} |
|
370 |
|
|
371 |
} |
2.1/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.commons/src/main/java/org/gvsig/gvsig3d/app/gui/panels/ExtrusionLegendPanel.java | ||
---|---|---|
1 |
/* gvSIG 3D extension for gvSIG |
|
2 |
* |
|
3 |
* Copyright (C) 2012 Prodevelop. |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
18 |
* |
|
19 |
* For more information, contact: |
|
20 |
* |
|
21 |
* Prodevelop, S.L. |
|
22 |
* Pza. Don Juan de Villarrasa, 14 - 5 |
|
23 |
* 46001 Valencia |
|
24 |
* Spain |
|
25 |
* |
|
26 |
* +34 963 510 612 |
|
27 |
* +34 963 510 968 |
|
28 |
* prode@prodevelop.es |
|
29 |
* http://www.prodevelop.es |
|
30 |
*/ |
|
31 |
/* |
|
32 |
* AUTHORS: |
|
33 |
* 2012 AI2 - Instituto Universitario de Automatica e Informatica Industrial. |
|
34 |
* Universitat Politecnica de Valencia (UPV) |
|
35 |
* http://www.ai2.upv.es |
|
36 |
*/ |
|
37 |
|
|
38 |
|
|
39 |
package org.gvsig.gvsig3d.app.gui.panels; |
|
40 |
|
|
41 |
import java.awt.BorderLayout; |
|
42 |
import java.awt.Color; |
|
43 |
import java.awt.Component; |
|
44 |
import java.awt.Dimension; |
|
45 |
import java.awt.FlowLayout; |
|
46 |
import java.awt.event.ActionEvent; |
|
47 |
import java.awt.event.ActionListener; |
|
48 |
import java.awt.event.ItemEvent; |
|
49 |
import java.awt.event.ItemListener; |
|
50 |
import java.awt.event.KeyEvent; |
|
51 |
import java.awt.event.KeyListener; |
|
52 |
import java.util.ArrayList; |
|
53 |
import java.util.Iterator; |
|
54 |
import java.util.Random; |
|
55 |
|
|
56 |
import javax.swing.DefaultComboBoxModel; |
|
57 |
import javax.swing.ImageIcon; |
|
58 |
import javax.swing.JButton; |
|
59 |
import javax.swing.JCheckBox; |
|
60 |
import javax.swing.JComboBox; |
|
61 |
import javax.swing.JLabel; |
|
62 |
import javax.swing.JOptionPane; |
|
63 |
import javax.swing.JPanel; |
|
64 |
import javax.swing.JTextField; |
|
65 |
|
|
66 |
import org.gvsig.andami.PluginServices; |
|
67 |
import org.gvsig.andami.messages.NotificationManager; |
|
68 |
import org.gvsig.andami.ui.mdiManager.IWindow; |
|
69 |
import org.gvsig.app.ApplicationLocator; |
|
70 |
import org.gvsig.app.ApplicationManager; |
|
71 |
import org.gvsig.app.gui.styling.JComboBoxColorScheme; |
|
72 |
import org.gvsig.app.gui.styling.SymbolLevelsWindow; |
|
73 |
import org.gvsig.app.project.documents.view.ViewDocument; |
|
74 |
import org.gvsig.app.project.documents.view.legend.gui.ILegendPanel; |
|
75 |
import org.gvsig.app.project.documents.view.legend.gui.JSymbolPreviewButton; |
|
76 |
import org.gvsig.app.project.documents.view.legend.gui.SymbolTable; |
|
77 |
import org.gvsig.fmap.dal.DataTypes; |
|
78 |
import org.gvsig.fmap.dal.exception.DataException; |
|
79 |
import org.gvsig.fmap.dal.exception.ReadException; |
|
80 |
import org.gvsig.fmap.dal.feature.Feature; |
|
81 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
|
82 |
import org.gvsig.fmap.dal.feature.FeatureSet; |
|
83 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
84 |
import org.gvsig.fmap.mapcontext.MapContextLocator; |
|
85 |
import org.gvsig.fmap.mapcontext.MapContextManager; |
|
86 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
|
87 |
import org.gvsig.fmap.mapcontext.layers.operations.ClassifiableVectorial; |
|
88 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
|
89 |
import org.gvsig.fmap.mapcontext.rendering.legend.ILegend; |
|
90 |
import org.gvsig.fmap.mapcontext.rendering.legend.IVectorialUniqueValueLegend; |
|
91 |
import org.gvsig.fmap.mapcontext.rendering.legend.ZSort; |
|
92 |
import org.gvsig.fmap.mapcontext.rendering.legend.events.LegendContentsChangedListener; |
|
93 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
|
94 |
import org.gvsig.gui.beans.swing.GridBagLayoutPanel; |
|
95 |
import org.gvsig.gvsig3d.app.extension.DefaultView3DPanel; |
|
96 |
import org.gvsig.gvsig3d.app.extrusion.SymbolTableExtrusion; |
|
97 |
import org.gvsig.gvsig3d.impl.legend3d.ExtrusionLegend; |
|
98 |
import org.gvsig.gvsig3d.impl.symbology3d.extrusion.impl.BaseExtrusionSymbol; |
|
99 |
import org.gvsig.gvsig3d.impl.symbology3d.extrusion.impl.ExtrusionPolygonSymbol; |
|
100 |
import org.gvsig.gvsig3d.map3d.Layer3DProps; |
|
101 |
import org.gvsig.gvsig3d.map3d.MapContext3D; |
|
102 |
import org.gvsig.osgvp.terrain.Terrain; |
|
103 |
import org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractClassifiedVectorLegend; |
|
104 |
import org.gvsig.tools.dispose.DisposableIterator; |
|
105 |
|
|
106 |
/** |
|
107 |
* @author Jesus Zarzoso- jzarzoso@ai2.upv.es |
|
108 |
* @version $Id$ |
|
109 |
* |
|
110 |
*/ |
|
111 |
public class ExtrusionLegendPanel extends JPanel implements ILegendPanel, |
|
112 |
ItemListener, ActionListener, KeyListener { |
|
113 |
/** |
|
114 |
* |
|
115 |
*/ |
|
116 |
private static final long serialVersionUID = 6470946030927461473L; |
|
117 |
|
|
118 |
private ExtrusionLegend theLegend; |
|
119 |
private ClassifiableVectorial layer; |
|
120 |
private SymbolTableExtrusion symbolTable; |
|
121 |
private JComboBox cmbFields; |
|
122 |
private JButton btnRemoveAll; |
|
123 |
private JButton btnRemove; |
|
124 |
private JCheckBox chbUseDefault = null; |
|
125 |
private ExtrusionLegend auxLegend; |
|
126 |
private JPanel pnlCenter; |
|
127 |
private ZSort zSort; |
|
128 |
private JButton btnOpenSymbolLevelsEditor; |
|
129 |
private JTextField jtvariable; |
|
130 |
private JComboBoxColorScheme cmbColorScheme; |
|
131 |
private double extrusionValue = 1.0; |
|
132 |
private JTextField jtfija; |
|
133 |
private JCheckBox fixedOption; |
|
134 |
private double extrusionFixedValue = 1; |
|
135 |
private JSymbolPreviewButton defaultSymbolPrev; |
|
136 |
private GridBagLayoutPanel defaultSymbolPanel = new GridBagLayoutPanel(); |
|
137 |
|
|
138 |
private ApplicationManager application = ApplicationLocator.getManager(); |
|
139 |
private MapContextManager mapContextManager = MapContextLocator |
|
140 |
.getMapContextManager(); |
|
141 |
|
|
142 |
private int coordType; |
|
143 |
|
|
144 |
// private Value aux; |
|
145 |
|
|
146 |
/** |
|
147 |
* |
|
148 |
*/ |
|
149 |
public ExtrusionLegendPanel() { |
|
150 |
super(); |
|
151 |
initialize(); |
|
152 |
} |
|
153 |
|
|
154 |
/** |
|
155 |
* DOCUMENT ME! |
|
156 |
*/ |
|
157 |
protected void initialize() { |
|
158 |
|
|
159 |
JPanel pnlButtons = new JPanel(); |
|
160 |
|
|
161 |
JButton btnAddAll = new JButton(PluginServices.getText(this, |
|
162 |
"Anadir_todos")); |
|
163 |
btnAddAll.setActionCommand("ADD_ALL_VALUES"); |
|
164 |
btnAddAll.addActionListener(this); |
|
165 |
pnlButtons.add(btnAddAll); |
|
166 |
|
|
167 |
JButton btnAdd = new JButton(PluginServices.getText(this, "Anadir")); |
|
168 |
btnAdd.setActionCommand("ADD_VALUE"); |
|
169 |
btnAdd.addActionListener(this); |
|
170 |
pnlButtons.add(btnAdd); |
|
171 |
|
|
172 |
btnRemoveAll = new JButton(PluginServices.getText(this, "Quitar_todos")); |
|
173 |
btnRemoveAll.setActionCommand("REMOVE_ALL"); |
|
174 |
btnRemoveAll.addActionListener(this); |
|
175 |
pnlButtons.add(btnRemoveAll); |
|
176 |
|
|
177 |
btnRemove = new JButton(PluginServices.getText(this, "Quitar")); |
|
178 |
btnRemove.setActionCommand("REMOVE"); |
|
179 |
btnRemove.addActionListener(this); |
|
180 |
pnlButtons.add(btnRemove); |
|
181 |
|
|
182 |
pnlCenter = new JPanel(); |
|
183 |
pnlCenter.setLayout(new BorderLayout()); |
|
184 |
|
|
185 |
cmbFields = new JComboBox(); |
|
186 |
cmbFields.setActionCommand("FIELD_SELECTED"); |
|
187 |
cmbFields.addActionListener(this); |
|
188 |
cmbFields.setVisible(true); |
|
189 |
|
|
190 |
JPanel pnlNorth = new JPanel(new FlowLayout(FlowLayout.LEFT, 20, 0)); |
|
191 |
JPanel pAux1 = new JPanel(); |
|
192 |
|
|
193 |
JLabel lblFieldClassification = new JLabel(PluginServices.getText(this, |
|
194 |
"Campo_de_clasificacion")); |
|
195 |
pAux1.add(lblFieldClassification); |
|
196 |
pAux1.add(cmbFields); |
|
197 |
pAux1.add(getChbUseDefault(), null); |
|
198 |
pnlNorth.add(pAux1); |
|
199 |
|
|
200 |
pAux1 = new JPanel(); |
|
201 |
pAux1.add(new JLabel(PluginServices.getText(this, "Nivel_de_extrusion") |
|
202 |
+ ":")); |
|
203 |
jtvariable = new JTextField(PluginServices.getText(this, "" |
|
204 |
+ this.extrusionValue), 3); |
|
205 |
jtvariable.setColumns(3); |
|
206 |
jtvariable.setHorizontalAlignment(JTextField.RIGHT); |
|
207 |
jtvariable.setToolTipText(PluginServices.getText(this, "Valor_inicial") |
|
208 |
+ " * " + PluginServices.getText(this, "Nivel_de_extrusion")); |
|
209 |
jtvariable.addKeyListener(this); |
|
210 |
pAux1.add(jtvariable); |
|
211 |
|
|
212 |
pnlNorth.add(pAux1); |
|
213 |
|
|
214 |
pAux1 = new JPanel(); |
|
215 |
fixedOption = new JCheckBox(PluginServices.getText(this, "Altura_fija") |
|
216 |
+ ":", false); |
|
217 |
fixedOption.setHorizontalAlignment(JTextField.RIGHT); |
|
218 |
fixedOption.setEnabled(true); |
|
219 |
fixedOption.setSelected(false); |
|
220 |
pAux1.add(fixedOption); |
|
221 |
|
|
222 |
jtfija = new JTextField(PluginServices.getText(this, "1"), 3); |
|
223 |
jtfija.setColumns(10); |
|
224 |
jtfija.setHorizontalAlignment(JTextField.RIGHT); |
|
225 |
jtfija.addKeyListener(this); |
|
226 |
jtfija.setToolTipText(PluginServices.getText(this, "Valor_inicial") |
|
227 |
+ " = " + PluginServices.getText(this, "Altura_fija")); |
|
228 |
jtfija.setEnabled(false); |
|
229 |
pAux1.add(jtfija); |
|
230 |
|
|
231 |
pnlNorth.add(pAux1); |
|
232 |
|
|
233 |
pAux1 = new JPanel(); |
Also available in: Unified diff