Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » I hava problems UI Thread.(control UI Thread and Control main)
icon6.gif  I hava problems UI Thread. [message #1696540] Wed, 27 May 2015 07:36
jaemin kim is currently offline jaemin kimFriend
Messages: 1
Registered: May 2015
Junior Member
I didn't find properly category so I am writing my problems. I'm so sorry.
I am not good at writing english. please understanding me


I hava problems UI Thread.

My application have many background Threads;
checkFile()Thread, syncNetwork()Thread

I changed and added some codes in run-as configuration (findLaunchConfiguration())

When I click "run-as" ,Main thread call findLaunchConfiguration() and call my wizard in findLaunchConfiguration() and call checkFile()Thread with asyncExec.

I describe my problems detail step below

case 1:
run-as
my wizard
get checkFile() <--- don't process( only run my wizard process close )
// --fail to run beacuse didn't work completely checkFile()--
// Exception

case 2:
run-as
my wizard
stuff dialog open and close(meaningless work)
get checkFile() <--- work well
// --success to run beacuse work completely checkFile()--
// continue my wizard and run-as process


Can you help me and please tell me how to control main thread control
I mean run "case2" without stuff dialog.

ps. I tried to run Thread.sleep(~~) but It is useless

Previous Topic:Problem with CDT Console while running C project
Next Topic:Eclipse + Processing Run Vertical Ploetter program (Kritzler)
Goto Forum:
  


Current Time: Fri Apr 19 22:13:54 GMT 2024

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

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

Back to the top