@@ -120,8 +120,8 @@ import { OutputChannelRegistryMainImpl as TheiaOutputChannelRegistryMainImpl, Ou
120
120
import { ExecutableService , ExecutableServicePath } from '../common/protocol' ;
121
121
import { MonacoTextModelService as TheiaMonacoTextModelService } from '@theia/monaco/lib/browser/monaco-text-model-service' ;
122
122
import { MonacoTextModelService } from './theia/monaco/monaco-text-model-service' ;
123
- import { OutputServiceImpl } from './output -service-impl' ;
124
- import { OutputServicePath , OutputService } from '../common/protocol/output -service' ;
123
+ import { ResponseServiceImpl } from './response -service-impl' ;
124
+ import { ResponseServicePath , ResponseService } from '../common/protocol/response -service' ;
125
125
import { NotificationCenter } from './notification-center' ;
126
126
import { NotificationServicePath , NotificationServiceServer } from '../common/protocol' ;
127
127
import { About } from './contributions/about' ;
@@ -159,6 +159,10 @@ import { MonacoEditorProvider as TheiaMonacoEditorProvider } from '@theia/monaco
159
159
import { DebugEditorModel } from './theia/debug/debug-editor-model' ;
160
160
import { DebugEditorModelFactory } from '@theia/debug/lib/browser/editor/debug-editor-model' ;
161
161
import { StorageWrapper } from './storage-wrapper' ;
162
+ import { NotificationManager } from './theia/messages/notifications-manager' ;
163
+ import { NotificationManager as TheiaNotificationManager } from '@theia/messages/lib/browser/notifications-manager' ;
164
+ import { NotificationsRenderer as TheiaNotificationsRenderer } from '@theia/messages/lib/browser/notifications-renderer' ;
165
+ import { NotificationsRenderer } from './theia/messages/notifications-renderer' ;
162
166
163
167
const ElementQueries = require ( 'css-element-queries/src/ElementQueries' ) ;
164
168
@@ -383,11 +387,11 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
383
387
Contribution . configure ( bind , ArchiveSketch ) ;
384
388
Contribution . configure ( bind , AddZipLibrary ) ;
385
389
386
- bind ( OutputServiceImpl ) . toSelf ( ) . inSingletonScope ( ) . onActivation ( ( { container } , outputService ) => {
387
- WebSocketConnectionProvider . createProxy ( container , OutputServicePath , outputService ) ;
388
- return outputService ;
390
+ bind ( ResponseServiceImpl ) . toSelf ( ) . inSingletonScope ( ) . onActivation ( ( { container } , responseService ) => {
391
+ WebSocketConnectionProvider . createProxy ( container , ResponseServicePath , responseService ) ;
392
+ return responseService ;
389
393
} ) ;
390
- bind ( OutputService ) . toService ( OutputServiceImpl ) ;
394
+ bind ( ResponseService ) . toService ( ResponseServiceImpl ) ;
391
395
392
396
bind ( NotificationCenter ) . toSelf ( ) . inSingletonScope ( ) ;
393
397
bind ( FrontendApplicationContribution ) . toService ( NotificationCenter ) ;
@@ -439,4 +443,9 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
439
443
440
444
bind ( StorageWrapper ) . toSelf ( ) . inSingletonScope ( ) ;
441
445
bind ( CommandContribution ) . toService ( StorageWrapper ) ;
446
+
447
+ bind ( NotificationManager ) . toSelf ( ) . inSingletonScope ( ) ;
448
+ rebind ( TheiaNotificationManager ) . toService ( NotificationManager ) ;
449
+ bind ( NotificationsRenderer ) . toSelf ( ) . inSingletonScope ( ) ;
450
+ rebind ( TheiaNotificationsRenderer ) . toService ( NotificationsRenderer ) ;
442
451
} ) ;
0 commit comments