Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Threads in custom Plug-in
Threads in custom Plug-in [message #1017682] Tue, 12 March 2013 10:18 Go to next message
Krishna T is currently offline Krishna TFriend
Messages: 4
Registered: March 2013
Junior Member
I need to implement a thread which communicates to the external server using TCP/IP and update the received data to the view.
Is it possible to implement threads in a Eclipse custom plug-in? if so how to implement them. Requesting for some samples!!!
Re: Threads in custom Plug-in [message #1017795 is a reply to message #1017682] Tue, 12 March 2013 14:56 Go to previous messageGo to next message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 413
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

In Eclipse asynchronous tasks are performed in jobs. They allow you to easily communicates between the main thread (UI thread) and other tasks. You can find more about Jobs and Threads in Eclipse in this article. Jobs also allow to easily reports progress in various part of Eclipse (inside a wizard page, in the Progress view, at the bottom of Eclipse or even in a dialog).

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks



Re: Threads in custom Plug-in [message #1021192 is a reply to message #1017795] Tue, 19 March 2013 16:29 Go to previous message
Krishna T is currently offline Krishna TFriend
Messages: 4
Registered: March 2013
Junior Member
Hi,

Thank you very much! The material helped me lot and could able to resolve the Thread UI Synchronization problem.
Previous Topic:how to install a java plugin
Next Topic:"Source not Found" in Debug Mode
Goto Forum:
  


Current Time: Sun Nov 23 06:05:42 GMT 2014

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

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