Package de.chris_soft.fyllgen.widget.dialog

Examples of de.chris_soft.fyllgen.widget.dialog.TextInputDialog.open()


   */
  public static String askForTextInput(final Shell parent, final String msg) {
    Display.getDefault().syncExec(new Runnable() {
      public void run() {
        TextInputDialog tid = new TextInputDialog(parent, msg, false);
        tid.open();
        textinput = tid.getUserInput();
      }
    });
    return textinput;
  }
View Full Code Here


   */
  public static String askForPasswordInput(final Shell parent, final String msg) {
    Display.getDefault().syncExec(new Runnable() {
      public void run() {
        TextInputDialog tid = new TextInputDialog(parent, msg, true);
        tid.open();
        textinput = tid.getUserInput();
      }
    });
    return textinput;
  }
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.