def __init__(self, workspace: Workspace, instance: Instance, simgr, state, parent=None) -> None:
        """
        :param instance:                The data source for this project
        :param object parent:           The parent widget.
        """
        super().__init__(parent)

        self.workspace = workspace
        self.instance = instance
        self.simgrs = instance.simgrs
        self.simgr = simgr
        self.state = state

        self._simgrs_list: QComboBox
        self._avoids_list: QTreeWidget
        self._finds_list: QTreeWidget
        self._simgr_viewer: QSimulationManagerViewer
        self._oneactive_checkbox: QCheckBox

        self._init_widgets()
        self.refresh()

        self.simgr.am_subscribe(self._watch_simgr)
        self.simgrs.am_subscribe(self._watch_simgrs)
        self.state.am_subscribe(self._watch_state)

        :param instance:                The data source for this project
        :param object parent:           The parent widget.
        
angrmanagement/ui/widgets/qsimulation_managers.py