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

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


    final MyDialog popup = new MyDialog(null);
    popup.addTextArea(null).setSize("600", "150");
    popup.getTextArea().setText("please wait ...");
    PortalControl.getInstance().notifyActivity(true);
    popup.setText("Creating ontology ...");
    popup.center();
    popup.show();

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


    popup.addTextArea(null).setText("please wait ...");
    popup.getTextArea().setSize("600", "150");
   
    Orr.log(CLASS_NAME+": Registering ontology ...");
    popup.setText("Registering ontology ...");
    popup.center();
    popup.show();


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

    popup.setText(error == null ? "Registration completed sucessfully" : "Error");
    popup.addTextArea(null).setText(msg);
    popup.getTextArea().setSize("600", "150");
   
    popup.getDockPanel().add(vp, DockPanel.NORTH);
    popup.center();
   
    popup.addPopupListener(new PopupListener() {
      public void onPopupClosed(PopupPanel sender, boolean autoClosed) {
        PortalControl.getInstance().completedRegisterOntologyResult(uploadOntologyResult);
      }
View Full Code Here

    final MyDialog popup = new MyDialog(null);
    popup.addTextArea(null).setSize("600", "150");
    popup.getTextArea().setText("please wait ...");
    PortalControl.getInstance().notifyActivity(true);
    popup.setText("Creating version of ontology ...");
    popup.center();
    popup.show();

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

    popup.addTextArea(null).setText("please wait ...");
    popup.getTextArea().setSize("600", "150");
   
    Orr.log(CLASS_NAME+": Registering new version of ontology ...");
    popup.setText("Registering new version of ontology ...");
    popup.center();
    popup.show();


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

    popup.setText(error == null ? "Registration of new version completed sucessfully" : "Error");
    popup.addTextArea(null).setText(msg);
    popup.getTextArea().setSize("600", "150");
   
    popup.getDockPanel().add(vp, DockPanel.NORTH);
    popup.center();
   
    popup.addPopupListener(new PopupListener() {
      public void onPopupClosed(PopupPanel sender, boolean autoClosed) {
        PortalControl.getInstance().completedRegisterOntologyResult(uploadOntologyResult);
      }
View Full Code Here

    vp.setSpacing(10);
    vp.add(table);
    vp.add(new HTML(DIFF_MARK+ "= Metadata attribute with different, non-blank values."));
    final MyDialog popup = new MyDialog(vp);
    popup.setText("Metadata values from the two sources");
    popup.center();
    popup.show();
  }

 
  private void createDetailsPanel() {
View Full Code Here

        "It shows any included MMI attribute as well as those that are missing but " +
        "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() {
View Full Code Here

        "It shows any included MMI attribute as well as those that are missing but " +
        "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() {
View Full Code Here

    final MyDialog popup = new MyDialog(null);
    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);
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.