Uses of Interface
org.eclipse.core.databinding.observable.list.IObservableList
Package
Description
Provides classes for binding observable objects, for example UI widgets and model objects.
Provides the core APIs for observing changes in objects.
Provides classes for observing changes in lists.
Provides classes that can be used to observe a detail of a master object.
Provides classes that can be used to observe changes in sets.
Provides classes that can be used to observe changes in discrete values.
Provides the core APIs for validation.
Provides classes that bridge between data binding and the JFace Fieldassist framework.
Provides classes that can be used to observe changes in SWT widgets.
Provides classes that can be used to observe the JFace Viewer framework.
-
Uses of IObservableList in org.eclipse.core.databinding
Modifier and TypeMethodDescriptionfinal IObservableList<Binding>
DataBindingContext.getBindings()
Returns an unmodifiableIObservableList
of all bindings in order by time of addition.Binding.getModels()
abstract IObservableList<IObservable>
ValidationStatusProvider.getModels()
Returns anIObservableList
containing the model observables (if any) that are being tracked by this validation status provider.Binding.getTargets()
abstract IObservableList<IObservable>
ValidationStatusProvider.getTargets()
Returns anIObservableList
containing the target observables (if any) that are being tracked by this validation status provider.DataBindingContext.getValidationStatusProviders()
Returns an unmodifiableIObservableList
of all validation status providers in order by time of addition.Modifier and TypeMethodDescriptionfinal <T,
M> Binding DataBindingContext.bindList
(IObservableList<T> targetObservableList, IObservableList<M> modelObservableList) Creates aBinding
to synchronize the values of twoobservable lists
.final <T,
M> Binding DataBindingContext.bindList
(IObservableList<T> targetObservableList, IObservableList<M> modelObservableList, UpdateListStrategy<? super T, ? extends M> targetToModel, UpdateListStrategy<? super M, ? extends T> modelToTarget) Creates aBinding
to synchronize the values of twoobservable lists
.protected <M,
T> UpdateListStrategy<M, T> DataBindingContext.createModelToTargetUpdateListStrategy
(IObservableList<M> modelObservableList, IObservableList<T> targetObservableList) Returns an update value strategy to be used for copying value list from the model list to the target list.protected <T,
M> UpdateListStrategy<T, M> DataBindingContext.createTargetToModelUpdateListStrategy
(IObservableList<T> targetObservableList, IObservableList<M> modelObservableList) Returns an update value strategy to be used for copying value list from the target list to the model list.protected IStatus
UpdateListStrategy.doAdd
(IObservableList<? super D> observableList, D element, int index) Adds the given element at the given index to the given observable list.protected IStatus
UpdateListStrategy.doMove
(IObservableList<? super D> observableList, int oldIndex, int newIndex) Moves the element in the observable list located at the given old index to the given new index.protected IStatus
UpdateListStrategy.doRemove
(IObservableList<? super D> observableList, int index) Removes the element at the given index from the given observable list.protected IStatus
UpdateListStrategy.doReplace
(IObservableList<? super D> observableList, int index, D element) Replaces the element in the observable list located at the given index to with the given element.protected void
UpdateListStrategy.fillDefaults
(IObservableList<? extends S> source, IObservableList<? super D> destination) ModifierConstructorDescriptionListBinding
(IObservableList<T> target, IObservableList<M> model, UpdateListStrategy<? super T, ? extends M> targetToModelStrategy, UpdateListStrategy<? super M, ? extends T> modelToTargetStrategy) -
Uses of IObservableList in org.eclipse.core.databinding.bind.steps
Modifier and TypeMethodDescription<F> Step
ListCommonSteps.ListFromStep.from
(IObservableList<F> from) Sets the from-end observable of the resulting binding.ListOneWaySteps.ListOneWayFromStep.from
(IObservableList<F> from) ListTwoWaySteps.ListTwoWayFromStep.from
(IObservableList<F> from) ListCommonSteps.ListToStep.to
(IObservableList<T> to) Sets the from-end observable of the resulting binding.<T> CommonSteps.WriteConfigStep<F,
T, ?> ListCommonSteps.ListUntypedTo.to
(IObservableList<T> to) ListOneWaySteps.ListOneWayToStep.to
(IObservableList<T> to) ListOneWaySteps.ListOneWayUntypedTo.to
(IObservableList<T> to) ListTwoWaySteps.ListTwoWayToStep.to
(IObservableList<T> to) ListTwoWaySteps.ListTwoWayUntypedToStep.to
(IObservableList<T> to) -
Uses of IObservableList in org.eclipse.core.databinding.observable
Modifier and TypeMethodDescriptionstatic <E> IObservableList<E>
Observables.emptyObservableList()
Returns an empty observable list.static <E> IObservableList<E>
Observables.emptyObservableList
(Object elementType) Returns an empty observable list of the given element type.static <E> IObservableList<E>
Observables.emptyObservableList
(Realm realm) Returns an empty observable list belonging to the given realm.static <E> IObservableList<E>
Observables.emptyObservableList
(Realm realm, Object elementType) Returns an empty observable list of the given element type and belonging to the given realm.static <E> IObservableList<E>
Observables.proxyObservableList
(IObservableList<E> target) Returns an observable list that contains the same elements as the given list, and fires the same events as the given list, but can be disposed of without disposing of the wrapped list.static <E> IObservableList<E>
Observables.staticObservableList
(List<E> list) Returns an observable list backed by the given list.static <E> IObservableList<E>
Observables.staticObservableList
(List<E> list, Object elementType) Returns an observable list of the given element type, backed by the given list.static <E> IObservableList<E>
Observables.staticObservableList
(Realm realm, List<E> list) Returns an observable list belonging to the given realm, backed by the given list.static <E> IObservableList<E>
Observables.staticObservableList
(Realm realm, List<E> list, Object elementType) Returns an observable list of the given element type and belonging to the given realm, backed by the given list.static <E> IObservableList<E>
Observables.unmodifiableObservableList
(IObservableList<E> list) Returns an unmodifiable observable list backed by the given observable list.Modifier and TypeMethodDescriptionstatic <E> IObservableList<E>
Observables.proxyObservableList
(IObservableList<E> target) Returns an observable list that contains the same elements as the given list, and fires the same events as the given list, but can be disposed of without disposing of the wrapped list.static <E> IObservableList<E>
Observables.unmodifiableObservableList
(IObservableList<E> list) Returns an unmodifiable observable list backed by the given observable list. -
Uses of IObservableList in org.eclipse.core.databinding.observable.list
Modifier and TypeClassDescriptionclass
Subclasses should override at least get(int index) and size().class
ComputedList<E>
A lazily calculated list that automatically computes and registers listeners on its dependencies as long as all of its dependencies areIObservable
objects.class
An observable list which decorates another observable list.class
MultiList<E>
An observable list backed by an array of observable lists.class
Abstract implementation ofIObservableList
, based on an underlying regular list.class
WritableList<E>
Mutable observable list backed by an ArrayList.Modifier and TypeMethodDescriptionstatic <E> IObservableList<E>
Factory method to createComputedList
objects in an easy manner.ListChangeEvent.getObservableList()
Returns the observable list from which this event originated.ModifierConstructorDescriptionDecoratingObservableList
(IObservableList<E> decorated, boolean disposeDecoratedOnDispose) Constructs a DecoratingObservableList which decorates the given observable.ListChangeEvent
(IObservableList<E> source, ListDiff<E> diff) Creates a new list change event.MultiList
(IObservableList<E>[] lists) Deprecated.MultiList
(IObservableList<E>[] lists, Object elementType) Deprecated.useMultiList(List, Object)
insteadMultiList
(Realm realm, IObservableList<E>[] lists) Constructs a MultiList belonging to the given realm, and backed by the given observable lists.MultiList
(Realm realm, IObservableList<E>[] lists, Object elementType) Deprecated.useMultiList(Realm, List, Object)
insteadModifierConstructorDescriptionMultiList
(List<IObservableList<E>> lists) Constructs a MultiList in the default realm, and backed by the given observable lists.MultiList
(List<IObservableList<E>> lists, Object elementType) Constructs a MultiList in the default realm backed by the given observable lists.Constructs a MultiList belonging to the given realm, and backed by the given observable lists. -
Uses of IObservableList in org.eclipse.core.databinding.observable.masterdetail
Modifier and TypeMethodDescriptionstatic <M,
E> IObservableList<E> MasterDetailObservables.detailList
(IObservableValue<M> master, IObservableFactory<? super M, IObservableList<E>> detailFactory, Object detailElementType) Creates a detail observable list from a master observable value and a factory.static <M,
E> IObservableList<E> MasterDetailObservables.detailValues
(IObservableList<M> masterList, IObservableFactory<? super M, IObservableValue<E>> detailFactory, Object detailType) Returns a detail observable list where each element is the detail value of the element in the master observable list.Modifier and TypeMethodDescriptionstatic <M,
E> IObservableList<E> MasterDetailObservables.detailValues
(IObservableList<M> masterList, IObservableFactory<? super M, IObservableValue<E>> detailFactory, Object detailType) Returns a detail observable list where each element is the detail value of the element in the master observable list.Modifier and TypeMethodDescriptionstatic <M,
E> IObservableList<E> MasterDetailObservables.detailList
(IObservableValue<M> master, IObservableFactory<? super M, IObservableList<E>> detailFactory, Object detailElementType) Creates a detail observable list from a master observable value and a factory. -
Uses of IObservableList in org.eclipse.core.databinding.observable.set
-
Uses of IObservableList in org.eclipse.core.databinding.observable.value
Modifier and TypeMethodDescriptionstatic <T> DuplexingObservableValue<T>
DuplexingObservableValue.withDefaults
(IObservableList<T> target, T emptyValue, T multiValue) Returns a DuplexingObservableValue implementation with predefined values to use if the list is empty or contains multiple different values.ModifierConstructorDescriptionDuplexingObservableValue
(IObservableList<T> target) DuplexingObservableValue
(IObservableList<T> target, Object valueType) -
Uses of IObservableList in org.eclipse.core.databinding.property.list
Modifier and TypeMethodDescriptionReturns an observable list observing this list property on the given property sourceReturns an observable list observing this list property on the given property source<U extends S>
IObservableList<E>IListProperty.observeDetail
(IObservableValue<U> master) Returns an observable list on the master observable's realm which tracks this property of the current value ofmaster
.<U extends S>
IObservableList<E>ListProperty.observeDetail
(IObservableValue<U> master) Modifier and TypeMethodDescriptionIListProperty.listFactory()
Returns a factory for creating observable lists tracking this property of a particular property source.IListProperty.listFactory
(Realm realm) Returns a factory for creating observable lists in the given realm, tracking this property of a particular property source.ListProperty.listFactory()
ListProperty.listFactory
(Realm realm) -
Uses of IObservableList in org.eclipse.core.databinding.property.value
Modifier and TypeMethodDescription<U extends S>
IObservableList<T>DelegatingValueProperty.observeDetail
(IObservableList<U> master) <M extends S>
IObservableList<T>IValueProperty.observeDetail
(IObservableList<M> master) Returns an observable list on the master observable's realm which tracks this property on each element ofmaster
.<U extends S>
IObservableList<T>SimpleValueProperty.observeDetail
(IObservableList<U> master) <V extends S>
IObservableList<T>ValueProperty.observeDetail
(IObservableList<V> master) Modifier and TypeMethodDescription<U extends S>
IObservableList<T>DelegatingValueProperty.observeDetail
(IObservableList<U> master) <M extends S>
IObservableList<T>IValueProperty.observeDetail
(IObservableList<M> master) Returns an observable list on the master observable's realm which tracks this property on each element ofmaster
.<U extends S>
IObservableList<T>SimpleValueProperty.observeDetail
(IObservableList<U> master) <V extends S>
IObservableList<T>ValueProperty.observeDetail
(IObservableList<V> master) -
Uses of IObservableList in org.eclipse.core.databinding.validation
Modifier and TypeMethodDescriptionMultiValidator.getModels()
MultiValidator.getTargets()
<E> IObservableList<E>
MultiValidator.observeValidatedList
(IObservableList<E> target) Returns a wrapperIObservableList
which stays in sync with the given target observable only when the validation status is valid.Modifier and TypeMethodDescription<E> IObservableList<E>
MultiValidator.observeValidatedList
(IObservableList<E> target) Returns a wrapperIObservableList
which stays in sync with the given target observable only when the validation status is valid. -
Uses of IObservableList in org.eclipse.jface.databinding.fieldassist
Modifier and TypeMethodDescriptionstatic ControlDecorationSupport
ControlDecorationSupport.create
(IObservableValue<IStatus> validationStatus, int position, IObservableList<IObservable> targetsToBeDecorated) Creates a ControlDecorationSupport which observes the given validation status and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.static ControlDecorationSupport
ControlDecorationSupport.create
(IObservableValue<IStatus> validationStatus, int position, Composite composite, IObservableList<IObservable> targetsToBeDecorated) Creates a ControlDecorationSupport which observes the validation status and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.static ControlDecorationSupport
ControlDecorationSupport.create
(IObservableValue<IStatus> validationStatus, int position, Composite composite, ControlDecorationUpdater updater, IObservableList<IObservable> targetsToBeDecorated) Creates a ControlDecorationSupport which observes the validation status and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
. -
Uses of IObservableList in org.eclipse.jface.databinding.swt
-
Uses of IObservableList in org.eclipse.jface.databinding.viewers
Modifier and TypeMethodDescriptionThis method is redeclared to trigger ambiguous method errors that are hidden by a suspected Eclipse compiler bug 536911.Modifier and TypeMethodDescriptionstatic <E> void
ViewerSupport.bind
(StructuredViewer viewer, IObservableList<E> input, IValueProperty<? super E, ?> labelProperty) Binds the viewer to the specified input, using the specified label property to generate labels.static <E> void
ViewerSupport.bind
(StructuredViewer viewer, IObservableList<E> input, IValueProperty<? super E, ?>... labelProperties) Binds the viewer to the specified input, using the specified label properties to generate labels.ModifierConstructorDescriptionObservableListTreeContentProvider
(IObservableFactory<? super E, ? extends IObservableList<E>> listFactory, TreeStructureAdvisor<? super E> structureAdvisor) Constructs an ObservableListTreeContentProvider using the given list factory.
MultiList(List)
instead