Package org.eclipse.gef.common.beans.property
package org.eclipse.gef.common.beans.property
This package augments the property API of JavaFX by adding support related to
SetMultimap
and
Multiset
.
It also provides replacements for
ReadOnlyMapWrapper
,
SimpleMapProperty
,
ReadOnlySetWrapper
, and
ReadOnlyListWrapper
, which fix the following
issues:
- https://bugs.openjdk.java.net/browse/JDK-8136465: fixed by keeping track of all listeners and ensuring that remaining listeners are re-added when a listener is removed.
- https://bugs.openjdk.java.net/browse/JDK-8089557: fixed by not forwarding listeners to the read-only property but rather keeping the lists of listeners distinct.
-
ClassDescriptionAbstract base class defining contract for a
Property
wrapping aObservableMultiset
.Abstract base class for implementing aProperty
wrapping anObservableMultiset
.A replacement forReadOnlyListWrapper
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.A replacement forReadOnlyListWrapper
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.A replacement forReadOnlyMapWrapper
to fix the following JavaFX issues: All listeners were removed when removing one (https://bugs.openjdk.java.net/browse/JDK-8136465): fixed by keeping track of all listeners and ensuring that remaining listeners are re-added when a listener is removed. Change notifications are fired even when the observed value did not change.ReadOnlyMapWrapperEx<K,V> A replacement forReadOnlyMapWrapper
to fix the following JavaFX issues: All listeners were removed when removing one (https://bugs.openjdk.java.net/browse/JDK-8136465): fixed by keeping track of all listeners and ensuring that remaining listeners are re-added when a listener is removed. Change notifications are fired even when the observed value did not change.Abstract base class defining contract for a read-onlyProperty
wrapping anObservableMultiset
.Abstract base class for implementing a read-onlyProperty
wrapping anObservableMultiset
.AReadOnlyMultisetWrapper
is a writableProperty
wrapping anObservableMultiset
, which provides an additional read-onlyProperty
(based on a concrete, non-exposed implementation ofReadOnlyMultisetProperty
), whose value is synchronized with the value of thisReadOnlyMapWrapper
.Abstract base class defining contract for a read-onlyProperty
wrapping anObservableSetMultimap
.Abstract base class for implementing a read-onlyProperty
wrapping anObservableSetMultimap
.AReadOnlySetMultimapWrapper
is a writableProperty
wrapping anObservableSetMultimap
, which provides an additional read-onlyProperty
(based on a concrete, non-exposed implementation ofReadOnlySetMultimapProperty
), whose value is synchronized with the value of thisReadOnlyMapWrapper
.A replacement forReadOnlySetWrapper
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.A replacement forReadOnlySetWrapper
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.SetMultimapProperty<K,V> Abstract base class defining contract for aProperty
wrapping aObservableSetMultimap
.Abstract base class for implementing aProperty
wrapping anObservableSetMultimap
.A replacement forSimpleListProperty
to fix the following JavaFX issue: Change notifications are fired even when the observed value did not change.SimpleMapPropertyEx<K,V> A replacement forSimpleMapProperty
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.A concrete implementation of aProperty
wrapping anObservableMultiset
.A concrete implementation of aProperty
wrapping anObservableSetMultimap
.A replacement forSimpleSetProperty
to fix the following JavaFX issue: Change notifications are fired even when the observed value did not change.