Revision 10626 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/toc/actions/ZoomPixelTocMenuEntry.java
ZoomPixelTocMenuEntry.java | ||
---|---|---|
6 | 6 |
|
7 | 7 |
import javax.swing.JMenuItem; |
8 | 8 |
|
9 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
9 | 10 |
import com.iver.andami.PluginServices; |
11 |
import com.iver.cit.gvsig.exceptions.expansionfile.ExpansionFileReadException; |
|
10 | 12 |
import com.iver.cit.gvsig.fmap.ViewPort; |
11 | 13 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
12 | 14 |
import com.iver.cit.gvsig.fmap.layers.FLyrRaster; |
... | ... | |
57 | 59 |
* |
58 | 60 |
* $Id$ |
59 | 61 |
* $Log$ |
60 |
* Revision 1.1 2006-09-15 10:41:30 caballero |
|
62 |
* Revision 1.2 2007-03-06 16:37:08 caballero |
|
63 |
* Exceptions |
|
64 |
* |
|
65 |
* Revision 1.1 2006/09/15 10:41:30 caballero |
|
61 | 66 |
* extensibilidad de documentos |
62 | 67 |
* |
63 | 68 |
* Revision 1.1 2006/09/12 15:58:14 jorpiell |
... | ... | |
157 | 162 |
r = new Rectangle2D.Double(wcDstMinX, wcDstMinY, wcDstWidth, wcDstHeight); |
158 | 163 |
getMapContext().getViewPort().setExtent(r); |
159 | 164 |
} |
160 |
} catch (com.iver.cit.gvsig.fmap.DriverException e1) {
|
|
165 |
} catch (ReadDriverException e1) {
|
|
161 | 166 |
e1.printStackTrace(); |
167 |
} catch (ExpansionFileReadException e1) { |
|
168 |
e1.printStackTrace(); |
|
162 | 169 |
} |
163 | 170 |
} |
164 | 171 |
//View vista = (View) PluginServices.getMDIManager().getActiveView(); |
Also available in: Unified diff