Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 241216 - [Patch] Sort order in the Save Patch dialog
Summary: [Patch] Sort order in the Save Patch dialog
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: 3.5 M1   Edit
Assignee: Pawel Pogorzelski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 05:47 EDT by Tomasz Zarna CLA
Modified: 2009-06-02 06:52 EDT (History)
0 users

See Also:


Attachments
Patch (1.43 KB, patch)
2008-07-28 07:16 EDT, Pawel Pogorzelski CLA
no flags Details | Diff
Patch (1.64 KB, patch)
2008-07-28 08:14 EDT, Pawel Pogorzelski CLA
pawel.pogorzelski1: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2008-07-17 05:47:30 EDT
N20080712-2000

The Save Patch dialog allows to select a path in the workspace. Displayed projects are sorted alphabetically. The problem is that projects starting with an upper case letter are before project starting with lower case letter (ie one get AppleProject, BananaProject and then appleProject and bananaProject). This is not the same order as in Package or Project Explorer.
Comment 1 Pawel Pogorzelski CLA 2008-07-28 07:16:46 EDT
Created attachment 108535 [details]
Patch
Comment 2 Tomasz Zarna CLA 2008-07-28 07:56:44 EDT
Setting a comparator on the tree viewer will do the job. I guess org.eclipse.ui.views.navigator.ResourceComparator would work fine here.
Comment 3 Pawel Pogorzelski CLA 2008-07-28 08:14:22 EDT
Created attachment 108538 [details]
Patch

Tomasz, thanks for the suggestion. I prepared a new patch, what do you think about this one?
Comment 4 Tomasz Zarna CLA 2008-07-28 08:37:20 EDT
(In reply to comment #3)
> Tomasz, thanks for the suggestion. I prepared a new patch, what do you think
> about this one?

Couldn't be better :) Released to HEAD.