You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2013/03/26 20:47:49 UTC
svn commit: r1461282 - in /ant/ivy/ivyde/trunk: doc/release-notes.html
org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/PreferenceInitializer.java
Author: hibou
Date: Tue Mar 26 19:47:48 2013
New Revision: 1461282
URL: http://svn.apache.org/r1461282
Log:
IVYDE-341: put UI related modification of the preferences into the UI thread (thanks to Bernd Kurz)
Modified:
ant/ivy/ivyde/trunk/doc/release-notes.html
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/PreferenceInitializer.java
Modified: ant/ivy/ivyde/trunk/doc/release-notes.html
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/release-notes.html?rev=1461282&r1=1461281&r2=1461282&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/doc/release-notes.html (original)
+++ ant/ivy/ivyde/trunk/doc/release-notes.html Tue Mar 26 19:47:48 2013
@@ -110,6 +110,7 @@ Here is the list of people who have cont
<li>Will Gorman</li>
<li>Miguel Griffa</li>
<li>Adam Karl</li>
+<li>Bernd Kurz</li>
<li>Ivica Loncar</li>
<li>Jeffrey M. Metcalf</li>
<li>Sébastien Moran</li>
@@ -137,6 +138,7 @@ List of changes since <a href="/ivy/ivyd
<li>IMPROVE: ivy.xml and ivysettings.xml files are not better detected as such, so they can be open with the Ivy editors</li>
</ul>
<ul>
+ <li>FIX: IvyDE can corrupt the workspace (IVYDE-341) (thanks to Bernd Kurz)</li>
<li>FIX: org.eclipse.swt.SWTException: Invalid thread access with Eclipse Juno (IVYDE-313)</li>
<li>FIX: Divide by zero during IvyDE resolve (IVYDE-312) (thanks to Joe Sortelli)</li>
<li>FIX: Ivy report view stopped working on Linux (IVYDE-292)</li>
Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/PreferenceInitializer.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/PreferenceInitializer.java?rev=1461282&r1=1461281&r2=1461282&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/PreferenceInitializer.java (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/PreferenceInitializer.java Tue Mar 26 19:47:48 2013
@@ -30,6 +30,7 @@ import org.apache.ivyde.eclipse.ui.edito
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferenceConverter;
+import org.eclipse.swt.widgets.Display;
/**
* Class used to initialize default preference values.
@@ -149,6 +150,14 @@ public class PreferenceInitializer exten
public static final boolean DEFAULT_ERROR_POPUP = true;
public void initializeDefaultPreferences() {
+ Display.getDefault().syncExec(new Runnable() {
+ public void run() {
+ doInitializeDefaultPreferences();
+ }
+ });
+ }
+
+ private void doInitializeDefaultPreferences() {
IPreferenceStore store = IvyPlugin.getDefault().getPreferenceStore();
store.setDefault(PreferenceConstants.P_BOOLEAN, true);
store.setDefault(PreferenceConstants.P_CHOICE, "choice2");