Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » eRCP » Organizing files in a custom project explorer
Organizing files in a custom project explorer [message #1394212] Sat, 05 July 2014 00:22 Go to next message
Dwight Naylor is currently offline Dwight NaylorFriend
Messages: 23
Registered: June 2012
Junior Member
Hi,

My plugin contains a custom project explorer, in which I children to given items via the NavigatorContentProvider getChildren() method.

I'd like to make a certain type of child always appear first, as shown with the "~Metrics" file below:

index.php/fa/18461/0/

In that case, I achieved it by changing the name so it was the first on the list. How would I make it so that file (which is of a custom IFile type that I created) would always appear before the other files?

Thanks in advance for your help,
-Dwight
  • Attachment: Untitled.png
    (Size: 2.81KB, Downloaded 286 times)
Re: Organizing files in a custom project explorer [message #1400885 is a reply to message #1394212] Mon, 14 July 2014 21:34 Go to previous message
Dwight Naylor is currently offline Dwight NaylorFriend
Messages: 23
Registered: June 2012
Junior Member
No luck on this yet. I've tried making the decorator mask the true name in its decorateText() method (showing the name "Metric" instead of "~Metric"), but the project explorer then sorts by "Metric".
Previous Topic:Programmatic added Commands and Handler throw Exception
Next Topic:Development version of Eclipse with action recording
Goto Forum:
  


Current Time: Sat Nov 17 03:13:11 GMT 2018

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

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

Back to the top