Interface IViewerSetProperty<S,E>

Type Parameters:
S - type of the source object
E - 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>
ISetProperty for observing a JFace viewer
Since:
1.3
Restriction:
This interface is not intended to be implemented by clients.
  • Method Details

    • observe

      IViewerObservableSet<E> observe(Viewer viewer)
      Returns an IViewerObservableSet observing 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:
      observe in interface ISetProperty<S,E>
      Parameters:
      viewer - the property source
      Returns:
      an observable set observing this set property on the given property source