Class 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.
    • 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
      • Methods inherited from interface org.eclipse.core.databinding.observable.IObservable

        addChangeListener, addDisposeListener, addStaleListener, dispose, getRealm, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListener
    • Constructor Detail

      • GroupEmfEditObservableValue

        public GroupEmfEditObservableValue​(Iterable<org.eclipse.emf.ecore.EObject> modelObjects,
                                           org.eclipse.emf.ecore.EStructuralFeature feature,
                                           IGroupGetterStrategy strategy)
        Parameters:
        editingDomain -
        feature -
        decorated -
        disposeDecoratedOnDispose -
    • Method Detail

      • getValueType

        public Object getValueType()
      • doGetValue

        protected Object doGetValue()
        Specified by:
        doGetValue in class org.eclipse.core.databinding.observable.value.AbstractObservableValue
      • doSetValue

        protected void doSetValue​(Object value)
        Overrides:
        doSetValue in class org.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()