Skip to content
Permalink
Browse files
Update sip
  • Loading branch information
nyalldawson committed Apr 7, 2017
1 parent ebd8519 commit 1aa7ca3452197fc1513e9c23749ef55fc6d41265
Showing with 5 additions and 2 deletions.
  1. +3 −2 python/core/processing/qgsprocessingprovider.sip
  2. +2 −0 python/core/processing/qgsprocessingregistry.sip
@@ -105,8 +105,9 @@ class QgsProcessingProvider : QObject
%Docstring
Loads the provider. This will be called when the plugin is being loaded, and any general
setup actions should occur in an overridden version of this method.
Subclasses should not load any algorithms in their load() implementations, as that must
occur within the loadAlgorithms() method.
Subclasses should not individually load any algorithms in their load() implementations, as that must
occur within the loadAlgorithms() method. Instead, subclasses should call refreshAlgorithms()
from any overloaded load() method to trigger an initial load of the provider's algorithms.
\returns true if provider could be successfully loaded
\see unload()
%End
@@ -46,6 +46,8 @@ class QgsProcessingRegistry : QObject
and the provider's parent will be set to the registry.
Returns false if the provider could not be added (eg if a provider with a duplicate ID already exists
in the registry).
Adding a provider to the registry automatically triggers the providers QgsProcessingProvider::load()
method to populate the provider with algorithms.
\see removeProvider()
%End

0 comments on commit 1aa7ca3

Please sign in to comment.