From 99a7b2f9ed1e74e8463de807682bed4f4e263602 Mon Sep 17 00:00:00 2001 From: Michael Scharf Date: Fri, 20 Jun 2008 12:43:35 +0000 Subject: [PATCH] bug 237398: [terminal] Terminal get Invalid Thread Access when the title is set https://bugs.eclipse.org/bugs/show_bug.cgi?id=237398 --- .../tm/internal/terminal/emulator/VT100TerminalControl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terminal/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/emulator/VT100TerminalControl.java b/terminal/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/emulator/VT100TerminalControl.java index beb6192f9d5..26a0feb3530 100644 --- a/terminal/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/emulator/VT100TerminalControl.java +++ b/terminal/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/emulator/VT100TerminalControl.java @@ -22,6 +22,7 @@ * Michael Scharf (Wing River) - [196447] The optional terminal input line should be resizeable * Martin Oberhuber (Wind River) - [168197] Replace JFace MessagDialog by SWT MessageBox * Martin Oberhuber (Wind River) - [204796] Terminal should allow setting the encoding to use + * Michael Scharf (Wind River) - [237398] Terminal get Invalid Thread Access when the title is set *******************************************************************************/ package org.eclipse.tm.internal.terminal.emulator; @@ -549,6 +550,9 @@ public class VT100TerminalControl implements ITerminalControlForText, ITerminalC public Control getControl() { return fCtlText; } + public Control getRootControl() { + return fWndParent; + } protected void setupControls(Composite parent) { // The Terminal view now aims to be an ANSI-conforming terminal emulator, so it // can't have a horizontal scroll bar (but a vertical one is ok). Also, do