@@ -21,7 +21,7 @@ import { ITelemetryService } from "vs/platform/telemetry/common/telemetry";
2121import { IThemeService } from "vs/platform/theme/common/themeService" ;
2222import { IWorkspaceContextService } from "vs/platform/workspace/common/workspace" ;
2323import * as extHostTypes from "vs/workbench/api/common/extHostTypes" ;
24- import { CustomTreeView , CustomTreeViewPanel } from "vs/workbench/browser/parts/views/customView" ;
24+ import { CustomTreeView , CustomTreeViewPane } from "vs/workbench/browser/parts/views/customView" ;
2525import { ViewContainerViewlet } from "vs/workbench/browser/parts/views/viewsViewlet" ;
2626import { Extensions as ViewletExtensions , ShowViewletAction , ViewletDescriptor , ViewletRegistry } from "vs/workbench/browser/viewlet" ;
2727import { Extensions as ActionExtensions , IWorkbenchActionRegistry } from "vs/workbench/common/actions" ;
@@ -120,11 +120,11 @@ export const coderApi = (serviceCollection: ServiceCollection): CoderApi => {
120120 }
121121
122122 Registry . as < ViewletRegistry > ( ViewletExtensions . Viewlets ) . registerViewlet (
123- new ViewletDescriptor ( CustomViewlet as any , id , containerName , cssClass , undefined , URI . parse ( icon ) ) ,
123+ ViewletDescriptor . create ( CustomViewlet as any , id , containerName , cssClass , undefined , URI . parse ( icon ) ) ,
124124 ) ;
125125
126126 Registry . as < IWorkbenchActionRegistry > ( ActionExtensions . WorkbenchActions ) . registerWorkbenchAction (
127- new SyncActionDescriptor ( OpenCustomViewletAction as any , id , localize ( "showViewlet" , "Show {0}" , containerName ) ) ,
127+ SyncActionDescriptor . create ( OpenCustomViewletAction as any , id , localize ( "showViewlet" , "Show {0}" , containerName ) ) ,
128128 "View: Show {0}" ,
129129 localize ( "view" , "View" ) ,
130130 ) ;
@@ -137,7 +137,7 @@ export const coderApi = (serviceCollection: ServiceCollection): CoderApi => {
137137 Registry . as < IViewsRegistry > ( ViewsExtensions . ViewsRegistry ) . registerViews ( [ {
138138 id : viewId ,
139139 name : viewName ,
140- ctorDescriptor : { ctor : CustomTreeViewPanel } ,
140+ ctorDescriptor : { ctor : CustomTreeViewPane } ,
141141 treeView : getService ( IInstantiationService ) . createInstance ( CustomTreeView as any , viewId , container ) ,
142142 } ] as ITreeViewDescriptor [ ] , container ) ;
143143 } ,
@@ -286,8 +286,8 @@ class StatusBarEntry implements vscode.StatusBarItem {
286286
287287 private _id : number ;
288288 private entry : IStatusBarEntry ;
289- private visible : boolean ;
290- private disposed : boolean ;
289+ private visible ? : boolean ;
290+ private disposed ? : boolean ;
291291 private statusId : string ;
292292 private statusName : string ;
293293 private accessor ?: IStatusbarEntryAccessor ;
0 commit comments