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(StateOutcomesEditorController, self).register_view(view)
          if isinstance(view, StateOutcomesEditorView):
              self.connect_signal(view['add_button'], "clicked", self.oc_list_ctrl.on_add)
              self.connect_signal(view['remove_button'], "clicked", self.oc_list_ctrl.on_remove)
  
              if isinstance(self.model.state, LibraryState) or self.model.state.get_next_upper_library_root_state():
                  view['add_button'].set_sensitive(False)
                  view['remove_button'].set_sensitive(False)