Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-10-21 07:51:35 -0400
committerUwe Stieber2013-10-21 07:51:35 -0400
commit3b3a0a0e7450b24c5827228c751f851d33ed024c (patch)
tree1caaa5395f455f3e3da5593dc55ae718c06d6a49 /target_explorer
parent5e1cb0caed52d984280f4888456f6a98188284f8 (diff)
downloadorg.eclipse.tcf-3b3a0a0e7450b24c5827228c751f851d33ed024c.tar.gz
org.eclipse.tcf-3b3a0a0e7450b24c5827228c751f851d33ed024c.tar.xz
org.eclipse.tcf-3b3a0a0e7450b24c5827228c751f851d33ed024c.zip
Target Explorer: Pass on progress monitor to isRunning method
Diffstat (limited to 'target_explorer')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java3
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/utils/SimulatorUtils.java4
2 files changed, 4 insertions, 3 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java
index f5e85ee0e..6676e8b93 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java
@@ -55,8 +55,9 @@ public interface ISimulatorService extends IService {
* @param context The context. Must not be <code>null</code>.
* @param config The encoded simulator settings or <code>null</code>.
* @param callback The callback to invoke once the operation finishes. Must not be <code>null</code>.
+ * @param monitor The progress monitor or <code>null</code>.
*/
- public void isRunning(Object context, String config, ICallback callback);
+ public void isRunning(Object context, String config, ICallback callback, IProgressMonitor monitor);
/**
* Get the state of the simulator for the given context.
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/utils/SimulatorUtils.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/utils/SimulatorUtils.java
index 4ccf46eb4..c58c09538 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/utils/SimulatorUtils.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/utils/SimulatorUtils.java
@@ -153,7 +153,7 @@ public final class SimulatorUtils {
callback.done(this, Status.OK_STATUS);
}
}
- });
+ }, monitor);
} else {
callback.setResult(Boolean.FALSE);
callback.done(null, Status.OK_STATUS);
@@ -193,7 +193,7 @@ public final class SimulatorUtils {
callback.done(null, Status.OK_STATUS);
}
}
- });
+ }, monitor);
} else {
callback.done(null, Status.OK_STATUS);
}

Back to the top