Revision 10626 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ThemeToAnnotationExtension.java
ThemeToAnnotationExtension.java | ||
---|---|---|
45 | 45 |
import jwizardcomponent.FinishAction; |
46 | 46 |
import jwizardcomponent.JWizardComponents; |
47 | 47 |
|
48 |
import com.hardcode.gdbms.engine.data.driver.DriverException;
|
|
48 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
|
|
49 | 49 |
import com.iver.andami.PluginServices; |
50 | 50 |
import com.iver.andami.plugins.Extension; |
51 | 51 |
import com.iver.andami.ui.mdiManager.IWindow; |
52 | 52 |
import com.iver.cit.gvsig.fmap.MapContext; |
53 | 53 |
import com.iver.cit.gvsig.fmap.core.FShape; |
54 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
55 | 54 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
56 | 55 |
import com.iver.cit.gvsig.fmap.layers.FLyrAnnotation; |
57 | 56 |
import com.iver.cit.gvsig.fmap.layers.FLyrVect; |
... | ... | |
133 | 132 |
if (!panel2.getFontFieldName().equals(ConfigureLabel.TEXT_FOR_DEFAULT_VALUE)) { |
134 | 133 |
mapping.setColumnTypeFont(source.getFieldIndexByName(panel2.getFontFieldName())); |
135 | 134 |
} |
136 |
} catch (com.iver.cit.gvsig.fmap.DriverException e) { |
|
137 |
// TODO Que hacemos aqui |
|
135 |
} catch (ReadDriverException e) { |
|
138 | 136 |
e.printStackTrace(); |
139 | 137 |
return; |
140 |
} catch (DriverException e) { |
|
141 |
// TODO Auto-generated catch block |
|
142 |
e.printStackTrace(); |
|
143 | 138 |
} |
144 | 139 |
|
145 | 140 |
|
... | ... | |
230 | 225 |
SelectableDataSource sds=lv.getSource().getRecordset(); |
231 | 226 |
if (sds.getFieldCount()>0) |
232 | 227 |
return true; |
233 |
} catch (DriverException e) { |
|
228 |
} catch (ReadDriverException e) {
|
|
234 | 229 |
return false; |
235 |
} catch (DriverIOException e1) { |
|
236 |
e1.printStackTrace(); |
|
237 | 230 |
} |
238 | 231 |
} |
239 | 232 |
} |
Also available in: Unified diff