diff options
author | Uwe Stieber | 2012-01-17 09:38:32 +0000 |
---|---|---|
committer | Uwe Stieber | 2012-01-18 07:51:19 +0000 |
commit | 82c1acd94d0b5836898ae5d37bff8f6a6f1e8bbd (patch) | |
tree | e48fc45e397a1d7506790f7c52958ff44c2ff671 /target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src | |
parent | a23c575879a07779e14c26d512ceeba6bc8d1027 (diff) | |
download | org.eclipse.tcf-82c1acd94d0b5836898ae5d37bff8f6a6f1e8bbd.tar.gz org.eclipse.tcf-82c1acd94d0b5836898ae5d37bff8f6a6f1e8bbd.tar.xz org.eclipse.tcf-82c1acd94d0b5836898ae5d37bff8f6a6f1e8bbd.zip |
Target Explorer: Add a way to terminate (disconnect) a terminal without closing the tab
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ITerminalService.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ITerminalService.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ITerminalService.java index 71285a516..5b5aaacf7 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ITerminalService.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ITerminalService.java @@ -34,4 +34,12 @@ public interface ITerminalService extends IService { * @param callback The target callback to invoke if finished or <code>null</code>. */ public void closeConsole(IPropertiesContainer properties, ICallback callback); + + /** + * Terminate (disconnect) the terminal asynchronously and invokes the given callback if done. + * + * @param properties The terminal properties. Must be not <code>null</code>. + * @param callback The target callback to invoke if finished or <code>null</code>. + */ + public void terminateConsole(IPropertiesContainer properties, ICallback callback); } |