void () { mutatorHelper.clear(); for (ToolsGroup<T> group : getToolManager().getGroups()) { addGroupNode(mutatorHelper.copy(group)); } if ((getTreeRoot()).getChildCount() > 0) { myTree.setSelectionInterval(0, 0); } else { myTree.getSelectionModel().clearSelection(); } (getModel()).nodeStructureChanged(null); TreeUtil.expand(myTree, 5); myIsModified = false; update(); }