Examples of OverviewRuler


Examples of org.eclipse.jface.text.source.OverviewRuler

    ISharedTextColors sharedColors= EditorsPlugin.getDefault().getSharedTextColors();
    return sharedColors;
  }

  protected IOverviewRuler createOverviewRuler(ISharedTextColors sharedColors) {
    IOverviewRuler ruler= new OverviewRuler(getAnnotationAccess(), VERTICAL_RULER_WIDTH, sharedColors);
    Iterator e= fAnnotationPreferences.getAnnotationPreferences().iterator();
    while (e.hasNext()) {
      AnnotationPreference preference= (AnnotationPreference) e.next();
      if (preference.contributesToHeader())
        ruler.addHeaderAnnotationType(preference.getAnnotationType());
    }
    return ruler;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.