org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess Java Examples

The following examples show how to use org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XtextEditor.java    From xtext-eclipse with Eclipse Public License 2.0 5 votes vote down vote up
@Override
protected IAnnotationAccess createAnnotationAccess() {
	return new DefaultMarkerAnnotationAccess() {
		@Override
		public int getLayer(Annotation annotation) {
			if (annotation.isMarkedDeleted()) {
				return IAnnotationAccessExtension.DEFAULT_LAYER;
			}
			return super.getLayer(annotation);
		}
	};
}
 
Example #2
Source File: AnnotationWithQuickFixesHover.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
	super(parentShell, statusFieldText);
	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
Example #3
Source File: AnnotationWithQuickFixesHover.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
	super(parentShell, toolBarManager);
	
	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
Example #4
Source File: AnnotationWithQuickFixesHover.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public AnnotationInformationControl(Shell parentShell, boolean resizeable) {
	super(parentShell, resizeable);
	
	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
Example #5
Source File: AbstractAnnotationHover.java    From typescript.java with MIT License 4 votes vote down vote up
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
	super(parentShell, statusFieldText);

	fMarkerAnnotationAccess = new DefaultMarkerAnnotationAccess();
	create();
}
 
Example #6
Source File: AbstractAnnotationHover.java    From typescript.java with MIT License 4 votes vote down vote up
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
	super(parentShell, toolBarManager);

	fMarkerAnnotationAccess = new DefaultMarkerAnnotationAccess();
	create();
}
 
Example #7
Source File: StyledTextXtextAdapter.java    From statecharts with Eclipse Public License 1.0 4 votes vote down vote up
protected SourceViewerDecorationSupport createSourceViewerDecorationSupport() {
	return new SourceViewerDecorationSupport(getXtextSourceviewer(), null, new DefaultMarkerAnnotationAccess(),
			getSharedColors());
}
 
Example #8
Source File: AbstractAnnotationHover.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
	super(parentShell, statusFieldText);

	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
Example #9
Source File: AbstractAnnotationHover.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
	super(parentShell, toolBarManager);

	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
Example #10
Source File: AbstractAnnotationHover.java    From goclipse with Eclipse Public License 1.0 4 votes vote down vote up
public AnnotationInformationControl(Shell parentShell, String statusFieldText) {
	super(parentShell, statusFieldText);

	fMarkerAnnotationAccess= new DefaultMarkerAnnotationAccess();
	create();
}
 
Example #11
Source File: AbstractAnnotationHover.java    From goclipse with Eclipse Public License 1.0 4 votes vote down vote up
public AnnotationInformationControl(Shell parentShell, ToolBarManager toolBarManager) {
	super(parentShell, toolBarManager);

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