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

[186997] No deferred queries in Local Files

This commit is contained in:
Martin Oberhuber 2007-05-15 12:57:09 +00:00
parent 82f7524ac6
commit d6403e0b19
2 changed files with 8 additions and 1 deletions

View file

@ -20,6 +20,7 @@
* Martin Oberhuber (Wind River) - [186640] Add IRSESystemType.testProperty()
* Martin Oberhuber (Wind River) - [186128][refactoring] Move IProgressMonitor last in public base classes
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry
* Martin Oberhuber (Wind River) - [186997] No deferred queries in Local Files
********************************************************************************/
package org.eclipse.rse.internal.files.ui.view;
@ -3238,7 +3239,7 @@ public class SystemViewRemoteFileAdapter
*/
public boolean supportsDeferredQueries(ISubSystem subSys)
{
return true;
return !subSys.getHost().getSystemType().isLocal();
}

View file

@ -12,6 +12,7 @@
*
* Contributors:
* Martin Oberhuber (Wind River) - [177523] Unify singleton getter methods
* Martin Oberhuber (Wind River) - [186997] No deferred queries in Local Files
********************************************************************************/
package org.eclipse.rse.subsystems.files.local;
@ -204,6 +205,11 @@ public class LocalFileSubSystemConfiguration extends FileServiceSubSystemConfigu
return false;
}
public boolean supportsDeferredQueries() {
//No need for deferred queries in Local, since these are always fast
return false;
}
public IConnectorService getConnectorService(IHost host)
{
return LocalConnectorServiceManager.getInstance().getConnectorService(host, getServiceImplType());