Class LanguageCheckDerivedDataComputer
java.lang.Object
com.e1c.g5.v8.dt.internal.check.derived.LanguageCheckDerivedDataComputer
- All Implemented Interfaces:
IDerivedDataComputer
Derived data computer that handles performing of language checks. This implementation uses the capabilities
of the
IBslDeepAnalisysService to perform validation-
Constructor Summary
ConstructorsConstructorDescriptionLanguageCheckDerivedDataComputer(String supportedSegmentId, Collection<org.eclipse.emf.ecore.EClass> supportedTypes, Set<String> languageCheckIds, ICheckExecutor checkExecutor, IResourceLookup resourceLookup, IBslDeepAnalisysService deepAnalisysService, ISuppressSettingsManager suppressSettingsManager) Constructs an instance of the computer. -
Method Summary
Modifier and TypeMethodDescriptionvoidcompute(IObjectDerivedDataContext objectContext, IBmModel model, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Computes the derived data parts of the BM object.Gets the DD segment supported by this instance of the computer.Collection<org.eclipse.emf.ecore.EClass>
-
Constructor Details
-
LanguageCheckDerivedDataComputer
public LanguageCheckDerivedDataComputer(String supportedSegmentId, Collection<org.eclipse.emf.ecore.EClass> supportedTypes, Set<String> languageCheckIds, ICheckExecutor checkExecutor, IResourceLookup resourceLookup, IBslDeepAnalisysService deepAnalisysService, ISuppressSettingsManager suppressSettingsManager) Constructs an instance of the computer.- Parameters:
supportedSegmentId- supported segment id, notnullsupportedTypes- The set ofEClass'es that a hanfled by this computer, notnulllanguageCheckIds- The full set of check identifiers for checks that pariticipates in language checking process, notnullcheckExecutor- The check executor service reference. May not benullresourceLookup- resource lookup, notnulldeepAnalisysService- The BSL deep analysis service reference. May not benullsuppressSettingsManager- The suppress settings manager reference. May not benull
-
-
Method Details
-
compute
public void compute(IObjectDerivedDataContext objectContext, IBmModel model, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Description copied from interface:IDerivedDataComputerComputes the derived data parts of the BM object.- Specified by:
computein interfaceIDerivedDataComputer- Parameters:
objectContext- The DD context for the target object. Cannot benullsmodel- BM model. Cannot benullprogressMonitor- The progress monitor that allows to cancel the computation. Cannot benull
-
getSupportedSegmentId
Description copied from interface:IDerivedDataComputerGets the DD segment supported by this instance of the computer.- Specified by:
getSupportedSegmentIdin interfaceIDerivedDataComputer- Returns:
- The identifier of the supported DD segment. Cannot be
null
-
getSupportedTypes
- Specified by:
getSupportedTypesin interfaceIDerivedDataComputer- Returns:
- a collection of the supported BM object types. Cannot be
nullor empty
-