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 07:11 Go to next message
Matthias M. is currently offline Matthias M.
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 13:19 Go to previous message
Prakash G.R. is currently offline Prakash G.R.
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: Sat Aug 30 04:42:55 EDT 2014

Powered by FUDForum. Page generated in 0.04032 seconds