Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 87e55ba
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 468 deletions.
343 changes: 0 additions & 343 deletions python/plugins/processing/gui/GetScriptsAndModels.py

This file was deleted.

Expand Up @@ -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)

Expand All @@ -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 = []

Expand Down
2 changes: 0 additions & 2 deletions python/plugins/processing/script/ScriptAlgorithmProvider.py
Expand Up @@ -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
Expand All @@ -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),
Expand Down

0 comments on commit 87e55ba

Please sign in to comment.