Class javascript.JSOutliner
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.javascript/web/javascript/outliner.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
javascript.JSOutliner(astManager)
creates a new instance of the outliner
|
Method Attributes | Method Name and Description |
---|---|
computeOutline(editorContext, options)
callback from the
orion.edit.outliner service to create
an outline |
|
Class Detail
javascript.JSOutliner(astManager)
creates a new instance of the outliner
- Parameters:
- {javascript.ASTManager} astManager
Method Detail
{orion.Promise}
computeOutline(editorContext, options)
callback from the
orion.edit.outliner
service to create
an outline
- Parameters:
- {orion.edit.EditorContext} editorContext
- The editor context
- {Object} options
- The options
- Returns:
- {orion.Promise} to compute the outline
getVisitor()