Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Job API for Eclipse e4(multithreading in eclipse e4)
Job API for Eclipse e4 [message #639267] Mon, 15 November 2010 19:29 Go to next message
Andreas Grund is currently offline Andreas Grund
Messages: 6
Registered: November 2010
Junior Member
Hi,

I´m new to eclipse e4 and search an API for executing Jobs outside of the Main-Thread, so that the repainting of the GUI is not blocked. Is there anywhere a tutorial, which explains, how to implement a long running job in eclipse?

Thanks for your help and best regards,
Andreas
Re: Job API for Eclipse e4 [message #639313 is a reply to message #639267] Tue, 16 November 2010 01:53 Go to previous messageGo to next message
St Clair Clarke is currently offline St Clair Clarke
Messages: 118
Registered: March 2010
Senior Member
Hello,
Please review the following links:
1. http://http://www.eclipse.org/articles/Article-Concurrency/jobs-api.html
2. http://http://www.richclient2.de/2006_09_28/using-the-eclipse-jobs-api/
3. http://http:// wiki.eclipse.org/FAQ_Does_the_platform_have_support_for_conc urrency%3F

Those should be of some help.
Re: Job API for Eclipse e4 [message #639347 is a reply to message #639313] Tue, 16 November 2010 07:39 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5400
Registered: July 2009
Senior Member
They don't help in pure Eclipse 4 because they require the compat layer.
I think we currently have no pure e4 replacement.

See here: http://wiki.eclipse.org/E4/Eclipse_Application_Services

Tom

Am 16.11.10 02:53, schrieb St Clair Clarke:
> Hello,
> Please review the following links:
> 1. http://http://www.eclipse.org/articles/Article-Concurrency/j obs-api.html
> 2. http://http://www.richclient2.de/2006_09_28/using-the-eclips e-jobs-api/
> 3.
> http://http://wiki.eclipse.org/FAQ_Does_the_platform_have_su pport_for_concurrency%3F
>
>
> Those should be of some help.
Re: Job API for Eclipse e4 [message #639414 is a reply to message #639347] Tue, 16 November 2010 13:17 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Tom Schindl wrote:
> They don't help in pure Eclipse 4 because they require the compat layer.
> I think we currently have no pure e4 replacement.

Jobs themselves shouldn't require the compatibility layer, should they?
They're in org.eclipse.core.jobs. I mean, you can set up jobs by
including their dependencies and perhaps doing setup in your app.

We also include org.eclipse.equinox.concurrent as part of e4.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Job API for Eclipse e4 [message #639768 is a reply to message #639414] Wed, 17 November 2010 17:24 Go to previous messageGo to next message
Andreas Grund is currently offline Andreas Grund
Messages: 6
Registered: November 2010
Junior Member
Hi,

thanks for your reply. I will try to use the eclipse 3.x job api. Hope that it will work.

@Tom:
Does there exist a date, when these APIs should be finished?

Thanks for your great help and kind regards,
Andreas
Re: Job API for Eclipse e4 [message #639823 is a reply to message #639768] Wed, 17 November 2010 23:32 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5400
Registered: July 2009
Senior Member
I'm afraid no. The whole team works on on other stuff so don't expect
any thing in 4.1 unless you really drive it to a point where we can
accept it in 4.1 without any work from ourside.

Tom

Am 17.11.10 18:24, schrieb andreas_grund@gmx.de:
> Hi,
>
> thanks for your reply. I will try to use the eclipse 3.x job api. Hope
> that it will work.
>
> @Tom:
> Does there exist a date, when these APIs should be finished?
> Thanks for your great help and kind regards,
> Andreas
Re: Job API for Eclipse e4 [message #639841 is a reply to message #639823] Thu, 18 November 2010 04:29 Go to previous message
Prakash G.R. is currently offline Prakash G.R.
Messages: 621
Registered: July 2009
Senior Member
On 18/11/10 5:02 AM, Tom Schindl wrote:
> I'm afraid no. The whole team works on on other stuff so don't expect
> any thing in 4.1 unless you really drive it to a point where we can
> accept it in 4.1 without any work from ourside.
>
> Tom

I'm working on Scheduling Service and Progress Service but its not
complete. I'm concentrating on 3.7 for M3 & M4 and will be resuming this
work after M4.

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Previous Topic:Can't reopen a persisted closed part!
Next Topic:show up dynamic (part) menu
Goto Forum:
  


Current Time: Tue Oct 21 13:55:30 GMT 2014

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

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