Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-01-17 09:38:32 +0000
committerUwe Stieber2012-01-18 07:51:19 +0000
commit82c1acd94d0b5836898ae5d37bff8f6a6f1e8bbd (patch)
treee48fc45e397a1d7506790f7c52958ff44c2ff671 /target_explorer/plugins/org.eclipse.tcf.te.runtime.services
parenta23c575879a07779e14c26d512ceeba6bc8d1027 (diff)
downloadorg.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')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ITerminalService.java8
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);
}

Back to the top