Package org.pentaho.ui.xul.components

Examples of org.pentaho.ui.xul.components.XulMessageBox


    currentUiExtension.loadOutput(aggOutput);
  }

  private void promptSaveRequired() {
    XulMessageBox msgBox;
    try {
      msgBox = (XulMessageBox) document.createElement("messagebox");
      msgBox.setTitle(Messages.getString("AggController.SaveOutputTitle"));
      String message = Messages.getString("AggController.SaveOutputMessage") + "\n"
          + Messages.getString("AggController.SaveOutputMessageSaveChanges");
      msgBox.setMessage(message);
      msgBox.setButtons(new String[] { Messages.getString("save"), Messages.getString("do_not_save") });

      int id = msgBox.open();
      if (id == 0) {
        apply();
      } else {
        reset();
      }
View Full Code Here

TOP

Related Classes of org.pentaho.ui.xul.components.XulMessageBox

Copyright © 2018 www.massapicom. 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.