docs: public void setLinkWithSitesTreeSelection(boolean enabled) {
          linkWithSitesTreeButton.setSelected(enabled);
          if (enabled) {
              extension.setShowJustInScope(false);
              final JTree sitesTree = view.getSiteTreePanel().getTreeSite();
              final TreePath selectionPath = sitesTree.getSelectionPath();
              getTreeAlert().setModel(getLinkWithSitesTreeModel());
              if (selectionPath != null) {
                  recreateLinkWithSitesTreeModel((SiteNode) selectionPath.getLastPathComponent());
              }
              sitesTree.addTreeSelectionListener(getLinkWithSitesTreeSelectionListener());
          } else {
              extension.setMainTreeModel();
              ((AlertNode) getLinkWithSitesTreeModel().getRoot()).removeAllChildren();
              view.getSiteTreePanel().getTreeSite().removeTreeSelectionListener(getLinkWithSitesTreeSelectionListener());
          }
      }