Bug 483839

Summary: Add @Deprecated to TreePathViewerSorter and offer replacement
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, Lars.Vogel, markus.kell.r, pwebster, simon.scholz
Version: 4.3   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 395213, 402464    
Bug Blocks: 482137    

Description Lars Vogel CLA 2015-12-07 14:21:27 EST
+++ This bug was initially created as a clone of Bug #402464 +++

From https://bugs.eclipse.org/bugs/show_bug.cgi?id=402464#c12

>  ** @deprecated see <code>ViewerSorter</code> for more information.
>...
> public class TreePathViewerSorter extends ViewerSorter {

That doesn't make sense and violates our rules about API deprecation.

ViewerSorter doesn't tell what clients of TreePathViewerSorter should do. If you want to deprecate TreePathViewerSorter, you have to implement a new class TreePathViewerComparator and port at least one client as a proof that it really works.