Revision 10626 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/DEMO/ComandosListener.java

View differences:

ComandosListener.java
76 76

  
77 77
import com.hardcode.driverManager.Driver;
78 78
import com.hardcode.driverManager.DriverLoadException;
79
import com.iver.cit.gvsig.fmap.DriverException;
79
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
80
import com.iver.cit.gvsig.exceptions.layers.LoadLayerException;
80 81
import com.iver.cit.gvsig.fmap.MapContext;
81 82
import com.iver.cit.gvsig.fmap.MapControl;
82 83
import com.iver.cit.gvsig.fmap.ViewPort;
......
225 226
			try {
226 227
				vp.setExtent(m_Mapa.getFullExtent());
227 228
				m_MapControl.drawMap(false);
228
			} catch (DriverException e1) {
229
			} catch (ReadDriverException e1) {
229 230
				// TODO Auto-generated catch block
230 231
				e1.printStackTrace();
231 232
			}
......
275 276
				 * block e1.printStackTrace(); }
276 277
				 *b/
277 278
				SymbolSelector canvas = new SymbolSelector(null, FShape.POINT, new File("../com.iver.cit.gvsig.graph/symbols/"));
278
				
279

  
279 280
				dialog.getContentPane().add(canvas);
280 281

  
281 282
				dialog.setSize(600, 300);
......
283 284
				ISymbol symbol = canvas.getSymbol();
284 285
				FLyrVect lyr = (FLyrVect) m_Mapa.getLayers().getActives()[0];
285 286
				if (lyr!=null) {
286
					
287

  
287 288
				}*/
288 289
			}
289 290

  
......
431 432
					// todas las capas hayan sido cargadas.
432 433
					// theView.getMapControl().drawMap();
433 434
					// theView.getTOC().refresh();
435

  
434 436
				}
435 437

  
436 438
			} // for
......
485 487
						// myViewer.addAttributeTableViewerListener(m_Owner);
486 488
						myDialog.pack();
487 489
						myDialog.show();
488
					} catch (DriverException e1) {
489
						// TODO Auto-generated catch block
490
					} catch (ReadDriverException e1) {
490 491
						e1.printStackTrace();
491 492
					} catch (HeadlessException ex) {
492
						// TODO Auto-generated catch block
493 493
						ex.printStackTrace();
494
					} catch (com.hardcode.gdbms.engine.data.driver.DriverException e1) {
495
						// TODO Auto-generated catch block
496
						e1.printStackTrace();
497 494
					}
498 495

  
499 496
				}

Also available in: Unified diff