Revision 2179
branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/ui/raster/SaveSetupPanel.java | ||
---|---|---|
193 | 193 |
|
194 | 194 |
if( e.getSource().equals(saveRaster.getBseleccion())){ |
195 | 195 |
JFileChooser chooser = new JFileChooser("./"); |
196 |
chooser.setDialogTitle("Seleccionar el fichero"); |
|
197 |
chooser.addChoosableFileFilter(new EcwFilter(chooser)); |
|
196 |
chooser.setDialogTitle("Seleccionar el fichero"); |
|
197 |
String os = System.getProperties().getProperty("os.version"); |
|
198 |
if(os.startsWith("2.4")) |
|
199 |
chooser.addChoosableFileFilter(new EcwFilter(chooser)); |
|
198 | 200 |
chooser.addChoosableFileFilter(new TifFilter(chooser)); |
199 | 201 |
int returnVal = chooser.showOpenDialog(this); |
200 | 202 |
if(returnVal == JFileChooser.APPROVE_OPTION){ |
... | ... | |
202 | 204 |
|
203 | 205 |
FileFilter filter = chooser.getFileFilter(); |
204 | 206 |
if(fName!=null && !fName.equals("")){ |
205 |
if(this.fName.endsWith(".ecw")) |
|
207 |
if(this.fName.endsWith(".ecw") && os.startsWith("2.4"))
|
|
206 | 208 |
saveRaster.getBPropiedades().setText("Propiedades Ecw"); |
207 | 209 |
else if(this.fName.endsWith(".tif")) |
208 | 210 |
saveRaster.getBPropiedades().setText("Propiedades GeoTiff"); |
209 |
else if(filter.getDescription().equals(".ecw")) |
|
211 |
else if(filter.getDescription().equals(".ecw") && os.startsWith("2.4"))
|
|
210 | 212 |
saveRaster.getBPropiedades().setText("Propiedades Ecw"); |
211 | 213 |
else if(filter.getDescription().equals(".tif")) |
212 | 214 |
saveRaster.getBPropiedades().setText("Propiedades GeoTiff"); |
branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/ui/raster/RasterTransparencyPanel.java | ||
---|---|---|
40 | 40 |
private JPanel jPanel5 = null; |
41 | 41 |
public JLabel jLabel3 = null; |
42 | 42 |
|
43 |
private JPanel jPanel6 = null; |
|
44 |
public JLabel jLabel4 = null; |
|
43 | 45 |
public RasterTransparencyPanel(FilterRasterDialogPanel parent){ |
44 | 46 |
this.parent = parent; |
45 | 47 |
initialize(); |
... | ... | |
127 | 129 |
*/ |
128 | 130 |
private JPanel getJPanel() { |
129 | 131 |
if (jPanel == null) { |
132 |
GridBagConstraints gridBagConstraints1 = new GridBagConstraints(); |
|
130 | 133 |
GridBagConstraints gridBagConstraints9 = new GridBagConstraints(); |
131 | 134 |
GridBagConstraints gridBagConstraints8 = new GridBagConstraints(); |
132 | 135 |
GridBagConstraints gridBagConstraints7 = new GridBagConstraints(); |
... | ... | |
150 | 153 |
gridBagConstraints9.gridx = 0; |
151 | 154 |
gridBagConstraints9.gridy = 1; |
152 | 155 |
gridBagConstraints9.insets = new java.awt.Insets(0,180,0,0); |
156 |
gridBagConstraints1.gridx = 0; |
|
157 |
gridBagConstraints1.gridy = 2; |
|
158 |
gridBagConstraints1.insets = new java.awt.Insets(0,180,0,0); |
|
153 | 159 |
jPanel.add(getJPanel1(), gridBagConstraints5); |
154 | 160 |
jPanel.add(getJPanel2(), gridBagConstraints6); |
155 | 161 |
jPanel.add(getJPanel3(), gridBagConstraints8); |
156 | 162 |
jPanel.add(getJPanel4(), gridBagConstraints7); |
157 | 163 |
jPanel.add(getJPanel5(), gridBagConstraints9); |
164 |
jPanel.add(getJPanel6(), gridBagConstraints1); |
|
158 | 165 |
} |
159 | 166 |
return jPanel; |
160 | 167 |
} |
... | ... | |
320 | 327 |
jLabel3 = new JLabel(); |
321 | 328 |
jPanel5 = new JPanel(); |
322 | 329 |
jLabel3.setText("Usa un rango: 1,3,5:8"); |
330 |
jPanel5.setPreferredSize(new java.awt.Dimension(161,21)); |
|
323 | 331 |
jPanel5.add(jLabel3, null); |
324 | 332 |
} |
325 | 333 |
return jPanel5; |
... | ... | |
360 | 368 |
this.setActiveOpacityControl(false); |
361 | 369 |
} |
362 | 370 |
|
363 |
} // @jve:decl-index=0:visual-constraint="36,15" |
|
371 |
/** |
|
372 |
* This method initializes jPanel6 |
|
373 |
* |
|
374 |
* @return javax.swing.JPanel |
|
375 |
*/ |
|
376 |
private JPanel getJPanel6() { |
|
377 |
if (jPanel6 == null) { |
|
378 |
jLabel4 = new JLabel(); |
|
379 |
jPanel6 = new JPanel(); |
|
380 |
jPanel6.setPreferredSize(new java.awt.Dimension(161,20)); |
|
381 |
jLabel4.setText("Valor de pixel: 0 a 255"); |
|
382 |
jPanel6.add(jLabel4, null); |
|
383 |
} |
|
384 |
return jPanel6; |
|
385 |
} |
|
386 |
} // @jve:decl-index=0:visual-constraint="36,15" |
branches/gvSIG_GisPlanet/applications/appgvSIG/text_en.properties | ||
---|---|---|
405 | 405 |
Valores=Values |
406 | 406 |
Valores_unicos=Single values |
407 | 407 |
Valores_?nicos=Unique values |
408 |
Valor_azul= Blue Value:
|
|
409 |
Valor_rojo= Red Value:
|
|
410 |
Valor_verde= Green Value:
|
|
408 |
Valor_azul= Blue Value |
|
409 |
Valor_rojo= Red Value |
|
410 |
Valor_verde= Green Value |
|
411 | 411 |
ventana_proyecto=Project window |
412 | 412 |
Ver=View |
413 | 413 |
vertical=Vertical |
branches/gvSIG_GisPlanet/applications/appgvSIG/text.properties | ||
---|---|---|
240 | 240 |
jpg=Ficheros JPEG |
241 | 241 |
Kilometros=Kil?metros |
242 | 242 |
kilometros=Kil?metros |
243 |
lescala=Escala 1: |
|
244 | 243 |
leyenda=Leyenda |
245 | 244 |
Linea=L?nea |
246 | 245 |
linea=L?nea |
247 | 246 |
linea_grafica=L?nea gr?fica |
248 | 247 |
lineal_directo=Lineal Directo |
249 |
linf_der=Inf. der. X:
|
|
248 |
linf_der=Inf. der. X |
|
250 | 249 |
Link=Enlace |
251 | 250 |
lppp=ppp |
252 |
lresolucion=Resoluci?n |
|
253 |
lsup_izq=Sup. izq. X: |
|
251 |
lsup_izq=Sup. izq. X |
|
254 | 252 |
malla_activada=Malla activada |
255 | 253 |
mantener_intervalo=Mantener intervalo |
256 | 254 |
Mapa=Mapa |
... | ... | |
353 | 351 |
rellenar_marco_vista=Rellenar marco de la vista |
354 | 352 |
relleno=Relleno: |
355 | 353 |
renombrar=Renombrar |
354 |
resolucion=Resoluci?n |
|
356 | 355 |
resolucion_resultado=Resoluci?n del resultado: |
357 | 356 |
Sample=Ejemplo |
358 | 357 |
salvar_raster=Salvar a raster |
... | ... | |
423 | 422 |
unidades=Unidades: |
424 | 423 |
untitled=Sin t?tulo |
425 | 424 |
Un_Layer=Debe seleccionar al menos una capa. |
426 |
usar_rango=Usa un rango: 1,3,5:8
|
|
425 |
usar_rango=Usa un rango |
|
427 | 426 |
utilizar_margenes_impresora=Utilizar m?rgenes de la impresora. |
428 | 427 |
vacia=Vac?a |
429 | 428 |
Valor=Valor |
... | ... | |
432 | 431 |
Valores=Valores |
433 | 432 |
Valores_unicos=Valores ?nicos |
434 | 433 |
Valores_?nicos=Valores ?nicos |
435 |
Valor_azul=Valor Azul: |
|
436 |
Valor_rojo=Valor Rojo: |
|
437 |
Valor_verde=Valor Verde: |
|
434 |
Valor_azul=Valor Azul |
|
435 |
valor_pixel=Valor de pixel |
|
436 |
Valor_rojo=Valor Rojo |
|
437 |
Valor_verde=Valor Verde |
|
438 | 438 |
ventana_proyecto=Ventana de proyecto |
439 | 439 |
Ver=Ver |
440 | 440 |
vertical=Vertical |
... | ... | |
448 | 448 |
Visualizacion=Visualizaci?n |
449 | 449 |
visualizar_cuadricula=Visualizar Malla |
450 | 450 |
WMS=WMS |
451 |
xmax= - X m?xima:
|
|
452 |
ymax= - Y m?xima:
|
|
453 |
xmin= - X m?nima:
|
|
454 |
ymin= - Y m?nima:
|
|
451 |
xmax=X m?xima
|
|
452 |
ymax=Y m?xima
|
|
453 |
xmin=X m?nima
|
|
454 |
ymin=Y m?nima
|
|
455 | 455 |
Yardas=Yardas |
456 | 456 |
Zoom_al_Tema=Zoom al Tema |
457 | 457 |
Zoom_Completo=Zoom Completo |
branches/gvSIG_GisPlanet/applications/appgvSIG/src/com/iver/cit/gvsig/gui/Panels/SaveRasterDialog.java | ||
---|---|---|
151 | 151 |
*/ |
152 | 152 |
public void setTranslation(){ |
153 | 153 |
DataInputSaveRaster dInput = ((SaveSetupPanel)super.getContentPanel()).getSaveParameters(); |
154 |
dInput.lsup_izq.setText(PluginServices.getText(this,"lsup_izq")); |
|
155 |
dInput.linf_der.setText(PluginServices.getText(this,"linf_der")); |
|
156 |
dInput.lfile.setText(PluginServices.getText(this,"Fichero")); |
|
157 |
dInput.lresolucion.setText(PluginServices.getText(this,"lresolucion"));
|
|
158 |
dInput.lescala.setText(PluginServices.getText(this,"lescala"));
|
|
154 |
dInput.lsup_izq.setText(PluginServices.getText(this,"lsup_izq")+":");
|
|
155 |
dInput.linf_der.setText(PluginServices.getText(this,"linf_der")+":");
|
|
156 |
dInput.lfile.setText(PluginServices.getText(this,"Fichero")+":");
|
|
157 |
dInput.lresolucion.setText(PluginServices.getText(this,"resolucion")); |
|
158 |
dInput.lescala.setText(PluginServices.getText(this,"escala")+" 1:");
|
|
159 | 159 |
dInput.lppp.setText(PluginServices.getText(this,"lppp")); |
160 | 160 |
dInput.bseleccion.setText(PluginServices.getText(this,"Seleccionar")); |
161 |
dInput.lancho.setText(PluginServices.getText(this,"ancho_"));
|
|
162 |
dInput.jLabel2.setText(PluginServices.getText(this,"alto_"));
|
|
161 |
dInput.lancho.setText(PluginServices.getText(this,"ancho")+".");
|
|
162 |
dInput.jLabel2.setText(PluginServices.getText(this,"alto")+".");
|
|
163 | 163 |
|
164 | 164 |
} |
165 | 165 |
|
branches/gvSIG_GisPlanet/applications/appgvSIG/src/com/iver/cit/gvsig/gui/Panels/PropertiesRasterDialog.java | ||
---|---|---|
281 | 281 |
if(tpan.nBands==1) |
282 | 282 |
tpan.jLabel1.setText(PluginServices.getText(this,"Valor_banda")); |
283 | 283 |
else |
284 |
tpan.jLabel1.setText(PluginServices.getText(this,"Valor_verde")); |
|
285 |
tpan.jLabel.setText(PluginServices.getText(this,"Valor_rojo")); |
|
286 |
tpan.jLabel2.setText(PluginServices.getText(this,"Valor_azul")); |
|
284 |
tpan.jLabel1.setText(PluginServices.getText(this,"Valor_verde")+":");
|
|
285 |
tpan.jLabel.setText(PluginServices.getText(this,"Valor_rojo")+":");
|
|
286 |
tpan.jLabel2.setText(PluginServices.getText(this,"Valor_azul")+":");
|
|
287 | 287 |
tpan.getTransparencyCheck().setText(PluginServices.getText(this,"transparencia")); |
288 | 288 |
tpan.getOpacityCheck().setText(PluginServices.getText(this,"opacidad")); |
289 |
tpan.jLabel3.setText(PluginServices.getText(this,"usar_rango")); |
|
289 |
tpan.jLabel3.setText(PluginServices.getText(this,"usar_rango")+": 1,3,5:8"); |
|
290 |
tpan.jLabel4.setText(PluginServices.getText(this,"valor_pixel")+": 0 a 255"); |
|
290 | 291 |
|
291 | 292 |
EnhancedPanel ep = this.getEnhancedPanel(); |
292 | 293 |
ep.jLabel.setText(PluginServices.getText(this,"lineal_directo")); |
293 | 294 |
ep.jLabel1.setText(PluginServices.getText(this,"recorte_colas")); |
294 | 295 |
ep.jLabel2.setText(PluginServices.getText(this,"sin_realce")); |
295 |
ep.jLabel4.setText(PluginServices.getText(this,"recorte")); |
|
296 |
ep.jLabel4.setText("% "+PluginServices.getText(this,"recorte"));
|
|
296 | 297 |
ep.jLabel5.setText(PluginServices.getText(this,"eliminar_extremos")); |
297 | 298 |
|
298 | 299 |
//Recorremos los Tab y traducimos el nombre |
Also available in: Unified diff