protected void commitChangesForEntity(OWLEntity entity) {
if(!(entity instanceof OWLClass)) {
return;
}
List<OBORelationship> relationships = editor.getValue().or(Collections.<OBORelationship>emptyList());
getService().setRelationships(getProjectId(), (OWLClass) entity, new OBOTermRelationships(new HashSet<OBORelationship>(relationships)), new OBOTermEditorApplyChangesAsyncCallback("Your changes to the term relationships have not been applied"));
}