@@ -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 ,
@@ -605,9 +599,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
605
599
bind ( MonacoEditorProvider ) . toSelf ( ) . inSingletonScope ( ) ;
606
600
rebind ( TheiaMonacoEditorProvider ) . toService ( MonacoEditorProvider ) ;
607
601
608
- bind ( SearchInWorkspaceWidget ) . toSelf ( ) ;
609
- rebind ( TheiaSearchInWorkspaceWidget ) . toService ( SearchInWorkspaceWidget ) ;
610
-
611
602
// Disabled reference counter in the editor manager to avoid opening the same editor (with different opener options) multiple times.
612
603
bind ( EditorManager ) . toSelf ( ) . inSingletonScope ( ) ;
613
604
rebind ( TheiaEditorManager ) . toService ( EditorManager ) ;
@@ -617,17 +608,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
617
608
. to ( SearchInWorkspaceFactory )
618
609
. inSingletonScope ( ) ;
619
610
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
-
631
611
// Show a disconnected status bar, when the daemon is not available
632
612
bind ( ApplicationConnectionStatusContribution ) . toSelf ( ) . inSingletonScope ( ) ;
633
613
rebind ( TheiaApplicationConnectionStatusContribution ) . toService (
0 commit comments