registerTreeDataProvider

fun <T : JsAny?> registerTreeDataProvider(viewId: String, treeDataProvider: TreeDataProvider<T>): Disposable(source)

Register a TreeDataProvider for the view contributed using the extension point views. This will allow you to contribute data to the TreeView and update if the data changes.

Note: To get access to the TreeView and perform operations on it, use createTreeView.

Parameters

viewId

Id of the view contributed using the extension point views.

treeDataProvider

A TreeDataProvider that provides tree data for the view