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

Examples of edu.stanford.bmir.protege.web.server.frame.DataPropertyFrameTranslator


        return UserHasProjectReadPermissionValidator.get();
    }

    @Override
    protected GetObjectResult<LabelledFrame<DataPropertyFrame>> execute(GetDataPropertyFrameAction action, OWLAPIProject project, ExecutionContext executionContext) {
        DataPropertyFrameTranslator translator = new DataPropertyFrameTranslator();
        final DataPropertyFrame frame = translator.getFrame(action.getSubject(), project.getRootOntology(), project);
        String displayName = project.getRenderingManager().getBrowserText(action.getSubject());
        BrowserTextMap btm = BrowserTextMap.build(project.getRenderingManager(), frame.getSignature().toArray());
        return new RenderableGetObjectResult<LabelledFrame<DataPropertyFrame>>(new LabelledFrame<DataPropertyFrame>(displayName, frame), btm);
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.server.frame.DataPropertyFrameTranslator

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.