Community
Participate
Working Groups
SelectionServiceListener has a bug whereby it incorrectly passes a IWorkbenchPart instead of a ISelectionService as the source object to fireChange. This has no consequences for the standard case, when WorkbenchProperties#singleSelection is used to produce an observable value, because SimplePropertyObservableValue ignores the source parameter. But when WorkbenchProperties#singleSelection is used to produce a observable list of set it results in ClassCastExceptions in SelectionServiceListener, when the source is cased to ISelectionService. The fundamental problem is that there is no good way to use SimpleValueProperty when the listener does not have access to the source object.