Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: UDIG 1.2.RC3
-
Fix Version/s: UDIG 1.2.RC3
-
Component/s: framework
-
Labels:None
Description
In order to meet our guidelines of sensible defaults I was in a bit of a bind; the default values used when creating a feature are hard coded. Both in GeoTools SimpleFeatureBuilder.template( SimpleFeatureType, String ) and also in the CreateFeatureCommand.
Added a FeatureInterceptor to register against a "createFeature" activity; later we can add "addFeature" and "removeFeature" if you are interested in logging or security checks.
Documentation created here: - http://udig.refractions.net/confluence/display/DEV/10+Interceptors
summaryAdded Feature Interceptor extensions