Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » org.eclipse.swt.SWTException: Invalid thread access
org.eclipse.swt.SWTException: Invalid thread access [message #151302] Fri, 17 September 2004 09:56 Go to next message
Eclipse UserFriend
Originally posted by: consult1.mail.ru

Hi

I want to call some gef-related function from another thread.
(I should be able to initiate export of gef-diagram even from outside
of eclipse).

But it leads to Invalid thread access exception.

How can I perform this task?

Thank you in advance.

--
Best Regards
Vladimir Kvassov

--
Best Regards
Vladimir Kvassov
Re: org.eclipse.swt.SWTException: Invalid thread access [message #151310 is a reply to message #151302] Fri, 17 September 2004 10:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eostroukhov.hotmail.com

Display::syncExec should help.

"Vladimir Kvassov" <consult1@mail.ru> wrote in message
news:ciec51$fjl$1@eclipse.org...
> Hi
>
> I want to call some gef-related function from another thread.
> (I should be able to initiate export of gef-diagram even from outside
> of eclipse).
>
> But it leads to Invalid thread access exception.
>
> How can I perform this task?
>
> Thank you in advance.
>
> --
> Best Regards
> Vladimir Kvassov
>
> --
> Best Regards
> Vladimir Kvassov
>
>
Re: org.eclipse.swt.SWTException: Invalid thread access [message #151469 is a reply to message #151310] Mon, 20 September 2004 18:30 Go to previous message
Eclipse UserFriend
Originally posted by: consult1.mail.ru

Thank you.

"Eugene Ostroukhov" <eostroukhov@hotmail.com> wrote in message
news:cief7o$k99$1@eclipse.org...
> Display::syncExec should help.
>
> "Vladimir Kvassov" <consult1@mail.ru> wrote in message
> news:ciec51$fjl$1@eclipse.org...
> > Hi
> >
> > I want to call some gef-related function from another thread.
> > (I should be able to initiate export of gef-diagram even from outside
> > of eclipse).
> >
> > But it leads to Invalid thread access exception.
> >
> > How can I perform this task?
> >
> > Thank you in advance.
> >
> > --
> > Best Regards
> > Vladimir Kvassov
> >
> > --
> > Best Regards
> > Vladimir Kvassov
> >
> >
>
>
Previous Topic:Help : different behaviour for figure if using zoom, ruler
Next Topic:draw2d documentation
Goto Forum:
  


Current Time: Thu Sep 26 13:24:11 GMT 2024

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

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

Back to the top