Revision 29 org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.lib/org.gvsig.vectorediting.lib.spi/src/main/java/org/gvsig/vectorediting/lib/spi/DefaultEditingServiceinfo.java
DefaultEditingServiceinfo.java | ||
---|---|---|
9 | 9 |
import java.awt.Image; |
10 | 10 |
import java.util.List; |
11 | 11 |
|
12 |
import org.gvsig.fmap.geom.Geometry; |
|
12 | 13 |
import org.gvsig.vectorediting.lib.api.EditingServiceInfo; |
13 | 14 |
import org.gvsig.vectorediting.lib.api.EditingServiceParameter; |
14 | 15 |
|
... | ... | |
24 | 25 |
|
25 | 26 |
private List<EditingServiceParameter> parameters; |
26 | 27 |
|
27 |
private int supportedPrimitiveGeometryType; |
|
28 |
private int[] supportedPrimitiveGeometryType;
|
|
28 | 29 |
|
29 | 30 |
public DefaultEditingServiceinfo(String name, String description, |
30 | 31 |
boolean createsNewGeometries, Image mouseCursor, |
31 | 32 |
List<EditingServiceParameter> parameters, |
32 |
int supportedPrimitiveGeometryType) { |
|
33 |
int[] supportedPrimitiveGeometryType) {
|
|
33 | 34 |
super(); |
34 | 35 |
this.name = name; |
35 | 36 |
this.description = description; |
... | ... | |
64 | 65 |
return this.parameters; |
65 | 66 |
} |
66 | 67 |
|
67 |
public int getSupportedPrimitiveGeometryType() {
|
|
68 |
public int[] getSupportedPrimitiveGeometryTypes() {
|
|
68 | 69 |
// TODO Auto-generated method stub |
69 | 70 |
return this.supportedPrimitiveGeometryType; |
70 | 71 |
} |
Also available in: Unified diff