parameters: (self, _: str = None)
docstring: Handle when there is a clear or remove workspace event in the ADS.
docstring_summary: Handle when there is a clear or remove workspace event in the ADS.
docstring_tokens: Handle when there is a clear or remove workspace event in the ADS .
function: def handle_ads_clear_or_remove_workspace_event(self, _: str = None) -> None:
          """Handle when there is a clear or remove workspace event in the ADS."""
          if self.model.is_dead_time_source_from_data_file():
              self.view.set_dead_time_from_data_file_selected()
          elif self.model.is_dead_time_source_from_workspace():
              self.view.set_dead_time_from_workspace_selected()
function_tokens: def handle_ads_clear_or_remove_workspace_event ( self , _ : str = None ) -> None : if self . model . is_dead_time_source_from_data_file ( ) : self . view . set_dead_time_from_data_file_selected ( ) elif self . model . is_dead_time_source_from_workspace ( ) : self . view . set_dead_time_from_workspace_selected ( )