org.eclipse.mylar.internal.tasks.ui.editors
Class TaskFormPage.ErrorAnnotation
java.lang.Object
org.eclipse.jface.text.source.Annotation
org.eclipse.mylar.internal.tasks.ui.editors.TaskFormPage.ErrorAnnotation
- Enclosing class:
- TaskFormPage
static class TaskFormPage.ErrorAnnotation
- extends org.eclipse.jface.text.source.Annotation
Field Summary |
static java.lang.String |
ERROR_TYPE
|
private int |
line
|
private org.eclipse.core.resources.IMarker |
marker
|
private org.eclipse.jface.text.Position |
position
|
private java.lang.String |
text
|
Fields inherited from class org.eclipse.jface.text.source.Annotation |
TYPE_UNKNOWN |
Methods inherited from class org.eclipse.jface.text.source.Annotation |
isMarkedDeleted, isPersistent, markDeleted, setText, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_TYPE
public static java.lang.String ERROR_TYPE
marker
private org.eclipse.core.resources.IMarker marker
text
private java.lang.String text
line
private int line
position
private org.eclipse.jface.text.Position position
TaskFormPage.ErrorAnnotation
public TaskFormPage.ErrorAnnotation(org.eclipse.core.resources.IMarker marker)
TaskFormPage.ErrorAnnotation
public TaskFormPage.ErrorAnnotation(int line,
java.lang.String text)
getMarker
public org.eclipse.core.resources.IMarker getMarker()
getLine
public int getLine()
getText
public java.lang.String getText()
- Overrides:
getText
in class org.eclipse.jface.text.source.Annotation
getImage
public org.eclipse.swt.graphics.Image getImage()
getLayer
public int getLayer()
getType
public java.lang.String getType()
- Overrides:
getType
in class org.eclipse.jface.text.source.Annotation
getPosition
public org.eclipse.jface.text.Position getPosition()
setPosition
public void setPosition(org.eclipse.jface.text.Position position)