Interface IViewerSetProperty<S,E>
-
- Type Parameters:
S- type of the source objectE- type of the elements in the set
- All Superinterfaces:
IProperty,ISetProperty<S,E>
- All Known Implementing Classes:
ViewerSetProperty
public interface IViewerSetProperty<S,E> extends ISetProperty<S,E>
ISetPropertyfor observing a JFace viewer- Since:
- 1.3
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IViewerObservableSet<E>observe(Viewer viewer)Returns anIViewerObservableSetobserving this set property on the given viewerIObservableSet<E>observe(S viewer)This method is redeclared to trigger ambiguous method errors that are hidden by a suspected Eclipse compiler bug 536911.-
Methods inherited from interface org.eclipse.core.databinding.property.set.ISetProperty
getElementType, getSet, observe, observeDetail, setFactory, setFactory, setSet, updateSet, values
-
-
-
-
Method Detail
-
observe
IViewerObservableSet<E> observe(Viewer viewer)
Returns anIViewerObservableSetobserving this set property on the given viewer- Parameters:
viewer- the source viewer- Returns:
- an observable set observing this set property on the given viewer
-
observe
IObservableSet<E> observe(S viewer)
This method is redeclared to trigger ambiguous method errors that are hidden by a suspected Eclipse compiler bug 536911. By triggering the bug in this way clients avoid a change of behavior when the bug is fixed. When the bug is fixed this redeclaration should be removed.- Specified by:
observein interfaceISetProperty<S,E>- Parameters:
viewer- the property source- Returns:
- an observable set observing this set property on the given property source
-
-