Community
Participate
Working Groups
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.
Created attachment 172603 [details] Patch
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?
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.
You are a committer, so comment #3 is obsolete. But Christian mentioned to hold off committing this some time ago (forgot the reason).
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....