Revision 1233 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/dgn/DgnMemoryDriver.java
DgnMemoryDriver.java | ||
---|---|---|
54 | 54 |
import com.iver.cit.gvsig.fmap.core.GeneralPathX; |
55 | 55 |
import com.iver.cit.gvsig.fmap.core.v02.FConstant; |
56 | 56 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
57 |
import com.iver.cit.gvsig.fmap.drivers.DriverAttributes; |
|
57 | 58 |
import com.iver.cit.gvsig.fmap.drivers.MemoryDriver; |
58 | 59 |
import com.iver.cit.gvsig.fmap.drivers.WithDefaultLegend; |
59 | 60 |
import com.iver.cit.gvsig.fmap.rendering.Legend; |
... | ... | |
88 | 89 |
VectorialUniqueValueLegend defaultLegend; |
89 | 90 |
private String path; |
90 | 91 |
private File m_Fich; |
91 |
|
|
92 |
private DriverAttributes attr = new DriverAttributes(); |
|
93 |
|
|
92 | 94 |
/** |
93 | 95 |
* @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#open(java.io.File) |
94 | 96 |
*/ |
... | ... | |
101 | 103 |
*/ |
102 | 104 |
public void initialize() throws IOException { |
103 | 105 |
float heightText = 10; |
106 |
|
|
107 |
attr.setLoadedInMemory(true); |
|
104 | 108 |
|
105 | 109 |
m_DgnReader = new DGNReader(m_Fich.getAbsolutePath()); |
106 | 110 |
|
... | ... | |
561 | 565 |
public Legend getDefaultLegend() { |
562 | 566 |
return defaultLegend; |
563 | 567 |
} |
568 |
|
|
569 |
/* (non-Javadoc) |
|
570 |
* @see com.iver.cit.gvsig.fmap.drivers.VectorialDriver#getDriverAttributes() |
|
571 |
*/ |
|
572 |
public DriverAttributes getDriverAttributes() { |
|
573 |
return attr; |
|
574 |
} |
|
564 | 575 |
} |
Also available in: Unified diff