Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Can the WorkbenchPreferenceNode priority be set via the extension point
Can the WorkbenchPreferenceNode priority be set via the extension point [message #642833] Thu, 02 December 2010 20:35 Go to next message
Greg Babcock is currently offline Greg Babcock
Messages: 53
Registered: July 2009
Member
I want to change the order of preference pages in the preference dialog tree
of my RCP application.

The ContributionComparator class used by the dialog sorts by
WorkbenchPreferenceNode.priority and then by label, is it possible to set
the priority. Is it possible to set the priority for pages created via the
extension point, or do need to create my own ContributionComparator to do
the sorting?

Thanks,

Greg Babcock
Re: Can the WorkbenchPreferenceNode priority be set via the extension point [message #642874 is a reply to message #642833] Fri, 03 December 2010 07:09 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Greg Babcock wrote:
> I want to change the order of preference pages in the preference dialog tree
> of my RCP application.
>
> The ContributionComparator class used by the dialog sorts by
> WorkbenchPreferenceNode.priority and then by label, is it possible to set
> the priority. Is it possible to set the priority for pages created via the
> extension point, or do need to create my own ContributionComparator to do
> the sorting?
>
I suggest you simply read the extension point documentation.

Dani
> Thanks,
>
> Greg Babcock
>
>
>
Previous Topic:SIngle running instance of Eclipse
Next Topic:Eclipse non-API Graduation & Deletion
Goto Forum:
  


Current Time: Thu Oct 23 04:35:45 GMT 2014

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

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