public interface ITarget
extends org.eclipse.emf.ecore.EObject
This interface provides the capability to assign StructuredReference to the mapped object.
This interface provides the capability to assign ITargetSynchronizer to the mapped object.
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ITargetSynchronizer adapter,
StructuredReference vr)
Activates the mapped object with a
ITargetSynchronizer and StructuredReference. |
void |
deactivate()
Deactivates the mapped object
|
boolean |
enableSynchronization(boolean bEnable)
Enables/Disables synchronization for the mapped object.
|
StructuredReference |
getStructuredReference()
Returns the StructuredReference associated with the mapped object.
|
ITargetSynchronizer |
getTargetSynchronizer()
Returns the adapter responsible for synchronizing the features of the Meta-class.
|
boolean |
isActivated()
Returns
true if the mapped object is activated with a ITargetSynchronizer else false |
void |
setClean(org.eclipse.emf.ecore.EStructuralFeature kind)
Marks the specified structural feature clean.
|
void |
setDirty(org.eclipse.emf.ecore.EStructuralFeature kind,
java.lang.Object hint)
Marks the specified structural feature dirty, thereby forcing synchronization of the structural feature.
|
void |
synchronizeFeature(org.eclipse.emf.ecore.EStructuralFeature sf,
java.lang.Object hint)
Synchronizes a particular structural feature of the implementing meta-class.
|
void activate(ITargetSynchronizer adapter, StructuredReference vr)
ITargetSynchronizer and StructuredReference.adapter - Adapter for synchronizing the features of the Meta-class. null is illegal.vr - StructuredReference associated with the mapped object. null is illegal.void deactivate()
ITargetSynchronizer getTargetSynchronizer()
ITargetSynchronizerStructuredReference getStructuredReference()
StructuredReferenceboolean isActivated()
true if the mapped object is activated with a ITargetSynchronizer else falsebooleanvoid setDirty(org.eclipse.emf.ecore.EStructuralFeature kind,
java.lang.Object hint)
hint specified while marking a structural feature dirty is passed to ITargetSynchronizer.synchronizeFeature(EObject, EStructuralFeature, Object).kind - Structural feature of the implementing meta-classhint - Hint specifying why this Structural feature is marked dirtyvoid setClean(org.eclipse.emf.ecore.EStructuralFeature kind)
ITargetSynchronizer.synchronizeFeature(EObject, EStructuralFeature, Object).kind - Structural feature of the implementing meta-classboolean enableSynchronization(boolean bEnable)
bEnable - true to enable synchronization and false to disable.void synchronizeFeature(org.eclipse.emf.ecore.EStructuralFeature sf,
java.lang.Object hint)
ITargetSynchronizer.synchronizeFeature(EObject, EStructuralFeature, Object)sf - Structural feature of the implementing meta-class to be synchronized.hint - Hint to be used for synchronizing a feature, null if invoked outside of setDirty(EStructuralFeature, Object).