Class AbstractAreaNameValidator
- java.lang.Object
-
- com._1c.g5.v8.dt.moxel.databinding.validation.AbstractAreaNameValidator
-
- All Implemented Interfaces:
org.eclipse.core.databinding.validation.IValidator
- Direct Known Subclasses:
AreaNameValidator
,ColumnsAreaNameValidator
,RowsAreaNameValidator
public abstract class AbstractAreaNameValidator extends Object implements org.eclipse.core.databinding.validation.IValidator
Base validator for moxel named areas' names
-
-
Constructor Summary
Constructors Constructor Description AbstractAreaNameValidator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract boolean
check(String name)
Check ifname
is validprotected abstract String
getErrorMessage()
Get error message specific to area typeorg.eclipse.core.runtime.IStatus
validate(Object value)
-
-
-
Method Detail
-
validate
public org.eclipse.core.runtime.IStatus validate(Object value)
- Specified by:
validate
in interfaceorg.eclipse.core.databinding.validation.IValidator
-
check
protected abstract boolean check(String name)
Check ifname
is valid- Parameters:
name
- area name to be checked- Returns:
- check result
-
getErrorMessage
protected abstract String getErrorMessage()
Get error message specific to area type- Returns:
- error message specific to area type
-
-