Revision 12727

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/LegendManager.java
1 1
/*
2 2
 * Created on 08-feb-2005
3 3
 *
4
 * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
4
 * gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
5 5
 *
6 6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7 7
 *
......
23 23
 *
24 24
 *  Generalitat Valenciana
25 25
 *   Conselleria d'Infraestructures i Transport
26
 *   Av. Blasco Ib??ez, 50
26
 *   Av. Blasco Ib��ez, 50
27 27
 *   46010 VALENCIA
28 28
 *   SPAIN
29 29
 *
......
66 66
import javax.swing.tree.TreePath;
67 67
import javax.swing.tree.TreeSelectionModel;
68 68

  
69
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
70
import com.hardcode.gdbms.engine.data.DataSource;
71
import com.hardcode.gdbms.engine.instruction.FieldNotFoundException;
72 69
import com.iver.andami.PluginServices;
73 70
import com.iver.andami.messages.NotificationManager;
74 71
import com.iver.cit.gvsig.exceptions.layers.LegendLayerException;
......
79 76
import com.iver.cit.gvsig.fmap.layers.layerOperations.ClassifiableVectorial;
80 77
import com.iver.cit.gvsig.fmap.rendering.IClassifiedVectorialLegend;
81 78
import com.iver.cit.gvsig.fmap.rendering.ILegend;
82
import com.iver.cit.gvsig.fmap.rendering.SingleSymbolLegend;
83 79
import com.iver.cit.gvsig.fmap.rendering.IVectorialLegend;
80
import com.iver.cit.gvsig.fmap.rendering.SingleSymbolLegend;
84 81
import com.iver.cit.gvsig.gui.styling.SymbolPreviewer;
85
import com.iver.utiles.ExceptionDescription;
86 82
/**
87 83
 *
88 84
 * @author jaume dominguez faus - jaume.dominguez@iver.es
......
592 588
							}
593 589
//							int idField = rs.getFieldIndexByName(cl.getFieldNames());
594 590
//							if (idField != -1) {
595
								//TODO: Aqu? deber?amos comprobar si el tipo de campo
591
								//TODO: Aqu� deber�amos comprobar si el tipo de campo
596 592
								// es el tipo de campo esperado.
597 593
								/*if (renderer instanceof VectorialUniqueValueLegend){
598 594
								 ((VectorialUniqueValueLegend)renderer).setLabelHeightField(null);
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/LabelingManager.java
2 2
 * Created on 01-jun-2004
3 3
 *
4 4
 */
5
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
5
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
6 6
 *
7 7
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
8 8
 *
......
24 24
 *
25 25
 *  Generalitat Valenciana
26 26
 *   Conselleria d'Infraestructures i Transport
27
 *   Av. Blasco Ib??ez, 50
27
 *   Av. Blasco Ib��ez, 50
28 28
 *   46010 VALENCIA
29 29
 *   SPAIN
30 30
 *
......
918 918
	public void actionPerformed(ActionEvent e) {
919 919
		if (noEvent) return;
920 920
		JComponent c = (JComponent)e.getSource();
921
		System.out.println(c.getName());
921
		
922 922
		if (c.equals(chkApplyLabels)) {
923 923
			boolean b = chkApplyLabels.isSelected();
924 924
			// enables/disables all components

Also available in: Unified diff