public void addNestedManager(@NotNull ContentManagerImpl manager) {
    myNestedManagers.add(manager);
    Disposer.register(manager, new Disposable() {
      @Override
      public void dispose() {
        removeNestedManager(manager);
      }
    });
  }
public void addNestedManager(@NotNull ContentManagerImpl manager)