Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explanation preferences menu and extension point #653

Merged
merged 2 commits into from
May 12, 2017

Conversation

ykazakov
Copy link
Contributor

This patch adds a new explanation preferences menu tab so that explanation plugins can put their preferences under it. This is managed by providing an extension point explanationpreferences.
By default, the explanation preferences menu has just one tab "General" which lists all installed explanation services.

This adds a new tab "Explanations" in Preferences, in which explanation
preferences will be shown using a new extension point
explanationpreferences.
Each (explanation) plugin can provide an extension to this extension
point, in which case the preferences of this plugin will be shown as a
tab in the Explanations tab.
Otherwise, to provide preferences the plugin would need to extend the
preferences extension point, which would make the general preference
menu too crowded. In this way, explanation preferences reflect the logic
of explanation plugins.
This adds a simple "General" tab to the "Explanations" tab in
Preferences, which list the currently installed explanation services.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants