public final class TargetImpl
extends java.lang.Object
ITarget.
This implementation is used as a delegate implementation by the Meta-classes implementing ITarget.| Constructor and Description |
|---|
TargetImpl(ITarget vizElement) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ITargetSynchronizer vadapter,
StructuredReference vref) |
void |
deactivate() |
org.eclipse.emf.common.util.TreeIterator |
eAllContents()
Returns a tree iterator that iterates over all the direct contents and indirect contents of this object without causing
synchronization of the element or its children.
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature) |
boolean |
eIsSet(int eFeatureID) |
boolean |
enableSynchronization(boolean bEnable) |
java.util.Map |
enableSynchronizationAll(boolean bEnable)
Enables or Disables synchronization on target element and its children.
|
static void |
enableSynchronizationAll(java.util.Map oldStates)
Set the synchronization state based on Map.
|
StructuredReference |
getStructuredReference() |
ITargetSynchronizer |
getTargetSynchronizer() |
boolean |
isActivated() |
void |
setClean(org.eclipse.emf.ecore.EStructuralFeature feature) |
void |
setDirty(org.eclipse.emf.ecore.EStructuralFeature sf,
java.lang.Object hint)
Marks the given structural feature dirty using a given hint.
|
void |
synchronizeFeature(org.eclipse.emf.ecore.EStructuralFeature sf,
java.lang.Object hint)
Synchronizes a given structural feature of the delegator
ITarget |
public TargetImpl(ITarget vizElement)
vizElement - ITarget using this implementation as a delegate.
null isn't a legal value.public boolean isActivated()
ITarget.isActivated()public void setDirty(org.eclipse.emf.ecore.EStructuralFeature sf,
java.lang.Object hint)
sf - Structural feature to be marked dirty.hint - Hint to be used to mark the feature dirty.ITarget.setDirty(EStructuralFeature, Object)public void synchronizeFeature(org.eclipse.emf.ecore.EStructuralFeature sf,
java.lang.Object hint)
ITargetsf - Structural Feature to synchronizehint - Hint to be used for synchronizationITarget.synchronizeFeature(EStructuralFeature, Object)public boolean enableSynchronization(boolean bEnable)
bEnable - true to enable synchronization, false to disable
synchronizationITarget.enableSynchronization(boolean)public java.util.Map enableSynchronizationAll(boolean bEnable)
bEnable - true to enable and false to disablepublic static void enableSynchronizationAll(java.util.Map oldStates)
oldStates - Map of elements to their synchronization statepublic void activate(ITargetSynchronizer vadapter, StructuredReference vref)
vadapter - Adapter for synchronizing the features of the Meta-class. null is illegal.vref - StructuredReference associated with the mapped object. null is illegal.ITarget.activate(com.ibm.xtools.mmi.core.ITargetSynchronizer, com.ibm.xtools.mmi.core.ref.StructuredReference)public void deactivate()
ITarget.deactivate()public ITargetSynchronizer getTargetSynchronizer()
ITarget.getTargetSynchronizer()public StructuredReference getStructuredReference()
ITarget.getStructuredReference()public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eFeature - to be checked if it's set.EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)public boolean eIsSet(int eFeatureID)
eFeatureID - int feature id of the feature to be checked if it's seteIsSet(EStructuralFeature)public void setClean(org.eclipse.emf.ecore.EStructuralFeature feature)
feature - structural feature of the implementing metaclassITarget.setClean(EStructuralFeature)public org.eclipse.emf.common.util.TreeIterator eAllContents()