Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Howto implement hierarchy in preferences window
Howto implement hierarchy in preferences window [message #664744] Mon, 11 April 2011 19:52 Go to next message
Dirk Alexander Schaefer is currently offline Dirk Alexander SchaeferFriend
Messages: 12
Registered: July 2009
Junior Member
hi,

i'm trying to get a preferences hierarchy implemented in my rcp application and i don't know how.

so far i've added the extension points org.eclipse.ui.preferencePages and org.eclipse.core.runtime.preferences to my pluging. i've added a PreferencePage entry to the first extension point:

public class PluginPreferencesPage
extends FieldEditorPreferencePage
implements IWorkbenchPreferencePage {

...
}

by doing this i get an entry at the preferences window on the left side for this preferencesPage. so far so good but what i cannot figure out is how to implement a preferences hierarchy in the left side tree navigation of the preferences window. actualy i'm searching for the solution on how to add sub nodes under the entry of my preferences page in the tree navigation.

at the moment i assume that i have to work with scopes but this is realy just an assumption.

could someone please give me a hint on how to do this?

thx,
greez,

dirk
Re: Howto implement hierarchy in preferences window [message #664812 is a reply to message #664744] Tue, 12 April 2011 07:24 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 12/04/11 1:22 AM, Dirk Alexander Schaefer wrote:
> hi,
>
> i'm trying to get a preferences hierarchy implemented in my rcp
> application and i don't know how.

In your extension point, you need to set the category of the child
preference page to point to the parent preference page.

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: Howto implement hierarchy in preferences window [message #664834 is a reply to message #664744] Tue, 12 April 2011 09:02 Go to previous message
Dirk Alexander Schaefer is currently offline Dirk Alexander SchaeferFriend
Messages: 12
Registered: July 2009
Junior Member
HA HA, COOL... Wink

that was the missing hint! thank you so much!

greez,

dirk
Previous Topic:change the behaviour of the properties view.
Next Topic:How to Hide Eclipse editor while doing back ground processing
Goto Forum:
  


Current Time: Tue Apr 16 10:18:36 GMT 2024

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

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

Back to the top