use of edu.stanford.bmir.protege.web.shared.obo.SetOboTermRelationshipsAction in project webprotege by protegeproject.
the class OBOTermRelationshipPortletPresenter method commitChangesForEntity.
@Override
protected void commitChangesForEntity(OWLEntity entity) {
if (!(entity instanceof OWLClass)) {
return;
}
List<OBORelationship> relationships = editor.getValue().orElse(Collections.emptyList());
dispatch.execute(new SetOboTermRelationshipsAction(getProjectId(), entity, new OBOTermRelationships(Sets.newHashSet(relationships))), result -> {
});
}
Aggregations