public class XtextAnnotation
extends org.eclipse.jface.text.source.Annotation
implements org.eclipse.jface.text.source.IAnnotationPresentation
| Constructor and Description |
|---|
XtextAnnotation(String type,
boolean isPersistent,
IXtextDocument document,
Issue issue,
boolean isQuickfixable) |
| Modifier and Type | Method and Description |
|---|---|
IXtextDocument |
getDocument() |
Issue |
getIssue() |
String |
getIssueCode() |
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(String type, boolean isPersistent, IXtextDocument document, Issue issue, boolean isQuickfixable)
public String getIssueCode()
public 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.IAnnotationPresentationpublic 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.IAnnotationPresentationCopyright © 2016. All Rights Reserved.