public void updateSelectedScope() {
    // not initialized yet
    var model = myTreeModel.get();
    if (model == null) {
      return;
    }
    model.setFilter(getFilter(getSubId()));
  }
public void updateSelectedScope()