Interface EStructuralFeatureSelectionValidator
-
- All Known Implementing Classes:
MultiSelectionValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface EStructuralFeatureSelectionValidator
Used to check whether a selectedEStructuralFeature
is a valid selection in a wizard.Implemented by clients to specify the validation criteria.
- Since:
- 1.20
- Author:
- Lucas Koehler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
isValid(org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
Checks whether the givenEStructuralFeature
constitutes a valid selection.
-
-
-
Method Detail
-
isValid
java.lang.String isValid(org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
Checks whether the givenEStructuralFeature
constitutes a valid selection.- Parameters:
structuralFeature
- The selectedEStructuralFeature
to be validated- Returns:
- The error message, or
null
if the selection is valid
-
-