Package com.e1c.g5.v8.dt.model.updater
Interface IModelUpdaterController
- All Known Implementing Classes:
BaseExtensionController,FormExtensionAutoAdoptionSynchronizationController,MdExtensionController
public interface IModelUpdaterController
Model updater controller. Performs sheduling of specific model updates based on tracked model changes.
Allows to add a well-defined update scenarios that are being executed asynchronously to the triggering
model changes
The
IModelUpdaterController use used strictly to schedule some processing tasks back to the
asynchronous pipeline and not to execute them-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureContextCollector(IModelUpdaterConfigurationAcceptor configurationAcceptor) Configures model updater using a providedIModelUpdaterConfigurationAcceptorinstance.voidschedule(ModelUpdaterContext topObjectContext, IBmModel model, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Schedules an update based on model changes being collected using the collection rule defined inconfigureContextCollector(IModelUpdaterConfigurationAcceptor)
-
Method Details
-
configureContextCollector
Configures model updater using a providedIModelUpdaterConfigurationAcceptorinstance. A developer can specify a pattern of triggering model changes usingEClass'es and features of the change event- Parameters:
configurationAcceptor- The configuration data acceptor. Cannot benull
-
schedule
void schedule(ModelUpdaterContext topObjectContext, IBmModel model, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Schedules an update based on model changes being collected using the collection rule defined inconfigureContextCollector(IModelUpdaterConfigurationAcceptor)- Parameters:
topObjectContext- A top object updater context. Contains processed target changes of a main model. Cannot benullmodel- TargetIBmModel. Cannot benullprogressMonitor- A progress monitor with cancelling capabilities. Cannot benull
-