Пример #1
0
 def __init__(self,
              originalController,
              vt_controller,
              vt_version,
              mshptrail=None):
     QObject.__init__(self)
     BaseController.__init__(self, originalController, vt_controller,
                             vt_version, mshptrail)
     self.name = ''
     self.currentMashupView = None
Пример #2
0
 def updateCurrentTag(self, name):
     if BaseController.updateCurrentTag(self, name) == False:
         show_warning('Name Exists',
                      "There is already another version named '%s'.\n"
                      "Please enter a different one." % name)
         return False
     else:
         return True
Пример #3
0
 def updateCurrentTag(self, name):
     if BaseController.updateCurrentTag(self, name) == False:
         show_warning(
             'Name Exists', "There is already another version named '%s'.\n"
             "Please enter a different one." % name)
         return False
     else:
         return True
Пример #4
0
 def execute(self, params):
     from vistrails.gui.vistrails_window import _app
     result = BaseController.execute(self, params)
     _app.notify('execution_updated')
     return result
Пример #5
0
 def moveTag(self, from_version, to_version, name):
     BaseController.moveTag(self, from_version, to_version, name)
     self.stateChanged.emit()
Пример #6
0
 def updateAlias(self, alias):
     BaseController.updateAlias(self, alias)
Пример #7
0
 def removeAlias(self, name):
     BaseController.removeAlias(self, name)
Пример #8
0
 def setCurrentVersion(self, version, quiet=True):
     BaseController.setCurrentVersion(self, version)
     if not quiet:
         self.stateChanged.emit()
         self.versionChanged.emit(version)
Пример #9
0
 def setChanged(self, on):
     BaseController.setChanged(self, on)
     self.stateChanged.emit()
Пример #10
0
 def __init__(self, originalController, vt_controller, vt_version, mshptrail=None):
     QObject.__init__(self)
     BaseController.__init__(self, originalController, vt_controller, vt_version, mshptrail)
     self.name = ''
     self.currentMashupView = None
Пример #11
0
 def execute(self, params):
     from vistrails.gui.vistrails_window import _app
     result = BaseController.execute(self, params)
     _app.notify('execution_updated')
     return result
Пример #12
0
 def moveTag(self, from_version, to_version, name):
     BaseController.moveTag(self, from_version, to_version, name)
     self.stateChanged.emit()
Пример #13
0
 def updateAlias(self, alias):
     BaseController.updateAlias(self, alias)
Пример #14
0
 def removeAlias(self, name):
     BaseController.removeAlias(self, name)
Пример #15
0
 def setCurrentVersion(self, version, quiet=True):
     BaseController.setCurrentVersion(self, version)
     if not quiet:
         self.stateChanged.emit()
         self.versionChanged.emit(version)
Пример #16
0
 def setChanged(self, on):
     BaseController.setChanged(self, on)
     self.stateChanged.emit()