Revision 2170

View differences:

branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/ui/raster/RasterTransparencyPanel.java
17 17
 */
18 18
public class RasterTransparencyPanel extends JPanel{
19 19
	
20
	String 						nom = "Transparencia";
20
	public String 						nom = "Transparencia";
21 21
	FilterRasterDialogPanel 	parent = null;
22 22
	public int 					nBands = 3;
23 23
	private String[]			nameBands = {"Rojo","Verde","Azul"};				
branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/ui/raster/EnhancedPanel.java
76 76
 */
77 77
public class EnhancedPanel extends JPanel{
78 78
	
79
	String nom = "Realce";
79
	public String nom = "Realce";
80 80
	FilterRasterDialogPanel parent = null;
81 81
		
82 82
	private JPanel jPanel = null;
branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/ui/raster/DataInputSaveRaster.java
71 71
	private JPanel coordenadas = null;
72 72
	private JPanel psup_izq = null;
73 73
	private JPanel pinf_der = null;
74
	private JLabel lsup_izq = null;
74
	public JLabel lsup_izq = null;
75 75
	private JTextField tsup_izqX = null;
76 76
	private JTextField tsup_izqY = null;
77
	private JLabel linf_der = null;
78
	private JLabel y = null;
77
	public JLabel linf_der = null;
78
	public JLabel y = null;
79 79
	private JTextField tinf_derX = null;
80 80
	private JTextField tinf_derY = null;
81 81
	private JPanel datosImagen = null;
82 82
	private JPanel datosFichero = null;
83 83
	private JPanel pescalaRes = null;
84 84
	private JPanel pnombre = null;
85
	private JLabel lescala = null;
85
	public JLabel lescala = null;
86 86
	private JTextField tescala = null;
87
	private JLabel lfile = null;
88
	private JLabel lresolucion = null;
89
	private JLabel lppp = null;
87
	public JLabel lfile = null;
88
	public JLabel lresolucion = null;
89
	public JLabel lppp = null;
90 90
	private DefaultComboBoxModel defaultComboBoxModel = null;   
91 91
	private BasicComboBoxEditor basicComboBoxEditor = null;   
92 92
	private String string = null;  
93 93
	private JComboBox jComboBox = null;
94
	private JButton bseleccion = null;
94
	public JButton bseleccion = null;
95 95
	private JPanel panchoAlto = null;
96
	private JLabel lancho = null;
97
	private JLabel jLabel2 = null;
96
	public JLabel lancho = null;
97
	public JLabel jLabel2 = null;
98 98
	private JTextField tancho = null;
99 99
	private JTextField talto = null;
100
	private JButton bpropiedades = null;
100
	public JButton bpropiedades = null;
101 101
	
102 102
	
103 103
	public DataInputSaveRaster() {
branches/gvSIG_GisPlanet/applications/appgvSIG/src/com/iver/cit/gvsig/gui/Panels/PropertiesRasterDialog.java
277 277
	private void setTranslation(){
278 278
		this.getBandSetup().getFileList().getJButton2().setText(PluginServices.getText(this,"Anadir"));
279 279
		this.getBandSetup().getFileList().getJButton3().setText(PluginServices.getText(this,"Eliminar"));
280
		
280
			
281 281
		RasterTransparencyPanel tpan = this.getTransparencyPanel();
282 282
		if(tpan.nBands==1)
283 283
			tpan.jLabel1.setText(PluginServices.getText(this,"Valor_banda"));
......
288 288
		tpan.getTransparencyCheck().setText(PluginServices.getText(this,"transparencia"));
289 289
		tpan.getOpacityCheck().setText(PluginServices.getText(this,"opacidad"));
290 290
		tpan.jLabel3.setText(PluginServices.getText(this,"usar_rango"));
291
		
291
				
292 292
		EnhancedPanel ep = this.getEnhancedPanel();
293 293
		ep.jLabel.setText(PluginServices.getText(this,"lineal_directo"));
294 294
		ep.jLabel1.setText(PluginServices.getText(this,"recorte_colas"));
295 295
		ep.jLabel2.setText(PluginServices.getText(this,"sin_realce"));
296 296
		ep.jLabel4.setText(PluginServices.getText(this,"recorte"));
297 297
		ep.jLabel5.setText(PluginServices.getText(this,"eliminar_extremos"));
298
		
299
		
300
		
301
		
298
				
299
		//Recorremos los Tab y traducimos el nombre
300
		for(int i=0;i<this.getTab().getTabCount();i++){
301
			if(this.getTab().getTitleAt(i).equals("Info"))
302
				this.getTab().setTitleAt(i,PluginServices.getText(this,"Info"));
303
			if(this.getTab().getTitleAt(i).equals("Transparencia"))
304
				this.getTab().setTitleAt(i,PluginServices.getText(this,"Transparencia"));
305
			if(this.getTab().getTitleAt(i).equals("Bandas"))
306
				this.getTab().setTitleAt(i,PluginServices.getText(this,"Bandas"));
307
			if(this.getTab().getTitleAt(i).equals("Realce"))
308
				this.getTab().setTitleAt(i,PluginServices.getText(this,"realce"));
309
		}
302 310
	}
303 311
	
304 312
	/**
branches/gvSIG_GisPlanet/applications/appgvSIG/src/com/iver/cit/gvsig/gui/Panels/SaveRasterDialog.java
143 143
		this.layers = layers;
144 144
		this.mapCtrl = mapCtrl;
145 145
		init();
146
		this.setTranslation();
146 147
	}
147 148
	
148 149
	/**
150
	 * Asigna los textos a los paneles
151
	 */
152
	public void setTranslation(){
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"));
159
		dInput.lppp.setText(PluginServices.getText(this,"lppp"));
160
		dInput.bseleccion.setText(PluginServices.getText(this,"Seleccionar"));
161
		dInput.lancho.setText(PluginServices.getText(this,"ancho_"));
162
		dInput.jLabel2.setText(PluginServices.getText(this,"alto_"));
163
				
164
	}
165
	
166
	/**
149 167
	 * Inicializa el jDialog	
150 168
	 * 	
151 169
	 * @return javax.swing.JDialog	
branches/gvSIG_GisPlanet/applications/appgvSIG/text_en.properties
56 56
background_color=Background color
57 57
baja=Low
58 58
Bajar_capa=Move layer down
59
Bandas=Bands
59 60
bmp=BMP files
60 61
Bold=Bold
61 62
borra_seleccion=Del selection
......
320 321
Quitar_todos=Remove all
321 322
Rango_de_escalas=Rank of Scales
322 323
Rasterfiles=Rasterfiles
324
realce=Enhanced
323 325
recorte_vista=Cut to view
324 326
recta=Rect
325 327
rectangulo=Rectangle
......
403 405
Valores=Values
404 406
Valores_unicos=Single values
405 407
Valores_?nicos=Unique values
408
Valor_azul= Blue Value:
409
Valor_rojo= Red Value:
410
Valor_verde= Green Value:
406 411
ventana_proyecto=Project window
407 412
Ver=View
408 413
vertical=Vertical
......
438 443
extents_no_coincidentes=Extent of the selected image does not match with the origin image. 
439 444
fichero_existe=Selected file already exists as layer band
440 445
Zoom_pixel=Zoom to raster resolution
441
propiedades_raster=Raster propierties
446
propiedades_raster=Raster properties
442 447
salvar_raster=Save as raster
443 448
alerta=Warning
444 449
Coberturas=Covers
branches/gvSIG_GisPlanet/applications/appgvSIG/text.properties
30 30
alinear_graficos=Alinear gr?ficos
31 31
alta=Alta
32 32
alto=Alto
33
alto_=Alto:
33 34
altura=Altura:
34 35
Altura_fija_de_texto=Altura fija de texto
35 36
Anadir=A?adir
......
40 41
Anadir_todos=A?adir Todos
41 42
Anadir_todos=A?adir todos
42 43
ancho=Ancho
44
ancho_=Ancho:
43 45
ancho_alto=Ancho X Alto:
44 46
Ancho_Contorno=Ancho Contorno
45 47
Ancho_de_l?nea=Ancho de l?nea
......
57 59
background_color=Color de fondo
58 60
baja=Baja
59 61
Bajar_capa=Bajar capa
62
bandas=Bandas
60 63
bmp=Ficheros de tipo bmp
61 64
Bold=Bold
62 65
borra_seleccion=Borra selecci?n
......
205 208
importar=Importar
206 209
Imprimir=Imprimir
207 210
Inferior=Inferior
211
info=Info
208 212
infobreak=Muestra los elementos de la capa usando una gama de colores.
209 213
infodef=Muestra todos los elementos de una capa usando el mismo s?mbolo.
210 214
informacion=Informaci?n
......
235 239
jpg=Ficheros JPEG
236 240
Kilometros=Kil?metros
237 241
kilometros=Kil?metros
242
lescala=Escala  1:
238 243
leyenda=Leyenda
239 244
Linea=L?nea
240 245
linea=L?nea
241 246
linea_grafica=L?nea gr?fica
242 247
lineal_directo=Lineal Directo
248
linf_der=Inf. der.  X:
243 249
Link=Enlace
250
lppp=ppp
251
lresolucion=Resoluci?n
252
lsup_izq=Sup. izq. X:
244 253
malla_activada=Malla activada
245 254
mantener_intervalo=Mantener intervalo
246 255
Mapa=Mapa
......
330 339
Quitar_todos=Quitar todos
331 340
Rango_de_escalas=Rango de escalas
332 341
Rasterfiles=Ficheros r?ster
342
realce=Realce
333 343
recorte=% recorte
334 344
recorte_colas=Recorte de Colas
335 345
recorte_vista=Recorte a vista

Also available in: Unified diff