diff options
author | Eugene Tarassov | 2012-11-06 19:18:56 +0000 |
---|---|---|
committer | Eugene Tarassov | 2012-11-06 19:18:56 +0000 |
commit | 39745f0c118fe15ea1c49522d2623eca46b67a4f (patch) | |
tree | 32bfd2ebec3c4902e0833ee7136ec4a9292af6d6 | |
parent | 5947a3495fe7c38cc8ef19f4c17b08561b78584f (diff) | |
download | org.eclipse.tcf-39745f0c118fe15ea1c49522d2623eca46b67a4f.tar.gz org.eclipse.tcf-39745f0c118fe15ea1c49522d2623eca46b67a4f.tar.xz org.eclipse.tcf-39745f0c118fe15ea1c49522d2623eca46b67a4f.zip |
TCF Debugger: added backward-compatible launchTCF() method
-rw-r--r-- | plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java index 4e9b9cfbc..14791fa66 100644 --- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java +++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java @@ -1274,6 +1274,17 @@ public class TCFLaunch extends Launch { * @param mode - on of launch mode constants defined in ILaunchManager. * @param id - TCF peer ID. */ + public void launchTCF(String mode, String id) { + launchTCF(mode, id, null, null); + } + + /** + * Activate TCF launch: open communication channel and perform all necessary launch steps. + * @param mode - on of launch mode constants defined in ILaunchManager. + * @param id - TCF peer ID. + * @param task - TCF task that is waiting until the launching is done, can be null + * @param monitor - launching progress monitor, can be null + */ public void launchTCF(String mode, String id, TCFTask<Boolean> task, IProgressMonitor monitor) { assert Protocol.isDispatchThread(); this.mode = mode; |