Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Sort Preference Pages
Sort Preference Pages [message #336064] Mon, 18 May 2009 11:11 Go to next message
Matthias M. is currently offline Matthias M.Friend
Messages: 27
Registered: July 2009
Junior Member

Hello there.

Does anyone now, how to sort the preference pages shown in a preference
dialog?
Ive found this thread which treats with the subject:
http://dev.eclipse.org/newslists/news.eclipse.platform/msg78 719.html
But unfortunately there is no solution given.

Anybody nows a clean way to manage that? I think there must be one, as the
General-page is on the top in the standard Eclipse preference dialog as
well...

Thanks in advance,
Matt


Re: Sort Preference Pages [message #336066 is a reply to message #336064] Mon, 18 May 2009 17:19 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Matt M. wrote:
> Does anyone now, how to sort the preference pages shown in a preference
> dialog?

Matt,

I recently found out that there is a way to sort the preference
page in the order you want (only when you are creating an RCP app) You
need to implement IContributionService or just extend the
WorkbenchAdvisor.getComparatorFor() and return your own comparator

- Prakash

---
http://blog.eclipse-tips.com
Previous Topic:Editor has no focus after "Open Resource"
Next Topic:key bindings do nothing
Goto Forum:
  


Current Time: Wed Apr 24 22:32:30 GMT 2024

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

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

Back to the top