@@ -53,8 +53,6 @@ import {
53
53
DockPanelRenderer as TheiaDockPanelRenderer ,
54
54
TabBarRendererFactory ,
55
55
ContextMenuRenderer ,
56
- createTreeContainer ,
57
- TreeWidget ,
58
56
} from '@theia/core/lib/browser' ;
59
57
import { MenuContribution } from '@theia/core/lib/common/menu' ;
60
58
import {
@@ -207,12 +205,8 @@ import { WorkspaceVariableContribution as TheiaWorkspaceVariableContribution } f
207
205
import { WorkspaceVariableContribution } from './theia/workspace/workspace-variable-contribution' ;
208
206
import { DebugConfigurationManager } from './theia/debug/debug-configuration-manager' ;
209
207
import { 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' ;
212
208
import { SearchInWorkspaceFactory as TheiaSearchInWorkspaceFactory } from '@theia/search-in-workspace/lib/browser/search-in-workspace-factory' ;
213
209
import { 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' ;
216
210
import { MonacoEditorProvider } from './theia/monaco/monaco-editor-provider' ;
217
211
import {
218
212
MonacoEditorFactory ,
@@ -604,9 +598,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
604
598
bind ( MonacoEditorProvider ) . toSelf ( ) . inSingletonScope ( ) ;
605
599
rebind ( TheiaMonacoEditorProvider ) . toService ( MonacoEditorProvider ) ;
606
600
607
- bind ( SearchInWorkspaceWidget ) . toSelf ( ) ;
608
- rebind ( TheiaSearchInWorkspaceWidget ) . toService ( SearchInWorkspaceWidget ) ;
609
-
610
601
// Disabled reference counter in the editor manager to avoid opening the same editor (with different opener options) multiple times.
611
602
bind ( EditorManager ) . toSelf ( ) . inSingletonScope ( ) ;
612
603
rebind ( TheiaEditorManager ) . toService ( EditorManager ) ;
@@ -616,17 +607,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
616
607
. to ( SearchInWorkspaceFactory )
617
608
. inSingletonScope ( ) ;
618
609
619
- rebind ( TheiaSearchInWorkspaceResultTreeWidget ) . toDynamicValue (
620
- ( { container } ) => {
621
- const childContainer = createTreeContainer ( container ) ;
622
- childContainer . bind ( SearchInWorkspaceResultTreeWidget ) . toSelf ( ) ;
623
- childContainer
624
- . rebind ( TreeWidget )
625
- . toService ( SearchInWorkspaceResultTreeWidget ) ;
626
- return childContainer . get ( SearchInWorkspaceResultTreeWidget ) ;
627
- }
628
- ) ;
629
-
630
610
// Show a disconnected status bar, when the daemon is not available
631
611
bind ( ApplicationConnectionStatusContribution ) . toSelf ( ) . inSingletonScope ( ) ;
632
612
rebind ( TheiaApplicationConnectionStatusContribution ) . toService (
0 commit comments