I created a custom eclipse editor and I need to set the status message in background (another thread). The message is too costly to be calculated and I need to run in background. To set this message I use this code:
IActionBars actionBars = this.getEditorSite().getActionBars();
actionBars.getStatusLineManager().setMessage(text);
And to run In background, I tried to create new Java Thread and I got the error "invalid thread access exception". I tried to use Display.getDefault().asyncExec and syncExec, but Its not run in background.
Thanks a lot.