Java 类org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess 实例源码

项目:mesfavoris    文件:SpellcheckableMessageArea.java   
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();
    Iterator e = annotationPreferences.iterator();
    while (e.hasNext())
        support.setAnnotationPreference((AnnotationPreference) e.next());

    support.install(EditorsUI.getPreferenceStore());
    return support;
}
项目:bts    文件:XtextEditor.java   
@Override
protected IAnnotationAccess createAnnotationAccess() {
    return new DefaultMarkerAnnotationAccess() {
        @Override
        public int getLayer(Annotation annotation) {
            if (annotation.isMarkedDeleted()) {
                return IAnnotationAccessExtension.DEFAULT_LAYER;
            }
            return super.getLayer(annotation);
        }
    };
}
项目:PDFReporter-Studio    文件:StyledTextXtextAdapter.java   
protected void createXtextSourceViewer() {
    sourceviewer = new XtextSourceViewerEx(styledText, preferenceStoreAccess.getPreferenceStore());
    sourceviewer.configure(configuration);
    sourceviewer.setDocument(document, new AnnotationModel());
    SourceViewerDecorationSupport support = new SourceViewerDecorationSupport(sourceviewer, null,
            new DefaultMarkerAnnotationAccess(), getSharedColors());
    configureSourceViewerDecorationSupport(support);
}
项目:typescript.java    文件:AbstractAnnotationHover.java   
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
    super(parentShell, statusFieldText);

    fMarkerAnnotationAccess = new DefaultMarkerAnnotationAccess();
    create();
}
项目:typescript.java    文件:AbstractAnnotationHover.java   
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
    super(parentShell, toolBarManager);

    fMarkerAnnotationAccess = new DefaultMarkerAnnotationAccess();
    create();
}
项目:bts    文件:AnnotationWithQuickFixesHover.java   
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
    super(parentShell, statusFieldText);
    fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
    create();
}
项目:bts    文件:AnnotationWithQuickFixesHover.java   
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
    super(parentShell, toolBarManager);

    fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
    create();
}
项目:bts    文件:AnnotationWithQuickFixesHover.java   
public AnnotationInformationControl(Shell parentShell, boolean resizeable) {
    super(parentShell, resizeable);

    fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
    create();
}
项目:statecharts    文件:StyledTextXtextAdapter.java   
protected SourceViewerDecorationSupport createSourceViewerDecorationSupport() {
    return new SourceViewerDecorationSupport(getXtextSourceviewer(), null, new DefaultMarkerAnnotationAccess(),
            getSharedColors());
}
项目:Eclipse-Postfix-Code-Completion    文件:AbstractAnnotationHover.java   
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
    super(parentShell, statusFieldText);

    fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
    create();
}
项目:Eclipse-Postfix-Code-Completion    文件:AbstractAnnotationHover.java   
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
    super(parentShell, toolBarManager);

    fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
    create();
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:AbstractAnnotationHover.java   
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
    super(parentShell, statusFieldText);

    fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
    create();
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:AbstractAnnotationHover.java   
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
    super(parentShell, toolBarManager);

    fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
    create();
}
项目:goclipse    文件:AbstractAnnotationHover.java   
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
    super(parentShell, statusFieldText);

    fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
    create();
}
项目:goclipse    文件:AbstractAnnotationHover.java   
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
    super(parentShell, toolBarManager);

    fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
    create();
}