From 5ba8f2dcc4a3532a4406a8e5db776d29783b0de2 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Thu, 10 Jan 2008 16:22:03 +0000 Subject: [PATCH] [214378] don't mark as finished until we have the results --- .../dstore/DStoreFileSubSystemSearchResultConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.subsystems.files.dstore/src/org/eclipse/rse/internal/subsystems/files/dstore/DStoreFileSubSystemSearchResultConfiguration.java b/rse/plugins/org.eclipse.rse.subsystems.files.dstore/src/org/eclipse/rse/internal/subsystems/files/dstore/DStoreFileSubSystemSearchResultConfiguration.java index d45b91fddaa..c0e4296828a 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.files.dstore/src/org/eclipse/rse/internal/subsystems/files/dstore/DStoreFileSubSystemSearchResultConfiguration.java +++ b/rse/plugins/org.eclipse.rse.subsystems.files.dstore/src/org/eclipse/rse/internal/subsystems/files/dstore/DStoreFileSubSystemSearchResultConfiguration.java @@ -167,11 +167,10 @@ public class DStoreFileSubSystemSearchResultConfiguration extends DStoreSearchRe { if (_status.getValue().equals("done")) //$NON-NLS-1$ { - setStatus(IHostSearchConstants.FINISHED); + //setStatus(IHostSearchConstants.FINISHED); // moved to within DelayedDomainListenerRemover // need to wait for the results though DelayedDomainListenerRemover remover = new DelayedDomainListenerRemover(this, _status); remover.start(); - // _status.getDataStore().getDomainNotifier().removeDomainListener(this); } else if (_status.getValue().equals("cancelled")) //$NON-NLS-1$ { @@ -210,6 +209,7 @@ public class DStoreFileSubSystemSearchResultConfiguration extends DStoreSearchRe { } _status.getDataStore().getDomainNotifier().removeDomainListener(_config); + _config.setStatus(IHostSearchConstants.FINISHED); } } }