Revision 11548 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/LegendManager.java
LegendManager.java | ||
---|---|---|
77 | 77 |
import com.iver.cit.gvsig.fmap.layers.layerOperations.AlphanumericData; |
78 | 78 |
import com.iver.cit.gvsig.fmap.layers.layerOperations.Classifiable; |
79 | 79 |
import com.iver.cit.gvsig.fmap.layers.layerOperations.ClassifiableVectorial; |
80 |
import com.iver.cit.gvsig.fmap.rendering.ClassifiedLegend; |
|
80 |
import com.iver.cit.gvsig.fmap.rendering.ClassifiedVectorialLegend;
|
|
81 | 81 |
import com.iver.cit.gvsig.fmap.rendering.Legend; |
82 | 82 |
import com.iver.cit.gvsig.fmap.rendering.SingleSymbolLegend; |
83 | 83 |
import com.iver.cit.gvsig.fmap.rendering.VectorialLegend; |
... | ... | |
573 | 573 |
if (laux instanceof ClassifiableVectorial) { |
574 | 574 |
ClassifiableVectorial aux2 = (ClassifiableVectorial) laux; |
575 | 575 |
try { |
576 |
if (legend instanceof ClassifiedLegend) { |
|
576 |
if (legend instanceof ClassifiedVectorialLegend) {
|
|
577 | 577 |
// Es una leyenda que necesita un recordset con un |
578 | 578 |
// nombre de campo. Comprobamos que ese recordset |
579 | 579 |
// tiene ese nombre de campo y es del tipo esperado |
580 |
ClassifiedLegend cl = (ClassifiedLegend) legend;
|
|
580 |
ClassifiedVectorialLegend cl = (ClassifiedVectorialLegend) legend;
|
|
581 | 581 |
|
582 | 582 |
if (aux2 instanceof AlphanumericData) { |
583 | 583 |
DataSource rs; |
Also available in: Unified diff