Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » (no subject)
(no subject) [message #673908] Wed, 25 May 2011 06:41 Go to next message
Eclipse UserFriend
Originally posted by:

I would like to know whether the components that are part of the
org.eclipse.ui.preferencePages (The PreferenceDialog and it's pages)
already provide some support for a *dynamic* tree content? AFAIK, the
content of the master tree control of the Eclipse preference dialog is
the result of "merging" all org.eclipse.ui.preferencePages extension
point contributions, but these seem only to allow for "static" contents,
e.g. I can add a preference page that should occur at at specific path
in the tree. What I need would be the possibility that is similar to
dynamic menu contributions, thus dynamic preference page contributions.

Does there exist something like this?

Thanks in advance & greetings from Bremen,

Daniel Kr├╝gler
Re: (no subject) [message #673977 is a reply to message #673908] Wed, 25 May 2011 11:17 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

The framework provides for nothing like that.

However, in an RCP app you could use org.eclipse.core.runtime.IExtensionRegistry.addContribution(InputStream, IContributor, boolean, String, ResourceBundle, Object) to add a preference page while your RCP app is running. It wouldn't show up until the next time the Pref page was opened, AFAIK.

Previous Topic:Invalid preference page path: Security
Next Topic:form data lost when clicking back button in eclipse RCP intro page
Goto Forum:

Current Time: Sun Apr 23 05:37:24 GMT 2017

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

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