|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess
Field Summary | |
protected MarkerAnnotationPreferences |
fMarkerAnnotationPreferences
The marker annotation preferences |
static String |
UNKNOWN
Constant for the unknown marker type |
Constructor Summary | |
DefaultMarkerAnnotationAccess(MarkerAnnotationPreferences markerAnnotationPreferences)
Returns a new default marker annotation access with the given preferences. |
Method Summary | |
Object |
getType(Annotation annotation)
Returns the type of the given annotation. |
boolean |
isMultiLine(Annotation annotation)
Returns whether the given annotation spans multiple lines. |
boolean |
isTemporary(Annotation annotation)
Returns whether the given annotation is temporary rather than persistent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String UNKNOWN
protected MarkerAnnotationPreferences fMarkerAnnotationPreferences
Constructor Detail |
public DefaultMarkerAnnotationAccess(MarkerAnnotationPreferences markerAnnotationPreferences)
markerAnnotationPreferences
- Method Detail |
public Object getType(Annotation annotation)
IAnnotationAccess
getType
in interface IAnnotationAccess
annotation
- the annotation
null
if it has none.public boolean isMultiLine(Annotation annotation)
IAnnotationAccess
isMultiLine
in interface IAnnotationAccess
annotation
- the annotation
true
if the annotation spans multiple lines,
false
otherwisepublic boolean isTemporary(Annotation annotation)
IAnnotationAccess
isTemporary
in interface IAnnotationAccess
annotation
- the annotation
true
if the annotation is temporary,
false
otherwise
|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |