* Some fixes
+ IFileStoreProvider interface for accessing IFileStore from IFileHandle
diff --git a/rse/plugins/org.eclipse.dltk.rse.ui/src/org/eclipse/dltk/internal/ui/rse/RSEConnectionMonitor.java b/rse/plugins/org.eclipse.dltk.rse.ui/src/org/eclipse/dltk/internal/ui/rse/RSEConnectionMonitor.java
index 8c25048..8b57cd8 100644
--- a/rse/plugins/org.eclipse.dltk.rse.ui/src/org/eclipse/dltk/internal/ui/rse/RSEConnectionMonitor.java
+++ b/rse/plugins/org.eclipse.dltk.rse.ui/src/org/eclipse/dltk/internal/ui/rse/RSEConnectionMonitor.java
@@ -6,7 +6,6 @@
import java.util.Set;
import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -21,7 +20,6 @@
import org.eclipse.dltk.core.environment.IEnvironment;
import org.eclipse.dltk.core.internal.rse.RSEEnvironment;
import org.eclipse.dltk.internal.core.ProjectRefreshOperation;
-import org.eclipse.dltk.internal.core.search.ProjectIndexerManager;
import org.eclipse.rse.core.model.IHost;
import org.eclipse.rse.core.subsystems.CommunicationsEvent;
import org.eclipse.rse.core.subsystems.ICommunicationsListener;
@@ -68,7 +66,7 @@
ProjectRefreshOperation op = new ProjectRefreshOperation(
scriptProjects);
try {
- op.run(new SubProgressMonitor(monitor, 50));
+ op.run(new SubProgressMonitor(monitor, 70));
} catch (CoreException e1) {
if (DLTKCore.DEBUG) {
e1.printStackTrace();
@@ -78,21 +76,20 @@
EnvironmentManager
.refreshBuildpathContainersForMixedProjects(new SubProgressMonitor(
monitor, 10));
- SubProgressMonitor mm = new SubProgressMonitor(monitor, 30);
- mm.beginTask("Procesing project", projectsToProcess.size() * 10);
- for (IScriptProject project : projectsToProcess) {
- ProjectIndexerManager.indexProject(project);
- try {
- project.getProject().build(
- IncrementalProjectBuilder.FULL_BUILD,
- new SubProgressMonitor(monitor, 10));
- } catch (CoreException e) {
- if (DLTKCore.DEBUG) {
- e.printStackTrace();
- }
- }
- }
- mm.done();
+ // SubProgressMonitor mm = new SubProgressMonitor(monitor, 30);
+ // mm.beginTask("Procesing project", projectsToProcess.size() * 10);
+ // for (IScriptProject project : projectsToProcess) {
+ // ProjectIndexerManager.indexProject(project);
+ // try {
+ // project.getProject().build(
+ // IncrementalProjectBuilder.FULL_BUILD,
+ // new SubProgressMonitor(monitor, 10));
+ // } catch (CoreException e) {
+ // if (DLTKCore.DEBUG) {
+ // e.printStackTrace();
+ // }
+ // }
+ // }
monitor.done();
return Status.OK_STATUS;
}