Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2007-05-16 12:35:10 -0400
committerMichael Rennie2007-05-16 12:35:10 -0400
commita71d362e452276c97c837c61b45ea5c4f99d22dd (patch)
tree463075ad8ff899e64558ab91822d57f3453c8ae4 /org.eclipse.ui.console
parenta6cac47545d5488375c7617bc345c7ee33da6a68 (diff)
downloadeclipse.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.java12
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;

Back to the top