Revision 56 org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.lib/org.gvsig.vectorediting.lib.impl/src/main/java/org/gvsig/vectorediting/lib/impl/DefaultEditingService.java
DefaultEditingService.java | ||
---|---|---|
9 | 9 |
import java.util.List; |
10 | 10 |
|
11 | 11 |
import org.gvsig.fmap.dal.exception.DataException; |
12 |
import org.gvsig.fmap.geom.Geometry; |
|
13 |
import org.gvsig.fmap.geom.exception.CreateGeometryException; |
|
14 | 12 |
import org.gvsig.fmap.geom.primitive.Point; |
15 | 13 |
import org.gvsig.tools.exception.BaseException; |
16 | 14 |
import org.gvsig.tools.service.Manager; |
15 |
import org.gvsig.vectorediting.lib.api.DrawingStatus; |
|
17 | 16 |
import org.gvsig.vectorediting.lib.api.EditingService; |
18 | 17 |
import org.gvsig.vectorediting.lib.api.EditingServiceParameter; |
19 |
import org.gvsig.vectorediting.lib.spi.DefaultDrawingStatus; |
|
20 | 18 |
import org.gvsig.vectorediting.lib.spi.EditingProvider; |
21 | 19 |
|
22 | 20 |
public class DefaultEditingService implements EditingService { |
... | ... | |
33 | 31 |
return null; |
34 | 32 |
} |
35 | 33 |
|
36 |
public DefaultDrawingStatus draw(Point mousePosition) throws BaseException {
|
|
34 |
public DrawingStatus draw(Point mousePosition) throws BaseException { |
|
37 | 35 |
// TODO Auto-generated method stub |
38 | 36 |
return provider.draw(mousePosition); |
39 | 37 |
} |
... | ... | |
48 | 46 |
return provider.next(); |
49 | 47 |
} |
50 | 48 |
|
51 |
public void value(Object value) {
|
|
49 |
public void value(Object value){ |
|
52 | 50 |
// TODO Auto-generated method stub |
53 | 51 |
provider.value(value); |
54 | 52 |
} |
... | ... | |
57 | 55 |
// TODO Auto-generated method stub |
58 | 56 |
} |
59 | 57 |
|
60 |
public void finish() throws CreateGeometryException, DataException {
|
|
58 |
public void finish() throws DataException, BaseException {
|
|
61 | 59 |
// TODO Auto-generated method stub |
62 | 60 |
provider.finish(); |
63 | 61 |
} |
Also available in: Unified diff