Class AbstractManagingComponentValidationSupport<T extends IManagingComponent<? extends IManagingModel>,EVR>
- java.lang.Object
-
- com._1c.g5.aef2.standard.validation.AbstractExternalValidationSupport<T,EVR>
-
- com._1c.g5.aef2.standard.definitions.validation.AbstractManagingComponentValidationSupport<T,EVR>
-
- Direct Known Subclasses:
AefMarkerSupport
public abstract class AbstractManagingComponentValidationSupport<T extends IManagingComponent<? extends IManagingModel>,EVR> extends AbstractExternalValidationSupport<T,EVR>
The abstract extension of the external validation support forIManagingComponent
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractManagingComponentValidationSupport(T rootComponent)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
getQuery(org.eclipse.emf.databinding.FeaturePath... paths)
Returns the query to component matching by the specified paths.protected void
onComponentModelChange(IModel model)
Reacts on component model change.
It is a place to make conversion model to validable object.-
Methods inherited from class com._1c.g5.aef2.standard.validation.AbstractExternalValidationSupport
dispose, disposeInternal, getComponent, getExternalValidationResults, getMessage, getQuery, getScene, getSeverity, getValidable, initialize, initializeInternal, isDisposed, onExternalValidationRequired, setValidable
-
-
-
-
Constructor Detail
-
AbstractManagingComponentValidationSupport
protected AbstractManagingComponentValidationSupport(T rootComponent)
Creates a new instance.- Parameters:
rootComponent
- the component, cannot benull
.
-
-
Method Detail
-
onComponentModelChange
protected void onComponentModelChange(IModel model)
Description copied from class:AbstractExternalValidationSupport
Reacts on component model change.
It is a place to make conversion model to validable object.- Specified by:
onComponentModelChange
in classAbstractExternalValidationSupport<T extends IManagingComponent<? extends IManagingModel>,EVR>
- Parameters:
model
- the component model, cannot benull
.- See Also:
AbstractExternalValidationSupport.setValidable(Object)
-
getQuery
protected Object getQuery(org.eclipse.emf.databinding.FeaturePath... paths)
Returns the query to component matching by the specified paths.- Parameters:
paths
- the features paths, cannot benull
.- Returns:
- the component query, never
null
.
-
-