Class EMFIndexedValuePropertyDelegator

  • All Implemented Interfaces:
    org.eclipse.core.databinding.property.IProperty, org.eclipse.core.databinding.property.value.IValueProperty

    public class EMFIndexedValuePropertyDelegator
    extends org.eclipse.emf.databinding.internal.EMFValueProperty
    This class provides a ValueProperty that supports addressing specific elements of a list by an index.
    Author:
    Eugen Neufeld
    • Constructor Summary

      Constructors 
      Constructor Description
      EMFIndexedValuePropertyDelegator​(org.eclipse.emf.edit.domain.EditingDomain editingDomain, int index, org.eclipse.core.databinding.property.value.IValueProperty valueProperty, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
      Constructor for an Index ValueProperty.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object doGetValue​(java.lang.Object source)  
      protected void doSetValue​(java.lang.Object source, java.lang.Object value)  
      java.lang.String toString()  
      • Methods inherited from class org.eclipse.emf.databinding.internal.EMFValueProperty

        adaptListener, getFeature, getValueType
      • Methods inherited from class org.eclipse.core.databinding.property.value.SimpleValueProperty

        observe, observeDetail, observeDetail, observeDetail
      • Methods inherited from class org.eclipse.core.databinding.property.value.ValueProperty

        getValue, list, map, observe, observeDetail, set, setValue, value, valueFactory, valueFactory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EMFIndexedValuePropertyDelegator

        public EMFIndexedValuePropertyDelegator​(org.eclipse.emf.edit.domain.EditingDomain editingDomain,
                                                int index,
                                                org.eclipse.core.databinding.property.value.IValueProperty valueProperty,
                                                org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
        Constructor for an Index ValueProperty.
        Parameters:
        editingDomain - The EditingDomain
        index - The index
        valueProperty - the IValueProperty to the index
        eStructuralFeature - the EStructuralFeature of the indexed feature
    • Method Detail

      • doGetValue

        protected java.lang.Object doGetValue​(java.lang.Object source)
        Overrides:
        doGetValue in class org.eclipse.emf.databinding.internal.EMFValueProperty
      • doSetValue

        protected void doSetValue​(java.lang.Object source,
                                  java.lang.Object value)
        Overrides:
        doSetValue in class org.eclipse.emf.databinding.internal.EMFValueProperty
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.eclipse.emf.databinding.internal.EMFValueProperty