From 1b897cc78d1e6f8582d125eb045c18c0f0f06c50 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Wed, 29 Nov 2006 20:49:05 +0000 Subject: [PATCH] [160353] use Job rather than UI job for download to editor --- .../rse/files/ui/resources/SystemEditableRemoteFile.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/SystemEditableRemoteFile.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/SystemEditableRemoteFile.java index 798775a1fda..bb06b47356f 100644 --- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/SystemEditableRemoteFile.java +++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/SystemEditableRemoteFile.java @@ -35,6 +35,7 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Path; import org.eclipse.core.runtime.Status; +import org.eclipse.core.runtime.jobs.Job; import org.eclipse.jface.dialogs.ProgressMonitorDialog; import org.eclipse.rse.core.SystemBasePlugin; import org.eclipse.rse.core.model.IHost; @@ -92,7 +93,7 @@ public class SystemEditableRemoteFile implements ISystemEditableRemoteObject, IP /** * Internal class for downloading file */ - private class InternalDownloadFileRunnable extends UIJob + private class InternalDownloadFileRunnable extends Job //extends WorkspaceModifyOperation { @@ -165,7 +166,7 @@ public class SystemEditableRemoteFile implements ISystemEditableRemoteObject, IP } } - public IStatus runInUIThread(IProgressMonitor monitor) { + public IStatus run(IProgressMonitor monitor) { try { execute(monitor);