@Override
protected GetManchesterSyntaxFrameResult execute(GetManchesterSyntaxFrameAction action, final OWLAPIProject project, ExecutionContext executionContext) {
StringWriter writer = new StringWriter();
final OWLOntology rootOntology = project.getRootOntology();
EscapingShortFormProvider entityShortFormProvider = new EscapingShortFormProvider(project.getRenderingManager().getShortFormProvider());
final ManchesterOWLSyntaxFrameRenderer frameRenderer = new ManchesterOWLSyntaxFrameRenderer(rootOntology.getImportsClosure(), writer, entityShortFormProvider);
frameRenderer.setOntologyIRIShortFormProvider(project.getRenderingManager().getOntologyIRIShortFormProvider());
// frameRenderer.setRenderExtensions(true);
frameRenderer.setRenderOntologyLists(true);
frameRenderer.setUseTabbing(true);
frameRenderer.setUseWrapping(true);
frameRenderer.writeFrame(action.getSubject());
frameRenderer.writeEntityNaryAxioms(action.getSubject());
frameRenderer.writeRulesContainingPredicate(action.getSubject());
return new GetManchesterSyntaxFrameResult(writer.getBuffer().toString());
}