1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / filters / FilterDescriptor.java
index 86e4830..3214384 100644 (file)
@@ -23,7 +23,10 @@ import org.eclipse.core.runtime.IConfigurationElement;
 import org.eclipse.core.runtime.IExtensionRegistry;
 import org.eclipse.core.runtime.ISafeRunnable;
 import org.eclipse.core.runtime.Platform;
-import org.eclipse.jface.util.Assert;
+import org.eclipse.core.runtime.SafeRunner;
+//incastrix
+//import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
 import org.eclipse.jface.util.SafeRunnable;
 import org.eclipse.jface.viewers.ViewerFilter;
 import org.eclipse.ui.IPluginContribution;
@@ -144,7 +147,7 @@ public class FilterDescriptor implements Comparable, IPluginContribution {
                        }
 
                };
-               Platform.run(code);
+               SafeRunner.run(code);
                return result[0];
        }
 
@@ -275,7 +278,7 @@ public class FilterDescriptor implements Comparable, IPluginContribution {
                        if (FILTER_TAG.equals(element.getName())) {
 
                                final FilterDescriptor[] desc = new FilterDescriptor[1];
-                               Platform
+                               SafeRunner
                                                .run(new SafeRunnable(
                                                                FilterMessages
                                                                                .getString("FilterDescriptor.filterDescriptionCreationError.message")) { //$NON-NLS-1$