/** * Returns an observable value that tracks the input of the given viewer. * <p> * The returned observer is blind to changes in the viewer's input unless * its {@link IObservableValue#setValue(Object)} method is called directly. * * @param viewer * the viewer to observe * @return an observable value tracking the input of the given viewer * @since 1.2 */ public static IObservableValue observeInput(Viewer viewer) { checkNull(viewer); return ViewerProperties.input().observe(viewer); }