Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317807

Summary: Comparator-Support for TreeRidget
Product: [RT] Riena Reporter: Nobody - feel free to take it <nobody>
Component: ridgetAssignee: Project Inbox <riena.ui-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: christian.campo, elias
Version: 2.1.0   
Target Milestone: 2.1.0.M1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Nobody - feel free to take it CLA 2010-06-24 08:24:47 EDT
We need Comparator-Support for the TreeRidget. At this time TreeItems are allways added as the last child of the parent-TreeItem ignoring any domain specifix order of the underlying model. A ViewerComparator has to be implemented for the TreeViewer. ITreeRidget has to provider an API for registration of Comparators similar to the ITableRidget.
Comment 1 Nobody - feel free to take it CLA 2010-06-24 09:18:44 EDT
Created attachment 172603 [details]
Patch
Comment 2 Elias Volanakis CLA 2010-06-28 20:51:55 EDT
Quickly looked at this and it looks good.

Just one question: what does the change SubModuleComparator do (from the patch)? If I understand correctly the submodule-nodes will be ordered by their order in the model instead of the creation order?
Comment 3 Elias Volanakis CLA 2010-06-28 20:55:02 EDT
One more thing: for IP compliance reasons please confirm in a bugzilla comment that the following statements apply:

(a) you are a compeople employee
(b) Compeople has a member committer agreement with the Eclipse Foundation
(c) you wrote this code yourself, without using any 3rd party code

(if you 've questions talk with Christian)

I will then commit the patch.
Comment 4 Elias Volanakis CLA 2010-07-15 19:09:43 EDT
You are a committer, so comment #3 is obsolete. But Christian mentioned to hold off committing this some time ago (forgot the reason).
Comment 5 Christian Campo CLA 2010-07-16 03:18:02 EDT
Yes we are holding this back for a little more while, since it seems a pretty fundamental change for Trees and need to make sure that it has no sideeffects and we dont want to destabilize the HEAD at this point in time....