Revision 24759 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameOverView.java
FFrameOverView.java | ||
---|---|---|
8 | 8 |
import java.awt.geom.Rectangle2D; |
9 | 9 |
import java.awt.image.BufferedImage; |
10 | 10 |
|
11 |
import org.gvsig.fmap.data.ReadException;
|
|
11 |
import org.gvsig.fmap.dal.exception.ReadException;
|
|
12 | 12 |
import org.gvsig.fmap.geom.primitive.Envelope; |
13 | 13 |
import org.gvsig.fmap.mapcontext.MapContext; |
14 | 14 |
import org.gvsig.fmap.mapcontext.ViewPort; |
15 | 15 |
|
16 | 16 |
import com.iver.andami.PluginServices; |
17 |
import com.iver.andami.messages.NotificationManager; |
|
18 | 17 |
import com.iver.cit.gvsig.project.documents.exceptions.SaveException; |
19 | 18 |
import com.iver.cit.gvsig.project.documents.layout.fframes.gui.dialogs.FFrameOverViewDialog; |
20 | 19 |
import com.iver.cit.gvsig.project.documents.layout.fframes.gui.dialogs.IFFrameDialog; |
21 | 20 |
import com.iver.cit.gvsig.project.documents.layout.gui.Layout; |
22 | 21 |
import com.iver.cit.gvsig.project.documents.view.ProjectView; |
23 | 22 |
import com.iver.utiles.XMLEntity; |
24 |
import com.iver.utiles.XMLException; |
|
25 | 23 |
|
26 | 24 |
|
27 | 25 |
/** |
... | ... | |
44 | 42 |
*/ |
45 | 43 |
public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv, |
46 | 44 |
BufferedImage imgBase) throws ReadException { |
47 |
if (getMapContext()!=null) |
|
48 |
getMapContext().getViewPort()
|
|
45 |
if (getMapContext()!=null) {
|
|
46 |
getMapContext().getViewPort() |
|
49 | 47 |
.setEnvelope(getMapContext().getFullEnvelope()); |
48 |
} |
|
50 | 49 |
super.draw(g, at, rv, imgBase); |
51 | 50 |
refresh(); |
52 | 51 |
Rectangle2D r = getBoundingBox(at); |
Also available in: Unified diff