Revision 1015 org.gvsig.dgn/trunk/org.gvsig.dgn/org.gvsig.dgn.provider.legend/src/main/java/org/gvsig/fmap/dal/store/dgn/legend/DGNLegendBuilder.java
DGNLegendBuilder.java | ||
---|---|---|
99 | 99 |
if (defaultLegend.getSymbolByValue(clave) == null) { |
100 | 100 |
ISymbol theSymbol; |
101 | 101 |
Color color = dgnReader.DGNLookupColor(clave.intValue()); |
102 |
theSymbol = |
|
103 |
mapContextManager.getSymbolManager().createSymbol( |
|
102 |
if( color == null ) { |
|
103 |
color = Color.BLACK; |
|
104 |
} |
|
105 |
theSymbol = mapContextManager.getSymbolManager().createSymbol( |
|
104 | 106 |
Geometry.TYPES.GEOMETRY, color); |
105 | 107 |
|
106 | 108 |
theSymbol.setDescription(clave.toString()); |
Also available in: Unified diff