Project: Eclipse_Platform_UI
Bug 121939 [Viewers] TreeSelection should subclass StructuredSelection
Reported: 2005-12-22 17:10:52 | Status: verified fixed

TreeViewer.getSelection() now returns a TreeSelection, which implements IStructuredSelection, but does not extend StructuredSelection. Clients who downcast to StructuredSelection instead of IStructuredSelection will be broken unless we make TreeSelection a subclass of StructuredSelection.

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeSelection.java