Class MultiSelectionValidator
- java.lang.Object
-
- org.eclipse.emfforms.internal.view.multisegment.tooling.MultiSelectionValidator
-
- All Implemented Interfaces:
EStructuralFeatureSelectionValidator
public class MultiSelectionValidator extends java.lang.Object implements EStructuralFeatureSelectionValidator
Validates that the selectedEStructuralFeatureis a multiEReference.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description MultiSelectionValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringisValid(org.eclipse.emf.ecore.EStructuralFeature structuralFeature)Checks whether the givenEStructuralFeatureconstitutes a valid selection.
-
-
-
Method Detail
-
isValid
public java.lang.String isValid(org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
Description copied from interface:EStructuralFeatureSelectionValidatorChecks whether the givenEStructuralFeatureconstitutes a valid selection.- Specified by:
isValidin interfaceEStructuralFeatureSelectionValidator- Parameters:
structuralFeature- The selectedEStructuralFeatureto be validated- Returns:
- The error message, or
nullif the selection is valid
-
-