public class XtextAnnotation
extends org.eclipse.jface.text.source.Annotation
implements org.eclipse.jface.text.source.IAnnotationPresentation
Constructor and Description |
---|
XtextAnnotation(java.lang.String type,
boolean isPersistent,
IXtextDocument document,
Issue issue,
boolean isQuickfixable) |
Modifier and Type | Method and Description |
---|---|
IXtextDocument |
getDocument() |
Issue |
getIssue() |
java.lang.String |
getIssueCode() |
java.lang.String[] |
getIssueData() |
int |
getLayer() |
org.eclipse.emf.common.util.URI |
getUriToProblem() |
boolean |
isQuickFixable() |
void |
paint(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.widgets.Canvas canvas,
org.eclipse.swt.graphics.Rectangle bounds) |
public XtextAnnotation(java.lang.String type, boolean isPersistent, IXtextDocument document, Issue issue, boolean isQuickfixable)
public java.lang.String getIssueCode()
public java.lang.String[] getIssueData()
public IXtextDocument getDocument()
public org.eclipse.emf.common.util.URI getUriToProblem()
public Issue getIssue()
public boolean isQuickFixable()
public int getLayer()
getLayer
in interface org.eclipse.jface.text.source.IAnnotationPresentation
public void paint(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.widgets.Canvas canvas, org.eclipse.swt.graphics.Rectangle bounds)
paint
in interface org.eclipse.jface.text.source.IAnnotationPresentation