1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

[142478] fix for upload conflict scenario such that all uploads and downloads are in background

This commit is contained in:
David McKnight 2006-12-07 18:01:56 +00:00
parent 86a3c819ff
commit 7b31ccbb66
2 changed files with 16 additions and 13 deletions

View file

@ -66,19 +66,7 @@ public final class FileServiceSubSystem extends RemoteFileSubSystem implements I
protected IRemoteFile _userHome;
public class SystemMessageDialogRunnable implements Runnable
{
private SystemMessageDialog _dlg;
public SystemMessageDialogRunnable(SystemMessageDialog dlg)
{
_dlg = dlg;
}
public void run()
{
_dlg.open();
}
}
public FileServiceSubSystem(IHost host, IConnectorService connectorService, IFileService hostFileService, IHostFileToRemoteFileAdapter fileAdapter, ISearchService searchService)
{

View file

@ -152,6 +152,21 @@ public abstract class SubSystem extends RSEModelObject implements IAdaptable, IS
*/
protected ISystemFilterPoolReferenceManager filterPoolReferenceManager = null;
public class SystemMessageDialogRunnable implements Runnable
{
private SystemMessageDialog _dlg;
public SystemMessageDialogRunnable(SystemMessageDialog dlg)
{
_dlg = dlg;
}
public void run()
{
_dlg.open();
}
}
private class NullRunnableContext implements IRunnableContext {
public void run(boolean fork, boolean cancelable, IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException {
IProgressMonitor monitor = new NullProgressMonitor();