docs: def register_view(self, view):
          """Called when the View was registered
  
          Can be used e.g. to connect signals. Here, the destroy signal is connected to close the application
          """
          super(StateOutcomesListController, self).register_view(view)
          if isinstance(view, StateOutcomesTreeView):
              self.connect_signal(view['to_state_combo'], "edited", self.on_to_state_edited)
              self.connect_signal(view['to_outcome_combo'], "edited", self.on_to_outcome_edited)
  
          if isinstance(self.model.state, LibraryState) or self.model.state.get_next_upper_library_root_state():
              view['id_cell'].set_property('editable', False)
              view['name_cell'].set_property('editable', False)
  
          self._apply_value_on_edited_and_focus_out(view['name_cell'], self.apply_new_outcome_name)
  
          self.update(initiator='"register view"')