JavaScript Development Tools
Release 3.2

org.eclipse.wst.jsdt.ui.text.folding
Class DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation

java.lang.Object
  extended by ProjectionAnnotation
      extended by org.eclipse.wst.jsdt.ui.text.folding.DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation
Enclosing class:
DefaultJavaFoldingStructureProvider

protected static final class DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation
extends ProjectionAnnotation

A DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation for JavaScript code.


Constructor Summary
DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation(boolean isCollapsed, IJavaScriptElement element, boolean isComment)
          Creates a new projection annotation.
 
Method Summary
 String toString()
           
 
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,
                                                                    IJavaScriptElement 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 JavaScript element this annotation refers to
isComment - true for a foldable comment, false for a foldable code element
Method Detail

toString

public String toString()

JavaScript Development Tools
Release 3.2

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