org.eclipse.debug.core.model.IStreamsProxy Java Examples

The following examples show how to use org.eclipse.debug.core.model.IStreamsProxy. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: StandardScriptVMRunner.java    From birt with Eclipse Public License 1.0 6 votes vote down vote up
/**
 * Checks and forwards an error from the specified process
 * 
 * @param process
 * @throws CoreException
 */
private void checkErrorMessage( IProcess process ) throws CoreException
{
	IStreamsProxy streamsProxy = process.getStreamsProxy( );
	if ( streamsProxy != null )
	{
		String errorMessage = streamsProxy.getErrorStreamMonitor( )
				.getContents( );
		if ( errorMessage.length( ) == 0 )
		{
			errorMessage = streamsProxy.getOutputStreamMonitor( )
					.getContents( );
		}
		if ( errorMessage.length( ) != 0 )
		{
			abort( errorMessage,
					null,
					IJavaLaunchConfigurationConstants.ERR_VM_LAUNCH_ERROR );
		}
	}
}
 
Example #2
Source File: ProcessManager.java    From xds-ide with Eclipse Public License 1.0 5 votes vote down vote up
public static IProcess newProcess(ILaunch launch, Process process, String label, Map<String, String> attributes) {
	return new RuntimeProcess(launch, process, label, attributes){
		protected IStreamsProxy createStreamsProxy() {
			return null;
		}
	};
}
 
Example #3
Source File: GenerateUml2Solidity.java    From uml2solidity with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public IStreamsProxy getStreamsProxy() {
	return null;
}
 
Example #4
Source File: TLCModelLaunchDelegate.java    From tlaplus with MIT License 4 votes vote down vote up
public IStreamsProxy getStreamsProxy() {
	return null;
}
 
Example #5
Source File: VoiceXMLBrowserProcess.java    From JVoiceXML with GNU Lesser General Public License v2.1 4 votes vote down vote up
public IStreamsProxy getStreamsProxy() {
    // TODO Auto-generated method stub
    return null;
}
 
Example #6
Source File: RuntimeSessionTrackerTest.java    From txtUML with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public IStreamsProxy getStreamsProxy() {
	return null;
}
 
Example #7
Source File: PydevSpawnedInterpreterProcess.java    From Pydev with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * PydevSpawnedInterpreterProcess handles the IO in a custom way, so we don't
 * use the streams proxy.
 */
@Override
protected IStreamsProxy createStreamsProxy() {
    // do nothing
    return null;
}