Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » change content of textviewer from non-ui-thread
change content of textviewer from non-ui-thread [message #456425] Fri, 03 June 2005 09:22
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 127
Registered: July 2009
Senior Member
Hi,

I have AWT-Panel embedded into my swt view. I also do have a TextViewer
in that view. What I'd like to do is whenever something int the
awt-widget is selected I want to change the content of the TextViewer. I
can't do this directly as setDocument() is only callable from within the
ui-thread, but the selection event is handled in another thread.

So is there a way to change the text of a textviewer from within another
thread? Or is this all only because the widget is an awt widget, i.e.
there is no possibility to change the data of swt widgets from within
awt widget?

Andreas
Previous Topic:ILazyContentProvider and Reorder
Next Topic:Button SWT.Check mirrored
Goto Forum:
  


Current Time: Tue Sep 24 01:06:42 GMT 2024

Powered by FUDForum. Page generated in 0.03648 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top