LOG.debug("lastCommand " + treeState.getLastCommand());
}
if (marker != null) {
boolean isRoot = tree.getValue().equals(marker);
if (UITreeOld.COMMAND_NEW.equals(command)) {
treeState.commandNew(create(facesContext));
} else if (UITreeOld.COMMAND_DELETE.equals(command)) {
if (!isRoot) {
marker.removeFromParent();
}
treeState.setLastMarker(null);