void () { myStructureTreeModel.getInvoker().invoke(() -> { ComponentUtil.putClientProperty(myTree, STRUCTURE_VIEW_STATE_RESTORED_KEY, null); myTreeStructure.rebuildTree(); myStructureTreeModel.invalidateAsync(); }); }