Package edu.stanford.bmir.protege.web.shared

Examples of edu.stanford.bmir.protege.web.shared.HasSignature


    public static OWLNamedIndividual mockOWLNamedIndividual() {
        return new OWLNamedIndividualImpl(mockIRI());
    }

    public HasSignature mockHasSignature(OWLEntity ... entities) {
        HasSignature hasSignature = mock(HasSignature.class);
        when(hasSignature.getSignature()).thenReturn(new HashSet<OWLEntity>(Arrays.asList(entities)));
        return hasSignature;
    }
View Full Code Here


    @Override
    final public void setValue(final O object) {
        if (object instanceof HasSignature) {
            RenderingServiceManager renderingServiceManager = RenderingServiceManager.getManager();
            final HasSignature hasSignature = (HasSignature) object;
            renderingServiceManager.execute(new GetRendering(projectId, hasSignature), new AsyncCallback<GetRenderingResponse>() {
                @Override
                public void onFailure(Throwable caught) {
                }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.HasSignature

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.