Package com._1c.g5.v8.derived.computer
Interface IDerivedDataPartComputer
-
- All Known Subinterfaces:
ICommonAttributeCacheProvider
- All Known Implementing Classes:
AbstractDerivedDataPartComputer
,CommonAttributeCacheProvider
,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 Deprecated 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
compute(IBmObject bmObject, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Deprecated.String
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
-
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
-
compute
@Deprecated default void compute(IBmObject bmObject, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Deprecated.Computes part of the given object derived data.- Parameters:
bmObject
- Context of the derived data computing. Cannot 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
-
-