Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Help with the Project Explorer View(Sort the elements in the project by type)
Help with the Project Explorer View [message #549479] Mon, 26 July 2010 18:57 Go to next message
Missing name Missing nameFriend
Messages: 20
Registered: May 2010
Junior Member
How can we change the sort order of the projects displayed in the ProjectExplorer view of RCP app.

Also, I want to add a listener that checks for the double clicking of a particular project? How should I go about implementing that?

Thanks!
Re: Help with the Project Explorer View [message #552292 is a reply to message #549479] Wed, 11 August 2010 15:25 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
You can define a navigator content extension (NCE) that overrides the NCE provided in org.eclipse.ui.navigator.resources and that provides a commonSorter element to control the order.

For double-click you can either override handleDoubleClick in the CommonNavigator or you can register your own double click listener in the viewer associated with the CommonNavigator.


Previous Topic:Remove default View Icon
Next Topic:Errors while integrating CDT wit RCP app
Goto Forum:
  


Current Time: Tue Dec 07 19:30:36 GMT 2021

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

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

Back to the top