Revision 8254

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/FThemeManagerWindow.java
57 57
import javax.swing.JButton;
58 58
import javax.swing.JDialog;
59 59
import javax.swing.JFileChooser;
60
import javax.swing.JOptionPane;
60 61
import javax.swing.JPanel;
61 62
import javax.swing.JTabbedPane;
62 63

  
......
285 286
                        if (aux2 instanceof AlphanumericData)
286 287
                        {
287 288
                            DataSource rs = ((AlphanumericData) aux2).getRecordset();
289
                            if (cl.getValues().length==0) {
290
                            	JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(),"no_es_posible_aplicar_leyenda_vacia");
291
                            	return;
292
                            }
288 293
                            int idField = rs.getFieldIndexByName(cl.getFieldName());
289 294
                            if (idField != -1)
290 295
                            {
trunk/applications/appgvSIG/config/text.properties
425 425
no=No
426 426
no_activos=No activos
427 427
No_de_intervalos=N\u00ba de intervalos
428
no_es_posible_aplicar_leyenda_vacia=No es posible aplicar la leyenda vac?a.
428 429
No_ha_sido_posible_realizar_la_operacion=No ha sido posible realizar la operaci\u00f3n
429 430
No_mostrar=No mostrar la capa cuando la escala
430 431
No_mostrar_la_capa_cuando_la_escala=No mostrar la capa cuando la escala
......
651 652
Transparencia=Transparencia
652 653
transparencia_pixel=Transparencia por pixel
653 654
ungroup=Desagrupar
654
unidades=Unidades\: 
655
unidades=Unidades\:
655 656
untitled=Sin t\u00edtulo
656 657
url=url
657 658
Usar_indice_espacial=Usar \u00edndice espacial

Also available in: Unified diff