Revision 10626 trunk/extensions/extCAD/src/com/iver/cit/gvsig/project/documents/table/operators/Geometry.java
Geometry.java | ||
---|---|---|
3 | 3 |
import org.apache.bsf.BSFException; |
4 | 4 |
import org.apache.bsf.BSFManager; |
5 | 5 |
|
6 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
6 | 7 |
import com.iver.cit.gvsig.ExpresionFieldExtension; |
8 |
import com.iver.cit.gvsig.exceptions.expansionfile.ExpansionFileReadException; |
|
7 | 9 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
8 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
9 | 10 |
import com.iver.cit.gvsig.fmap.layers.ReadableVectorial; |
10 | 11 |
import com.iver.cit.gvsig.project.documents.table.GraphicOperator; |
11 | 12 |
import com.iver.cit.gvsig.project.documents.table.Index; |
... | ... | |
17 | 18 |
public String addText(String s) { |
18 | 19 |
return s.concat(toString()+"()"); |
19 | 20 |
} |
20 |
public double process(Index index) throws DriverIOException {
|
|
21 |
public double process(Index index){ |
|
21 | 22 |
return 0; |
22 | 23 |
} |
23 |
public IGeometry getGeometry(Index index) throws DriverIOException {
|
|
24 |
public IGeometry getGeometry(Index index) throws ReadDriverException, ExpansionFileReadException {
|
|
24 | 25 |
ReadableVectorial adapter = getLayer().getSource(); |
25 | 26 |
IGeometry geom=adapter.getShape(index.get()); |
26 | 27 |
return geom; |
Also available in: Unified diff