use of edu.stanford.bmir.protege.web.shared.watches.AddWatchResult in project webprotege by protegeproject.
the class AddWatchActionHandler method execute.
@Nonnull
@Override
public AddWatchResult execute(@Nonnull AddWatchAction action, @Nonnull ExecutionContext executionContext) {
EventTag startTag = eventManager.getCurrentTag();
watchManager.addWatch(action.getWatch());
return new AddWatchResult(eventManager.getEventsFromTag(startTag));
}
Aggregations