mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-26 17:53:55 +02:00
[142478] fix for upload conflict scenario such that all uploads and downloads are in background
This commit is contained in:
parent
86a3c819ff
commit
7b31ccbb66
2 changed files with 16 additions and 13 deletions
|
@ -66,19 +66,7 @@ public final class FileServiceSubSystem extends RemoteFileSubSystem implements I
|
||||||
protected IRemoteFile _userHome;
|
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)
|
public FileServiceSubSystem(IHost host, IConnectorService connectorService, IFileService hostFileService, IHostFileToRemoteFileAdapter fileAdapter, ISearchService searchService)
|
||||||
{
|
{
|
||||||
|
|
|
@ -152,6 +152,21 @@ public abstract class SubSystem extends RSEModelObject implements IAdaptable, IS
|
||||||
*/
|
*/
|
||||||
protected ISystemFilterPoolReferenceManager filterPoolReferenceManager = null;
|
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 {
|
private class NullRunnableContext implements IRunnableContext {
|
||||||
public void run(boolean fork, boolean cancelable, IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException {
|
public void run(boolean fork, boolean cancelable, IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException {
|
||||||
IProgressMonitor monitor = new NullProgressMonitor();
|
IProgressMonitor monitor = new NullProgressMonitor();
|
||||||
|
|
Loading…
Add table
Reference in a new issue