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;
}
};
- Platform.run(code);
+ SafeRunner.run(code);
return result[0];
}
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$