Ejemplo n.º 1
0
 def __init__(self):
     super().__init__()
     self.activate = False
     self.actions.append(CreateNewScriptAction(
         'Create new R script', CreateNewScriptAction.SCRIPT_R))
     self.actions.append(GetRScriptsAction())
     self.contextMenuActions = \
         [EditScriptAction(EditScriptAction.SCRIPT_R),
          DeleteScriptAction(DeleteScriptAction.SCRIPT_R)]
Ejemplo n.º 2
0
 def __init__(self):
     AlgorithmProvider.__init__(self)
     self.activate = False
     self.actions.append(CreateNewScriptAction(
         self.tr('Create new R script'), CreateNewScriptAction.SCRIPT_R))
     self.actions.append(GetRScriptsAction())
     self.contextMenuActions = \
         [EditScriptAction(EditScriptAction.SCRIPT_R),
          DeleteScriptAction(DeleteScriptAction.SCRIPT_R)]