Revision 9057 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.java
DefaultStrategy.java | ||
---|---|---|
56 | 56 |
import com.iver.cit.gvsig.fmap.ViewPort; |
57 | 57 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
58 | 58 |
import com.iver.cit.gvsig.fmap.core.ISymbol; |
59 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
|
60 | 59 |
import com.iver.cit.gvsig.fmap.drivers.DriverAttributes; |
61 | 60 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
62 | 61 |
import com.iver.cit.gvsig.fmap.layers.FBitSet; |
... | ... | |
69 | 68 |
import com.iver.cit.gvsig.fmap.layers.layerOperations.Selectable; |
70 | 69 |
import com.iver.cit.gvsig.fmap.layers.layerOperations.SingleLayer; |
71 | 70 |
import com.iver.cit.gvsig.fmap.rendering.VectorialLegend; |
72 |
import com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D; |
|
73 | 71 |
import com.iver.utiles.swing.threads.Cancellable; |
74 | 72 |
import com.iver.utiles.swing.threads.CancellableMonitorable; |
75 | 73 |
|
... | ... | |
306 | 304 |
*/ |
307 | 305 |
public void print(Graphics2D g, ViewPort viewPort, Cancellable cancel, PrintRequestAttributeSet properties) |
308 | 306 |
throws DriverException { |
309 |
draw(null, g, viewPort, cancel); // Quiero ejecutar el draw del padre, que es el que va sin acelaraci?n!! |
|
307 |
if (capa instanceof FLyrVect) { |
|
308 |
((FLyrVect)capa).beforePrinting(properties); |
|
309 |
draw(null, g, viewPort, cancel); // Quiero ejecutar el draw del padre, que es el que va sin acelaraci?n!! |
|
310 |
((FLyrVect)capa).afterPrinting(); |
|
311 |
}else{ |
|
312 |
draw(null, g, viewPort, cancel); // Quiero ejecutar el draw del padre, que es el que va sin acelaraci?n!! |
|
313 |
} |
|
310 | 314 |
} |
311 | 315 |
|
312 | 316 |
public void process(FeatureVisitor visitor, Rectangle2D rectangle) throws DriverException, VisitException { |
Also available in: Unified diff