Revision 9116
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/FPanelLegendValues.java | ||
---|---|---|
47 | 47 |
package com.iver.cit.gvsig.project.documents.view.legend.gui; |
48 | 48 |
|
49 | 49 |
import java.awt.BorderLayout; |
50 |
import java.awt.Component; |
|
50 | 51 |
import java.awt.Dimension; |
51 | 52 |
import java.awt.event.ActionEvent; |
52 | 53 |
import java.awt.event.ActionListener; |
... | ... | |
184 | 185 |
|
185 | 186 |
int idField = -1; |
186 | 187 |
String fieldName = (String) m_cboFields.getSelectedItem(); |
188 |
if (fieldName==null) { |
|
189 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(),PluginServices.getText(this,"no_hay_campo_seleccionado")); |
|
190 |
return; |
|
191 |
} |
|
192 |
|
|
187 | 193 |
System.out.println("Nombre del campo: " + fieldName); |
188 | 194 |
idField = elRs.getFieldIndexByName(fieldName); |
189 | 195 |
m_Renderer.setFieldName(fieldName); |
... | ... | |
258 | 264 |
quitartodo.setEnabled(true); |
259 | 265 |
quitar.setEnabled(true); |
260 | 266 |
|
261 |
//m_bCacheDirty = false;
|
|
267 |
//m_bCacheDirty = false; |
|
262 | 268 |
} |
263 | 269 |
|
264 | 270 |
/** |
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/PanelLegendBreaks.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
import java.awt.BorderLayout; |
44 | 44 |
import java.awt.Color; |
45 |
import java.awt.Component; |
|
45 | 46 |
import java.awt.event.ActionEvent; |
46 | 47 |
import java.awt.event.ActionListener; |
47 | 48 |
import java.sql.Types; |
... | ... | |
399 | 400 |
} |
400 | 401 |
|
401 | 402 |
String fieldName = (String) cmbField.getSelectedItem(); |
403 |
if (fieldName==null) { |
|
404 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(),PluginServices.getText(this,"no_hay_campo_seleccionado")); |
|
405 |
return; |
|
406 |
} |
|
402 | 407 |
System.out.println("Nombre del campo de clasificaci?n: " + |
403 | 408 |
fieldName); |
404 | 409 |
m_Renderer.setFieldName(fieldName); |
trunk/applications/appgvSIG/config/text.properties | ||
---|---|---|
427 | 427 |
no_activos=No activos |
428 | 428 |
No_de_intervalos=N\u00ba de intervalos |
429 | 429 |
no_es_posible_aplicar_leyenda_vacia=No es posible aplicar la leyenda vac\u00eda. |
430 |
no_hay_campo_seleccionado=No hay ning?n campo de clasificaci?n seleccionado |
|
430 | 431 |
No_ha_sido_posible_realizar_la_operacion=No ha sido posible realizar la operaci\u00f3n |
431 | 432 |
No_mostrar=No mostrar la capa cuando la escala |
432 | 433 |
No_mostrar_la_capa_cuando_la_escala=No mostrar la capa cuando la escala |
... | ... | |
657 | 658 |
Transparencia=Transparencia |
658 | 659 |
transparencia_pixel=Transparencia por pixel |
659 | 660 |
ungroup=Desagrupar |
660 |
unidades=Unidades\:
|
|
661 |
Unidades=Unidades\:
|
|
661 |
unidades=Unidades\: |
|
662 |
Unidades=Unidades\: |
|
662 | 663 |
untitled=Sin t\u00edtulo |
663 | 664 |
url=url |
664 | 665 |
Usar_indice_espacial=Usar \u00edndice espacial |
Also available in: Unified diff