1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 20:45:22 +02:00

bug 237398: [terminal] Terminal get Invalid Thread Access when the title is set

https://bugs.eclipse.org/bugs/show_bug.cgi?id=237398
This commit is contained in:
Michael Scharf 2008-06-20 12:43:35 +00:00
parent 8791e0497b
commit 99a7b2f9ed

View file

@ -22,6 +22,7 @@
* Michael Scharf (Wing River) - [196447] The optional terminal input line should be resizeable * 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) - [168197] Replace JFace MessagDialog by SWT MessageBox
* Martin Oberhuber (Wind River) - [204796] Terminal should allow setting the encoding to use * 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; package org.eclipse.tm.internal.terminal.emulator;
@ -549,6 +550,9 @@ public class VT100TerminalControl implements ITerminalControlForText, ITerminalC
public Control getControl() { public Control getControl() {
return fCtlText; return fCtlText;
} }
public Control getRootControl() {
return fWndParent;
}
protected void setupControls(Composite parent) { protected void setupControls(Composite parent) {
// The Terminal view now aims to be an ANSI-conforming terminal emulator, so it // 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 // can't have a horizontal scroll bar (but a vertical one is ok). Also, do