Revision 11558 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLayerGenericVectorial.java
FLayerGenericVectorial.java | ||
---|---|---|
14 | 14 |
import com.iver.cit.gvsig.fmap.drivers.VectorialDriver; |
15 | 15 |
import com.iver.cit.gvsig.fmap.drivers.WithDefaultLegend; |
16 | 16 |
import com.iver.cit.gvsig.fmap.rendering.LegendFactory; |
17 |
import com.iver.cit.gvsig.fmap.rendering.VectorialLegend; |
|
17 |
import com.iver.cit.gvsig.fmap.rendering.IVectorialLegend;
|
|
18 | 18 |
import com.iver.cit.gvsig.fmap.rendering.styling.AttrInTableLabeling; |
19 | 19 |
import com.iver.cit.gvsig.fmap.rendering.styling.ILabelingStrategy; |
20 | 20 |
import com.iver.utiles.IPersistance; |
... | ... | |
57 | 57 |
if (this.getLegend() == null) { |
58 | 58 |
if (this.getRecordset().getDriver() instanceof WithDefaultLegend) { |
59 | 59 |
WithDefaultLegend aux = (WithDefaultLegend) this.getRecordset().getDriver(); |
60 |
this.setLegend((VectorialLegend) aux.getDefaultLegend()); |
|
60 |
this.setLegend((IVectorialLegend) aux.getDefaultLegend());
|
|
61 | 61 |
|
62 | 62 |
ILabelingStrategy labeler = aux.getDefaultLabelingStrategy(); |
63 | 63 |
if (labeler instanceof AttrInTableLabeling) { |
Also available in: Unified diff