Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Eclipse中为VerticalRuler的AnnotationRulerColumn行着色_Eclipse_Eclipse Plugin_Eclipse Rcp - Fatal编程技术网

在Eclipse中为VerticalRuler的AnnotationRulerColumn行着色

在Eclipse中为VerticalRuler的AnnotationRulerColumn行着色,eclipse,eclipse-plugin,eclipse-rcp,Eclipse,Eclipse Plugin,Eclipse Rcp,我试图在Eclipse中更改垂直标尺的AnnotationRulerColumn的背景色。到目前为止,我只能在更改边界后分别更改整个列和区域的颜色。有没有办法将列划分成行来表示源代码行 Color co = new Color(display,2,3,2); Color co2 = new Color(display,2,3,255); Rectangle rect = new Rectangle(0,0,25,200); column1.getControl().setBounds(rect)

我试图在Eclipse中更改垂直标尺的AnnotationRulerColumn的背景色。到目前为止,我只能在更改边界后分别更改整个列和区域的颜色。有没有办法将列划分成行来表示源代码行

Color co = new Color(display,2,3,2);
Color co2 = new Color(display,2,3,255);
Rectangle rect = new Rectangle(0,0,25,200);
column1.getControl().setBounds(rect);
column1.getControl().setBackground(co);
column2.getControl().setBackground(co2);
相关主题: