Revision 24305
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/build.number | ||
---|---|---|
1 |
#Build Number for ANT. Do not edit! |
|
2 |
#Mon Feb 12 15:26:58 CET 2007 |
|
3 |
build.number=3 |
|
0 | 4 |
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/install/install.tar.gz | ||
---|---|---|
1 |
???E ZaZzma.tar ?=?v???k??w@i??6'"E?S?b?????????&! 6E? ???H?k?>??? ?D}?? |
|
2 |
?&????`03?????(??g}? K?F??????????J?^[[?nl?U??64???d*- ?_??e??_??j?7-\??I?@????o???J)3?????z?V/??9J???pX??4a??_??????RY?(??9??DL??aR?k????C?yi???????&??^??7*0?kU??)??/|??=??:W?K?lG? ??1bv??`?A??x?h%1%?H??4??mk???CQ/???=?????_???Z????(s?? ?{$ |
|
3 |
?W+??yi,b?????????e?????yi,d????,???/?,l?A??????G)???.????????????????????"?_/??g)???ea???'\?'??j??????_vY????7/?????{?R???]k??!s??C??????1??????K??????vH}?@?L????;?y.Y??B?cD? |
|
4 |
?ghXZ???????N???????l??=?? |
|
5 |
?+?y?e?#x??'??]??X'6??BD?Z@gJ???$?oR???s?:?c>??P]???K*J?T?p?`N?;??iuO?8?????0k^?????,?`?6+ ?#??mfDc?0~T????f??????n~l?$??F?e?D]A??????M??Fw%??h???[8?Rg,?4?Q?T)\/2?V??M???k?r(?K3?=???????)?_[??? |
|
6 |
???"?{??????2???d????????U?|`V?Y?T<aV |
|
7 |
{?l??/?m??<`??????V?n@?W???b??Y????I:?%v"&?{???7?F?g?vV?*6?I?ai?????A!9I?@????`????wMGD?Kcj?G??k??/?5%?=?aMA?B??3~1?1??????M?-I???W~??Q??|????e?6??L-?f???ejA?X?????!U?6 |
|
8 |
??,?[??????J??v?Ex?4?\WQ? |
|
9 |
????=???pw?~??cl"????J?q???|?Z?4?!zj??????r?x?Pa(?]!?GJ_7]??? |
|
10 |
c??????s??n|l??^???????Ju??????T??S???.?????a???N 3:??\?VI? 3c?}?Db?J?4???P??lMk$@?????????g?z<?1yO!?w8??Iv?b????]??;??(?'?N??\r???{;??I'??9~ ?_?Cev?Q(???????l??x`C?????q?iY777z??3?U?\hE(t!CI?m[? |
|
11 |
??d?n?C?:?1???;?z2lx??r??}?p\??we<?????o w |
|
12 |
5`H?;?I??? ?%???,?0?}S.?????c!?{(???.H??????E?qp9#???\?<?a???cD!5?i |
|
13 |
??????l@v&O???|h???s?f?tiNO?%?{v8???t:?]/gx?$?0??=/C:??]4??g?@Loo6w??5?;?????"?;???jF? |
|
14 |
??\???V???? ????D??? O??-??r<??#v?[Y????????????????C?1?;????&g?-=K=?e?U??????Ar?M?!6??a2?WC?[?o??+,????X???{?n?f?M?2B????duv!?t,????_?8wY??-Fv??y?06??I?~Z"?????AH6=!\f?MY????G???1s? ??s???w????l???sG?{??eN1GG |
|
15 |
?A????p?o?1???(Rk?????a(?f? Q?75??? ??t?rIk?s????~?>?zC@}H???r?!????????i??#?ysq??O?|?b?bpGC?????*N??B?L??g T? ???!:??????K1?8d?? ?% a?U??@0)^C?5fCl?H31*?#~??8F?qm[Yv%???s??o??P |
|
16 |
?????ulJ? -? wA?C?Ul |
|
17 |
???'c??????jR?jR????]K?&??\z?!?????1??Y???H3??n??7s?c1?!<???H??/?K?~??2w ???/cZ????????????~0?]??x/h??N?u?BzLJ? |
|
18 |
Ep??Zp/?.t?<?#??:??D?)?]?????[`??;q#?qgC?n???O?G???9?5~9?????Y???&<??9?>gh#?T??????????2'?GQ?+>???D9??]?;Q?a?m??????^"???2?|?D??h"??g^???80??.?T?b??:.0??Ly |
|
19 |
????'????pq??*3?n????????????=G??g??G9?? |
|
20 |
??????>K?s??R?}????k????QY?+x???U????(???C/???%?o?????19 ??F?O??%???!)?n??@;??A???j( |
|
21 |
??c?^????dK/?#?????J????f????2??%r?? ????0-????@???Y^W??E?I??@wl??.????H?? |
|
22 |
"???>?c?????????}???D?Z????g~??)?~y????"?MB~?????J??K3* |?/???A???_p?C???O)??jG*S&??D?U???BP+Q0??C?I?-??O??a?duy??`+????/?D???#-?F(*? c??.?>h???????V?9?%???????P+0/???-??i????nmM?e?5???V?-???[F[?om??2??e?5????;F[Ow?HY??qe?????@????#? hDj??(?6bJW^??? ?~??O????Sr?O~n????=?f???? |???z???ri$????n?.??2??G??@???%OJ???|?????&q?D??5M"5?>?x?v?N?C???C??G???1?)? |
|
23 |
X????dc'^??p??Cl?D????o??????n?l??(p?`,#-?3)y???>@6~A?6?????`?????.?? ar???q8?X?-????[?Lz??g? |
|
24 |
v?O???(??3S&(??????G8??"?^\l?)???f v7??K?P?????uY?6??j?SK??^p?????&???$J?J?@mz?N?i????nrL? v?j;?P?b-?????,?!?)?z?[??H?G? ?}?V???w4?)???]???'??p??1????/9t??OBi??Ej??~??a?wOD ?t?"jR?[U?Tq?0?T?s}?d?T??.?M[??!?=???EA?%~X??+?5J??????6}????t??0?Jg??? |
|
25 |
?]e!f?c`$?d??R???q?vIi? &?Z??[????[tNK?07?<?T??^u?k ??o ?NJNF)??P?D ???y ?*?k???*?f??`hp? ?W???D????l?jY???Bl?$? Yu??T/???|t??Cxh??~'?0?G?[J?`?;G?$!2?N}?N?D???O??/]@?2????@?1?q?????O? |
|
26 |
?g^.]?s??5J?_?????1n*om?? |
|
27 |
F??a?????@|X?l? |
|
28 |
??????sSF???@X~? |
|
29 |
??>1??0!O?C?zJ,??~t???z? z?i??*???????61??:?c-?e???EX?eo-???Wm?eq????se??q??97r?U,?v=???PfQm?z???h???Y???*??`k:7?Yl??b?+???J>?\t????e"??v?u?(??V??? ?WFP???k(]/?k?t?&b???e???f??F?k?G^jA?ov?e?9??k#??????Nga???&r?:?|??Z?<d???|??????|~2?r??@???xj??c?"Hi??? jFh???!p?E?2v???$)*?PqO???PbZ???`O??I `????_?H4w????????/<'?V??z?R???????~?K??xV<}?SF??H}=???????x?C?_a ??R????e????c?2^?F?x#?)??rM?????F>??ad?b?2???X?D????\?.^?}&?r?Wb?+????X?J?_? |
|
30 |
??s??????b?F?1??t?zg???3?6?Z????M^vS???s??I(?n?O?????9?|g??DVi?A??p?T???CS#K??R??(????3?/?]?E??uV????j?^????6j? |
|
31 |
???W+???,E???z??2?,??77q?w??kyn?S????iL?:3+E,&e??/`?g???.k??xw?W??r?8zK~?.Y?????V?~??>??G?x?,q?s???4)??@j^???;?%;??????-<??K?4[??V?M????1?x?O?f???1??A???H??e???(???T????h>?%??$??R?}?0?H?#??<Z????? ?.Cka?:??)???i?k? ?????:?A?8??Jr?!F7? ???g??2?%=?U???d?v?cb?-B $???????S~-?[P2?M???& ??6??-??5[????_???R?????PW? |
|
32 |
xg????S?oZ??FYMK!=???d?9?0q????.??? s_?SL!p??N??????% |
|
33 |
4[m?X+??????Q???=?p?h!@???_k&?y??>"??BC???JF??}U"?$y???????wo???_Qeeq?p?5????e??#*3_f????69??7>???[?y?C?j??G;?t_6~??x??5v'??)A??????([Y??`????2??Z77?K???O??!?>??{_R8?? ??? ???!aXS??R0?1?O?Ga??e4??6???`Z?`?<?{?H???,Qi??????L????c+b?@?" ?2??9?:?|??~? ?=j??DK???Y???)?v??}z|??m????????????^?,???C?$}??b??A-????`??LN???!????b???a??As |
|
34 |
b??Di??????IR?R? |
|
35 |
}r9$S?)JN8??mL????d?!??)??fc?? ???lX&Gx???2?Q?????? ?8???}?K???}::&?2[V |
|
36 |
K?x?c???????p?@?E???>?n???? ?2???R?S?x??T?4M0?rf?<2' |
|
37 |
[YL?y???k??i??+???H?~x@?<?J |
|
38 |
???S?6?3??????I?????^?+}?zG?$"???,`?g?????C?+?:?ujfF???ry??aK]?)???Y???bZ???jH?`5??|<?vMq^?????? ~I???X"?????m??GO??n?/??!@??o?fC ?"Ql?QgK?l?N?>?c/?? E??N???(??<?:?x?;?0?e ?Ht??!????-8~?Q |
|
39 |
??r?O?1?G????L?(??_D?-?}?????R?????P??*t?k*?K??:?_5NlM?k=???1??'??'?<?P?\V|?1?[h??????=9??Z????e?QT??????o?w??8??^?>|,|bHI??o7??Il(i&^??5?p??,v?K??????????????e???x??R?R??@???????T??7?????Ed?E?v?d?I?????%W???\???2?]?7KVe-???;????j??e? |
|
40 |
^?CO????B?K???ubj$40?z:y??\??qr:?^2?xL?C??NF??K???&,?-6|?SYl?? EclQX???S??u????:?S>H??pSWg??Zf??zYv?PQ??9?\?\?????????/;u???)?9ac?hL?.????w?w?&?]????mmT???8?h?E?%??s?n@?????n?y?-`?h????;??`/??B??C?k9???}ACs?>?????G?@?=mJ?i*?i???j???3??K? |
|
41 |
?8B%v7?bgQD??? |
|
42 |
??}?[*??c?z??? |
|
43 |
f??? |
|
44 |
n?3? |
|
45 |
%?RgL???3e????~M????\?x}?[?/b?X?\3L?????S??,)??$c?L?M?=.y1?e$???*&[Fsd?E?@?zO?????Vv?D??0?3?Z?P?`"??Y?^0?g?7=g&?z???????[|???F?^???;??-Q_z??`?F?/# ?$??u???=??D??Si??? |
|
46 |
Hjq?7??E;?i???7GzO???E???P2O*AqH??!?=QV???o?L??t}?'? |
|
47 |
?\?f??T??}?1???-y?(?5l?L?r$&s?H?mM???bm?$?_?? |
|
48 |
?p? p?t>Eh3 |
|
49 |
we 3*??s'I?,W?R |
|
50 |
sE?U?@qZ???4~2c?vU?"??M.o??F?Z?|??`WW}Y?G?????? i??c'c\?'M??5b#??^?(&???"? |
|
51 |
??D???nc:X?$???g[#? |
|
52 |
?k????S?@)?]??Q??kK&m??!B??h?c\#???7R??Ea???j3E$W/?L??P??jCY?-J?V?2@,j?0K&?????*J?????H????jk????+???9?????TB???????z1??n??-)}?ls??v?L????GSi6??ae?????>?0?bH???Vd!????{??E????D?s?m? |
|
53 |
??s??"M??8???y??Q??=??c??;T ????7?n? |
|
54 |
??HX???X??U?m?L4?(?!?????Y[$O??l???'???'???R?;?P??vL?????#?y?_?i?D?p?6|w??a?@?&???:???E??9W???co??????[?????P???^??.DC??[ |
|
55 |
?C?&?5??SSU:1??z?>?o-?&yZ?? |
|
56 |
n???qP |
|
57 |
??r?w~T???;?B}?0?-??P? |
|
58 |
??@?a}???>'?2??p??U??-t#???`????M+v9?Zr????gO>??(??????uO????W????,e)KY?R????,e)KY?N?T?? ? |
|
0 | 59 |
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/install/install.txt | ||
---|---|---|
1 |
Notas sobre la generaci?n del instalable: |
|
2 |
------------------------------------------------------------------- |
|
3 |
|
|
4 |
Dejo aqu? las modificaciones que habr?a que hacer sobre le proyecto 'install' de |
|
5 |
gvSIG que hice para generar los instalables de la extensi?n del Piloto de Raster y |
|
6 |
Proyecciones, a modo de copia de seguridad. |
|
7 |
|
|
8 |
Para reconstruirlo, descomprimir el tar sobre el workspace en el que ya se halla hecho un |
|
9 |
'checkout' del install y tenga un andami con la aplicaci?n rodando con las extensiones. |
|
10 |
|
|
11 |
Los fichero de las librer?as binarias espera que est?n el el directorio /binaries/w32 y /binaries/linux del propio workspace. |
|
0 | 12 |
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/src/org/gvsig/rasterTools/raw/RawDriver.java | ||
---|---|---|
1 |
package org.gvsig.rasterTools.raw; |
|
2 |
|
|
3 |
import java.awt.geom.Rectangle2D; |
|
4 |
import java.io.File; |
|
5 |
import java.io.IOException; |
|
6 |
|
|
7 |
import org.cresques.cts.IProjection; |
|
8 |
import org.cresques.io.GeoRasterFile; |
|
9 |
import org.cresques.px.PxRaster; |
|
10 |
import org.gvsig.rasterTools.raw.ui.main.OpenRawFileDefaultView; |
|
11 |
|
|
12 |
import com.iver.cit.gvsig.fmap.drivers.raster.CmsRasterDriver; |
|
13 |
|
|
14 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
15 |
* |
|
16 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
17 |
* |
|
18 |
* This program is free software; you can redistribute it and/or |
|
19 |
* modify it under the terms of the GNU General Public License |
|
20 |
* as published by the Free Software Foundation; either version 2 |
|
21 |
* of the License, or (at your option) any later version. |
|
22 |
* |
|
23 |
* This program is distributed in the hope that it will be useful, |
|
24 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
25 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
26 |
* GNU General Public License for more details. |
|
27 |
* |
|
28 |
* You should have received a copy of the GNU General Public License |
|
29 |
* along with this program; if not, write to the Free Software |
|
30 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
31 |
* |
|
32 |
* For more information, contact: |
|
33 |
* |
|
34 |
* Generalitat Valenciana |
|
35 |
* Conselleria d'Infraestructures i Transport |
|
36 |
* Av. Blasco Ib??ez, 50 |
|
37 |
* 46010 VALENCIA |
|
38 |
* SPAIN |
|
39 |
* |
|
40 |
* +34 963862235 |
|
41 |
* gvsig@gva.es |
|
42 |
* www.gvsig.gva.es |
|
43 |
* |
|
44 |
* or |
|
45 |
* |
|
46 |
* IVER T.I. S.A |
|
47 |
* Salamanca 50 |
|
48 |
* 46005 Valencia |
|
49 |
* Spain |
|
50 |
* |
|
51 |
* +34 963163400 |
|
52 |
* dac@iver.es |
|
53 |
*/ |
|
54 |
/* CVS MESSAGES: |
|
55 |
* |
|
56 |
* $Id$ |
|
57 |
* $Log$ |
|
58 |
* Revision 1.1 2006-11-28 11:49:25 nacho |
|
59 |
* *** empty log message *** |
|
60 |
* |
|
61 |
* Revision 1.1 2006/10/10 16:11:23 nacho |
|
62 |
* *** empty log message *** |
|
63 |
* |
|
64 |
* Revision 1.2 2006/08/01 12:56:00 jorpiell |
|
65 |
* Se abre el cuadro de di?logo en el momento de abrir el fichero |
|
66 |
* |
|
67 |
* Revision 1.1 2006/08/01 11:19:45 jorpiell |
|
68 |
* Eliminada la extensi?n y a?adido el driver |
|
69 |
* |
|
70 |
* |
|
71 |
*/ |
|
72 |
/** |
|
73 |
* This driver loads a Raw file from a file. It opens a |
|
74 |
* properties window to set some params to create a VRT |
|
75 |
* file and then uses it to load the raw file in the |
|
76 |
* gvSIG current view |
|
77 |
* |
|
78 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
79 |
*/ |
|
80 |
public class RawDriver extends CmsRasterDriver { |
|
81 |
|
|
82 |
/* (non-Javadoc) |
|
83 |
* @see com.hardcode.driverManager.Driver#getName() |
|
84 |
*/ |
|
85 |
public String getName() { |
|
86 |
return "gvSIG Raw Image Driver"; |
|
87 |
} |
|
88 |
|
|
89 |
/* (non-Javadoc) |
|
90 |
* @see com.iver.cit.gvsig.fmap.drivers.RasterDriver#fileAccepted(java.io.File) |
|
91 |
*/ |
|
92 |
public boolean fileAccepted(File file) { |
|
93 |
if (file.getName().toUpperCase().endsWith("RAW")){ |
|
94 |
return true; |
|
95 |
} |
|
96 |
return false; |
|
97 |
} |
|
98 |
|
|
99 |
/* |
|
100 |
* (non-Javadoc) |
|
101 |
* @see com.iver.cit.gvsig.fmap.drivers.raster.CmsRasterDriver#getTransformedFile(java.io.File) |
|
102 |
*/ |
|
103 |
public File getTransformedFile(File file){ |
|
104 |
OpenRawFileDefaultView view = new OpenRawFileDefaultView(file.getAbsolutePath()); |
|
105 |
return view.getImageFile(); |
|
106 |
} |
|
107 |
|
|
108 |
} |
|
0 | 109 |
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/src/org/gvsig/rasterTools/raw/ui/main/GeometryPropertiesRigthPanel.java | ||
---|---|---|
1 |
package org.gvsig.rasterTools.raw.ui.main; |
|
2 |
|
|
3 |
import java.awt.Dimension; |
|
4 |
import java.awt.FlowLayout; |
|
5 |
import java.awt.GridBagConstraints; |
|
6 |
import java.awt.GridBagLayout; |
|
7 |
|
|
8 |
import javax.swing.JLabel; |
|
9 |
import javax.swing.JPanel; |
|
10 |
import javax.swing.JTextField; |
|
11 |
|
|
12 |
import org.gvsig.rasterTools.raw.tools.VRTFormatOptions; |
|
13 |
|
|
14 |
import com.iver.andami.PluginServices; |
|
15 |
import com.iver.utiles.swing.JComboBox; |
|
16 |
|
|
17 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
18 |
* |
|
19 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
20 |
* |
|
21 |
* This program is free software; you can redistribute it and/or |
|
22 |
* modify it under the terms of the GNU General Public License |
|
23 |
* as published by the Free Software Foundation; either version 2 |
|
24 |
* of the License, or (at your option) any later version. |
|
25 |
* |
|
26 |
* This program is distributed in the hope that it will be useful, |
|
27 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
28 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
29 |
* GNU General Public License for more details. |
|
30 |
* |
|
31 |
* You should have received a copy of the GNU General Public License |
|
32 |
* along with this program; if not, write to the Free Software |
|
33 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
34 |
* |
|
35 |
* For more information, contact: |
|
36 |
* |
|
37 |
* Generalitat Valenciana |
|
38 |
* Conselleria d'Infraestructures i Transport |
|
39 |
* Av. Blasco Ib??ez, 50 |
|
40 |
* 46010 VALENCIA |
|
41 |
* SPAIN |
|
42 |
* |
|
43 |
* +34 963862235 |
|
44 |
* gvsig@gva.es |
|
45 |
* www.gvsig.gva.es |
|
46 |
* |
|
47 |
* or |
|
48 |
* |
|
49 |
* IVER T.I. S.A |
|
50 |
* Salamanca 50 |
|
51 |
* 46005 Valencia |
|
52 |
* Spain |
|
53 |
* |
|
54 |
* +34 963163400 |
|
55 |
* dac@iver.es |
|
56 |
*/ |
|
57 |
/* CVS MESSAGES: |
|
58 |
* |
|
59 |
* $Id$ |
|
60 |
* $Log$ |
|
61 |
* Revision 1.1 2006-11-28 11:49:24 nacho |
|
62 |
* *** empty log message *** |
|
63 |
* |
|
64 |
* Revision 1.1 2006/10/10 16:11:22 nacho |
|
65 |
* *** empty log message *** |
|
66 |
* |
|
67 |
* Revision 1.3 2006/08/01 11:19:04 jorpiell |
|
68 |
* Ajustado el tama?o de las ventanas |
|
69 |
* |
|
70 |
* Revision 1.2 2006/07/31 10:44:28 jorpiell |
|
71 |
* Se ha a?adido el tama?o del fichero con un thread. |
|
72 |
* |
|
73 |
* Revision 1.1 2006/07/28 12:51:40 jorpiell |
|
74 |
* Primer commit de las clases empleadas para abrir raw |
|
75 |
* |
|
76 |
* |
|
77 |
*/ |
|
78 |
/** |
|
79 |
* This panel contains the rigth panel of the "Set Geometry" |
|
80 |
* panel. It is the imput to write the file size in bytes, |
|
81 |
* the data type, the byte order and the type of |
|
82 |
* interleaving. |
|
83 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
84 |
*/ |
|
85 |
public class GeometryPropertiesRigthPanel extends JPanel{ |
|
86 |
private JPanel byteOrderLabelPanel = null; |
|
87 |
private JPanel interleavingLabelPanel = null; |
|
88 |
private JPanel dataTypeLabelPanel = null; |
|
89 |
private JLabel dataTypeLabel = null; |
|
90 |
private JPanel labelsPanel = null; |
|
91 |
private JPanel fieldsPanel = null; |
|
92 |
private JPanel fileSizeTextPanel = null; |
|
93 |
private JPanel dataTypeTextPanel = null; |
|
94 |
private JPanel fileSizeLabelPanel = null; |
|
95 |
private JLabel fileSizeLabel = null; |
|
96 |
private JLabel byteOrderLabel = null; |
|
97 |
private JPanel byteOrderTextPanel = null; |
|
98 |
private JPanel interleavingTextPanel = null; |
|
99 |
private JTextField fileSizeText = null; |
|
100 |
private JLabel interleavingLabel = null; |
|
101 |
private JComboBox dataTypeText = null; |
|
102 |
private JComboBox byteOrderText = null; |
|
103 |
private JComboBox interleavingText = null; |
|
104 |
|
|
105 |
private final int WIDTH = 245; |
|
106 |
private final int HEIGHT = 110; |
|
107 |
private final int LABELS_PANEL_WIDTH = 120; |
|
108 |
private final int TEXTS_PANEL_WIDTH = 125; |
|
109 |
private final int LABELS_WIDTH = 120; |
|
110 |
private final int LABELS_HEIGHT = 19; |
|
111 |
private final int TEXTS_WIDTH = 120; |
|
112 |
private final int TEXTS_HEIGHT = 19; |
|
113 |
|
|
114 |
/** |
|
115 |
* This is the default constructor |
|
116 |
*/ |
|
117 |
public GeometryPropertiesRigthPanel() { |
|
118 |
super(); |
|
119 |
initialize(); |
|
120 |
} |
|
121 |
|
|
122 |
/** |
|
123 |
* This method initializes this |
|
124 |
* |
|
125 |
* @return void |
|
126 |
*/ |
|
127 |
private void initialize() { |
|
128 |
|
|
129 |
this.setLayout(new GridBagLayout()); |
|
130 |
this.setPreferredSize(new java.awt.Dimension(WIDTH,HEIGHT)); |
|
131 |
this.add(getLabelsPanel(), new GridBagConstraints()); |
|
132 |
this.add(getFieldsPanel(), new GridBagConstraints()); |
|
133 |
} |
|
134 |
|
|
135 |
/** |
|
136 |
* This method initializes pX |
|
137 |
* |
|
138 |
* @return javax.swing.JPanel |
|
139 |
*/ |
|
140 |
private JPanel getByteOrderLabelPanel() { |
|
141 |
if (byteOrderLabelPanel == null) { |
|
142 |
byteOrderLabel = new JLabel(); |
|
143 |
byteOrderLabel.setText(PluginServices.getText(this, "byte_order")); |
|
144 |
FlowLayout flowLayout2 = new FlowLayout(); |
|
145 |
flowLayout2.setAlignment(java.awt.FlowLayout.LEFT); |
|
146 |
byteOrderLabelPanel = new JPanel(); |
|
147 |
byteOrderLabelPanel.setLayout(flowLayout2); |
|
148 |
byteOrderLabelPanel.setPreferredSize(new java.awt.Dimension(LABELS_WIDTH,LABELS_HEIGHT)); |
|
149 |
byteOrderLabelPanel.add(byteOrderLabel, null); |
|
150 |
flowLayout2.setVgap(1); |
|
151 |
flowLayout2.setHgap(0); |
|
152 |
} |
|
153 |
return byteOrderLabelPanel; |
|
154 |
} |
|
155 |
|
|
156 |
/** |
|
157 |
* This method initializes pY |
|
158 |
* |
|
159 |
* @return javax.swing.JPanel |
|
160 |
*/ |
|
161 |
private JPanel getInterleavingLabelPanel() { |
|
162 |
if (interleavingLabelPanel == null) { |
|
163 |
interleavingLabel = new JLabel(); |
|
164 |
interleavingLabel.setText(PluginServices.getText(this, "type_of_interleaving")); |
|
165 |
FlowLayout flowLayout1 = new FlowLayout(); |
|
166 |
flowLayout1.setAlignment(java.awt.FlowLayout.LEFT); |
|
167 |
interleavingLabelPanel = new JPanel(); |
|
168 |
interleavingLabelPanel.setLayout(flowLayout1); |
|
169 |
interleavingLabelPanel.setPreferredSize(new java.awt.Dimension(LABELS_WIDTH,LABELS_HEIGHT)); |
|
170 |
interleavingLabelPanel.add(interleavingLabel, null); |
|
171 |
flowLayout1.setHgap(0); |
|
172 |
flowLayout1.setVgap(1); |
|
173 |
} |
|
174 |
return interleavingLabelPanel; |
|
175 |
} |
|
176 |
|
|
177 |
/** |
|
178 |
* This method initializes pLatitud |
|
179 |
* |
|
180 |
* @return javax.swing.JPanel |
|
181 |
*/ |
|
182 |
private JPanel getDataTypeLabelPanel() { |
|
183 |
if (dataTypeLabelPanel == null) { |
|
184 |
dataTypeLabel = new JLabel(); |
|
185 |
dataTypeLabel.setText(PluginServices.getText(this, "data_type")); |
|
186 |
FlowLayout flowLayout3 = new FlowLayout(); |
|
187 |
flowLayout3.setAlignment(java.awt.FlowLayout.LEFT); |
|
188 |
dataTypeLabelPanel = new JPanel(); |
|
189 |
dataTypeLabelPanel.setLayout(flowLayout3); |
|
190 |
dataTypeLabelPanel.setPreferredSize(new java.awt.Dimension(LABELS_WIDTH,LABELS_HEIGHT)); |
|
191 |
flowLayout3.setHgap(0); |
|
192 |
flowLayout3.setVgap(1); |
|
193 |
dataTypeLabelPanel.add(dataTypeLabel, null); |
|
194 |
} |
|
195 |
return dataTypeLabelPanel; |
|
196 |
} |
|
197 |
|
|
198 |
/** |
|
199 |
* This method initializes jPanel3 |
|
200 |
* |
|
201 |
* @return javax.swing.JPanel |
|
202 |
*/ |
|
203 |
private JPanel getFileSizeLabelPanel() { |
|
204 |
if (fileSizeLabelPanel == null) { |
|
205 |
fileSizeLabel = new JLabel(); |
|
206 |
fileSizeLabel.setText(PluginServices.getText(this, "file_size_in_bytes")); |
|
207 |
FlowLayout flowLayout4 = new FlowLayout(); |
|
208 |
flowLayout4.setHgap(0); |
|
209 |
flowLayout4.setAlignment(java.awt.FlowLayout.LEFT); |
|
210 |
flowLayout4.setVgap(1); |
|
211 |
fileSizeLabelPanel = new JPanel(); |
|
212 |
fileSizeLabelPanel.setPreferredSize(new java.awt.Dimension(LABELS_WIDTH,LABELS_HEIGHT)); |
|
213 |
fileSizeLabelPanel.setLayout(flowLayout4); |
|
214 |
fileSizeLabelPanel.add(fileSizeLabel, null); |
|
215 |
} |
|
216 |
return fileSizeLabelPanel; |
|
217 |
} |
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
/** |
|
223 |
* This method initializes jPanel |
|
224 |
* |
|
225 |
* @return javax.swing.JPanel |
|
226 |
*/ |
|
227 |
private JPanel getLabelsPanel() { |
|
228 |
if (labelsPanel == null) { |
|
229 |
labelsPanel = new JPanel(); |
|
230 |
labelsPanel.setPreferredSize(new java.awt.Dimension(LABELS_PANEL_WIDTH,HEIGHT)); |
|
231 |
labelsPanel.add(getFileSizeLabelPanel(), null); |
|
232 |
labelsPanel.add(getDataTypeLabelPanel(), null); |
|
233 |
labelsPanel.add(getByteOrderLabelPanel(), null); |
|
234 |
labelsPanel.add(getInterleavingLabelPanel(), null); |
|
235 |
} |
|
236 |
return labelsPanel; |
|
237 |
} |
|
238 |
|
|
239 |
/** |
|
240 |
* This method initializes jPanel |
|
241 |
* |
|
242 |
* @return javax.swing.JPanel |
|
243 |
*/ |
|
244 |
private JPanel getFieldsPanel() { |
|
245 |
if (fieldsPanel == null) { |
|
246 |
fieldsPanel = new JPanel(); |
|
247 |
fieldsPanel.setPreferredSize(new java.awt.Dimension(TEXTS_PANEL_WIDTH,HEIGHT)); |
|
248 |
fieldsPanel.add(getFileSizeTextPanel(), null); |
|
249 |
fieldsPanel.add(getDataTypeTextPanel(), null); |
|
250 |
fieldsPanel.add(getByteOrderTextPanel(), null); |
|
251 |
fieldsPanel.add(getInterleavingTextPanel(), null); |
|
252 |
} |
|
253 |
return fieldsPanel; |
|
254 |
} |
|
255 |
|
|
256 |
/** |
|
257 |
* This method initializes jPanel |
|
258 |
* |
|
259 |
* @return javax.swing.JPanel |
|
260 |
*/ |
|
261 |
private JPanel getFileSizeTextPanel() { |
|
262 |
if (fileSizeTextPanel == null) { |
|
263 |
FlowLayout flowLayout = new FlowLayout(); |
|
264 |
flowLayout.setHgap(0); |
|
265 |
flowLayout.setAlignment(java.awt.FlowLayout.LEFT); |
|
266 |
flowLayout.setVgap(1); |
|
267 |
fileSizeTextPanel = new JPanel(); |
|
268 |
fileSizeTextPanel.setPreferredSize(new java.awt.Dimension(TEXTS_WIDTH,TEXTS_HEIGHT)); |
|
269 |
fileSizeTextPanel.setLayout(flowLayout); |
|
270 |
fileSizeTextPanel.add(getFileSizeText(), null); |
|
271 |
} |
|
272 |
return fileSizeTextPanel; |
|
273 |
} |
|
274 |
|
|
275 |
/** |
|
276 |
* This method initializes jPanel1 |
|
277 |
* |
|
278 |
* @return javax.swing.JPanel |
|
279 |
*/ |
|
280 |
private JPanel getDataTypeTextPanel() { |
|
281 |
if (dataTypeTextPanel == null) { |
|
282 |
FlowLayout flowLayout5 = new FlowLayout(); |
|
283 |
flowLayout5.setHgap(0); |
|
284 |
flowLayout5.setAlignment(java.awt.FlowLayout.LEFT); |
|
285 |
flowLayout5.setVgap(1); |
|
286 |
dataTypeTextPanel = new JPanel(); |
|
287 |
dataTypeTextPanel.setPreferredSize(new java.awt.Dimension(TEXTS_WIDTH,TEXTS_HEIGHT)); |
|
288 |
dataTypeTextPanel.setLayout(flowLayout5); |
|
289 |
dataTypeTextPanel.add(getDataTypeText(), null); |
|
290 |
} |
|
291 |
return dataTypeTextPanel; |
|
292 |
} |
|
293 |
|
|
294 |
/** |
|
295 |
* This method initializes jPanel2 |
|
296 |
* |
|
297 |
* @return javax.swing.JPanel |
|
298 |
*/ |
|
299 |
private JPanel getInterleavingTextPanel() { |
|
300 |
if (interleavingTextPanel == null) { |
|
301 |
FlowLayout flowLayout8 = new FlowLayout(); |
|
302 |
flowLayout8.setHgap(0); |
|
303 |
flowLayout8.setAlignment(FlowLayout.LEFT); |
|
304 |
flowLayout8.setVgap(1); |
|
305 |
interleavingTextPanel = new JPanel(); |
|
306 |
interleavingTextPanel.setPreferredSize(new java.awt.Dimension(TEXTS_WIDTH,TEXTS_HEIGHT)); |
|
307 |
interleavingTextPanel.setLayout(flowLayout8); |
|
308 |
interleavingTextPanel.add(getInterleavingText(), null); |
|
309 |
} |
|
310 |
return interleavingTextPanel; |
|
311 |
} |
|
312 |
|
|
313 |
/** |
|
314 |
* This method initializes oficialTextPanel |
|
315 |
* |
|
316 |
* @return javax.swing.JPanel |
|
317 |
*/ |
|
318 |
private JPanel getByteOrderTextPanel() { |
|
319 |
if (byteOrderTextPanel == null) { |
|
320 |
FlowLayout flowLayout9 = new FlowLayout(); |
|
321 |
flowLayout9.setHgap(0); |
|
322 |
flowLayout9.setAlignment(FlowLayout.LEFT); |
|
323 |
flowLayout9.setVgap(1); |
|
324 |
byteOrderTextPanel = new JPanel(); |
|
325 |
byteOrderTextPanel.setPreferredSize(new java.awt.Dimension(TEXTS_WIDTH,TEXTS_HEIGHT)); |
|
326 |
byteOrderTextPanel.setLayout(flowLayout9); |
|
327 |
byteOrderTextPanel.add(getByteOrderText(), null); |
|
328 |
} |
|
329 |
return byteOrderTextPanel; |
|
330 |
} |
|
331 |
|
|
332 |
|
|
333 |
|
|
334 |
/** |
|
335 |
* This method initializes pronunciacionText |
|
336 |
* |
|
337 |
* @return javax.swing.JTextField |
|
338 |
*/ |
|
339 |
private JTextField getFileSizeText() { |
|
340 |
if (fileSizeText == null) { |
|
341 |
fileSizeText = new JTextField(); |
|
342 |
fileSizeText.setPreferredSize(new Dimension(TEXTS_WIDTH,TEXTS_HEIGHT)); |
|
343 |
fileSizeText.setText("0"); |
|
344 |
fileSizeText.setEnabled(false); |
|
345 |
} |
|
346 |
return fileSizeText; |
|
347 |
} |
|
348 |
|
|
349 |
/** |
|
350 |
* This method initializes etimologyText |
|
351 |
* |
|
352 |
* @return javax.swing.JTextField |
|
353 |
*/ |
|
354 |
private JComboBox getDataTypeText() { |
|
355 |
if (dataTypeText == null) { |
|
356 |
dataTypeText = new JComboBox(VRTFormatOptions.getDataTypes()); |
|
357 |
dataTypeText.setPreferredSize(new Dimension(TEXTS_WIDTH,TEXTS_HEIGHT)); |
|
358 |
} |
|
359 |
return dataTypeText; |
|
360 |
} |
|
361 |
|
|
362 |
/** |
|
363 |
* This method initializes bandsText |
|
364 |
* |
|
365 |
* @return javax.swing.JTextField |
|
366 |
*/ |
|
367 |
private JComboBox getByteOrderText() { |
|
368 |
if (byteOrderText == null) { |
|
369 |
byteOrderText = new JComboBox(VRTFormatOptions.getByteOrder()); |
|
370 |
byteOrderText.setPreferredSize(new Dimension(TEXTS_WIDTH,TEXTS_HEIGHT)); |
|
371 |
} |
|
372 |
return byteOrderText; |
|
373 |
} |
|
374 |
|
|
375 |
/** |
|
376 |
* This method initializes headerSizeText |
|
377 |
* |
|
378 |
* @return javax.swing.JTextField |
|
379 |
*/ |
|
380 |
private JComboBox getInterleavingText() { |
|
381 |
if (interleavingText == null) { |
|
382 |
interleavingText = new JComboBox(VRTFormatOptions.getInterleaving()); |
|
383 |
interleavingText.setPreferredSize(new Dimension(TEXTS_WIDTH,TEXTS_HEIGHT)); |
|
384 |
} |
|
385 |
return interleavingText; |
|
386 |
} |
|
387 |
|
|
388 |
/** |
|
389 |
* Sets the file size into the text field |
|
390 |
* @param fileSize |
|
391 |
*/ |
|
392 |
public void setFileSize(long fileSize){ |
|
393 |
getFileSizeText().setText(String.valueOf(fileSize)); |
|
394 |
} |
|
395 |
|
|
396 |
/** |
|
397 |
* Gets the data type |
|
398 |
* @return |
|
399 |
*/ |
|
400 |
public VRTFormatOptions.UIOption getDataType(){ |
|
401 |
return (VRTFormatOptions.UIOption)getDataTypeText().getSelectedItem(); |
|
402 |
} |
|
403 |
|
|
404 |
/** |
|
405 |
* Gets the byte order |
|
406 |
* @return |
|
407 |
*/ |
|
408 |
public String getByteOrder(){ |
|
409 |
return ((VRTFormatOptions.UIOption)getByteOrderText().getSelectedItem()).getVrtOptionName(); |
|
410 |
} |
|
411 |
|
|
412 |
/** |
|
413 |
* Gets the type of interleaving |
|
414 |
* @return |
|
415 |
*/ |
|
416 |
public String getInterleaving(){ |
|
417 |
return ((VRTFormatOptions.UIOption)getInterleavingText().getSelectedItem()).getVrtOptionName(); |
|
418 |
} |
|
419 |
} |
|
0 | 420 |
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/src/org/gvsig/rasterTools/raw/ui/main/GeometryPropertiesPanel.java | ||
---|---|---|
1 |
package org.gvsig.rasterTools.raw.ui.main; |
|
2 |
|
|
3 |
import java.awt.Dimension; |
|
4 |
import java.awt.GridBagConstraints; |
|
5 |
import java.awt.GridBagLayout; |
|
6 |
|
|
7 |
import javax.swing.JPanel; |
|
8 |
|
|
9 |
import org.gvsig.rasterTools.raw.tools.VRTFormatOptions; |
|
10 |
|
|
11 |
import com.iver.andami.PluginServices; |
|
12 |
|
|
13 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
14 |
* |
|
15 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
16 |
* |
|
17 |
* This program is free software; you can redistribute it and/or |
|
18 |
* modify it under the terms of the GNU General Public License |
|
19 |
* as published by the Free Software Foundation; either version 2 |
|
20 |
* of the License, or (at your option) any later version. |
|
21 |
* |
|
22 |
* This program is distributed in the hope that it will be useful, |
|
23 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
24 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
25 |
* GNU General Public License for more details. |
|
26 |
* |
|
27 |
* You should have received a copy of the GNU General Public License |
|
28 |
* along with this program; if not, write to the Free Software |
|
29 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
30 |
* |
|
31 |
* For more information, contact: |
|
32 |
* |
|
33 |
* Generalitat Valenciana |
|
34 |
* Conselleria d'Infraestructures i Transport |
|
35 |
* Av. Blasco Ib??ez, 50 |
|
36 |
* 46010 VALENCIA |
|
37 |
* SPAIN |
|
38 |
* |
|
39 |
* +34 963862235 |
|
40 |
* gvsig@gva.es |
|
41 |
* www.gvsig.gva.es |
|
42 |
* |
|
43 |
* or |
|
44 |
* |
|
45 |
* IVER T.I. S.A |
|
46 |
* Salamanca 50 |
|
47 |
* 46005 Valencia |
|
48 |
* Spain |
|
49 |
* |
|
50 |
* +34 963163400 |
|
51 |
* dac@iver.es |
|
52 |
*/ |
|
53 |
/* CVS MESSAGES: |
|
54 |
* |
|
55 |
* $Id$ |
|
56 |
* $Log$ |
|
57 |
* Revision 1.1 2006-11-28 11:49:25 nacho |
|
58 |
* *** empty log message *** |
|
59 |
* |
|
60 |
* Revision 1.1 2006/10/10 16:11:22 nacho |
|
61 |
* *** empty log message *** |
|
62 |
* |
|
63 |
* Revision 1.5 2006/08/01 13:12:56 jorpiell |
|
64 |
* Separado un poco las dos columnas del panel |
|
65 |
* |
|
66 |
* Revision 1.4 2006/08/01 11:19:04 jorpiell |
|
67 |
* Ajustado el tama?o de las ventanas |
|
68 |
* |
|
69 |
* Revision 1.3 2006/07/31 10:44:28 jorpiell |
|
70 |
* Se ha a?adido el tama?o del fichero con un thread. |
|
71 |
* |
|
72 |
* Revision 1.2 2006/07/28 12:53:45 jorpiell |
|
73 |
* Cambiado el Messages por el Plugin services |
|
74 |
* |
|
75 |
* Revision 1.1 2006/07/28 12:51:40 jorpiell |
|
76 |
* Primer commit de las clases empleadas para abrir raw |
|
77 |
* |
|
78 |
* |
|
79 |
*/ |
|
80 |
/** |
|
81 |
* This panel implements all the geometry properties panel. |
|
82 |
* The "guess image geometry" button can be enabled or disabled |
|
83 |
* changing the GUESS_IMAGE_BUTTON_VISIBLE attribute value. |
|
84 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
85 |
*/ |
|
86 |
public class GeometryPropertiesPanel extends JPanel { |
|
87 |
private final int WIDTH = 510; |
|
88 |
private final int HEIGHT = 155; |
|
89 |
|
|
90 |
private boolean GUESS_IMAGE_BUTTON_VISIBLE = false; |
|
91 |
private GeometryPropertiesLeftPanel leftPanel = null; |
|
92 |
private GeometryPropertiesRigthPanel rigthPanel = null; |
|
93 |
private GuessImagePanel guessImagePanel = null; |
|
94 |
public GeometryPropertiesPanel() { |
|
95 |
super(); |
|
96 |
initialize(); |
|
97 |
} |
|
98 |
|
|
99 |
/** |
|
100 |
* This method initializes this |
|
101 |
* |
|
102 |
*/ |
|
103 |
private void initialize() { |
|
104 |
GridBagConstraints gridBagConstraints2 = new GridBagConstraints(); |
|
105 |
gridBagConstraints2.insets = new java.awt.Insets(0,0,0,0); |
|
106 |
gridBagConstraints2.gridy = 1; |
|
107 |
gridBagConstraints2.gridx = 0; |
|
108 |
GridBagConstraints gridBagConstraints1 = new GridBagConstraints(); |
|
109 |
gridBagConstraints1.insets = new java.awt.Insets(0,2,0,0); |
|
110 |
gridBagConstraints1.gridy = 0; |
|
111 |
gridBagConstraints1.gridx = 1; |
|
112 |
GridBagConstraints gridBagConstraints = new GridBagConstraints(); |
|
113 |
gridBagConstraints.insets = new java.awt.Insets(0,0,0,0); |
|
114 |
gridBagConstraints.gridy = 0; |
|
115 |
gridBagConstraints.gridx = 0; |
|
116 |
this.setLayout(new GridBagLayout()); |
|
117 |
this.setSize(new java.awt.Dimension(WIDTH,HEIGHT)); |
|
118 |
this.setPreferredSize(new java.awt.Dimension(WIDTH,HEIGHT)); |
|
119 |
this.setBorder(javax.swing.BorderFactory.createTitledBorder(null, PluginServices.getText(this,"select_image_geometry"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null)); |
|
120 |
this.add(getLeftPanel(), gridBagConstraints); |
|
121 |
this.add(getRigthPanel(), gridBagConstraints1); |
|
122 |
if (GUESS_IMAGE_BUTTON_VISIBLE){ |
|
123 |
this.add(getGuessImagePanel(), gridBagConstraints2); |
|
124 |
} |
|
125 |
|
|
126 |
} |
|
127 |
|
|
128 |
/** |
|
129 |
* This method initializes leftPanel |
|
130 |
* |
|
131 |
* @return javax.swing.JPanel |
|
132 |
*/ |
|
133 |
private GeometryPropertiesLeftPanel getLeftPanel() { |
|
134 |
if (leftPanel == null) { |
|
135 |
leftPanel = new GeometryPropertiesLeftPanel(); |
|
136 |
} |
|
137 |
return leftPanel; |
|
138 |
} |
|
139 |
|
|
140 |
/** |
|
141 |
* This method initializes rigthPanel |
|
142 |
* |
|
143 |
* @return javax.swing.JPanel |
|
144 |
*/ |
|
145 |
private GeometryPropertiesRigthPanel getRigthPanel() { |
|
146 |
if (rigthPanel == null) { |
|
147 |
rigthPanel = new GeometryPropertiesRigthPanel(); |
|
148 |
} |
|
149 |
return rigthPanel; |
|
150 |
} |
|
151 |
|
|
152 |
/** |
|
153 |
* This method initializes guessImagePanel |
|
154 |
* |
|
155 |
* @return javax.swing.JPanel |
|
156 |
*/ |
|
157 |
private GuessImagePanel getGuessImagePanel() { |
|
158 |
if (guessImagePanel == null) { |
|
159 |
guessImagePanel = new GuessImagePanel(); |
|
160 |
} |
|
161 |
return guessImagePanel; |
|
162 |
} |
|
163 |
|
|
164 |
/** |
|
165 |
* Sets the file size into the text field |
|
166 |
* @param fileSize |
|
167 |
*/ |
|
168 |
public void setFileSize(long fileSize){ |
|
169 |
getRigthPanel().setFileSize(fileSize); |
|
170 |
} |
|
171 |
|
|
172 |
/** |
|
173 |
* Gets the data type |
|
174 |
* @return |
|
175 |
*/ |
|
176 |
public VRTFormatOptions.UIOption getDataType(){ |
|
177 |
return getRigthPanel().getDataType(); |
|
178 |
} |
|
179 |
|
|
180 |
/** |
|
181 |
* Gets the byte order |
|
182 |
* @return |
|
183 |
*/ |
|
184 |
public String getByteOrder(){ |
|
185 |
return getRigthPanel().getByteOrder(); |
|
186 |
} |
|
187 |
|
|
188 |
/** |
|
189 |
* Gets the type of interleaving |
|
190 |
* @return |
|
191 |
*/ |
|
192 |
public String getInterleaving(){ |
|
193 |
return getRigthPanel().getInterleaving(); |
|
194 |
} |
|
195 |
|
|
196 |
/** |
|
197 |
* gets the image width |
|
198 |
* @return |
|
199 |
*/ |
|
200 |
public int getImageWidth(){ |
|
201 |
return getLeftPanel().getImageWidth(); |
|
202 |
} |
|
203 |
|
|
204 |
/** |
|
205 |
* gets the image height |
|
206 |
* @return |
|
207 |
*/ |
|
208 |
public int getImageHeight(){ |
|
209 |
return getLeftPanel().getImageHeight(); |
|
210 |
} |
|
211 |
|
|
212 |
/** |
|
213 |
* gets the number of bands |
|
214 |
* @return |
|
215 |
*/ |
|
216 |
public int getNumberOfBands(){ |
|
217 |
return getLeftPanel().getNumberOfBands(); |
|
218 |
} |
|
219 |
|
|
220 |
/** |
|
221 |
* gets the header size |
|
222 |
* @return |
|
223 |
*/ |
|
224 |
public int getHeaderSize(){ |
|
225 |
return getLeftPanel().getHeaderSize(); |
|
226 |
} |
|
227 |
} // @jve:decl-index=0:visual-constraint="10,10" |
|
0 | 228 |
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/src/org/gvsig/rasterTools/raw/ui/main/GuessImagePanel.java | ||
---|---|---|
1 |
package org.gvsig.rasterTools.raw.ui.main; |
|
2 |
|
|
3 |
import javax.swing.JPanel; |
|
4 |
import javax.swing.JButton; |
|
5 |
|
|
6 |
import com.iver.andami.PluginServices; |
|
7 |
|
|
8 |
import java.awt.GridBagLayout; |
|
9 |
import java.awt.GridBagConstraints; |
|
10 |
|
|
11 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
12 |
* |
|
13 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
14 |
* |
|
15 |
* This program is free software; you can redistribute it and/or |
|
16 |
* modify it under the terms of the GNU General Public License |
|
17 |
* as published by the Free Software Foundation; either version 2 |
|
18 |
* of the License, or (at your option) any later version. |
|
19 |
* |
|
20 |
* This program is distributed in the hope that it will be useful, |
|
21 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
22 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
23 |
* GNU General Public License for more details. |
|
24 |
* |
|
25 |
* You should have received a copy of the GNU General Public License |
|
26 |
* along with this program; if not, write to the Free Software |
|
27 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
28 |
* |
|
29 |
* For more information, contact: |
|
30 |
* |
|
31 |
* Generalitat Valenciana |
|
32 |
* Conselleria d'Infraestructures i Transport |
|
33 |
* Av. Blasco Ib??ez, 50 |
|
34 |
* 46010 VALENCIA |
|
35 |
* SPAIN |
|
36 |
* |
|
37 |
* +34 963862235 |
|
38 |
* gvsig@gva.es |
|
39 |
* www.gvsig.gva.es |
|
40 |
* |
|
41 |
* or |
|
42 |
* |
|
43 |
* IVER T.I. S.A |
|
44 |
* Salamanca 50 |
|
45 |
* 46005 Valencia |
|
46 |
* Spain |
|
47 |
* |
|
48 |
* +34 963163400 |
|
49 |
* dac@iver.es |
|
50 |
*/ |
|
51 |
/* CVS MESSAGES: |
|
52 |
* |
|
53 |
* $Id$ |
|
54 |
* $Log$ |
|
55 |
* Revision 1.1 2006-11-28 11:49:24 nacho |
|
56 |
* *** empty log message *** |
|
57 |
* |
|
58 |
* Revision 1.1 2006/10/10 16:11:22 nacho |
|
59 |
* *** empty log message *** |
|
60 |
* |
|
61 |
* Revision 1.1 2006/07/28 12:51:40 jorpiell |
|
62 |
* Primer commit de las clases empleadas para abrir raw |
|
63 |
* |
|
64 |
* |
|
65 |
*/ |
|
66 |
/** |
|
67 |
* This panel is a JButton for the "Guess image geometry" |
|
68 |
* option. |
|
69 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
70 |
*/ |
|
71 |
public class GuessImagePanel extends JPanel { |
|
72 |
private final int BUTTON_WIDTH = 250; |
|
73 |
private final int BUTTON_HEIGHT = 19; |
|
74 |
|
|
75 |
private JButton guessImageButton = null; |
|
76 |
|
|
77 |
|
|
78 |
public GuessImagePanel() { |
|
79 |
super(); |
|
80 |
initialize(); |
|
81 |
// TODO Auto-generated constructor stub |
|
82 |
} |
|
83 |
|
|
84 |
/** |
|
85 |
* This method initializes this |
|
86 |
* |
|
87 |
*/ |
|
88 |
private void initialize() { |
|
89 |
GridBagConstraints gridBagConstraints = new GridBagConstraints(); |
|
90 |
gridBagConstraints.insets = new java.awt.Insets(0,0,0,0); |
|
91 |
gridBagConstraints.gridy = 0; |
|
92 |
gridBagConstraints.gridx = 0; |
|
93 |
this.setLayout(new GridBagLayout()); |
|
94 |
this.add(getGuessImageButton(), gridBagConstraints); |
|
95 |
|
|
96 |
} |
|
97 |
|
|
98 |
/** |
|
99 |
* This method initializes guessImageButton |
|
100 |
* |
|
101 |
* @return javax.swing.JButton |
|
102 |
*/ |
|
103 |
private JButton getGuessImageButton() { |
|
104 |
if (guessImageButton == null) { |
|
105 |
guessImageButton = new JButton(); |
|
106 |
guessImageButton.setPreferredSize(new java.awt.Dimension(BUTTON_WIDTH,BUTTON_HEIGHT)); |
|
107 |
guessImageButton.setText(PluginServices.getText(this,"guess_image_geometry")); |
|
108 |
|
|
109 |
} |
|
110 |
return guessImageButton; |
|
111 |
} |
|
112 |
} |
|
0 | 113 |
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/src/org/gvsig/rasterTools/raw/ui/main/OpenRawFileButtonsPanel.java | ||
---|---|---|
1 |
package org.gvsig.rasterTools.raw.ui.main; |
|
2 |
|
|
3 |
import java.awt.Dimension; |
|
4 |
|
|
5 |
import javax.swing.JPanel; |
|
6 |
import javax.swing.JButton; |
|
7 |
|
|
8 |
import org.gvsig.rasterTools.raw.ui.listener.OpenRawFileDefaultViewListener; |
|
9 |
|
|
10 |
import com.iver.andami.PluginServices; |
|
11 |
|
|
12 |
import java.awt.GridBagLayout; |
|
13 |
import java.awt.GridBagConstraints; |
|
14 |
|
|
15 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
16 |
* |
|
17 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
18 |
* |
|
19 |
* This program is free software; you can redistribute it and/or |
|
20 |
* modify it under the terms of the GNU General Public License |
|
21 |
* as published by the Free Software Foundation; either version 2 |
|
22 |
* of the License, or (at your option) any later version. |
|
23 |
* |
|
24 |
* This program is distributed in the hope that it will be useful, |
|
25 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
26 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
27 |
* GNU General Public License for more details. |
|
28 |
* |
|
29 |
* You should have received a copy of the GNU General Public License |
|
30 |
* along with this program; if not, write to the Free Software |
|
31 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
32 |
* |
|
33 |
* For more information, contact: |
|
34 |
* |
|
35 |
* Generalitat Valenciana |
|
36 |
* Conselleria d'Infraestructures i Transport |
|
37 |
* Av. Blasco Ib??ez, 50 |
|
38 |
* 46010 VALENCIA |
|
39 |
* SPAIN |
|
40 |
* |
|
41 |
* +34 963862235 |
|
42 |
* gvsig@gva.es |
|
43 |
* www.gvsig.gva.es |
|
44 |
* |
|
45 |
* or |
|
46 |
* |
|
47 |
* IVER T.I. S.A |
|
48 |
* Salamanca 50 |
|
49 |
* 46005 Valencia |
|
50 |
* Spain |
|
51 |
* |
|
52 |
* +34 963163400 |
|
53 |
* dac@iver.es |
|
54 |
*/ |
|
55 |
/* CVS MESSAGES: |
|
56 |
* |
|
57 |
* $Id$ |
|
58 |
* $Log$ |
|
59 |
* Revision 1.1 2006-11-28 11:49:25 nacho |
|
60 |
* *** empty log message *** |
|
61 |
* |
|
62 |
* Revision 1.1 2006/10/10 16:11:22 nacho |
|
63 |
* *** empty log message *** |
|
64 |
* |
|
65 |
* Revision 1.2 2006/07/31 10:44:28 jorpiell |
|
66 |
* Se ha a?adido el tama?o del fichero con un thread. |
|
67 |
* |
|
68 |
* Revision 1.1 2006/07/28 12:51:40 jorpiell |
|
69 |
* Primer commit de las clases empleadas para abrir raw |
|
70 |
* |
|
71 |
* |
|
72 |
*/ |
|
73 |
/** |
|
74 |
* This class contains the main buttons of the open raw |
|
75 |
* file panel window. |
|
76 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
77 |
*/ |
|
78 |
public class OpenRawFileButtonsPanel extends JPanel{ |
|
79 |
private final int WIDTH = 500; |
|
80 |
private final int HEIGHT = 35; |
|
81 |
private final int BUTTONS_WIDTH = 80; |
|
82 |
private final int BUTTONS_HEIGHT = 25; |
|
83 |
|
|
84 |
private JButton openButton = null; |
|
85 |
private JButton closeButton = null; |
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
public OpenRawFileButtonsPanel() { |
|
90 |
super(); |
|
91 |
initialize(); |
|
92 |
// TODO Auto-generated constructor stub |
|
93 |
} |
|
94 |
|
|
95 |
/** |
|
96 |
* This method initializes this |
|
97 |
* |
|
98 |
*/ |
|
99 |
private void initialize() { |
|
100 |
GridBagConstraints gridBagConstraints3 = new GridBagConstraints(); |
|
101 |
gridBagConstraints3.insets = new java.awt.Insets(5,3,5,5); |
|
102 |
gridBagConstraints3.gridy = 0; |
|
103 |
gridBagConstraints3.gridx = 3; |
|
104 |
GridBagConstraints gridBagConstraints2 = new GridBagConstraints(); |
|
105 |
gridBagConstraints2.insets = new java.awt.Insets(5,3,5,2); |
|
106 |
gridBagConstraints2.gridy = 0; |
|
107 |
gridBagConstraints2.gridx = 2; |
|
108 |
GridBagConstraints gridBagConstraints1 = new GridBagConstraints(); |
|
109 |
gridBagConstraints1.insets = new java.awt.Insets(5,3,5,2); |
|
110 |
gridBagConstraints1.gridy = 0; |
|
111 |
gridBagConstraints1.gridx = 1; |
|
112 |
GridBagConstraints gridBagConstraints = new GridBagConstraints(); |
|
113 |
gridBagConstraints.insets = new java.awt.Insets(5,5,5,2); |
|
114 |
gridBagConstraints.gridy = 0; |
|
115 |
gridBagConstraints.gridx = 0; |
|
116 |
this.setLayout(new GridBagLayout()); |
|
117 |
this.setSize(new java.awt.Dimension(WIDTH,HEIGHT)); |
|
118 |
this.add(getOpenButton(), gridBagConstraints2); |
|
119 |
this.add(getCloseButton(), gridBagConstraints3); |
|
120 |
|
|
121 |
} |
|
122 |
|
|
123 |
|
|
124 |
/** |
|
125 |
* This method initializes openButton |
|
126 |
* |
|
127 |
* @return javax.swing.JButton |
|
128 |
*/ |
|
129 |
private JButton getOpenButton() { |
|
130 |
if (openButton == null) { |
|
131 |
openButton = new JButton(); |
|
132 |
openButton.setPreferredSize(new Dimension(BUTTONS_WIDTH,BUTTONS_HEIGHT)); |
|
133 |
openButton.setText(PluginServices.getText(this,"accept")); |
|
134 |
openButton.setActionCommand("open"); |
|
135 |
} |
|
136 |
return openButton; |
|
137 |
} |
|
138 |
|
|
139 |
/** |
|
140 |
* This method initializes closeButton |
|
141 |
* |
|
142 |
* @return javax.swing.JButton |
|
143 |
*/ |
|
144 |
private JButton getCloseButton() { |
|
145 |
if (closeButton == null) { |
|
146 |
closeButton = new JButton(); |
|
147 |
closeButton.setPreferredSize(new Dimension(BUTTONS_WIDTH,BUTTONS_HEIGHT)); |
|
148 |
closeButton.setText(PluginServices.getText(this,"close")); |
|
149 |
closeButton.setActionCommand("close"); |
|
150 |
} |
|
151 |
return closeButton; |
|
152 |
} |
|
153 |
|
|
154 |
/** |
|
155 |
* Sets the buttons listener |
|
156 |
* @param listener |
|
157 |
* Buttons listener |
|
158 |
*/ |
|
159 |
public void setActionListener(OpenRawFileDefaultViewListener listener){ |
|
160 |
openButton.addActionListener(listener); |
|
161 |
closeButton.addActionListener(listener); |
|
162 |
} |
|
163 |
|
|
164 |
|
|
165 |
|
|
166 |
} // @jve:decl-index=0:visual-constraint="10,10" |
|
0 | 167 |
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/src/org/gvsig/rasterTools/raw/ui/main/OpenRawFileDefaultView.java | ||
---|---|---|
1 |
package org.gvsig.rasterTools.raw.ui.main; |
|
2 |
|
|
3 |
import java.io.File; |
|
4 |
|
|
5 |
import org.gvsig.rasterTools.raw.ui.listener.OpenRawFileDefaultViewListener; |
|
6 |
|
|
7 |
import com.iver.andami.PluginServices; |
|
8 |
import com.iver.andami.ui.mdiManager.IWindow; |
|
9 |
import com.iver.andami.ui.mdiManager.WindowInfo; |
|
10 |
|
|
11 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
12 |
* |
|
13 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
14 |
* |
|
15 |
* This program is free software; you can redistribute it and/or |
|
16 |
* modify it under the terms of the GNU General Public License |
|
17 |
* as published by the Free Software Foundation; either version 2 |
|
18 |
* of the License, or (at your option) any later version. |
|
19 |
* |
|
20 |
* This program is distributed in the hope that it will be useful, |
|
21 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
22 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
23 |
* GNU General Public License for more details. |
|
24 |
* |
|
25 |
* You should have received a copy of the GNU General Public License |
|
26 |
* along with this program; if not, write to the Free Software |
|
27 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
28 |
* |
|
29 |
* For more information, contact: |
|
30 |
* |
|
31 |
* Generalitat Valenciana |
|
32 |
* Conselleria d'Infraestructures i Transport |
|
33 |
* Av. Blasco Ib??ez, 50 |
|
34 |
* 46010 VALENCIA |
|
35 |
* SPAIN |
|
36 |
* |
|
37 |
* +34 963862235 |
|
38 |
* gvsig@gva.es |
|
39 |
* www.gvsig.gva.es |
|
40 |
* |
|
41 |
* or |
|
42 |
* |
|
43 |
* IVER T.I. S.A |
|
44 |
* Salamanca 50 |
|
45 |
* 46005 Valencia |
|
46 |
* Spain |
|
47 |
* |
|
48 |
* +34 963163400 |
|
49 |
* dac@iver.es |
|
50 |
*/ |
|
51 |
/* CVS MESSAGES: |
|
52 |
* |
|
53 |
* $Id$ |
|
54 |
* $Log$ |
|
55 |
* Revision 1.1 2006-11-28 11:49:25 nacho |
|
56 |
* *** empty log message *** |
|
57 |
* |
|
58 |
* Revision 1.1.2.1 2006/11/15 12:58:01 nacho |
|
59 |
* *** empty log message *** |
|
60 |
* |
|
61 |
* Revision 1.1 2006/10/10 16:11:23 nacho |
|
62 |
* *** empty log message *** |
|
63 |
* |
|
64 |
* Revision 1.5 2006/08/03 06:36:51 nacho |
|
65 |
* *** empty log message *** |
|
66 |
* |
|
67 |
* Revision 1.4 2006/08/03 06:18:29 jorpiell |
|
68 |
* *** empty log message *** |
|
69 |
* |
|
70 |
* Revision 1.3 2006/08/01 12:56:00 jorpiell |
|
71 |
* Se abre el cuadro de di?logo en el momento de abrir el fichero |
|
72 |
* |
|
73 |
* Revision 1.2 2006/08/01 11:19:04 jorpiell |
|
74 |
* Ajustado el tama?o de las ventanas |
|
75 |
* |
|
76 |
* Revision 1.1 2006/07/28 12:51:40 jorpiell |
|
77 |
* Primer commit de las clases empleadas para abrir raw |
|
78 |
* |
|
79 |
* |
|
80 |
*/ |
|
81 |
/** |
|
82 |
* This class implemens the View interface to add the open |
|
83 |
* raw panel in gvSIG |
|
84 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
85 |
*/ |
|
86 |
public class OpenRawFileDefaultView extends OpenRawFileDefaultPanel implements IWindow{ |
|
87 |
private File imageFile = null; |
|
88 |
|
|
89 |
/** |
|
90 |
* Constructor. It create and sets the listener for the window |
|
91 |
* buttons. |
|
92 |
* @param rawFile |
|
93 |
* Raw file name |
|
94 |
*/ |
|
95 |
public OpenRawFileDefaultView(String rawFileName){ |
|
96 |
super(rawFileName); |
|
97 |
setActionListener(new OpenRawFileDefaultViewListener(this)); |
|
98 |
PluginServices.getMDIManager().addWindow(this); |
|
99 |
} |
|
100 |
|
|
101 |
/* |
|
102 |
* (non-Javadoc) |
|
103 |
* @see com.iver.andami.ui.mdiManager.View#getViewInfo() |
|
104 |
*/ |
|
105 |
public WindowInfo getWindowInfo() { |
|
106 |
WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG); |
|
107 |
m_viewinfo.setTitle(PluginServices.getText(this, "open_raw_file")); |
|
108 |
m_viewinfo.setHeight(270); |
|
109 |
m_viewinfo.setWidth(540); |
|
110 |
return m_viewinfo; |
|
111 |
} |
|
112 |
|
|
113 |
/** |
|
114 |
* @return Returns the imageFile. |
|
115 |
*/ |
|
116 |
public File getImageFile() { |
|
117 |
return imageFile; |
|
118 |
} |
|
119 |
|
|
120 |
/** |
|
121 |
* @param imageFile The imageFile to set. |
|
122 |
*/ |
|
123 |
public void setImageFile(File imageFile) { |
|
124 |
this.imageFile = imageFile; |
|
125 |
} |
|
126 |
|
|
127 |
} |
|
0 | 128 |
tags/tmp_build/prototypes/raster/extensions/extgvSIGPiloto-Raster/src/org/gvsig/rasterTools/raw/ui/main/OpenRawFileControlsPanel.java | ||
---|---|---|
1 |
package org.gvsig.rasterTools.raw.ui.main; |
|
2 |
|
|
3 |
import javax.swing.JPanel; |
|
4 |
|
|
5 |
import org.gvsig.gui.beans.openFile.OpenFileContainer; |
|
6 |
import org.gvsig.rasterTools.raw.tools.VRTFormatOptions; |
|
7 |
|
|
8 |
import java.awt.Dimension; |
|
9 |
import java.awt.GridBagLayout; |
|
10 |
import java.awt.GridBagConstraints; |
|
11 |
import java.io.File; |
|
12 |
|
|
13 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
14 |
* |
|
15 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
16 |
* |
|
17 |
* This program is free software; you can redistribute it and/or |
|
18 |
* modify it under the terms of the GNU General Public License |
|
19 |
* as published by the Free Software Foundation; either version 2 |
|
20 |
* of the License, or (at your option) any later version. |
|
21 |
* |
|
22 |
* This program is distributed in the hope that it will be useful, |
|
23 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
24 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
25 |
* GNU General Public License for more details. |
|
26 |
* |
|
27 |
* You should have received a copy of the GNU General Public License |
|
28 |
* along with this program; if not, write to the Free Software |
|
29 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
30 |
* |
|
31 |
* For more information, contact: |
|
32 |
* |
|
33 |
* Generalitat Valenciana |
|
34 |
* Conselleria d'Infraestructures i Transport |
|
35 |
* Av. Blasco Ib??ez, 50 |
|
36 |
* 46010 VALENCIA |
|
37 |
* SPAIN |
|
38 |
* |
|
39 |
* +34 963862235 |
|
40 |
* gvsig@gva.es |
|
41 |
* www.gvsig.gva.es |
|
42 |
* |
|
43 |
* or |
|
44 |
* |
|
45 |
* IVER T.I. S.A |
|
46 |
* Salamanca 50 |
|
47 |
* 46005 Valencia |
|
48 |
* Spain |
|
49 |
* |
|
50 |
* +34 963163400 |
|
51 |
* dac@iver.es |
|
52 |
*/ |
|
53 |
/* CVS MESSAGES: |
|
54 |
* |
|
55 |
* $Id$ |
|
56 |
* $Log$ |
|
57 |
* Revision 1.1 2006-11-28 11:49:25 nacho |
|
58 |
* *** empty log message *** |
|
59 |
* |
|
60 |
* Revision 1.1 2006/10/10 16:11:22 nacho |
|
61 |
* *** empty log message *** |
|
62 |
* |
|
63 |
* Revision 1.3 2006/08/01 11:19:04 jorpiell |
|
64 |
* Ajustado el tama?o de las ventanas |
|
65 |
* |
|
66 |
* Revision 1.2 2006/07/31 10:44:28 jorpiell |
|
67 |
* Se ha a?adido el tama?o del fichero con un thread. |
|
68 |
* |
|
69 |
* Revision 1.1 2006/07/28 12:51:40 jorpiell |
|
70 |
* Primer commit de las clases empleadas para abrir raw |
|
71 |
* |
|
72 |
* |
|
73 |
*/ |
|
74 |
/** |
|
75 |
* This class contains all the components of a open raw file |
|
76 |
* panel. It doesn't has the main buttons. |
|
77 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
78 |
*/ |
|
79 |
public class OpenRawFileControlsPanel extends JPanel { |
|
80 |
private final int PANELS_WIDTH = 510; |
|
81 |
|
|
82 |
private OpenFileContainer openFilePanel = null; |
|
83 |
private GeometryPropertiesPanel geometryPropertiesPanel = null; |
|
84 |
private OutputHeaderFormatPanel outputHeaderFormatPanel = null; |
|
85 |
|
|
86 |
private boolean calculateFileSize = true; |
|
87 |
|
|
88 |
/** |
|
89 |
* Constructor |
|
90 |
* @param rawFileName |
|
91 |
* Raw file name |
|
92 |
*/ |
|
93 |
public OpenRawFileControlsPanel(String rawFileName) { |
|
94 |
super(); |
|
95 |
initialize(); |
|
96 |
openFilePanel.getTOpen().setText(rawFileName); |
Also available in: Unified diff