Class javascript.JSOutliner
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/javascriptPlugin.js.src.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()