Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tm.te.runtime.services/src/org/eclipse/tm/te/runtime/services/interfaces/ITerminalService.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tm.te.runtime.services/src/org/eclipse/tm/te/runtime/services/interfaces/ITerminalService.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tm.te.runtime.services/src/org/eclipse/tm/te/runtime/services/interfaces/ITerminalService.java b/target_explorer/plugins/org.eclipse.tm.te.runtime.services/src/org/eclipse/tm/te/runtime/services/interfaces/ITerminalService.java
new file mode 100644
index 000000000..a9c8f5023
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tm.te.runtime.services/src/org/eclipse/tm/te/runtime/services/interfaces/ITerminalService.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Wind River Systems, Inc. and others. All rights reserved.
+ * This program and the accompanying materials are made available under the terms
+ * of the Eclipse Public License v1.0 which accompanies this distribution, and is
+ * available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tm.te.runtime.services.interfaces;
+
+import org.eclipse.tm.te.runtime.interfaces.callback.ICallback;
+import org.eclipse.tm.te.runtime.interfaces.properties.IPropertiesContainer;
+
+/**
+ * Terminals service.
+ * <p>
+ * Allow to use the embedded terminals view for remote input and output.
+ */
+public interface ITerminalService extends IService {
+
+ /**
+ * Opens the terminal console asynchronously and invokes the given callback if done.
+ *
+ * @param properties The terminal console properties. Must be not <code>null</code>.
+ * @param callback The target callback to invoke if finished or <code>null</code>.
+ */
+ public void openConsole(IPropertiesContainer properties, ICallback callback);
+
+ /**
+ * Close the terminal console asynchronously and invokes the given callback if done.
+ *
+ * @param properties The terminal console properties. Must be not <code>null</code>.
+ * @param callback The target callback to invoke if finished or <code>null</code>.
+ */
+ public void closeConsole(IPropertiesContainer properties, ICallback callback);
+}

Back to the top