org.eclipse.jdt.ui.text.folding
Class DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation
java.lang.Object
org.eclipse.jface.text.source.Annotation
org.eclipse.jface.text.source.projection.ProjectionAnnotation
org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation
- All Implemented Interfaces:
- IAnnotationPresentation
- Enclosing class:
- DefaultJavaFoldingStructureProvider
protected static final class DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation
- extends ProjectionAnnotation
A ProjectionAnnotation
for java code.
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation
public DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation(boolean isCollapsed,
IJavaElement element,
boolean isComment)
- Creates a new projection annotation.
- Parameters:
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved.