protected static final class DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation extends ProjectionAnnotation
ProjectionAnnotation
for java code.TYPE
TYPE_UNKNOWN
DEFAULT_LAYER
Constructor and Description |
---|
JavaProjectionAnnotation(boolean isCollapsed,
IJavaElement element,
boolean isComment)
Creates a new projection annotation.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getLayer, isCollapsed, markCollapsed, markExpanded, paint, setRangeIndication
getText, getType, isMarkedDeleted, isPersistent, markDeleted, setText, setType
public JavaProjectionAnnotation(boolean isCollapsed, IJavaElement element, boolean isComment)
isCollapsed
- true
to set the initial state to collapsed,
false
to set it to expandedelement
- the java element this annotation refers toisComment
- true
for a foldable comment, false
for a
foldable code element
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.