Package org.eclipse.ui.texteditor

Examples of org.eclipse.ui.texteditor.MarkerAnnotationPreferences$AccessChecker


   * annotation preferences.
   *
   * @return the navigation enablement actions
   */
  private IAction[] getActionsFromDescriptors() {
    MarkerAnnotationPreferences fMarkerAnnotationPreferences= EditorsPlugin.getDefault().getMarkerAnnotationPreferences();
    SortedSet containers= new TreeSet();

    Iterator iter= fMarkerAnnotationPreferences.getAnnotationPreferences().iterator();
    while (iter.hasNext()) {
      AnnotationPreference preference= (AnnotationPreference)iter.next();
      String key= preference.getShowInNextPrevDropdownToolbarActionKey();
      if (key != null && fStore.getBoolean(key)) {
        String preferenceKey= getPreferenceKey(preference);
View Full Code Here


   * @return the marker annotation preferences
   * @since 3.1
   */
  public synchronized MarkerAnnotationPreferences getMarkerAnnotationPreferences() {
    if (!isMarkerAnnotationPreferencesInitialized())
      new MarkerAnnotationPreferences().getAnnotationPreferences(); // force creation of shared preferences
    return fMarkerAnnotationPreferences;
  }
View Full Code Here

  private ComboViewer fDecorationViewer;
  private final Set fImageKeys= new HashSet();

  public AnnotationsConfigurationBlock(OverlayPreferenceStore store) {
    Assert.isNotNull(store);
    MarkerAnnotationPreferences markerAnnotationPreferences= EditorsPlugin.getDefault().getMarkerAnnotationPreferences();
    fStore= store;
    fStore.addKeys(createOverlayStoreKeys(markerAnnotationPreferences));
    fListModel= createAnnotationTypeListModel(markerAnnotationPreferences);
  }
View Full Code Here

    return fStore;
  }
 
  public LinkedModeConfigurationBlock(OverlayPreferenceStore store) {
    fStore= store;
    final MarkerAnnotationPreferences prefs= EditorsPlugin.getDefault().getMarkerAnnotationPreferences();
    getPreferenceStore().addKeys(createOverlayStoreKeys(prefs));
    fListModel= createAnnotationTypeListModel(prefs);
  }
View Full Code Here

 
  public QuickDiffConfigurationBlock(OverlayPreferenceStore store) {
    Assert.isNotNull(store);
    fStore= store;
    MarkerAnnotationPreferences markerAnnotationPreferences= EditorsPlugin.getDefault().getMarkerAnnotationPreferences();
    fStore.addKeys(createOverlayStoreKeys(markerAnnotationPreferences));
    fQuickDiffModel= createQuickDiffModel(markerAnnotationPreferences);
    fQuickDiffProviderListModel= createQuickDiffReferenceListModel();
  }
View Full Code Here

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

    List annotationPreferences = new MarkerAnnotationPreferences()
    .getAnnotationPreferences();
    Iterator e = annotationPreferences.iterator();
    while (e.hasNext())
      support.setAnnotationPreference((AnnotationPreference) e.next());
View Full Code Here

TOP

Related Classes of org.eclipse.ui.texteditor.MarkerAnnotationPreferences$AccessChecker

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.