Class GroupEmfEditObservableValue
- java.lang.Object
-
- org.eclipse.core.databinding.observable.AbstractObservable
-
- org.eclipse.core.databinding.observable.value.AbstractObservableValue
-
- com._1c.g5.v8.dt.common.ui.databinding.GroupEmfEditObservableValue
-
- All Implemented Interfaces:
org.eclipse.core.databinding.observable.IObservable
,org.eclipse.core.databinding.observable.value.IObservableValue
public class GroupEmfEditObservableValue extends org.eclipse.core.databinding.observable.value.AbstractObservableValue
IObservableValue
for eObject group observe. Sets feature as single command and gets feature as null when not equals in entire group.
-
-
Constructor Summary
Constructors Constructor Description GroupEmfEditObservableValue(Iterable<org.eclipse.emf.ecore.EObject> modelObjects, org.eclipse.emf.ecore.EStructuralFeature feature, IGroupGetterStrategy strategy)
Constructor forGroupEmfEditObservableValue
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addListener(Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
protected Object
clone()
protected Object
doGetValue()
protected void
doSetValue(Object value)
protected void
fireEvent(org.eclipse.core.databinding.observable.ObservableEvent arg0)
protected void
firstListenerAdded()
org.eclipse.core.databinding.observable.Realm
getRealm()
Object
getValueType()
protected boolean
hasListeners()
protected void
lastListenerRemoved()
protected void
removeListener(Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
-
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, dispose, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListener
-
-
-
-
Constructor Detail
-
GroupEmfEditObservableValue
public GroupEmfEditObservableValue(Iterable<org.eclipse.emf.ecore.EObject> modelObjects, org.eclipse.emf.ecore.EStructuralFeature feature, IGroupGetterStrategy strategy)
Constructor forGroupEmfEditObservableValue
.- Parameters:
editingDomain
-feature
-decorated
-disposeDecoratedOnDispose
-
-
-
Method Detail
-
getValueType
public Object getValueType()
-
doGetValue
protected Object doGetValue()
- Specified by:
doGetValue
in classorg.eclipse.core.databinding.observable.value.AbstractObservableValue
-
doSetValue
protected void doSetValue(Object value)
- Overrides:
doSetValue
in classorg.eclipse.core.databinding.observable.value.AbstractObservableValue
-
firstListenerAdded
protected void firstListenerAdded()
-
lastListenerRemoved
protected void lastListenerRemoved()
-
addListener
protected void addListener(Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
-
removeListener
protected void removeListener(Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
-
hasListeners
protected boolean hasListeners()
-
fireEvent
protected void fireEvent(org.eclipse.core.databinding.observable.ObservableEvent arg0)
-
getRealm
public org.eclipse.core.databinding.observable.Realm getRealm()
-
clone
protected Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-