private Color toColor(OutputStreamType type) {
switch (type) {
case STD_OUT:
return getDisplay().getSystemColor(COLOR_LIST_FOREGROUND);
case STD_ERR:
return getDisplay().getSystemColor(COLOR_RED);
default:
throw new IllegalArgumentException("Unexpected output stream type.");
}
}
ConsoleOutputStreamProvider.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:n4js
作者:
评论列表
文章目录