void () { final LayoutTreeSelection selection = myTree.getSelection(); if (!checkCanRemove(selection.getNodes())) return; editLayout(() -> removeNodes(selection.getNodes())); myArtifactsEditor.rebuildTries(); }