Revision 652 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ViewControls.java
ViewControls.java | ||
---|---|---|
11 | 11 |
import com.iver.andami.PluginServices; |
12 | 12 |
import com.iver.andami.messages.NotificationManager; |
13 | 13 |
import com.iver.andami.plugins.Extension; |
14 |
import com.iver.cit.gvsig.fmap.DriverException; |
|
14 | 15 |
import com.iver.cit.gvsig.fmap.FMap; |
15 | 16 |
import com.iver.cit.gvsig.fmap.NewMapControl; |
16 | 17 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
... | ... | |
55 | 56 |
try { |
56 | 57 |
mapa.getViewPort().setExtent(mapa.getLayers().getFullExtent()); |
57 | 58 |
mapCtrl.drawMap(); |
58 |
} catch (DriverIOException e) {
|
|
59 |
} catch (DriverException e) { |
|
59 | 60 |
NotificationManager.addError("Error obteniendo el full extent", e); |
60 | 61 |
} |
61 | 62 |
} else if (s.compareTo("SELECTIONBYSHAPE") == 0) { |
Also available in: Unified diff