예제 #1
0
 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)
예제 #2
0
    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)
예제 #3
0
    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)
예제 #4
0
    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
예제 #5
0
 def __init__(self):
     """__init__() -> BookmarksManagerSingleton
     Creates Bookmarks manager 
     """
     QtCore.QObject.__init__(self)
     BookmarkController.__init__(self)