private void addLoggingListeners() {
    myTable.getTree().addTreeSelectionListener(new TreeSelectionListener() {
      @Override
      public void valueChanged(TreeSelectionEvent e) {
        CoverageLogger.logTreeNodeSelected(myProject);
      }
    });
    myTable.getTree().addTreeExpansionListener(new TreeExpansionListener() {
      @Override
      public void treeExpanded(TreeExpansionEvent event) {
        logToggle(event, true);
      }

      @Override
      public void treeCollapsed(TreeExpansionEvent event) {
        logToggle(event, false);
      }

      private void logToggle(TreeExpansionEvent event, boolean expanded) {
        AbstractTreeNode<?> treeNode = getLast(event.getPath());
        if (treeNode == null) return;
        boolean isRoot = myModel.getRoot() == treeNode;
        CoverageLogger.logTreeNodeExpansionToggle(myProject, isRoot, expanded);
      }
    });
  }
private void addLoggingListeners()