use of edu.stanford.bmir.protege.web.shared.tag.UpdateEntityTagsResult in project webprotege by protegeproject.
the class UpdateEntityTagsActionHandler method execute.
@Nonnull
@Override
public UpdateEntityTagsResult execute(@Nonnull UpdateEntityTagsAction action, @Nonnull ExecutionContext executionContext) {
EventTag startTag = eventEventManager.getCurrentTag();
tagsManager.updateTags(action.getEntity(), action.getFromTagIds(), action.getToTagIds());
EventList<ProjectEvent<?>> events = eventEventManager.getEventsFromTag(startTag);
return new UpdateEntityTagsResult(events);
}
Aggregations