Bug 463981 Move preference loading to UI thread.
authorDoug Schaefer <dschaefer@qnx.com>
Mon, 13 Apr 2015 16:23:48 +0000 (12:23 -0400)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Mon, 13 Apr 2015 17:26:58 +0000 (13:26 -0400)
commit860e0af8c8fba5e4db8ee1c51efb36124cad9222
tree02ffd816ccb518fd981579185075db1172aefd08
parent61200ab2520aff2672d858fac8a685299f77edf9
Bug 463981 Move preference loading to UI thread.

A couple of lines in the CUIPlugin.start() method load preferences.
This can only be done from the UI thread since it eventually loads up
colors which can only be done on the UI thread. This change moves
those two lines to a UIJob.

Change-Id: I692a81d5a38f63c506dc73da93df6c2e9e4b6192
core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CUIMessages.java
core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CUIMessages.properties
core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java