String propertyName, UpdateSourceTrigger updateSourceTrigger) {
if (object instanceof Viewer) {
if ("input".equals(propertyName)) {
Viewer viewer = (Viewer) object;
SimpleValueProperty property = (SimpleValueProperty) ViewerProperties.input();
IObservableValue observableValue = new SimplePropertyObservableValue(XWT.getRealm(), viewer, property);
return new TypedViewerObservableValueDecorator(observableValue, viewer);
}
else if ("singleSelection".equals(propertyName)) {
Viewer viewer = (Viewer) object;
SimpleValueProperty property = (SimpleValueProperty) ViewerProperties.singleSelection();
IObservableValue observableValue = new SimplePropertyObservableValue(XWT.getRealm(), viewer, property);
return new TypedViewerObservableValueDecorator(observableValue, viewer);
}
return observePropertyValue((Viewer) object, propertyName, updateSourceTrigger);
} else if (object instanceof MenuItem) {
//