Examples of BioPortalAPIServiceAsync


Examples of edu.stanford.bmir.protege.web.client.rpc.bioportal.BioPortalAPIServiceAsync

            }
        });
    }

    private void handleUpload(ProjectDetails details, UserDetails userDetails, PublishToBioPortalInfo publishInfo, final WebProtegeDialogCloser closer) throws IOException {
        BioPortalAPIServiceAsync service = GWT.create(BioPortalAPIService.class);
        RevisionNumber revisionNumber = RevisionNumber.getHeadRevisionNumber();
        service.uploadProjectToBioPortal(details.getProjectId(), revisionNumber, publishInfo, new AsyncCallback<Void>() {
            public void onFailure(Throwable caught) {
                UIUtil.hideLoadProgessBar();
                MessageBox.alert("There was a problem publishing the ontology to BioPortal.  Error message: " + caught.getMessage());
            }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.rpc.bioportal.BioPortalAPIServiceAsync

            return;
        }
        if(bioPortalUserId == null) {
            return;
        }
        BioPortalAPIServiceAsync serviceAsync = BioPortalAPIServiceManager.getServiceAsync();
        serviceAsync.getOwnedOntologies(bioPortalUserId, new AsyncCallback<List<BioPortalOntologyInfo>>() {
            public void onFailure(Throwable caught) {
            }

            public void onSuccess(List<BioPortalOntologyInfo> result) {
                Collection<Suggestion> suggestions = new HashSet<Suggestion>();
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.