@Override
        public void nodeDeleted(ZVNode oldNode, int oldIndex) {
            if (nodes != null) {
                for (int i = 0; i < nodes.length; i++) {
                    if ((nodes[i] == oldNode)
                            || (nodes[i] == model.getParent(oldNode))) {
                        updateView();
                        break;
                    }
                }
            }
        }