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
.
Modifier and Type | Method and Description |
---|---|
boolean |
createsNewGeometries()
Returns if service creates new geometries.
|
java.lang.String |
getDescription()
Gets description of service.
|
java.awt.Image |
getMouseIcon()
Get mouse icon associated to service.
|
java.lang.String |
getName()
Gets name of service.
|
EditingServiceParameter |
getParameterInfo(java.lang.String name)
Gets read only information about a parameter of this service.
|
java.util.List<EditingServiceParameter> |
getParameters()
Gets a
List with all parameters of service. |
int[] |
getSupportedPrimitiveGeometryTypes()
Gets supported primitive geometry types of service.
|
boolean |
isCompatibleWith(GeometryType geoType)
Returns if service is compatible with the geometry type received as
parameter.
|
boolean createsNewGeometries()
java.awt.Image getMouseIcon()
java.util.List<EditingServiceParameter> getParameters()
List
with all parameters of service. Each parameter
has name, description and types. See EditingServiceParameter
.EditingServiceParameter
objects.int[] getSupportedPrimitiveGeometryTypes()
Geometry.TYPES
.java.lang.String getDescription()
java.lang.String getName()
EditingServiceParameter getParameterInfo(java.lang.String name)
EditingServiceParameter
.name
- Name of parameter.EditingServiceParameter
object of parameter.boolean isCompatibleWith(GeometryType geoType) throws ServiceInformationException
geoType
- see GeometryType
ServiceInformationException