// Find the parent and remove the element.
DOMNode parent = item.getParentNode();
parent.removeChild(item);
// Notify the tree the element was removed.
DeleteElementEvent event = new DeleteElementEvent(
getContext(), (ACSElement) parent);
getContext().getEventBus().postEvent(event);
}
}
}