我想在eclipse helios的java编辑器中将图像作为背景。
答案 0 :(得分:2)
不,你不能拥有Eclipse编辑部分的背景图片。
要更改背景颜色:
打开Windows>偏好>编辑>文字编辑器
浏览外观颜色选项
选择背景颜色选项,取消选中默认值,更改为黑色
选择背景颜色选项,取消选中默认值,更改为选择颜色
答案 1 :(得分:-1)
例如:此配置设置eclipse 4文本编辑器背景图像(路径" ./ eclipse-text-editor-background-image.png")来自文件夹" eclipse-kepler-standart /插件/ org.eclipse.platform_4.3.2.v20140221-1700 /图像" cat~ / eclipse-kepler-standart / plugins / org.eclipse.platform_4.3.2.v20140221-1700 / css / e4_basestyle.css
.MPart StyledText {
background-image: url(./eclipse-text-editor-background-image.png);
background-color: white;
color: black;
}
.MPartStack {
swt-unselected-tabs-color: #2D3340 #2D3340 #2D3340 100% 100%;
swt-outer-keyline-color: #FFFFFF;
swt-inner-keyline-color: #FFFFFF;
swt-tab-outline: #B6BCCC;
swt-shadow-visible: true;
swt-mru-visible: false;
}
.MPartStack.active {
swt-inner-keyline-color: #FFFFFF;
swt-tab-outline: #B6BCCC;
swt-shadow-visible: true;
}
#PerspectiveSwitcher {
eclipse-perspective-keyline-color: #AAB0BF #AAB0BF;
}
.MToolBar.Draggable {
handle-image: url(./dragHandle.png);
}
.MToolControl.Draggable {
handle-image: url(./dragHandle.png);
}
.DragFeedback {
background-color: #00FF00;
}
.ModifiedDragFeedback {
background-color: #A0A000;
}
CTabItem {
font: Terminus;
font-style: normal;
font-weight: normal;
}
CTabItem.busy {
font-style: italic;
}
CTabItem.highlighted {
font-weight: bold;
}