protected static final class DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation
extends ProjectionAnnotation
ProjectionAnnotation
for JavaScript code.Constructor and Description |
---|
JavaProjectionAnnotation(boolean isCollapsed,
IJavaScriptElement element,
boolean isComment)
Creates a new projection annotation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public JavaProjectionAnnotation(boolean isCollapsed, IJavaScriptElement element, boolean isComment)
isCollapsed
- true
to set the initial state to collapsed,
false
to set it to expandedelement
- the JavaScript element this annotation refers toisComment
- true
for a foldable comment, false
for a
foldable code elementCopyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.