Class Index | File Index

Classes


Class orion.textview.FoldingAnnotation

This object represents a folding annotation.
Defined in: </shared/eclipse/e4/orion/I201202282230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.textview.FoldingAnnotation(projectionModel, type, start, end, expandedHTML, expandedStyle, collapsedHTML, collapsedStyle)
Constructs a new folding annotation.
Method Summary
Method Attributes Method Name and Description
 
Collapses the annotation.
 
Expands the annotation.
Class Detail
orion.textview.FoldingAnnotation(projectionModel, type, start, end, expandedHTML, expandedStyle, collapsedHTML, collapsedStyle)
Constructs a new folding annotation.
Parameters:
{orion.textview.ProjectionTextModel} projectionModel
The projection text model.
{String} type
The annotation type.
{Number} start
The start offset of the annotation in the text model.
{Number} end
The end offset of the annotation in the text model.
{String} expandedHTML
The HTML displayed for this annotation when it is expanded.
{orion.textview.Style} expandedStyle
The style information for the annotation when it is expanded.
{String} collapsedHTML
The HTML displayed for this annotation when it is collapsed.
{orion.textview.Style} collapsedStyle
The style information for the annotation when it is collapsed.
Method Detail
collapse()
Collapses the annotation.

expand()
Expands the annotation.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Feb 28 2012 22:34:47 GMT-0500 (EST)