RestoreTreeView

Function RestoreTreeView 

Source
pub async fn RestoreTreeView(
    _ApplicationHandle: AppHandle<Wry>,
    _State: State<'_, Arc<ApplicationState>>,
    _ViewId: String,
    _StateValue: Value,
) -> Result<Value, String>
Expand description

Restores tree view state.

TODO: Implement RestoreTreeViewState method in the TreeViewProvider trait. This method should deserialize previously saved tree state and apply it to the tree view (expanded nodes, selected items, scroll position). Called when a tree view is recreated or the workspace is reloaded.