Project Explorer not sorted on a refresh [message #326362] |
Mon, 17 March 2008 16:36 |
Eclipse User |
|
|
|
Hi all,
I created a plugin that defines a new type of project, which contains
linked resources. During testing, I created a project of this type and
renamed a linked resource of it outside of Eclipse and did a "Refresh"
(F5) on my project within the Project Explorer view. I expected to see
the updated resources sorted alphabetically, but this was not the case.
The renamed member gets moved to the top of the list of resources instead.
Only if I choose a different package presentation (flat/hierarchical),
close/open the project, or close/open Eclipse do the resources get sorted
correctly.
The childNames method in my FileStore extension returns the names of the
resources in alphabetical order. Also, I have done a "Refresh" (F5) using
the Navigator view on the same project and it sorts the resources
alphabetically, but the Project Explorer view does not.
Is the Project Explorer working as intended here?
-If not, is there some method I am not implementing correctly in my
FileStore extension (or elsewhere) or could this be a bug?
-If so, is there some way I can programmatically sort the Project
Explorer view?
Any help is appreciated.
Thanks,
Derek
|
|
|
Powered by
FUDForum. Page generated in 0.03366 seconds