Package com._1c.g5.v8.derived.computer
Interface IDerivedDataPartComputer
-
- All Known Subinterfaces:
ICommonAttributeCacheProvider
- All Known Implementing Classes:
AbstractDerivedDataPartComputer
,CommonAttributeCacheProvider
,GraphicalSchemeDerivedDataRemover
,GraphicalSchemeValidationChecker
,MdValidationChecker
public interface IDerivedDataPartComputer
Derived data part computer is responsible for computing a single part of the derived data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
compute(IBmObject bmObject, IPartBasedObjectContext context, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Computes part of the given object derived data.default void
computeForRemovedObject(long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, IPartBasedObjectContext context, IBmModel bmModel, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Computes part of the given object derived data for a removed/non-existing objectString
getSupportedPartId()
Gets the identifier of the part supported by this computer.default boolean
isSeparateContainmentContextComputation()
States if the computer performs separate calls ofcompute(IBmObject, IPartBasedObjectContext, IProgressMonitor)
for each scheduled containment or use a single call for a context.
-
-
-
Method Detail
-
computeForRemovedObject
default void computeForRemovedObject(long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, IPartBasedObjectContext context, IBmModel bmModel, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Computes part of the given object derived data for a removed/non-existing object- Parameters:
bmObjectId
-objectEClass
-context
- The context of the DD computation. May not benull
progressMonitor
- Controls the computation of the derived data. Cannot benull
-
compute
default void compute(IBmObject bmObject, IPartBasedObjectContext context, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Computes part of the given object derived data.- Parameters:
bmObject
- Context of the derived data computing. Cannot benull
context
- The context of the DD computation. May not benull
progressMonitor
- Controls the computation of the derived data. Cannot benull
-
getSupportedPartId
String getSupportedPartId()
Gets the identifier of the part supported by this computer.- Returns:
- The unique identifier of the supported part.
-
isSeparateContainmentContextComputation
default boolean isSeparateContainmentContextComputation()
States if the computer performs separate calls ofcompute(IBmObject, IPartBasedObjectContext, IProgressMonitor)
for each scheduled containment or use a single call for a context. This flag could be used to perform specific computations which require managed order of the computation for scheduled objects. By default this flag is set to true.- Returns:
- True if containments are computed within the separate computation calls
-
-