Uses of Interface
org.eclipse.core.databinding.observable.set.IObservableSet
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 that can be used to observe changes in maps.
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.
Interfaces and classes for representing and observing properties of objects.
Provides the core APIs for validation.
Provides classes that can be used to observe the JFace Viewer framework.
-
Uses of IObservableSet in org.eclipse.core.databinding
Modifier and TypeMethodDescriptionfinal <T,
M> Binding DataBindingContext.bindSet
(IObservableSet<T> targetObservableSet, IObservableSet<M> modelObservableSet) Creates aBinding
to synchronize the values of twoobservable sets
.final <T,
M> Binding DataBindingContext.bindSet
(IObservableSet<T> targetObservableSet, IObservableSet<M> modelObservableSet, UpdateSetStrategy<? super T, ? extends M> targetToModel, UpdateSetStrategy<? super M, ? extends T> modelToTarget) Creates aBinding
to synchronize the values of twoobservable sets
.protected <M,
T> UpdateSetStrategy<M, T> DataBindingContext.createModelToTargetUpdateSetStrategy
(IObservableSet<M> modelObservableSet, IObservableSet<T> targetObservableSet) Returns an update value strategy to be used for copying value set from the model set to the target set.protected <T,
M> UpdateSetStrategy<T, M> DataBindingContext.createTargetToModelUpdateSetStrategy
(IObservableSet<T> targetObservableSet, IObservableSet<M> modelObservableSet) Returns an update value strategy to be used for copying value set from the target set to the model set.protected IStatus
UpdateSetStrategy.doAdd
(IObservableSet<? super D> observableSet, D element) Adds the given element at the given index to the given observable list.protected IStatus
UpdateSetStrategy.doRemove
(IObservableSet<? super D> observableSet, D element) Removes the element at the given index from the given observable list.protected void
UpdateSetStrategy.fillDefaults
(IObservableSet<? extends S> source, IObservableSet<? super D> destination) ModifierConstructorDescriptionSetBinding
(IObservableSet<T> target, IObservableSet<M> model, UpdateSetStrategy<? super T, ? extends M> targetToModelStrategy, UpdateSetStrategy<? super M, ? extends T> modelToTargetStrategy) -
Uses of IObservableSet in org.eclipse.core.databinding.bind.steps
Modifier and TypeMethodDescription<F> Step
SetCommonSteps.SetFromStep.from
(IObservableSet<F> from) Sets the from-end observable of the resulting binding.<F> SetOneWaySteps.SetOneWayConvertStep<F,
?> SetOneWaySteps.SetOneWayFromStep.from
(IObservableSet<F> from) SetTwoWaySteps.SetTwoWayFromStep.from
(IObservableSet<F> from) SetCommonSteps.SetToStep.to
(IObservableSet<T> to) Sets the from-end observable of the resulting binding.<T> CommonSteps.WriteConfigStep<F,
T, ?> SetCommonSteps.SetUntypedTo.to
(IObservableSet<T> to) SetOneWaySteps.SetOneWayToStep.to
(IObservableSet<T> to) SetOneWaySteps.SetOneWayUntypedTo.to
(IObservableSet<T> to) SetTwoWaySteps.SetTwoWayToStep.to
(IObservableSet<T> to) <T> SetTwoWaySteps.SetTwoWayBindConfigStep<F,
T, ?> SetTwoWaySteps.SetTwoWayUntypedToStep.to
(IObservableSet<T> to) -
Uses of IObservableSet in org.eclipse.core.databinding.observable
Modifier and TypeMethodDescriptionstatic <E> IObservableSet<E>
Observables.emptyObservableSet()
Returns an empty observable set.static <E> IObservableSet<E>
Observables.emptyObservableSet
(Object elementType) Returns an empty observable set of the given element type.static <E> IObservableSet<E>
Observables.emptyObservableSet
(Realm realm) Returns an empty observable set belonging to the given realm.static <E> IObservableSet<E>
Observables.emptyObservableSet
(Realm realm, Object elementType) Returns an empty observable set of the given element type and belonging to the given realm.static <E> IObservableSet<E>
Observables.proxyObservableSet
(IObservableSet<E> target) Returns an observable set that contains the same elements as the given set, and fires the same events as the given set, but can be disposed of without disposing of the wrapped set.static <E> IObservableSet<E>
Observables.staticObservableSet
(Set<E> set) Returns an observable set backed by the given set.static <E> IObservableSet<E>
Observables.staticObservableSet
(Set<E> set, Object elementType) Returns an observable set of the given element type, backed by the given set.static <E> IObservableSet<E>
Observables.staticObservableSet
(Realm realm, Set<E> set) Returns an observable set belonging to the given realm, backed by the given set.static <E> IObservableSet<E>
Observables.staticObservableSet
(Realm realm, Set<E> set, Object elementType) Returns an observable set of the given element type and belonging to the given realm, backed by the given set.static <E> IObservableSet<E>
Observables.unmodifiableObservableSet
(IObservableSet<E> set) Returns an unmodifiable observable set backed by the given observable set.Modifier and TypeMethodDescriptionstatic <E> IObservableSet<E>
Observables.proxyObservableSet
(IObservableSet<E> target) Returns an observable set that contains the same elements as the given set, and fires the same events as the given set, but can be disposed of without disposing of the wrapped set.static <E> IObservableSet<E>
Observables.unmodifiableObservableSet
(IObservableSet<E> set) Returns an unmodifiable observable set backed by the given observable set. -
Uses of IObservableSet in org.eclipse.core.databinding.observable.map
ModifierConstructorDescriptionComputedObservableMap
(IObservableSet<K> keySet) ComputedObservableMap
(IObservableSet<K> keySet, Object valueType) ModifierConstructorDescriptionCompositeMap
(IObservableMap<K, I> firstMap, IObservableFactory<? super IObservableSet<I>, ? extends IObservableMap<I, V>> secondMapFactory) Creates a new composite map. -
Uses of IObservableSet in org.eclipse.core.databinding.observable.masterdetail
Modifier and TypeMethodDescriptionstatic <M,
E> IObservableSet<E> MasterDetailObservables.detailSet
(IObservableValue<M> master, IObservableFactory<? super M, ? extends IObservableSet<E>> detailFactory, Object detailElementType) Creates a detail observable set from a master observable value and a factory.Modifier and TypeMethodDescriptionstatic <M,
E> IObservableMap<M, E> MasterDetailObservables.detailValues
(IObservableSet<M> masterSet, IObservableFactory<? super M, IObservableValue<E>> detailFactory, Object detailType) Returns a detail observable map where the map's key set is the same as the given observable set, and where each value is the detail value of the element in the master observable set.Modifier and TypeMethodDescriptionstatic <M,
E> IObservableSet<E> MasterDetailObservables.detailSet
(IObservableValue<M> master, IObservableFactory<? super M, ? extends IObservableSet<E>> detailFactory, Object detailElementType) Creates a detail observable set from a master observable value and a factory. -
Uses of IObservableSet in org.eclipse.core.databinding.observable.set
Modifier and TypeClassDescriptionclass
Abstract implementation ofIObservableSet
.class
ComputedSet<E>
A lazily calculated set that automatically computes and registers listeners on its dependencies as long as all of its dependencies areIObservable
objects.class
An observable set which decorates another observable set.class
Observable set backed by an observable list.class
Deprecated.This class is deprecated.class
Abstract implementation ofIObservableSet
.final class
UnionSet<E>
Represents a set consisting of the union of elements from one or more other sets.class
WritableSet<E>
Mutable (writable) implementation ofIObservableSet
.Modifier and TypeMethodDescriptionstatic <E> IObservableSet<E>
Factory method to createComputedSet
objects in an easy manner.SetChangeEvent.getObservableSet()
Returns the observable set from which this event originated.ModifierConstructorDescriptionDecoratingObservableSet
(IObservableSet<E> decorated, boolean disposeDecoratedOnDispose) Constructs a DecoratingObservableSet which decorates the given observable.MappedSet
(IObservableSet input, IObservableMap map) Deprecated.SetChangeEvent
(IObservableSet<E> source, SetDiff<E> diff) Creates a new set change event.UnionSet
(IObservableSet<? extends E>[] childSets) UnionSet
(IObservableSet<? extends E>[] childSets, Object elementType) ModifierConstructorDescriptionUnionSet
(Set<IObservableSet<? extends E>> childSets) UnionSet
(Set<IObservableSet<? extends E>> childSets, Object elementType) -
Uses of IObservableSet in org.eclipse.core.databinding.property
Modifier and TypeMethodDescriptionstatic <E,
P> IObservableMap<E, ? extends P>[] Properties.observeEach
(IObservableSet<E> domainSet, IValueProperty<? super E, ? extends P>... properties) Returns an array of observable maps where each map observes the corresponding value property on all elements in the given domain set, for each property in the given array. -
Uses of IObservableSet in org.eclipse.core.databinding.property.set
Modifier and TypeMethodDescriptionReturns an observable set observing this set property on the given property sourceReturns an observable set observing this set property on the given property source<U extends S>
IObservableSet<E>ISetProperty.observeDetail
(IObservableValue<U> master) Returns an observable set on the master observable's realm which tracks this property of the current value ofmaster
.<U extends S>
IObservableSet<E>SetProperty.observeDetail
(IObservableValue<U> master) Modifier and TypeMethodDescriptionISetProperty.setFactory()
Returns a factory for creating observable sets tracking this property of a particular property source.ISetProperty.setFactory
(Realm realm) Returns a factory for creating observable sets in the given realm, tracking this property of a particular property source.SetProperty.setFactory()
SetProperty.setFactory
(Realm realm) -
Uses of IObservableSet in org.eclipse.core.databinding.property.value
Modifier and TypeMethodDescription<U extends S>
IObservableMap<U,T> DelegatingValueProperty.observeDetail
(IObservableSet<U> master) <M extends S>
IObservableMap<M,T> IValueProperty.observeDetail
(IObservableSet<M> master) Returns an observable map on the master observable's realm where the map's key set is the specified master set, and where each key maps to the current property value for each element.<U extends S>
IObservableMap<U,T> SimpleValueProperty.observeDetail
(IObservableSet<U> master) <V extends S>
IObservableMap<V,T> ValueProperty.observeDetail
(IObservableSet<V> master) -
Uses of IObservableSet in org.eclipse.core.databinding.validation
Modifier and TypeMethodDescription<E> IObservableSet<E>
MultiValidator.observeValidatedSet
(IObservableSet<E> target) Returns a wrapperIObservableSet
which stays in sync with the given target observable only when the validation status is valid.Modifier and TypeMethodDescription<E> IObservableSet<E>
MultiValidator.observeValidatedSet
(IObservableSet<E> target) Returns a wrapperIObservableSet
which stays in sync with the given target observable only when the validation status is valid. -
Uses of IObservableSet in org.eclipse.jface.databinding.viewers
Modifier and TypeMethodDescriptionObservableListContentProvider.getKnownElements()
Returns the set of elements known to this content provider.ObservableListTreeContentProvider.getKnownElements()
Returns the set of elements known to this content provider.ObservableSetContentProvider.getKnownElements()
Returns the set of elements known to this content provider.ObservableSetTreeContentProvider.getKnownElements()
Returns the set of elements known to this content provider.ObservableListContentProvider.getRealizedElements()
Returns the set of known elements which have been realized in the viewer.ObservableListTreeContentProvider.getRealizedElements()
Returns the set of known elements which have been realized in the viewer.ObservableSetContentProvider.getRealizedElements()
Returns the set of known elements which have been realized in the viewer.ObservableSetTreeContentProvider.getRealizedElements()
Returns the set of known elements which have been realized in the viewer.This 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, IObservableSet<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, IObservableSet<E> input, IValueProperty<? super E, ?>... labelProperties) Binds the viewer to the specified input, using the specified label properties to generate labels.ModifierConstructorDescriptionObservableSetTreeContentProvider
(IObservableFactory<? super E, ? extends IObservableSet<E>> setFactory, TreeStructureAdvisor<E> structureAdvisor) Constructs an ObservableListTreeContentProvider using the given list factory.