@@ -23,7 +23,7 @@ import { DefaultPanelDndController } from 'vs/base/browser/ui/splitview/panelvie
2323import { WorkbenchTree , IListService } from 'vs/platform/list/browser/listService' ;
2424import { IWorkbenchThemeService , IFileIconTheme } from 'vs/workbench/services/themes/common/workbenchThemeService' ;
2525import { ITreeConfiguration , ITreeOptions } from 'vs/base/parts/tree/browser/tree' ;
26- import { Event , Emitter } from 'vs/base/common/event' ;
26+ import { Event } from 'vs/base/common/event' ;
2727import { IConfigurationService } from 'vs/platform/configuration/common/configuration' ;
2828import { IWorkbenchLayoutService } from 'vs/workbench/services/layout/browser/layoutService' ;
2929import { localize } from 'vs/nls' ;
@@ -330,10 +330,9 @@ export abstract class FilterViewContainerViewlet extends ViewContainerViewlet {
330330 private allViews : Map < string , Map < string , IViewDescriptor > > = new Map ( ) ;
331331 private filterValue : string | undefined ;
332332
333- protected onDidChangeFilterValue : Emitter < string > = new Emitter ( ) ;
334-
335333 constructor (
336334 viewletId : string ,
335+ onDidChangeFilterValue : Event < string > ,
337336 @IConfigurationService configurationService : IConfigurationService ,
338337 @IWorkbenchLayoutService layoutService : IWorkbenchLayoutService ,
339338 @ITelemetryService telemetryService : ITelemetryService ,
@@ -345,7 +344,7 @@ export abstract class FilterViewContainerViewlet extends ViewContainerViewlet {
345344 @IWorkspaceContextService contextService : IWorkspaceContextService
346345 ) {
347346 super ( viewletId , `${ viewletId } .state` , false , configurationService , layoutService , telemetryService , storageService , instantiationService , themeService , contextMenuService , extensionService , contextService ) ;
348- this . _register ( this . onDidChangeFilterValue . event ( newFilterValue => {
347+ this . _register ( onDidChangeFilterValue ( newFilterValue => {
349348 this . filterValue = newFilterValue ;
350349 this . onFilterChanged ( newFilterValue ) ;
351350 } ) ) ;
0 commit comments