Search in sources :

Example 1 with SetProjectTagsResult

use of edu.stanford.bmir.protege.web.shared.tag.SetProjectTagsResult in project webprotege by protegeproject.

the class SetProjectTagsActionHandler method execute.

@Nonnull
@Override
public SetProjectTagsResult execute(@Nonnull SetProjectTagsAction action, @Nonnull ExecutionContext executionContext) {
    EventTag eventTag = eventEventManager.getCurrentTag();
    tagsManager.setProjectTags(action.getTagData());
    return new SetProjectTagsResult(eventEventManager.getEventsFromTag(eventTag));
}
Also used : EventTag(edu.stanford.bmir.protege.web.shared.event.EventTag) SetProjectTagsResult(edu.stanford.bmir.protege.web.shared.tag.SetProjectTagsResult) Nonnull(javax.annotation.Nonnull)

Aggregations

EventTag (edu.stanford.bmir.protege.web.shared.event.EventTag)1 SetProjectTagsResult (edu.stanford.bmir.protege.web.shared.tag.SetProjectTagsResult)1 Nonnull (javax.annotation.Nonnull)1