Examples of uploadProjectToBioPortal()


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

    }

    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
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.