From 9d47423571f41634e07447c16e425ec623d0b6b3 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Fri, 22 Apr 2011 22:47:03 +0000 Subject: [PATCH] Fixed typos. --- .../ui/dialogs/IStatusChangeListener.java | 2 +- .../cdt/internal/ui/dialogs/MessageLine.java | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/IStatusChangeListener.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/IStatusChangeListener.java index 82e06eb813a..9b88bd1bf80 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/IStatusChangeListener.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/IStatusChangeListener.java @@ -16,7 +16,7 @@ import org.eclipse.core.runtime.IStatus; public interface IStatusChangeListener { /** - * Called to annonce that the given status has changed + * Called to announce that the given status has changed. */ void statusChanged(IStatus status); } diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/MessageLine.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/MessageLine.java index 1565d54c727..9b518698ccf 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/MessageLine.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/MessageLine.java @@ -20,12 +20,11 @@ import org.eclipse.swt.graphics.RGB; import org.eclipse.swt.widgets.Composite; /** - * A message line. It distinguishs between "normal" messages and errors. + * A message line. It distinguishes between "normal" messages and errors. * Setting an error message hides a currently displayed message until * clearErrorMessage is called. */ public class MessageLine extends CLabel { - private String fMessageText; private String fErrorText; @@ -36,7 +35,7 @@ public class MessageLine extends CLabel { private static RGB fgErrorRGB= new RGB(200, 0, 0); /** - * Clears the currently displayed error message and redisplayes + * Clears the currently displayed error message and redisplays * the message which was active before the error message was set. */ public void clearErrorMessage() { @@ -63,8 +62,8 @@ public class MessageLine extends CLabel { return fMessageText; } /** - * Creates a new message line as a child of the parent and with the given SWT stylebits. - * Error message will be shown with in the given rgb color. + * Creates a new message line as a child of the parent and with the given SWT style bits. + * Error message will be shown with in the given RGB color. */ public MessageLine(Composite parent, int style, RGB errorRGB) { super(parent, style); @@ -72,8 +71,8 @@ public class MessageLine extends CLabel { fErrorRGB= errorRGB; } /** - * Creates a new message line as a child of the parent and with the given SWT stylebits. - * Error message will be shown with in the rgb color 200,0,0. + * Creates a new message line as a child of the parent and with the given SWT style bits. + * Error message will be shown with in the RGB color 200,0,0. */ public MessageLine(Composite parent, int style) { super(parent, style); @@ -82,7 +81,7 @@ public class MessageLine extends CLabel { } /** * Creates a new message line as a child of the given parent. - * Error message will be shown with in the rgb color 200,0,0. + * Error message will be shown with in the RGB color 200,0,0. */ public MessageLine(Composite parent) { this(parent, SWT.LEFT);