def set_active_pipelines(self, ids): """ set_active_pipelines(ids: list) -> None updates the list of active pipelines """ BookmarkController.set_active_pipelines(self, ids) self.emit(QtCore.SIGNAL("updateAliasGUI"), self.ensemble.aliases)
def load_all_pipelines(self): """load_all_pipelines() -> None Load all bookmarks' pipelines and sets an ensemble """ BookmarkController.load_all_pipelines(self) self.emit(QtCore.SIGNAL("updateAliasGUI"), self.ensemble.aliases)
def load_pipeline(self, id): """load_pipeline(id: int) -> None Given a bookmark id, loads its correspondent pipeline and include it in the ensemble """ BookmarkController.load_pipeline(self,id) self.emit(QtCore.SIGNAL("updateAliasGUI"), self.ensemble.aliases)
def add_bookmark(self, parent, vistrailsFile, pipeline, name=''): """add_bookmark(parent: int, vistrailsFile: str, pipeline: int, name: str) -> None creates a bookmark with the given information and adds it to the collection """ BookmarkController.add_bookmark(self, parent, vistrailsFile, pipeline, name) self.emit(QtCore.SIGNAL("updateBookmarksGUI")) self.collection.updateGUI = False
def __init__(self): """__init__() -> BookmarksManagerSingleton Creates Bookmarks manager """ QtCore.QObject.__init__(self) BookmarkController.__init__(self)