def showBuilderWindowActTriggered(self): from gui.vistrails_window import _app _app.show() _app.raise_() _app.qactions['history'].trigger() _app.get_current_tab().zoomToFit() _app.qactions['pipeline'].trigger() _app.get_current_tab().zoomToFit()
def controllerChanged(self, controller): from gui.vistrails_window import _app self.set_controller(controller) self.versionChanged(self.controller.current_version) if _app.get_current_tab() == self: self.updateView()