mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 15:45:25 +02:00
Bug 161777: Rename HostShellAdapter -> HostShellProcessAdapter
This commit is contained in:
parent
b6eff0b6ac
commit
2d7ba36e38
2 changed files with 5 additions and 4 deletions
|
@ -44,7 +44,7 @@ import org.eclipse.rse.core.model.IHost;
|
|||
import org.eclipse.rse.core.subsystems.ISubSystem;
|
||||
import org.eclipse.rse.services.IService;
|
||||
import org.eclipse.rse.services.files.IFileService;
|
||||
import org.eclipse.rse.services.shells.HostShellAdapter;
|
||||
import org.eclipse.rse.services.shells.HostShellProcessAdapter;
|
||||
import org.eclipse.rse.services.shells.IHostShell;
|
||||
import org.eclipse.rse.services.shells.IShellService;
|
||||
import org.eclipse.rse.subsystems.files.core.servicesubsystem.IFileServiceSubSystem;
|
||||
|
@ -277,7 +277,7 @@ public class RemoteRunLaunchDelegate extends AbstractCLaunchDelegate {
|
|||
|
||||
Process p = null;
|
||||
try {
|
||||
p = new HostShellAdapter(hostShell);
|
||||
p = new HostShellProcessAdapter(hostShell);
|
||||
} catch (Exception e) {
|
||||
if (p != null) {
|
||||
p.destroy();
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Ewa Matejska (PalmSource) - initial version
|
||||
* Martin Oberhuber (Wind River) - adapt to IHostOutput API (bug 161773, 158312)
|
||||
* Martin Oberhuber (Wind River) - moved from org.eclipse.rse.remotecdt (bug 161777)
|
||||
* Martin Oberhuber (Wind River) - renamed from HostShellAdapter (bug 161777)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.services.shells;
|
||||
|
@ -28,7 +29,7 @@ import java.io.PipedOutputStream;
|
|||
* @author Ewa Matejska
|
||||
*
|
||||
*/
|
||||
public class HostShellAdapter extends Process implements
|
||||
public class HostShellProcessAdapter extends Process implements
|
||||
IHostShellOutputListener {
|
||||
|
||||
private IHostShell hostShell;
|
||||
|
@ -44,7 +45,7 @@ IHostShellOutputListener {
|
|||
* @param hostShell An instance of the IHostShell class.
|
||||
* @throws java.io.IOException
|
||||
*/
|
||||
public HostShellAdapter(IHostShell hostShell) throws java.io.IOException {
|
||||
public HostShellProcessAdapter(IHostShell hostShell) throws java.io.IOException {
|
||||
this.hostShell = hostShell;
|
||||
hostShellInput = new PipedOutputStream();
|
||||
hostShellError = new PipedOutputStream();
|
Loading…
Add table
Reference in a new issue