@@ -23,7 +23,7 @@ import {
23
23
SketchesService ,
24
24
SketchesServicePath ,
25
25
} from '../common/protocol/sketches-service' ;
26
- import { SketchesServiceClientImpl } from '../common/protocol /sketches-service-client-impl' ;
26
+ import { SketchesServiceClientImpl } from './sketches-service-client-impl' ;
27
27
import { CoreService , CoreServicePath } from '../common/protocol/core-service' ;
28
28
import { BoardsListWidget } from './boards/boards-list-widget' ;
29
29
import { BoardsListWidgetFrontendContribution } from './boards/boards-widget-frontend-contribution' ;
@@ -344,6 +344,9 @@ import { DebugViewModel } from '@theia/debug/lib/browser/view/debug-view-model';
344
344
import { DebugSessionWidget } from '@theia/debug/lib/browser/view/debug-session-widget' ;
345
345
import { DebugConfigurationWidget } from '@theia/debug/lib/browser/view/debug-configuration-widget' ;
346
346
import { ConfigServiceClient } from './config/config-service-client' ;
347
+ import { ValidateSketch } from './contributions/validate-sketch' ;
348
+ import { RenameCloudSketch } from './contributions/rename-cloud-sketch' ;
349
+ import { CreateFeatures } from './create/create-features' ;
347
350
348
351
export default new ContainerModule ( ( bind , unbind , isBound , rebind ) => {
349
352
// Commands and toolbar items
@@ -729,6 +732,8 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
729
732
Contribution . configure ( bind , UpdateIndexes ) ;
730
733
Contribution . configure ( bind , InterfaceScale ) ;
731
734
Contribution . configure ( bind , NewCloudSketch ) ;
735
+ Contribution . configure ( bind , ValidateSketch ) ;
736
+ Contribution . configure ( bind , RenameCloudSketch ) ;
732
737
733
738
bindContributionProvider ( bind , StartupTaskProvider ) ;
734
739
bind ( StartupTaskProvider ) . toService ( BoardsServiceProvider ) ; // to reuse the boards config in another window
@@ -889,6 +894,8 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
889
894
) ;
890
895
bind ( CreateApi ) . toSelf ( ) . inSingletonScope ( ) ;
891
896
bind ( SketchCache ) . toSelf ( ) . inSingletonScope ( ) ;
897
+ bind ( CreateFeatures ) . toSelf ( ) . inSingletonScope ( ) ;
898
+ bind ( FrontendApplicationContribution ) . toService ( CreateFeatures ) ;
892
899
893
900
bind ( ShareSketchDialog ) . toSelf ( ) . inSingletonScope ( ) ;
894
901
bind ( AuthenticationClientService ) . toSelf ( ) . inSingletonScope ( ) ;
0 commit comments