- Common ways to obtain AnnotationRulerColumn
private void myMethod () {AnnotationRulerColumn a =
JavaEditor javaEditor;new AnnotationRulerColumn(width, javaEditor.getAnnotationAccess())
- Smart code suggestions by Codota
}
@Override public void setModel(IAnnotationModel model) { if (fAllowSetModel && model != fModel) { if (fModel != null) fModel.removeAnnotationModelListener(fAnnotationListener); fModel= model; if (fModel != null) fModel.addAnnotationModelListener(fAnnotationListener); postRedraw(); } }
@Override public void setModel(IAnnotationModel model) { if (fAllowSetModel && model != fModel) { if (fModel != null) fModel.removeAnnotationModelListener(fInternalListener); fModel= model; if (fModel != null) fModel.addAnnotationModelListener(fInternalListener); postRedraw(); } }