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 15: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 02: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: Mon Jul 28 14:30:26 EDT 2014

Powered by FUDForum. Page generated in 0.01945 seconds