Class ForbiddenNamesNameValidator
- java.lang.Object
-
- com._1c.g5.v8.dt.common.databinding.validation.ForbiddenNamesNameValidator
-
- All Implemented Interfaces:
org.eclipse.core.databinding.validation.IValidator
public class ForbiddenNamesNameValidator extends Object implements org.eclipse.core.databinding.validation.IValidator
Forbidden names name validator test that name is valid name and not in forbidden list
-
-
Constructor Summary
Constructors Constructor Description ForbiddenNamesNameValidator(Collection<String> forbiddenNames)
Constructs a new instance of the validator using provided parameters.
-
-
-
Constructor Detail
-
ForbiddenNamesNameValidator
public ForbiddenNamesNameValidator(Collection<String> forbiddenNames)
Constructs a new instance of the validator using provided parameters.- Parameters:
forbiddenNames
- The set of name prohibited from use.
-
-
Method Detail
-
validate
public org.eclipse.core.runtime.IStatus validate(Object value)
- Specified by:
validate
in interfaceorg.eclipse.core.databinding.validation.IValidator
-
-