I’ve got a problem opening multiple editors within a RCP Application. As I know there is only one UI-Thread painting the GUI.
In my use case I have to open about 50 editors the same time and that takes some time because of blocking the UI Thread until all editors are opened. The loading of the data within my editors is done with Jobs.
I try searching if there is some mechanism to parallize the opening to not block the UI Thread, but didn’t find anything. Is there any possibility to do this? It would be very helpful if each editor is opend/painted within an own UI-Thread, so that a user can already work with the opended Editors.
I think you have already answered your question – there is only one UI-Thread in Eclipse-RCP application. You might want to reconsider you application design and use lazy loading mechanism where possible (comboboxes, viewers etc.), or try to find some places, where data loading takes more time and could be optimized, but visual initialization of editors will still take some time, especially if you are opening multiple editors simultaneously.