0

I'm pretty new to Eclipse plugins and I want to create a VerticalRuler, I found this picture of Subeclipse which inspired me to add information to a specific code line. diff of subeclipse Right now I have no Clue where I would start adding a column like that. My first try was to create a column within my editor-plugin, but nothing happened. I'm happy about every hint that helps me start. cheers

CompositeRuler ruler2;    
ruler2= new CompositeRuler();
ruler2.addDecorator(0, new AnnotationRulerColumn(100));
4

1 に答える 1

2

何をしようとしているのかわかりませんが、新しいエディターを作成する場合は、createVerticalRuler(...)メソッドを上書きできます。ルーラー列の拡張ポイントもあります。ここを参照してください。

于 2012-06-12T13:25:36.690 に答える