org.eclipse.gmf.graphdef.editor.sheet
Class FeatureTracker
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.gmf.graphdef.editor.sheet.FeatureTracker
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
public final class FeatureTracker
- extends org.eclipse.emf.common.notify.impl.AdapterImpl
Mediator to filter specific changes of the object it is attached to.
Note, this tracker dispatches notification only when attached to a target
EObject which is compatible with features being tracked (feature's owning
meta-class should be the same or superclass of target's meta-class.
- Author:
- artem
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
| Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
target |
|
Method Summary |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification msg)
|
void |
setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
|
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
getTarget, isAdapterForType, unsetTarget |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureTracker
public FeatureTracker(ChangeTracker listener,
org.eclipse.emf.ecore.EStructuralFeature... features)
setTarget
public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
- Specified by:
setTarget in interface org.eclipse.emf.common.notify.Adapter- Overrides:
setTarget in class org.eclipse.emf.common.notify.impl.AdapterImpl
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
- Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter- Overrides:
notifyChanged in class org.eclipse.emf.common.notify.impl.AdapterImpl
Copyright © 2012. All Rights Reserved.