在Eclipse中为VerticalRuler的AnnotationRulerColumn行着色
我试图在Eclipse中更改垂直标尺的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)
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);
相关主题: