void () { ThreadingAssertions.assertEventDispatchThread(); myUsageNodes.clear(); myModel.reset(); synchronized (modelToSwingNodeChanges) { modelToSwingNodeChanges.clear(); } if (!myPresentation.isDetachedMode()) { SwingUtilities.invokeLater(() -> expandTree(2)); } }