Package edu.stanford.bmir.protege.web.server.comparator

Examples of edu.stanford.bmir.protege.web.server.comparator.OntologyAnnotationsComparator


    @Override
    protected RenderableGetObjectResult<Set<OWLAnnotation>> execute(GetOntologyAnnotationsAction action, OWLAPIProject project, ExecutionContext executionContext) {

        List<OWLAnnotation> result = new ArrayList<OWLAnnotation>(project.getRootOntology().getAnnotations());
        Collections.sort(result, new OntologyAnnotationsComparator(project));
        return new RenderableGetObjectResult<Set<OWLAnnotation>>(new LinkedHashSet<OWLAnnotation>(result), BrowserTextMap.build(project.getRenderingManager(), result));
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.server.comparator.OntologyAnnotationsComparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.