import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.ISafeRunnable;
-import org.eclipse.core.runtime.Platform;
+//import org.eclipse.core.runtime.Platform;
+import org.eclipse.core.runtime.SafeRunner;
/**
* Keep the global states used during Java element delta processing.
// wrap callbacks with Safe runnable for subsequent listeners to
// be called when some are causing grief
final IResourceChangeListener listener = this.preResourceChangeListeners[i];
- Platform.run(new ISafeRunnable() {
+ SafeRunner.run(new ISafeRunnable() {
public void handleException(Throwable exception) {
Util
.log(exception,