Bug 532002 - PreferencePage extension to allow giving a list of "referencedPreference"
Summary: PreferencePage extension to allow giving a list of "referencedPreference"
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 532005
  Show dependency tree
 
Reported: 2018-03-05 04:38 EST by Mickael Istria CLA
Modified: 2018-03-12 10:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2018-03-05 04:38:39 EST
In order to make it easier to find a preference page to change a preference in the IDE, the preferencePage extension could allow some "referencedPreference" children declaring which performance it can set.
Then we could introduce an API such 
* PreferenceUtil.findPreferencePagesFor(preferenceId)
* PreferenceUtil.createPreferenceDialogFor(preferenceId, shell)

For preference pages which use the PreferenceFields, it would allow to log cases of a preference page bound to a preference but not declaring it.

On a longer run, if we implement keywords or label for preferences, it would also enable smarter search of preference: user would only type a keyword for a preference and we could show the pages which have a preference related to this keyword.
That would reduce the need for preferencePage keywords and provide a more generic solution that could also show up in quick assist for instance.