Revision 10626 trunk/extensions/extCAD/src/com/iver/cit/gvsig/ViewCommandStackExtension.java

View differences:

ViewCommandStackExtension.java
1 1
package com.iver.cit.gvsig;
2 2

  
3
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
3 4
import com.iver.andami.PluginServices;
4 5
import com.iver.andami.plugins.Extension;
5 6
import com.iver.cit.gvsig.fmap.MapContext;
......
76 77
	}
77 78

  
78 79
	public void commandRepaint() {
79
		CADExtension.getCADTool().clearSelection();
80
		try {
81
			CADExtension.getCADTool().clearSelection();
82
		} catch (ReadDriverException e) {
83
			// TODO Auto-generated catch block
84
			e.printStackTrace();
85
		}
80 86

  
81 87
	}
82 88

  
83 89
	public void commandRefresh() {
84
		CADExtension.getCADTool().clearSelection();
90
		try {
91
			CADExtension.getCADTool().clearSelection();
92
		} catch (ReadDriverException e) {
93
			// TODO Auto-generated catch block
94
			e.printStackTrace();
95
		}
85 96
	}
86 97
}

Also available in: Unified diff