Revision 17120 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/AddLayer.java
AddLayer.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import com.hardcode.driverManager.DriverManager; |
31 | 31 |
import com.hardcode.driverManager.WriterManager; |
32 |
import com.hardcode.gdbms.driver.exceptions.FileNotFoundDriverException; |
|
32 | 33 |
import com.iver.andami.PluginServices; |
33 | 34 |
import com.iver.andami.plugins.Extension; |
34 | 35 |
import com.iver.cit.gvsig.addlayer.AddLayerDialog; |
35 | 36 |
import com.iver.cit.gvsig.addlayer.fileopen.FileOpenWizard; |
37 |
import com.iver.cit.gvsig.addlayer.fileopen.solve.FileNotFoundSolve; |
|
36 | 38 |
import com.iver.cit.gvsig.addlayer.fileopen.vectorial.VectorialFileOpen; |
37 | 39 |
import com.iver.cit.gvsig.fmap.MapControl; |
38 | 40 |
import com.iver.cit.gvsig.fmap.ViewPort; |
... | ... | |
286 | 288 |
return false; |
287 | 289 |
} |
288 | 290 |
|
291 |
/* (non-Javadoc) |
|
292 |
* @see com.iver.andami.plugins.IExtension#initialize() |
|
293 |
*/ |
|
289 | 294 |
public void initialize() { |
295 |
//Listener para resolver un FileDriverNotFoundException |
|
296 |
LayerFactory.addSolveErrorForLayer(FileNotFoundDriverException.class,new FileNotFoundSolve()); |
|
290 | 297 |
|
291 | 298 |
PluginServices.getIconTheme().registerDefault( |
292 | 299 |
"layer-add", |
293 | 300 |
this.getClass().getClassLoader().getResource("images/addlayer.png") |
294 | 301 |
); |
295 |
|
|
302 |
|
|
296 | 303 |
} |
297 | 304 |
} |
Also available in: Unified diff