* @return Eingegebener Text.
*/
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;
}