33 from python_qt_binding.QtCore
import qCritical
40 Plugin provider which directly loads and returns all discovered plugins. 42 Discovered plugins should be plugin providers themselves. 46 super(RecursivePluginProvider, self).
__init__([])
47 self.setObjectName(
'RecursivePluginProvider')
57 for plugin_descriptor
in plugin_descriptors:
62 qCritical(
'RecursivePluginProvider.discover() loading plugin "%s" failed:\n%s' %
63 (str(plugin_descriptor.plugin_id()), traceback.format_exc()))
65 if instance
is not None:
66 plugin_providers.append(instance)
70 return CompositePluginProvider.discover(self, discovery_data)
def load(self, plugin_id, plugin_context)
def __init__(self, plugin_provider)
def set_plugin_providers(self, plugin_providers)
def discover(self, discovery_data)