@@ -53,8 +53,6 @@ import {
5353 DockPanelRenderer as TheiaDockPanelRenderer ,
5454 TabBarRendererFactory ,
5555 ContextMenuRenderer ,
56- createTreeContainer ,
57- TreeWidget ,
5856} from '@theia/core/lib/browser' ;
5957import { MenuContribution } from '@theia/core/lib/common/menu' ;
6058import {
@@ -207,12 +205,8 @@ import { WorkspaceVariableContribution as TheiaWorkspaceVariableContribution } f
207205import { WorkspaceVariableContribution } from './theia/workspace/workspace-variable-contribution' ;
208206import { DebugConfigurationManager } from './theia/debug/debug-configuration-manager' ;
209207import { DebugConfigurationManager as TheiaDebugConfigurationManager } from '@theia/debug/lib/browser/debug-configuration-manager' ;
210- import { SearchInWorkspaceWidget as TheiaSearchInWorkspaceWidget } from '@theia/search-in-workspace/lib/browser/search-in-workspace-widget' ;
211- import { SearchInWorkspaceWidget } from './theia/search-in-workspace/search-in-workspace-widget' ;
212208import { SearchInWorkspaceFactory as TheiaSearchInWorkspaceFactory } from '@theia/search-in-workspace/lib/browser/search-in-workspace-factory' ;
213209import { SearchInWorkspaceFactory } from './theia/search-in-workspace/search-in-workspace-factory' ;
214- import { SearchInWorkspaceResultTreeWidget as TheiaSearchInWorkspaceResultTreeWidget } from '@theia/search-in-workspace/lib/browser/search-in-workspace-result-tree-widget' ;
215- import { SearchInWorkspaceResultTreeWidget } from './theia/search-in-workspace/search-in-workspace-result-tree-widget' ;
216210import { MonacoEditorProvider } from './theia/monaco/monaco-editor-provider' ;
217211import {
218212 MonacoEditorFactory ,
@@ -605,9 +599,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
605599 bind ( MonacoEditorProvider ) . toSelf ( ) . inSingletonScope ( ) ;
606600 rebind ( TheiaMonacoEditorProvider ) . toService ( MonacoEditorProvider ) ;
607601
608- bind ( SearchInWorkspaceWidget ) . toSelf ( ) ;
609- rebind ( TheiaSearchInWorkspaceWidget ) . toService ( SearchInWorkspaceWidget ) ;
610-
611602 // Disabled reference counter in the editor manager to avoid opening the same editor (with different opener options) multiple times.
612603 bind ( EditorManager ) . toSelf ( ) . inSingletonScope ( ) ;
613604 rebind ( TheiaEditorManager ) . toService ( EditorManager ) ;
@@ -617,17 +608,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
617608 . to ( SearchInWorkspaceFactory )
618609 . inSingletonScope ( ) ;
619610
620- rebind ( TheiaSearchInWorkspaceResultTreeWidget ) . toDynamicValue (
621- ( { container } ) => {
622- const childContainer = createTreeContainer ( container ) ;
623- childContainer . bind ( SearchInWorkspaceResultTreeWidget ) . toSelf ( ) ;
624- childContainer
625- . rebind ( TreeWidget )
626- . toService ( SearchInWorkspaceResultTreeWidget ) ;
627- return childContainer . get ( SearchInWorkspaceResultTreeWidget ) ;
628- }
629- ) ;
630-
631611 // Show a disconnected status bar, when the daemon is not available
632612 bind ( ApplicationConnectionStatusContribution ) . toSelf ( ) . inSingletonScope ( ) ;
633613 rebind ( TheiaApplicationConnectionStatusContribution ) . toService (
0 commit comments