Class FormExtensionAutoAdopterComputer
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.FormExtensionAutoAdopterComputer
- All Implemented Interfaces:
IDerivedDataPartComputer
This DD computer copies auto-adopted objects and features from the extended form to the extension form
-
Constructor Summary
ConstructorsConstructorDescriptionFormExtensionAutoAdopterComputer
(IV8ProjectManager v8ProjectManager, IBmModelManager bmModelManager, IModelObjectFactory modelFactory, IRuntimeVersionSupport runtimeVersionSupport, IEditingLanguageManager editingLanguageManager, IExtInfoManagementService extInfoManagementService) Constructs a computer instance -
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
-
FormExtensionAutoAdopterComputer
public FormExtensionAutoAdopterComputer(IV8ProjectManager v8ProjectManager, IBmModelManager bmModelManager, IModelObjectFactory modelFactory, IRuntimeVersionSupport runtimeVersionSupport, IEditingLanguageManager editingLanguageManager, IExtInfoManagementService extInfoManagementService) Constructs a computer instance- Parameters:
v8ProjectManager
- The reference to theIV8ProjectManager
. May not benull
bmModelManager
- The refernce to theIBmModelManager
. May not benull
modelFactory
- The reference to theIModelObjectFactory
. May not benull
runtimeVersionSupport
- The reference to theIRuntimeVersionSupport
. May not benull
editingLanguageManager
- The reference to theIEditingLanguageManager
. May not benull
extInfoManagementService
- The reference to theIExtInfoManagementService
. May not benull
-
-
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
-