use of edu.stanford.bmir.protege.web.shared.frame.GetClassFrameResult in project webprotege by protegeproject.
the class GetClassFrameActionHandler method execute.
@Nonnull
@Override
public GetClassFrameResult execute(@Nonnull GetClassFrameAction action, @Nonnull ExecutionContext executionContext) {
OWLClass subject = action.getSubject();
FrameActionResultTranslator<ClassFrame, OWLClassData> translator = new FrameActionResultTranslator<>(renderingManager, translatorProvider.get(), renderingManager.getRendering(subject));
LabelledFrame<ClassFrame> f = translator.doIT();
ProjectId projectId = action.getProjectId();
logger.info(BROWSING, "{} {} retrieved Class frame for {} ({})", projectId, executionContext.getUserId(), subject, f.getDisplayName());
return new GetClassFrameResult(f);
}
Aggregations