Revision 3302
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.java | ||
---|---|---|
177 | 177 |
} |
178 | 178 |
} |
179 | 179 |
VectorialLegend l = (VectorialLegend) ((ClassifiableVectorial) capa).getLegend(); |
180 |
FBitSet bitSet = null; |
|
181 |
if (getCapa() instanceof Selectable){ |
|
182 |
Selectable selection = (Selectable) getCapa(); |
|
183 |
bitSet = selection.getSelection(); |
|
184 |
} |
|
180 | 185 |
for (int i = 0; i < sc; i++) { |
181 | 186 |
if (cancel.isCanceled()) { |
182 | 187 |
break; |
... | ... | |
202 | 207 |
|
203 | 208 |
if (symbol ==null) |
204 | 209 |
continue; |
205 |
if (getCapa() instanceof Selectable){ |
|
206 |
Selectable selection = (Selectable) getCapa(); |
|
207 |
BitSet bitSet = selection.getSelection(); |
|
208 |
if (bitSet.get(i)) { |
|
209 |
symbol = FSymbol.getSymbolForSelection(symbol); |
|
210 |
} |
|
211 |
} |
|
210 |
if (bitSet != null) |
|
211 |
if (bitSet.get(i)) { |
|
212 |
symbol = FSymbol.getSymbolForSelection(symbol); |
|
213 |
} |
|
212 | 214 |
geom.draw(g, viewPort, symbol); |
213 | 215 |
} |
214 | 216 |
/* else |
Also available in: Unified diff