Search in sources :

Example 1 with GetEntityTagsResult

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

the class GetEntityTagsActionHandler method execute.

@Nonnull
@Override
public GetEntityTagsResult execute(@Nonnull GetEntityTagsAction action, @Nonnull ExecutionContext executionContext) {
    ProjectId projectId = action.getProjectId();
    OWLEntity entity = action.getEntity();
    return new GetEntityTagsResult(tagsManager.getTags(entity), tagsManager.getProjectTags());
}
Also used : OWLEntity(org.semanticweb.owlapi.model.OWLEntity) ProjectId(edu.stanford.bmir.protege.web.shared.project.ProjectId) GetEntityTagsResult(edu.stanford.bmir.protege.web.shared.tag.GetEntityTagsResult) Nonnull(javax.annotation.Nonnull)

Aggregations

ProjectId (edu.stanford.bmir.protege.web.shared.project.ProjectId)1 GetEntityTagsResult (edu.stanford.bmir.protege.web.shared.tag.GetEntityTagsResult)1 Nonnull (javax.annotation.Nonnull)1 OWLEntity (org.semanticweb.owlapi.model.OWLEntity)1