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);
|