Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Project Explorer not sorted on a refresh
Project Explorer not sorted on a refresh [message #326362] Mon, 17 March 2008 20:36
Derek Rea is currently offline Derek ReaFriend
Messages: 14
Registered: July 2009
Junior Member
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
Previous Topic:Opening an editor
Next Topic:How to have AnnotationPainter use my AnnotationPainter.IDrawingStrategy?
Goto Forum:
  


Current Time: Thu Jun 27 20:03:18 GMT 2024

Powered by FUDForum. Page generated in 0.03772 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top