|
|
Re: New dialog in Job [message #443688 is a reply to message #443686] |
Wed, 29 September 2004 09:44 |
Eclipse User |
|
|
|
Originally posted by: l.heisterkamp.web.de
Hello,
same thing happens when opening a MessageDialog or sth. else...
Solution:
Display.getDefault().asyncExec(new Runnable(){
public void run() {
MessageDialog.openError(null, "Title", "Message");
}
});
See also:
http://help.eclipse.org/help30/index.jsp?
topic=/org.eclipse.platform.doc.isv/guide/swt_threading.htm
Regards,
LH
In article <cjdtlq$tdo$1@eclipse.org>, jgrob@globalware.ag says...
> Oh, sorry about the name :( - It was Outlook's fault ;)
>
>
> Eclipse wrote:
>
> > Hi!
>
> > I am desperatly trying to do the following:
>
> > I need to display progress to the user, so I run a Job. During the Job
> > however the user needs to be prompted for some information (which depends on
> > stuff the Job did up to thst point).
> > But whatever I try, on opening the Dialog (extends jface Dialog) I get an
> > Illegal Thread Access error.
> > So my question is: What Shell object to I need to give to the constructor
> > that this error will not come up?
>
> > Regards
> > Johannes
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02832 seconds