def METHOD_NAME(self, link: str):
    if link == "open_spectrum_analyzer":
        r = SpectrumDialogController(ProjectManager(None), parent=self)
        if r.has_empty_device_list:
            Errors.no_device()
            r.close()
            return
        r.device_parameters_changed.connect(self.set_recording_params_from_spectrum_analyzer_link)
        r.show()