@@ -17,19 +17,19 @@ use crate::Handler::tree_view as TreeViewHandler;
1717
1818#[ async_trait]
1919impl TreeViewProvider for MountainEnvironment {
20- // Handles registering a new tree data provider by delegating to the
20+ // Handle registering a new tree data provider by delegating to the
2121 // `TreeViewHandler`.
2222 async fn RegisterTreeDataProvider ( & self , ViewId : String , Options : TreeViewOptionsDto ) -> Result < ( ) , CommonError > {
2323 TreeViewHandler :: RegisterTreeDataProviderLogic ( & self . ApplicationHandle , ViewId , Options ) . await
2424 }
2525
26- // Handles unregistering a tree data provider by delegating to the
26+ // Handle unregistering a tree data provider by delegating to the
2727 // `TreeViewHandler`.
2828 async fn UnregisterTreeDataProvider ( & self , ViewId : String ) -> Result < ( ) , CommonError > {
2929 TreeViewHandler :: UnregisterTreeDataProviderLogic ( & self . ApplicationHandle , ViewId ) . await
3030 }
3131
32- // Handles revealing a tree item by delegating to the `TreeViewHandler`.
32+ // Handle revealing a tree item by delegating to the `TreeViewHandler`.
3333 async fn RevealTreeItem (
3434 & self ,
3535 ViewId : String ,
@@ -40,20 +40,20 @@ impl TreeViewProvider for MountainEnvironment {
4040 TreeViewHandler :: RevealTreeItemLogic ( & self . ApplicationHandle , ViewId , Item , ParentChain , Options ) . await
4141 }
4242
43- // Handles refreshing a tree view by delegating to the `TreeViewHandler`.
43+ // Handle refreshing a tree view by delegating to the `TreeViewHandler`.
4444 async fn RefreshTreeView ( & self , ViewId : String , ItemsToRefresh : Option < Value > ) -> Result < ( ) , CommonError > {
4545 TreeViewHandler :: RefreshTreeViewLogic ( & self . ApplicationHandle , ViewId , ItemsToRefresh ) . await
4646 }
4747
48- // Handles setting a tree view's message by delegating to the
48+ // Handle setting a tree view's message by delegating to the
4949 // `TreeViewHandler`.
5050 async fn SetTreeViewMessage ( & self , ViewId : String , Message : Value ) -> Result < ( ) , CommonError > {
5151 // A real implementation would delegate to a handler.
5252 // For now, this remains a no-op stub.
5353 Ok ( ( ) )
5454 }
5555
56- // Handles setting a tree view's title by delegating to the
56+ // Handle setting a tree view's title by delegating to the
5757 // `TreeViewHandler`.
5858 async fn SetTreeViewTitle (
5959 & self ,
@@ -65,7 +65,7 @@ impl TreeViewProvider for MountainEnvironment {
6565 Ok ( ( ) )
6666 }
6767
68- // Handles setting a tree view's badge by delegating to the
68+ // Handle setting a tree view's badge by delegating to the
6969 // `TreeViewHandler`.
7070 async fn SetTreeViewBadge ( & self , ViewId : String , Badge : Option < TreeViewBadgeDto > ) -> Result < ( ) , CommonError > {
7171 // A real implementation would delegate to a handler.
0 commit comments