Revision 11704 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/dxf/DXFMemoryDriver.java
DXFMemoryDriver.java | ||
---|---|---|
84 | 84 |
import com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException; |
85 | 85 |
import com.iver.cit.gvsig.exceptions.visitors.StartWriterVisitorException; |
86 | 86 |
import com.iver.cit.gvsig.exceptions.visitors.StopWriterVisitorException; |
87 |
import com.iver.cit.gvsig.fmap.MapContext; |
|
87 | 88 |
import com.iver.cit.gvsig.fmap.core.FPoint2D; |
88 | 89 |
import com.iver.cit.gvsig.fmap.core.FPoint3D; |
89 | 90 |
import com.iver.cit.gvsig.fmap.core.FPolygon2D; |
... | ... | |
243 | 244 |
((AttrInTableLabeling) labeling).setTextFieldId(arrayFields.indexOf("Text")); |
244 | 245 |
((AttrInTableLabeling) labeling).setRotationFieldId(arrayFields.indexOf("RotationText")); |
245 | 246 |
((AttrInTableLabeling) labeling).setHeightFieldId(arrayFields.indexOf("HeightText")); |
247 |
((AttrInTableLabeling) labeling).setUnit(1); //MapContext.NAMES[1] (meters) |
|
246 | 248 |
|
247 |
|
|
248 | 249 |
getTableModel().setColumnIdentifiers(arrayFields.toArray()); |
249 | 250 |
|
250 | 251 |
for (int i = 0; i < features.size(); i++) { |
... | ... | |
637 | 638 |
|
638 | 639 |
defaultLegend = LegendFactory |
639 | 640 |
.createVectorialUniqueValueLegend(getShapeType()); |
640 |
defaultLegend.setFieldName("Color");
|
|
641 |
defaultLegend.setFieldNames(new String[] {"Color"});
|
|
641 | 642 |
defaultLegend.setLabelField("Text"); |
642 | 643 |
|
643 | 644 |
/* |
Also available in: Unified diff