Package org.eclipse.ui.texteditor

Examples of org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess


  /**
   * Initializes the given line number ruler column from the preference store.
   */
  private void initialize() {
    if (fDelegate == null)
      fDelegate= new AnnotationRulerColumn(VERTICAL_RULER_WIDTH, new DefaultMarkerAnnotationAccess());
    IPreferenceStore store= getPreferenceStore();
    if (store != null && fDelegate instanceof AnnotationRulerColumn) {
      final AnnotationRulerColumn column= (AnnotationRulerColumn) fDelegate;
      // initial set up
      for (Iterator iter2= fAnnotationPreferences.getAnnotationPreferences().iterator(); iter2.hasNext();) {
View Full Code Here


    return CommonUtils.getService(PlatformUI.getWorkbench(), IHandlerService.class);
  }

  private SourceViewerDecorationSupport configureAnnotationPreferences() {
    ISharedTextColors textColors = EditorsUI.getSharedTextColors();
    IAnnotationAccess annotationAccess = new DefaultMarkerAnnotationAccess();
    final SourceViewerDecorationSupport support = new SourceViewerDecorationSupport(
        sourceViewer, null, annotationAccess, textColors);

    List annotationPreferences = new MarkerAnnotationPreferences()
    .getAnnotationPreferences();
View Full Code Here

TOP

Related Classes of org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess

Copyright © 2018 www.massapicom. 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.