public final void setActive(boolean isActive, Css css) {
// Show the selection on the element returned by the node renderer
Element selectionElement = getSelectionElement();
CssUtils.setClassNameEnabled(selectionElement, css.active(), isActive);
if (isActive) {
selectionElement.focus();
}
}
/**
* Sets whether or not this node has the selected styling applied.