1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 13:05:22 +02:00

[258631][api] ITerminalService should be public API

This commit is contained in:
Martin Oberhuber 2008-12-19 14:38:02 +00:00
parent 24c87c49f8
commit cfb4e71bca
4 changed files with 12 additions and 55 deletions

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2006, 2008 Wind River Systems, Inc. * Copyright (c) 2006, 2008 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at

View file

@ -1,35 +0,0 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Martin Oberhuber (Wind River)">
<meta name="Copyright" content="Copyright (c) 2008 Wind River Systems, Inc. and others.">
<meta name="License" content="Made available under the terms of the Eclipse Public License v1.0.">
<title>Package-level Javadoc</title>
</head>
<body>
Application programming interface for the RSE Base Shell and Terminal Services.
<h2>
Package Specification</h2>
<p>
The RSE Terminal Services packages provides interfaces and basic utility classes
for shell or terminal connections. The classes in this package are especially designed
to be extendable by means of the <b>Decorator</b> pattern as well as the <b>Adapter</b>
pattern:
<ul>
<li><code><a href="ProcessBaseShell.html">ProcessBaseShell</a></code>
is a sample class implementing IBaseShell, that wraps an existing
<code><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Process.html">java.lang.Process</a></code>
object in the IBaseShell interface for easier consumption.</li>
</ul>
The classes and interfaces in this package are designed to have only minimal
dependency into Eclipse core APIs, such that Services can eventually be re-used in
environments outside Eclipse. Especially
<code><a href="IBaseShell.html">IBaseShell</a></code>, along with
<code><a href="ProcessBaseShell.html">ProcessBaseShell</a></code> and
<code><a href="BaseShellDecorator.html">BaseShellDecorator</a></code> are usable in
any environment, provided that mock objects are provided for Eclipse
IAdaptable and PlatformObject.
</p>
</body>
</html>

View file

@ -18,8 +18,6 @@ import java.io.OutputStream;
import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.PlatformObject; import org.eclipse.core.runtime.PlatformObject;
import org.eclipse.rse.internal.services.terminals.ProcessBaseShell;
/** /**
* A basic shell, representing the connection to some process that may be * A basic shell, representing the connection to some process that may be
* running local or remote. Clients may implement this interface. * running local or remote. Clients may implement this interface.
@ -28,17 +26,11 @@ import org.eclipse.rse.internal.services.terminals.ProcessBaseShell;
* {@link PlatformObject} for providing the {@link #getAdapter(Class)} * {@link PlatformObject} for providing the {@link #getAdapter(Class)}
* functionality. * functionality.
* *
* A simple implementation of IBaseShell is the {@link ProcessBaseShell}, which
* wraps a Java {@link java.lang.Process} object in the IBaseShell interface to
* provide more convenient access to it through the {{@link #isActive()} and {{@link #waitFor(long)}
* methods, as well as making it adaptable.
*
* The resulting IBaseShell can be decorated by clients with additional * The resulting IBaseShell can be decorated by clients with additional
* functionality easily by instantiating their subclassed variant of * functionality easily by instantiating their subclassed variant of
* {@link BaseShellDecorator}. * {@link BaseShellDecorator}.
* *
* @see java.lang.Process * @see java.lang.Process
* @see org.eclipse.rse.internal.services.terminals.ProcessBaseShell
* @see BaseShellDecorator * @see BaseShellDecorator
* @since org.eclipse.rse.services 3.1 * @since org.eclipse.rse.services 3.1
*/ */

View file

@ -2,12 +2,12 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: %pluginName Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.rse.subsystems.shells.telnet;singleton:=true Bundle-SymbolicName: org.eclipse.rse.subsystems.shells.telnet;singleton:=true
Bundle-Version: 1.1.0.qualifier Bundle-Version: 1.2.0.qualifier
Bundle-Activator: org.eclipse.rse.internal.subsystems.shells.telnet.Activator Bundle-Activator: org.eclipse.rse.internal.subsystems.shells.telnet.Activator
Bundle-Localization: plugin Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui, Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime, org.eclipse.core.runtime,
org.eclipse.rse.services;bundle-version="[3.0.0,4.0.0)", org.eclipse.rse.services;bundle-version="[3.1.0,4.0.0)",
org.eclipse.rse.connectorservice.telnet;bundle-version="[1.1.0,2.0.0)", org.eclipse.rse.connectorservice.telnet;bundle-version="[1.1.0,2.0.0)",
org.eclipse.rse.services.telnet;bundle-version="[1.0.0,2.0.0)", org.eclipse.rse.services.telnet;bundle-version="[1.0.0,2.0.0)",
org.eclipse.rse.subsystems.shells.core;bundle-version="[3.0.0,4.0.0)", org.eclipse.rse.subsystems.shells.core;bundle-version="[3.0.0,4.0.0)",