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
/**
     * Sets or clears the error message.
     * If not <code>null</code>, the OK button is disabled.
     * 
     * @param errorMessage
     *            the error message, or <code>null</code> to clear
     * @since 3.0
     */
    public void setErrorMessage(String errorMessage) {
    	this.errorMessage = errorMessage;
    	if (errorMessageText != null && !errorMessageText.isDisposed()) {
    		errorMessageText.setText(errorMessage == null ? " \n " : errorMessage); 
    		
    		
    		
    		
    		boolean hasError = errorMessage != null && (StringConverter.removeWhiteSpaces(errorMessage)).length() > 0;
    		errorMessageText.setEnabled(hasError);
    		errorMessageText.setVisible(hasError);
    		errorMessageText.getParent().update();
    		
    		
    		Control button = getButton(IDialogConstants.OK_ID);
    		if (button != null) {
    			button.setEnabled(errorMessage == null);
    		}
    	}
    }
}