Skip to content

Commit d4d2625

Browse files
committedApr 19, 2013
[sextante] removed actions from toolbox, as they can be confusing. The toolbox should contain only algorithms
1 parent 7feb1af commit d4d2625

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed
 

‎python/plugins/sextante/gui/ParametersPanel.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
from sextante.parameters.ParameterCrs import ParameterCrs
5757
from sextante.parameters.ParameterString import ParameterString
5858

59-
from sextante.outputs.OutputHTML import OutputHTML
6059
from sextante.outputs.OutputRaster import OutputRaster
6160
from sextante.outputs.OutputTable import OutputTable
6261
from sextante.outputs.OutputVector import OutputVector
@@ -168,12 +167,6 @@ def initGUI(self):
168167
self.verticalLayout.addStretch(1000)
169168
self.setLayout(self.verticalLayout)
170169

171-
#=======================================================================
172-
# for param in self.alg.parameters:
173-
# if isinstance(param, ParameterExtent):
174-
# self.widgets[param.name].useMinCovering()
175-
#=======================================================================
176-
177170
def showAdvancedParametersClicked(self):
178171
self.showAdvanced = not self.showAdvanced
179172
if self.showAdvanced:

‎python/plugins/sextante/modeler/ModelerAlgorithmProvider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ModelerAlgorithmProvider(AlgorithmProvider):
4242

4343
def __init__(self):
4444
AlgorithmProvider.__init__(self)
45-
self.actions = [CreateNewModelAction()]
45+
#self.actions = [CreateNewModelAction()]
4646
self.contextMenuActions = [EditModelAction(), DeleteModelAction(), SaveAsPythonScriptAction()]
4747

4848
def initializeSettings(self):
@@ -56,7 +56,7 @@ def modelsFolder(self):
5656
return ModelerUtils.modelsFolder()
5757

5858
def getDescription(self):
59-
return "Modeler"
59+
return "Models"
6060

6161
def getName(self):
6262
return "model"

‎python/plugins/sextante/r/RAlgorithmProvider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class RAlgorithmProvider(AlgorithmProvider):
4343
def __init__(self):
4444
AlgorithmProvider.__init__(self)
4545
self.activate = False
46-
self.actions.append(CreateNewRScriptAction())
46+
#self.actions.append(CreateNewRScriptAction())
4747
self.contextMenuActions = [EditRScriptAction(), DeleteRScriptAction()]
4848

4949
def initializeSettings(self):

‎python/plugins/sextante/script/ScriptAlgorithmProvider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ScriptAlgorithmProvider(AlgorithmProvider):
4141

4242
def __init__(self):
4343
AlgorithmProvider.__init__(self)
44-
self.actions.append(CreateNewScriptAction())
44+
#self.actions.append(CreateNewScriptAction())
4545
self.contextMenuActions = [EditScriptAction(), DeleteScriptAction()]
4646

4747
def initializeSettings(self):

0 commit comments

Comments
 (0)
Please sign in to comment.