Interface IAdoptedObjectUpdater<T extends org.eclipse.emf.ecore.EObject>
-
- Type Parameters:
T
- the model type to adopt
- All Superinterfaces:
IModelObjectAdopterParticipant<T>
public interface IAdoptedObjectUpdater<T extends org.eclipse.emf.ecore.EObject> extends IModelObjectAdopterParticipant<T>
IModelObjectAdopterParticipant
extension with an ability to update an already adopted model object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beforeUpdate(T source, T adopted, org.eclipse.core.runtime.IProgressMonitor monitor)
Performs operations required before the adopted object gets updated with the new version ofsource
.void
updateAdopted(T nativeObject, T adoptedObject, IAdopterContext context)
Update the already adopted model object for the providednativeObject
according to this native object state.-
Methods inherited from interface com._1c.g5.v8.dt.md.extension.adopt.participants.IModelObjectAdopterParticipant
adopt
-
-
-
-
Method Detail
-
beforeUpdate
void beforeUpdate(T source, T adopted, org.eclipse.core.runtime.IProgressMonitor monitor)
Performs operations required before the adopted object gets updated with the new version ofsource
.- Parameters:
source
- the source object with which the adopted object is going to be updated, cannot benull
adopted
- the adopted object to be updated, cannot benull
monitor
- progress monitor, cannot benull
-
updateAdopted
void updateAdopted(T nativeObject, T adoptedObject, IAdopterContext context)
Update the already adopted model object for the providednativeObject
according to this native object state.- Parameters:
nativeObject
- the native model object to get update information from, cannot benull
adoptedObject
- the adopted model object to update, cannot benull
context
- the adoptercontext
, cannot benull
-
-