本文整理汇总了Java中org.eclipse.debug.core.model.IStreamsProxy类的典型用法代码示例。如果您正苦于以下问题:Java IStreamsProxy类的具体用法?Java IStreamsProxy怎么用?Java IStreamsProxy使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IStreamsProxy类属于org.eclipse.debug.core.model包,在下文中一共展示了IStreamsProxy类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
@Override
public IStreamsProxy getStreamsProxy() {
return new IStreamsProxy() {
@Override
public void write(String input) throws IOException {
}
@Override
public IStreamMonitor getErrorStreamMonitor() {
return errorStream;
}
@Override
public IStreamMonitor getOutputStreamMonitor() {
return outputStream;
}
};
}
示例2: checkErrorMessage
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
/**
* 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 );
}
}
}
示例3: checkErrorMessage
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
protected 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);
}
}
}
示例4: createStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
@Override
protected IStreamsProxy createStreamsProxy() {
return super.createStreamsProxy();
}
示例5: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
@Override
public IStreamsProxy getStreamsProxy() {
return null;
}
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-eclipse,代码行数:5,代码来源:SocketListenMultiConnectorProcess.java
示例6: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
@Override
public IStreamsProxy getStreamsProxy() {
return null;
}
示例7: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
@Override
public IStreamsProxy getStreamsProxy() {
return streamProxy;
}
示例8: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
public IStreamsProxy getStreamsProxy() {
return null;
}
示例9: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
@Override
public IStreamsProxy getStreamsProxy() {
return streamProxy;
}
示例10: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
@Override
public IStreamsProxy getStreamsProxy() {
return this.proxy;
}
示例11: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
public IStreamsProxy getStreamsProxy() {
return streamsProxy;
}
示例12: createStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
/**
* PydevSpawnedInterpreterProcess handles the IO in a custom way, so we don't
* use the streams proxy.
*/
@Override
protected IStreamsProxy createStreamsProxy() {
// do nothing
return null;
}
示例13: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
@Override
public IStreamsProxy getStreamsProxy() {
return streamsProxy;
}
示例14: getStreamsProxy
import org.eclipse.debug.core.model.IStreamsProxy; //导入依赖的package包/类
@Override
public IStreamsProxy getStreamsProxy() {
return streamsProxy;
}