Package org.gvsig.vectorediting.lib.api
Interface EditingServiceInfo
public interface EditingServiceInfo
Editing service represents the available read-only information about a
service. This information is composed by type (creates geometries or not),
mouse icon, list of parameters, supported geometries, description, name,
information of parameters, and compatibility with GeometryType.
- Version:
- $Id$
- Author:
- gvSIG team.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns if service creates new geometries.Gets description of service.Get mouse icon associated to service.getName()Gets name of service.getParameterInfo(String name) Gets read only information about a parameter of this service.Gets aListwith all parameters of service.int[]Gets supported primitive geometry types of service.booleanisCompatibleWith(org.gvsig.fmap.geom.type.GeometryType geoType) Returns if service is compatible with the geometry type received as parameter.
-
Method Details
-
createsNewGeometries
boolean createsNewGeometries()Returns if service creates new geometries.- Returns:
- true if service creates new geometries otherwise false.
-
getMouseIcon
Image getMouseIcon()Get mouse icon associated to service.- Returns:
- Image that represents mouse icon.
-
getParameters
List<EditingServiceParameter> getParameters()Gets aListwith all parameters of service. Each parameter has name, description and types. SeeEditingServiceParameter.- Returns:
- A list of
EditingServiceParameterobjects.
-
getSupportedPrimitiveGeometryTypes
int[] getSupportedPrimitiveGeometryTypes()Gets supported primitive geometry types of service. Primitive types must beGeometry.TYPES.- Returns:
- An array whit primitive type supported
-
getDescription
String getDescription()Gets description of service.- Returns:
- Description of service.
-
getName
String getName()Gets name of service. The name of service is the same name of linked provider name.- Returns:
- service name.
-
getParameterInfo
Gets read only information about a parameter of this service. SeeEditingServiceParameter.- Parameters:
name- Name of parameter.- Returns:
- An
EditingServiceParameterobject of parameter.
-
isCompatibleWith
boolean isCompatibleWith(org.gvsig.fmap.geom.type.GeometryType geoType) throws ServiceInformationException Returns if service is compatible with the geometry type received as parameter.- Parameters:
geoType- seeGeometryType- Returns:
- True if service is compatible otherwise false.
- Throws:
ServiceInformationException
-