From cd89d0139495165a8e45bbc4c5a1a411e0545322 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Mon, 4 Jan 2010 04:42:13 +0000 Subject: [PATCH] bug 289082: smallish change from bug 11233 patch 2 --- .../eclipse/cdt/ui/dialogs/InputStatusDialog.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/dialogs/InputStatusDialog.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/dialogs/InputStatusDialog.java index 9e6e7884cfd..ced7cb166c6 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/dialogs/InputStatusDialog.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/dialogs/InputStatusDialog.java @@ -79,10 +79,10 @@ public class InputStatusDialog extends StatusDialog { * @param validator * an input validator, or null if none * For a validator, following return statuses are recognized: - *
  • {@link Status#OK_STATUS} or any {@link IStatus#OK} to indicate no error. - *
  • {@link IStatus#ERROR} indicates an error. - *
  • {@link IStatus#WARNING} indicates a warning. - *
  • {@link IStatus#INFO} indicates an informational message + *
  • {@link Status#OK_STATUS} or any {@link IStatus#OK} to indicate no error. + *
  • {@link IStatus#ERROR} indicates an error. + *
  • {@link IStatus#WARNING} indicates a warning. + *
  • {@link IStatus#INFO} indicates an informational message */ public InputStatusDialog(Shell parentShell, String dialogTitle, String dialogMessage, String initialValue, IInputStatusValidator validator) { @@ -175,6 +175,11 @@ public class InputStatusDialog extends StatusDialog { return validator; } + /** + * Returns the string typed into this input dialog. + * + * @return the input string + */ public String getValue() { return value; }