(no subject) [message #673908] |
Wed, 25 May 2011 02:41  |
Eclipse User |
|
|
|
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 07:17  |
Eclipse User |
|
|
|
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.
PW
|
|
|
Powered by
FUDForum. Page generated in 0.04133 seconds