void (DItemElement itemElement, DClassElement classElement) { DynamicToolWindowWrapper wrapper = DynamicToolWindowWrapper.getInstance(myProject); ListTreeTableModelOnColumns model = wrapper.getTreeTableModel(); Object classNode = TreeUtil.findNodeWithObject(classElement, model, model.getRoot()); final DefaultMutableTreeNode node = (DefaultMutableTreeNode) TreeUtil.findNodeWithObject(itemElement, model, classNode); if (node == null) return; DefaultMutableTreeNode parent = (DefaultMutableTreeNode) node.getParent(); doRemove(wrapper, node, parent); }