Java and Eclipse Plugin Development

Java, Eclipse Plugin Development and best software development practices

Showing posts with label Display.asyncExec. Show all posts
Showing posts with label Display.asyncExec. Show all posts
Thursday, September 8, 2016

Best Practice: Never ever execute long running operations in the Display.asyncExec() also

›
//The thread which calls this method is suspended until the runnable completes. Display.getDefault().syncExec( new  Runnable() { p...

Best Practice: Always check for Control disposed in Display.asyncExec()

›
Display.getDefault().asyncExec( new Runnable() { public void run() { //Always check for whether the control is ...
›
Home
View web version

About Me

KK
Learn, share and repeat!
View my complete profile
Powered by Blogger.