1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 09:15:38 +02:00

bug 289082: smallish change from bug 11233 patch 2

This commit is contained in:
Andrew Gvozdev 2010-01-04 04:42:13 +00:00
parent 1da73a0cc1
commit cd89d01394

View file

@ -79,10 +79,10 @@ public class InputStatusDialog extends StatusDialog {
* @param validator * @param validator
* an input validator, or <code>null</code> if none * an input validator, or <code>null</code> if none
* For a validator, following return statuses are recognized: * For a validator, following return statuses are recognized:
* <li/>{@link Status#OK_STATUS} or any {@link IStatus#OK} to indicate no error. * <li/>{@link Status#OK_STATUS} or any {@link IStatus#OK} to indicate no error.
* <li/>{@link IStatus#ERROR} indicates an error. * <li/>{@link IStatus#ERROR} indicates an error.
* <li/>{@link IStatus#WARNING} indicates a warning. * <li/>{@link IStatus#WARNING} indicates a warning.
* <li/>{@link IStatus#INFO} indicates an informational message * <li/>{@link IStatus#INFO} indicates an informational message
*/ */
public InputStatusDialog(Shell parentShell, String dialogTitle, String dialogMessage, public InputStatusDialog(Shell parentShell, String dialogTitle, String dialogMessage,
String initialValue, IInputStatusValidator validator) { String initialValue, IInputStatusValidator validator) {
@ -175,6 +175,11 @@ public class InputStatusDialog extends StatusDialog {
return validator; return validator;
} }
/**
* Returns the string typed into this input dialog.
*
* @return the input string
*/
public String getValue() { public String getValue() {
return value; return value;
} }