void (ChangeEvent e) { DefaultMutableTreeNode node = (DefaultMutableTreeNode)myTree.getLastSelectedPathComponent(); if (node instanceof EditableTreeNode) { ((EditableTreeNode)node).fireOnCancel(); } resetEditSync(); myTree.firePropertyChange(PushLogTreeUtil.EDIT_MODE_PROP, true, false); }