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>
- Record Components:
T
- the component typeEVR
- the external validation result type
- 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 for
IManagingComponent
.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractManagingComponentValidationSupport
(T rootComponent) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
AbstractManagingComponentValidationSupport
Creates a new instance.- Parameters:
rootComponent
- the component, cannot benull
.
-
-
Method Details
-
onComponentModelChange
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:
-
getQuery
Returns the query to component matching by the specified paths.- Parameters:
paths
- the features paths, cannot benull
.- Returns:
- the component query, never
null
.
-