Revision 470 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.java
DefaultStrategy.java | ||
---|---|---|
7 | 7 |
import java.awt.image.BufferedImage; |
8 | 8 |
import java.util.BitSet; |
9 | 9 |
|
10 |
import com.hardcode.driverManager.DriverLoadException; |
|
11 |
import com.hardcode.gdbms.engine.data.DriverException; |
|
10 | 12 |
import com.iver.cit.gvsig.fmap.ViewPort; |
11 | 13 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
12 | 14 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
... | ... | |
81 | 83 |
* @param viewPort DOCUMENT ME! |
82 | 84 |
* |
83 | 85 |
* @throws DriverIOException |
86 |
* @throws DriverLoadException |
|
87 |
* @throws DriverException |
|
84 | 88 |
* |
85 | 89 |
* @see com.iver.cit.gvsig.fmap.operations.LayerOperations#draw(java.awt.image.BufferedImage, |
86 | 90 |
* java.awt.Graphics2D, FStyle2D) |
87 | 91 |
*/ |
88 | 92 |
public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, Cancellable cancel) |
89 |
throws DriverIOException { |
|
93 |
throws DriverIOException, DriverLoadException, DriverException {
|
|
90 | 94 |
VectorialAdapter adapter = capa.getSource(); |
91 | 95 |
|
92 | 96 |
adapter.start(); |
... | ... | |
173 | 177 |
/* (non-Javadoc) |
174 | 178 |
* @see com.iver.cit.gvsig.fmap.operations.strategies.Strategy#print(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort) |
175 | 179 |
*/ |
176 |
public void print(Graphics2D g, ViewPort viewPort, Cancellable cancel) throws DriverIOException { |
|
180 |
public void print(Graphics2D g, ViewPort viewPort, Cancellable cancel) throws DriverIOException, DriverLoadException, DriverException {
|
|
177 | 181 |
draw(null, g, viewPort, cancel); // Quiero ejecutar el draw del padre, que es el que va sin acelaraci?n!! |
178 | 182 |
|
179 | 183 |
} |
Also available in: Unified diff