Bug 76351 [Dialogs] API - InputDialog with customizable style bits
I think sometimes it might be useful to have an Input Dialog where the user enters a few lines of text and not just one. So, maybe it would be a good idea to add another constructor to the InputDialog class where you can pass in your own Text component, which might be defined as whatever you want, since Text can be easily defined as a multi-line component with an SWT.MULTI bit.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/InputDialog.java
*/
    protected IInputValidator getValidator() {
        return validator;
    }
    /**
     * Returns the string typed into this input dialog.
     * 
     * @return the input string
     */
    public String getValue() {
        return value;
    }
    /**
     * Validates the input.
     * <p>
     * The default implementation of this framework method delegates the request
     * to the supplied input validator object; if it finds the input invalid,
     * the error message is displayed in the dialog's message line. This hook
     * method is called whenever the text changes in the input field.
     * </p>
     */
    protected void validateInput() {
        String errorMessage = null;
        if (validator != null) {
            errorMessage = validator.isValid(text.getText());
        }
        
        
        setErrorMessage(errorMessage);
    }