|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.databinding.observable.AbstractObservable org.eclipse.core.databinding.observable.value.AbstractObservableValue org.eclipse.emf.databinding.EObjectObservableValue
public class EObjectObservableValue
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
Field Summary | |
---|---|
protected EObject |
eObject
The object instance |
protected EStructuralFeature |
eStructuralFeature
The feature |
protected Adapter |
listener
The listener |
Constructor Summary | |
---|---|
EObjectObservableValue(EObject eObject,
EStructuralFeature eStructuralFeature)
Observe a feature of the instance using the default realm |
|
EObjectObservableValue(Realm realm,
EObject eObject,
EStructuralFeature eStructuralFeature)
Observe a feature of the instance using the realm |
Method Summary | |
---|---|
protected void |
addListener(java.lang.Object arg0,
IObservablesListener arg1)
|
protected java.lang.Object |
clone()
|
void |
dispose()
|
protected java.lang.Object |
doGetValue()
|
protected void |
doSetValue(java.lang.Object value)
|
protected void |
fireEvent(ObservableEvent arg0)
|
protected void |
firstListenerAdded()
|
java.lang.Object |
getObserved()
|
Realm |
getRealm()
|
java.lang.Object |
getValueType()
|
protected boolean |
hasListeners()
|
protected void |
lastListenerRemoved()
|
protected void |
removeListener(java.lang.Object arg0,
IObservablesListener arg1)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.core.databinding.observable.value.AbstractObservableValue |
---|
addValueChangeListener, fireChange, fireValueChange, getValue, isStale, removeValueChangeListener, setValue |
Methods inherited from class org.eclipse.core.databinding.observable.AbstractObservable |
---|
addChangeListener, addDisposeListener, addStaleListener, checkRealm, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListener |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.core.databinding.observable.IObservable |
---|
addChangeListener, addDisposeListener, addStaleListener, getRealm, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListener |
Field Detail |
---|
protected EObject eObject
protected EStructuralFeature eStructuralFeature
protected Adapter listener
Constructor Detail |
---|
public EObjectObservableValue(EObject eObject, EStructuralFeature eStructuralFeature)
eObject
- the objecteStructuralFeature
- the featurepublic EObjectObservableValue(Realm realm, EObject eObject, EStructuralFeature eStructuralFeature)
realm
- eObject
- the objecteStructuralFeature
- the featureMethod Detail |
---|
public void dispose()
dispose
in interface IObservable
dispose
in class AbstractObservable
public java.lang.Object getObserved()
getObserved
in interface IObserving
protected void firstListenerAdded()
protected void lastListenerRemoved()
protected java.lang.Object doGetValue()
doGetValue
in class AbstractObservableValue
protected void doSetValue(java.lang.Object value)
doSetValue
in class AbstractObservableValue
public java.lang.Object getValueType()
getValueType
in interface IObservableValue
public java.lang.String toString()
toString
in class java.lang.Object
protected void addListener(java.lang.Object arg0, IObservablesListener arg1)
protected void removeListener(java.lang.Object arg0, IObservablesListener arg1)
protected boolean hasListeners()
protected void fireEvent(ObservableEvent arg0)
public Realm getRealm()
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |