Skip to content
Permalink
Browse files

[processing] remove Get scripts and models functionality

Users should use Resource Sharing plugin instead
  • Loading branch information
alexbruy committed Feb 4, 2018
1 parent 1a117cf commit 87e55ba3c774504f993ddbd9bc975eade21a09f5

This file was deleted.

@@ -43,7 +43,6 @@
from processing.modeler.CreateNewModelAction import CreateNewModelAction
from processing.modeler.DeleteModelAction import DeleteModelAction
from processing.modeler.AddModelFromFileAction import AddModelFromFileAction
from processing.gui.GetScriptsAndModels import GetModelsAction
from processing.gui.ProviderActions import (ProviderActions,
ProviderContextMenuActions)

@@ -54,7 +53,7 @@ class ModelerAlgorithmProvider(QgsProcessingProvider):

def __init__(self):
super().__init__()
self.actions = [CreateNewModelAction(), AddModelFromFileAction(), GetModelsAction()]
self.actions = [CreateNewModelAction(), AddModelFromFileAction()]
self.contextMenuActions = [EditModelAction(), DeleteModelAction()]
self.algs = []

@@ -36,7 +36,6 @@
from processing.gui.CreateNewScriptAction import CreateNewScriptAction
from processing.script.ScriptUtils import ScriptUtils
from processing.script.AddScriptFromFileAction import AddScriptFromFileAction
from processing.gui.GetScriptsAndModels import GetScriptsAction
from processing.gui.ProviderActions import (ProviderActions,
ProviderContextMenuActions)
from processing.script.CreateScriptCollectionPluginAction import CreateScriptCollectionPluginAction
@@ -53,7 +52,6 @@ def __init__(self):
self.actions = [CreateNewScriptAction('Create new script',
CreateNewScriptAction.SCRIPT_PYTHON),
AddScriptFromFileAction(),
GetScriptsAction(),
CreateScriptCollectionPluginAction()]
self.contextMenuActions = \
[EditScriptAction(EditScriptAction.SCRIPT_PYTHON),

0 comments on commit 87e55ba

Please sign in to comment.
You can’t perform that action at this time.