net.refractions.udig.ui
Interface FeatureTypeEditorDialog.ValidateFeatureType

Enclosing class:
FeatureTypeEditorDialog

public static interface FeatureTypeEditorDialog.ValidateFeatureType

Validates the feature type to determine whether it is acceptable and can be created.

This is used to determine if the dialog can close.

Since:
1.2
Author:
Jesse, Andrea Antonello (www.hydrologis.com)

Method Summary
 java.lang.String validate(SimpleFeatureType featureType)
          Returns true if the feature type builder is ok and the dialog may close.
 

Method Detail

validate

java.lang.String validate(SimpleFeatureType featureType)
Returns true if the feature type builder is ok and the dialog may close.

Changes to the builder will be reflected in the dialog.

Parameters:
featureType - the FeatureTypeEditorDialog.ValidateFeatureType to validate.
Returns:
null if the feature type is ok and the dialog may close, otherwise an error message