public interface IUpdate2
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.transaction.TransactionalEditingDomain |
getEditingDomain()
Returns the TransactionalEditingDomain for this IUpdate
|
StructuredReference |
getStructuredReferenceToUpdate()
Returns the reference to be updated
|
boolean |
isUpdateNeeded(StructuredReference vr,
org.eclipse.emf.ecore.resource.Resource res)
Implementor should check whether or not an update is needed for a given
StructuredReference, (but not its children StructuredReferences).
|
StructuredReference |
performUpdate(StructuredReference vr)
Updates the StructuredReference as needed.
|
void |
synchronize()
Make the necessary changes to the MappedTargetModel, for example rename or move
the Target element(s) to reflect the changes in the Domain world.
|
boolean isUpdateNeeded(StructuredReference vr, org.eclipse.emf.ecore.resource.Resource res)
vr
- res
- The container resource for the vizreftrue
if an update is needed, false
otherwisevoid synchronize()
StructuredReference performUpdate(StructuredReference vr)
vr
- to be updatedorg.eclipse.emf.transaction.TransactionalEditingDomain getEditingDomain()
StructuredReference getStructuredReferenceToUpdate()