Eclipse JDT
Release 3.3

org.eclipse.jdt.ui.text.folding
Class DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation

java.lang.Object
  extended byorg.eclipse.jface.text.source.Annotation
      extended byorg.eclipse.jface.text.source.projection.ProjectionAnnotation
          extended byorg.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.


Field Summary
 
Fields inherited from class org.eclipse.jface.text.source.projection.ProjectionAnnotation
TYPE
 
Fields inherited from class org.eclipse.jface.text.source.Annotation
TYPE_UNKNOWN
 
Fields inherited from interface org.eclipse.jface.text.source.IAnnotationPresentation
DEFAULT_LAYER
 
Constructor Summary
DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation(boolean isCollapsed, IJavaElement element, boolean isComment)
          Creates a new projection annotation.
 
Method Summary
 String toString()
           
 
Methods inherited from class org.eclipse.jface.text.source.projection.ProjectionAnnotation
getLayer, isCollapsed, markCollapsed, markExpanded, paint, setRangeIndication
 
Methods inherited from class org.eclipse.jface.text.source.Annotation
getText, getType, isMarkedDeleted, isPersistent, markDeleted, setText, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 expanded
element - the java element this annotation refers to
isComment - true for a foldable comment, false for a foldable code element
Method Detail

toString

public String toString()

Eclipse JDT
Release 3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.