pluginmanager¶
Provide plugin management
-
class
openlp.core.lib.pluginmanager.
PluginManager
(parent=None)[source]¶ Bases:
openlp.core.common.registrymixin.RegistryMixin
,openlp.core.common.openlpmixin.OpenLPMixin
,openlp.core.common.registryproperties.RegistryProperties
This is the Plugin manager, which loads all the plugins, and executes all the hooks, as and when necessary.
-
finalise_plugins
()[source]¶ Loop through all the plugins and give them an opportunity to clean themselves up
Loop through all the plugins and give them an opportunity to add an item to the export menu.
Loop through all the plugins and give them an opportunity to add an item to the import menu.
-
hook_settings_tabs
()[source]¶ Loop through all the plugins. If a plugin has a valid settings tab item, add it to the settings tab. Tabs are set for all plugins not just Active ones
Loop through all the plugins and give them an opportunity to add an item to the tools menu.
-
hook_upgrade_plugin_settings
(settings)[source]¶ Loop through all the plugins and give them an opportunity to upgrade their settings.
Parameters: settings – The Settings object containing the old settings.
-