Package org.mmisw.orrportal.gwt.client.util

Examples of org.mmisw.orrportal.gwt.client.util.MyDialog.show()


    popup.addTextArea(null).setSize("600", "150");
    popup.getTextArea().setText("please wait ...");
    PortalControl.getInstance().notifyActivity(true);
    popup.setText("Unregistering ontology ...");
    popup.center();
    popup.show();

    AsyncCallback<UnregisterOntologyResult> callback = new AsyncCallback<UnregisterOntologyResult>() {
      public void onFailure(Throwable thr) {
        PortalControl.getInstance().notifyActivity(false);
        Window.alert(thr.toString());
View Full Code Here


    popup.addPopupListener(new PopupListener() {
      public void onPopupClosed(PopupPanel sender, boolean autoClosed) {
        _completedUnregisterOntology(unregisterOntologyResult);
      }
    });
    popup.show();
  }

  private void _completedUnregisterOntology(UnregisterOntologyResult unregisterOntologyResult) {
    dispatchMainPanel(true, "");
    History.newItem(PortalConsts.T_BROWSE);
View Full Code Here

   
    popup.getButtonsPanel().insert(importButton, 0);
    popup.getButtonsPanel().insert(status, 0);
   
    popup.center();
    popup.show();

  }
 
  /**
   * Imports the given text into the term table.
View Full Code Here

      }
    };
    vp.add(separatorPanel);
   
    popup.center();
    popup.show();

  }
 
  /** Helper class to capture desired separator for CSV contents */
  private static class SeparatorPanel extends HorizontalPanel implements ClickListener {
View Full Code Here

        "required. Use the Metadata section to edit all attributes as necessary."));
    vp.add(table);
    final MyDialog popup = new MyDialog(vp);
    popup.setText("Diagnostics on original metadata");
    popup.center();
    popup.show();
  }

 
  private void createDetailsButton() {
    detailsButton = new PushButton("Details", new ClickListener() {
View Full Code Here

      popup.addTextArea(null).setSize("600", "150");
      popup.getTextArea().setText("please wait ...");
      PortalControl.getInstance().notifyActivity(true);
      popup.center();
      popup.setText("Loading ontology contents ...");
      popup.show();
     
      _getOntologyContents(new Command() {
        public void execute() {
          log("reviewAndRegister: calling _doReviewAndRegister");
          _doReviewAndRegister(popup);
View Full Code Here

    if (aPopup == null) {
      popup.addTextArea(null).setSize("600", "150");
      popup.getTextArea().setText("please wait ...");
      PortalControl.getInstance().notifyActivity(true);
      popup.center();
      popup.show();
    }
    popup.setText("Creating ontology ...");

    AsyncCallback<CreateOntologyResult> callback = new AsyncCallback<CreateOntologyResult>() {
      public void onFailure(Throwable thr) {
View Full Code Here

    popup.getTextArea().setSize("600", "150");
   
    log("Registering ontology ...");
    popup.setText("Registering ontology ...");
    popup.center();
    popup.show();


    AsyncCallback<RegisterOntologyResult> callback = new AsyncCallback<RegisterOntologyResult>() {
      public void onFailure(Throwable thr) {
        container.clear();       
View Full Code Here

    popup.addPopupListener(new PopupListener() {
      public void onPopupClosed(PopupPanel sender, boolean autoClosed) {
        PortalControl.getInstance().completedRegisterOntologyResult(uploadOntologyResult);
      }
    });
    popup.show();
  }


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