diff options
author | Michael Rennie | 2007-05-16 16:35:10 +0000 |
---|---|---|
committer | Michael Rennie | 2007-05-16 16:35:10 +0000 |
commit | a71d362e452276c97c837c61b45ea5c4f99d22dd (patch) | |
tree | 463075ad8ff899e64558ab91822d57f3453c8ae4 /org.eclipse.ui.console | |
parent | a6cac47545d5488375c7617bc345c7ee33da6a68 (diff) | |
download | eclipse.platform.debug-a71d362e452276c97c837c61b45ea5c4f99d22dd.tar.gz eclipse.platform.debug-a71d362e452276c97c837c61b45ea5c4f99d22dd.tar.xz eclipse.platform.debug-a71d362e452276c97c837c61b45ea5c4f99d22dd.zip |
Bug 186920
TextConsole setBackground method incorrectly spelled as setBackgrond
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r-- | org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsole.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsole.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsole.java index 83924b6ef..c065f6346 100644 --- a/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsole.java +++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsole.java @@ -248,8 +248,20 @@ public abstract class TextConsole extends AbstractConsole { * * @param background background color or <code>null</code> for default * @since 3.3 + * @deprecated use setBackground(Color) instead */ public void setBackgrond(Color background) { + setBackground(background); + } + + /** + * Sets the background color used by this console. Specify <code>null</code> to use + * the default background color. + * + * @param background background color or <code>null</code> for default + * @since 3.3 + */ + public void setBackground(Color background) { if (fBackground == null) { if (background == null) { return; |