Class FormExtensionAutoAdoptedFeatureSynchronizationComputer
java.lang.Object
com._1c.g5.v8.derived.computer.AbstractDerivedDataPartComputer
com.e1c.g5.v8.dt.internal.form.extension.derived.BaseFormExtensionComputer
com.e1c.g5.v8.dt.internal.form.extension.derived.FormExtensionAutoAdoptedFeatureSynchronizationComputer
- All Implemented Interfaces:
IDerivedDataPartComputer
public class FormExtensionAutoAdoptedFeatureSynchronizationComputer
extends BaseFormExtensionComputer
This DD computer copies auto-adopted features from the extended form to the extension form in case if
those features arent' overriden by the user
-
Constructor Summary
ConstructorsConstructorDescriptionFormExtensionAutoAdoptedFeatureSynchronizationComputer
(IV8ProjectManager v8ProjectManager, IBmModelManager bmModelManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
compute
(IBmObject bmObject, IPartBasedObjectContext context, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Computes part of the given object derived data.boolean
States if the computer performs separate calls ofIDerivedDataPartComputer.compute(IBmObject, IPartBasedObjectContext, IProgressMonitor)
for each scheduled containment or use a single call for a context.Methods inherited from class com.e1c.g5.v8.dt.internal.form.extension.derived.BaseFormExtensionComputer
getExtendedFormByExtensionForm
Methods inherited from class com._1c.g5.v8.derived.computer.AbstractDerivedDataPartComputer
getSupportedPartId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com._1c.g5.v8.derived.computer.IDerivedDataPartComputer
computeForRemovedObject
-
Constructor Details
-
FormExtensionAutoAdoptedFeatureSynchronizationComputer
public FormExtensionAutoAdoptedFeatureSynchronizationComputer(IV8ProjectManager v8ProjectManager, IBmModelManager bmModelManager) - Parameters:
supportedPartId
-
-
-
Method Details
-
compute
public void compute(IBmObject bmObject, IPartBasedObjectContext context, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Description copied from interface:IDerivedDataPartComputer
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
-
isSeparateContainmentContextComputation
public boolean isSeparateContainmentContextComputation()Description copied from interface:IDerivedDataPartComputer
States if the computer performs separate calls ofIDerivedDataPartComputer.compute(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
-