Example #1
0
    def _after_init(self):
        """
        Overridden from Operator.
        """
        Operator._after_init(self)

        # When a new image is added to the workflow, each applet should get a new lane.
        self.imageNameListSlot.notifyInserted( self._createNewImageLane )
        self.imageNameListSlot.notifyRemove( self._removeImageLane )
Example #2
0
    def _after_init(self):
        """
        Overridden from Operator.
        """
        Operator._after_init(self)

        # When a new image is added to the workflow, each applet should get a new lane.
        self.imageNameListSlot.notifyInserted(self._createNewImageLane)
        self.imageNameListSlot.notifyRemove(self._removeImageLane)
Example #3
0
    def _after_init(self):
        """
        Overridden from Operator.
        """
        Operator._after_init(self)

        # When a new image is added to the workflow, each applet should get a new lane.
        self.imageNameListSlot.notifyInserted( self._createNewImageLane )
        self.imageNameListSlot.notifyRemove( self._removeImageLane )
        
        for applet in self.applets:
            applet.appletStateUpdateRequested.connect( self.handleAppletStateUpdateRequested )
Example #4
0
    def _after_init(self):
        """
        Overridden from Operator.
        """
        Operator._after_init(self)

        # When a new image is added to the workflow, each applet should get a new lane.
        self.imageNameListSlot.notifyInserted(self._createNewImageLane)
        self.imageNameListSlot.notifyRemove(self._removeImageLane)

        for applet in self.applets:
            applet.appletStateUpdateRequested.subscribe(self.handleAppletStateUpdateRequested)
            applet.sendMessageToServer.subscribe(self.handleSendMessageToServer)