Bug 286184 - [Dialogs] Add sorting to ElementListSelectionDialog
Summary: [Dialogs] Add sorting to ElementListSelectionDialog
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 18:20 EDT by Robert Konigsberg CLA
Modified: 2019-09-06 16:04 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.