|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.geometry.service.impl.AbstractGeometrySchemaService
public abstract class AbstractGeometrySchemaService
Abstract geometry schema service implementation.
Constructor Summary | |
---|---|
AbstractGeometrySchemaService()
|
Method Summary | |
---|---|
void |
addListener(GeometrySchemaServiceListener listener)
Adds a listener for service events. |
protected List<QName> |
determineDefaultGeometry(TypeDefinition type)
Determine the path to a geometry property to be used as default geometry for the given type. |
List<QName> |
getDefaultGeometry(TypeDefinition type)
Get the property path to the default geometry of the given type. Note that the path does not necessarily have to point to a property with GeometryProperty binding, but can also lead to a property
containing nested geometry properties (e.g. |
protected abstract List<QName> |
loadDefaultGeometry(TypeDefinition type)
Load the path of the default geometry for the given type. |
protected void |
notifyDefaultGeometryChanged(TypeDefinition type)
Notifies the listeners that the default geometry for the given type has changed. |
void |
removeListener(GeometrySchemaServiceListener listener)
Removes a listener for service events. |
protected abstract void |
saveDefaultGeometry(TypeDefinition type,
List<QName> path)
Save the association of the given property path as the default geometry of the given type. |
void |
setDefaultGeometry(TypeDefinition type,
List<QName> path)
Set the property path of the default geometry for the given type. Note that the path does not necessarily have to point to a property with GeometryProperty binding, but can also lead to a property
containing nested geometry properties (e.g. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractGeometrySchemaService()
Method Detail |
---|
public List<QName> getDefaultGeometry(TypeDefinition type)
GeometrySchemaService
GeometryProperty
binding, but can also lead to a property
containing nested geometry properties (e.g. in a choice).
getDefaultGeometry
in interface GeometrySchemaService
type
- the type definition
null
if there is noneGeometrySchemaService.getDefaultGeometry(TypeDefinition)
public void setDefaultGeometry(TypeDefinition type, List<QName> path)
GeometrySchemaService
GeometryProperty
binding, but can also lead to a property
containing nested geometry properties (e.g. in a choice).
setDefaultGeometry
in interface GeometrySchemaService
type
- the type definitionpath
- the property pathGeometrySchemaService.setDefaultGeometry(TypeDefinition, List)
protected List<QName> determineDefaultGeometry(TypeDefinition type)
type
- the type definition
null
if
unknownprotected abstract List<QName> loadDefaultGeometry(TypeDefinition type)
type
- the type definition
null
if
unknownprotected abstract void saveDefaultGeometry(TypeDefinition type, List<QName> path)
type
- the type definitionpath
- the property pathprotected void notifyDefaultGeometryChanged(TypeDefinition type)
type
- the type definitionpublic void addListener(GeometrySchemaServiceListener listener)
GeometrySchemaService
addListener
in interface GeometrySchemaService
listener
- the listener to addGeometrySchemaService.addListener(GeometrySchemaServiceListener)
public void removeListener(GeometrySchemaServiceListener listener)
GeometrySchemaService
removeListener
in interface GeometrySchemaService
listener
- the listener to removeGeometrySchemaService.removeListener(GeometrySchemaServiceListener)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |