Skip to main content

Module TreeView

Module TreeView 

Source
Expand description

§TreeView Effect (CreateEffectForRequest)

Effect constructors for tree-view registration and disposal from the Cocoon extension host. Delegates to TreeViewProvider on MountainEnvironment and emits SkyEvent notifications to keep the Sky workbench’s ITreeView instances in sync.

§Methods handled

MethodDescription
$tree:register / tree.registerRegister a tree data provider for a view ID
tree.unregister / tree.disposeUnregister and dispose a tree data provider

After a successful registration, a TreeViewCreate event is emitted so Sky can wire the new data provider. After disposal, a TreeViewDispose event clears the stale provider reference.

Functions§

CreateEffect