KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ant > internal > ui > launchConfigurations > RemoteAntRuntimeProcess


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.ant.internal.ui.launchConfigurations;
13
14 import java.util.Map JavaDoc;
15 import org.eclipse.debug.core.ILaunch;
16 import org.eclipse.debug.core.model.IStreamsProxy;
17 import org.eclipse.debug.core.model.RuntimeProcess;
18
19 public class RemoteAntRuntimeProcess extends RuntimeProcess {
20
21     /**
22      * Constructs a RuntimeProcess on the given system process
23      * with the given name, adding this process to the given
24      * launch.
25      * Sets the streams proxy to an AntStreamsProxy if output is captured.
26      */

27     public RemoteAntRuntimeProcess(ILaunch launch, Process JavaDoc process, String JavaDoc name, Map JavaDoc attributes) {
28         super(launch, process, name, attributes);
29     }
30     
31     /* (non-Javadoc)
32      * @see org.eclipse.debug.core.model.RuntimeProcess#createStreamsProxy()
33      */

34     protected IStreamsProxy createStreamsProxy() {
35         return new AntStreamsProxy();
36     }
37 }
38
Popular Tags