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 )
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)
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 )
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)