Bug 286184

Summary: [Dialogs] Add sorting to ElementListSelectionDialog
Product: [Eclipse Project] Platform Reporter: Robert Konigsberg <konigsberg>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: caniszczyk, remy.suen
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Robert Konigsberg CLA 2009-08-10 18:20:00 EDT
Consider the case where the label provider for the ELSD returns strings like this:

"XXX: YYY".

Now consider the following entries:

"list: abcde"
"list1: abcde"
"list2: abcde"
"list3: abcde"
"list4: abcde"

These get displayed in an ELSD in this order:

"list1: abcde"
"list2: abcde"
"list3: abcde"
"list4: abcde"
"list: abcde"

As a hack, I can include a leading space before the colon, to render this order:

"list : abcde"
"list1 : abcde"
"list2 : abcde"
"list3 : abcde"
"list4 : abcde"

It looks like this comes down to being able to provide a special sorter to FilteredList, which it doesn't seem is particularly possible; or is ot?
Comment 1 Chris Aniszczyk CLA 2009-08-10 18:22:05 EDT
FilteredItemsSelectionDialog may be what you're looking for.... it's a lot more advanced and can do leaps and bounds over ElementListSelectionDialog

Other than that, the request is still valid.
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:04:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.