Skip to content

Commit

Permalink
[sextante] removed actions from toolbox, as they can be confusing. Th…
Browse files Browse the repository at this point in the history
…e toolbox should contain only algorithms
  • Loading branch information
volaya committed Apr 19, 2013
1 parent 7feb1af commit d4d2625
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
7 changes: 0 additions & 7 deletions python/plugins/sextante/gui/ParametersPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
from sextante.parameters.ParameterCrs import ParameterCrs
from sextante.parameters.ParameterString import ParameterString

from sextante.outputs.OutputHTML import OutputHTML
from sextante.outputs.OutputRaster import OutputRaster
from sextante.outputs.OutputTable import OutputTable
from sextante.outputs.OutputVector import OutputVector
Expand Down Expand Up @@ -168,12 +167,6 @@ def initGUI(self):
self.verticalLayout.addStretch(1000)
self.setLayout(self.verticalLayout)

#=======================================================================
# for param in self.alg.parameters:
# if isinstance(param, ParameterExtent):
# self.widgets[param.name].useMinCovering()
#=======================================================================

def showAdvancedParametersClicked(self):
self.showAdvanced = not self.showAdvanced
if self.showAdvanced:
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/sextante/modeler/ModelerAlgorithmProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ModelerAlgorithmProvider(AlgorithmProvider):

def __init__(self):
AlgorithmProvider.__init__(self)
self.actions = [CreateNewModelAction()]
#self.actions = [CreateNewModelAction()]
self.contextMenuActions = [EditModelAction(), DeleteModelAction(), SaveAsPythonScriptAction()]

def initializeSettings(self):
Expand All @@ -56,7 +56,7 @@ def modelsFolder(self):
return ModelerUtils.modelsFolder()

def getDescription(self):
return "Modeler"
return "Models"

def getName(self):
return "model"
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/sextante/r/RAlgorithmProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class RAlgorithmProvider(AlgorithmProvider):
def __init__(self):
AlgorithmProvider.__init__(self)
self.activate = False
self.actions.append(CreateNewRScriptAction())
#self.actions.append(CreateNewRScriptAction())
self.contextMenuActions = [EditRScriptAction(), DeleteRScriptAction()]

def initializeSettings(self):
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/sextante/script/ScriptAlgorithmProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ScriptAlgorithmProvider(AlgorithmProvider):

def __init__(self):
AlgorithmProvider.__init__(self)
self.actions.append(CreateNewScriptAction())
#self.actions.append(CreateNewScriptAction())
self.contextMenuActions = [EditScriptAction(), DeleteScriptAction()]

def initializeSettings(self):
Expand Down

0 comments on commit d4d2625

Please sign in to comment.