Uranium
Application Framework
UM.PluginRegistry.PluginRegistry Class Reference

Inherits QObject.

Public Member Functions

def __init__
 
def setCheckIfTrusted
 
def getCheckIfTrusted (self)
 
def initializeBeforePluginsAreLoaded (self)
 
def initializeAfterPluginsAreLoaded (self)
 
def addPluginLocation
 
def checkRequiredPlugins
 
def disablePlugin
 
def enablePlugin
 
def getActivePlugins (self)
 
def getAllMetaData
 
def getDisabledPlugins (self)
 
def getInstalledPlugins (self)
 
def getMetaData
 
def installPlugin
 
def isActivePlugin
 
def isBundledPlugin
 
def loadPlugins
 
def isPluginApiVersionCompatible
 
def loadPlugin
 
def uninstallPlugin
 
def getPluginObject
 
def addSupportedPluginExtension
 
def supportedPluginExtensions (self)
 
def getPluginPath
 
def addType
 
def removeType
 
def getInstance (cls, args, kwargs)
 

Public Attributes

 preloaded_plugins
 

Static Public Attributes

 str
 
 result
 
 pluginLoadStarted = pyqtSignal(str, arguments = ["plugin_id"])
 
 supportedPluginExtensionsChanged = pyqtSignal()
 
 notify
 

Detailed Description

A central object to dynamically load modules as plugins.

The PluginRegistry class can load modules dynamically and use
them as plugins. Each plugin module is expected to be a directory with
and `__init__` file defining a `getMetaData` and a `register` function.

For more details, see the [plugins] file.

[plugins]: docs/plugins.md

The documentation for this class was generated from the following file: