public String askStringFromUser(EObject self, String title, String message, String initialValue) { InputDialog dlg = new InputDialog(Display.getCurrent().getActiveShell(), title, message, initialValue, null); if (dlg.open() == Window.OK) { return dlg.getValue(); } else { return null; } }