Feature Interceptor
Identifier:
net.refractions.udig.project.featureInterceptor
Since:
1.2
Description:
Used to process a feature during creation.
Configuration Markup:
<!ELEMENT extension (featureCreated)*>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
<!ELEMENT featureCreated EMPTY>
<!ATTLIST featureCreated
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED
>
An interceptor that will be ran when a feature is created.
This is only ran if the feature is created by CreateFeatureCommand at this time.
- id - an id for the interceptor
- name - A name for the interceptor
- class - The FeatureInterceptor class.
Examples:
This extension point can be used to configure a new feature with appropriate sensible defaults.
A good technique is to place context information on the map blackboard; and look for this informaiton when creating the feature.
API Information:
Implementors are responsible for providing an implementation FeatureInterceptor.
Supplied Implementation:
The developers guide section on Interceptors is avilable.
(c) 2010 udig.refractions.net