Revision 632
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/Abrir.java | ||
---|---|---|
57 | 57 |
|
58 | 58 |
FileOpenDialog fileDlg = new FileOpenDialog(new Class[]{VectorialFileDriver.class, GeorreferencedRasterDriver.class}); |
59 | 59 |
DataBaseOpenDialog dbop = new DataBaseOpenDialog(); |
60 |
dbop.setClasses(new Class[] { DBDriver.class }); |
|
60 |
try { |
|
61 |
dbop.setClasses(new Class[] { DBDriver.class }); |
|
62 |
} catch (DriverLoadException e1) { |
|
63 |
e1.printStackTrace(); |
|
64 |
return; |
|
65 |
} |
|
61 | 66 |
fopen.addTab("Fichero", fileDlg); |
62 | 67 |
fopen.addTab("Base de datos", dbop); |
63 | 68 |
PluginServices.getMDIManager().addView(fopen); |
Also available in: Unified diff