Examples of SetOntologyAnnotationsAction


Examples of edu.stanford.bmir.protege.web.client.dispatch.actions.SetOntologyAnnotationsAction

        if(!annotationsView.isWellFormed()) {
            return;
        }
        Optional<Set<OWLAnnotation>> annotations = annotationsView.getValue();
        if (annotations.isPresent() && lastSet.isPresent()) {
            DispatchServiceManager.get().execute(new SetOntologyAnnotationsAction(getProjectId(), lastSet.get(), annotations.get()), new AsyncCallback<SetOntologyAnnotationsResult>() {
                @Override
                public void onFailure(Throwable caught) {
                    MessageBox.alert("There was a problem setting the ontology annotations for this project.");
                    GWT.log("Problem setting ontology annotations", caught);
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.