Community
Participate
Working Groups
The RSE ISystemRegistry#fireEvent() methods are documented to switch to the UI Thread (Display.asyncExec()), but only if not on the UI thread already. In order to abstract from the event handling through IRSEInteractionProvider, we'll need a method eventExec() which has exactly these semantics: /** * Run a Runnable in the message Thread. * Directly runs if already on the right Thread, or does an asyncExec() * otherwise. */ public void eventExec(Runnable r);
Created attachment 104294 [details] Patch providing the method
Committed: [236355] [api] Add an IRSEInteractionProvider#eventExec() method
Should not be a problem adding this since this is a new interface.
We'll need this eventually in order to fix bug 227750.