org.eclipse.jface.text.source.IAnnotationAccess#org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess源码实例Demo

下面列出了org.eclipse.jface.text.source.IAnnotationAccess#org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: xtext-eclipse   文件: 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);
		}
	};
}
 
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
	super(parentShell, statusFieldText);
	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
	super(parentShell, toolBarManager);
	
	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
public AnnotationInformationControl(Shell parentShell, boolean resizeable) {
	super(parentShell, resizeable);
	
	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
源代码5 项目: typescript.java   文件: AbstractAnnotationHover.java
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
	super(parentShell, statusFieldText);

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

	fMarkerAnnotationAccess = new DefaultMarkerAnnotationAccess();
	create();
}
 
源代码7 项目: statecharts   文件: StyledTextXtextAdapter.java
protected SourceViewerDecorationSupport createSourceViewerDecorationSupport() {
	return new SourceViewerDecorationSupport(getXtextSourceviewer(), null, new DefaultMarkerAnnotationAccess(),
			getSharedColors());
}
 
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
	super(parentShell, statusFieldText);

	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
	super(parentShell, toolBarManager);

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

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

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