Examples of center()


Examples of org.latexlab.docs.client.content.dialogs.StaticEtagMismatchErrorDialog.center()

      execute(command);
    } else {
      if (error.getMessage().contains("Mismatch: etags")) {
      StaticEtagMismatchErrorDialog dialog = StaticEtagMismatchErrorDialog.get();
      dialog.update(error, command, alternate);
      dialog.center();
      } else if(error.getMessage().equalsIgnoreCase("OK") ||
        error.getMessage().contains("Could not convert document")) {
        StaticIncompatibilityErrorDialog dialog = StaticIncompatibilityErrorDialog.get();
        dialog.update(error, command, alternate);
    dialog.center();
View Full Code Here

Examples of org.latexlab.docs.client.content.dialogs.StaticIncompatibilityErrorDialog.center()

      dialog.center();
      } else if(error.getMessage().equalsIgnoreCase("OK") ||
        error.getMessage().contains("Could not convert document")) {
        StaticIncompatibilityErrorDialog dialog = StaticIncompatibilityErrorDialog.get();
        dialog.update(error, command, alternate);
    dialog.center();
      } else {
        StaticErrorDialog errorDialog = StaticErrorDialog.get();
        errorDialog.update(error, command, alternate);
        errorDialog.center();
      }
View Full Code Here

Examples of org.latexlab.docs.client.content.dialogs.StaticLoadingDialog.center()

   */
  private void showStatus(String message, boolean modal) {
    if (modal) {
      StaticLoadingDialog loadingDialog = StaticLoadingDialog.get();
      loadingDialog.setMessage(message);
      loadingDialog.center();
    } else {
      header.setStatus(message);
    }
  }
 
View Full Code Here

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

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

    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

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

    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

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

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

    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

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

    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

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

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