@@ -12,13 +12,13 @@ import NormalisationRuleStore from './normalisation-rule-store';
12
12
import SelectionInfoRegistry from './selection-info-registry' ;
13
13
import * as clipboardy from 'clipboardy' ;
14
14
import CommandAdaptor from './adaptors/command' ;
15
- import WindowComponent from './adaptors/window' ;
15
+ import WindowAdaptor from './adaptors/window' ;
16
16
17
17
export default class CommandFactory {
18
18
private readonly normalisationRuleStore : NormalisationRuleStore ;
19
19
private readonly selectionInfoRegistry : SelectionInfoRegistry ;
20
20
private readonly commandAdaptor : CommandAdaptor ;
21
- private readonly windowComponent : WindowComponent ;
21
+ private readonly windowAdaptor : WindowAdaptor ;
22
22
private readonly vscode : any ;
23
23
private readonly getCurrentDate : ( ) => Date ;
24
24
private clipboard ?: Clipboard ;
@@ -28,13 +28,13 @@ export default class CommandFactory {
28
28
constructor ( selectionInfoRegistry : SelectionInfoRegistry ,
29
29
normalisationRuleStore : NormalisationRuleStore ,
30
30
commandAdaptor : CommandAdaptor ,
31
- windowComponent : WindowComponent ,
31
+ windowAdaptor : WindowAdaptor ,
32
32
vscode : any ,
33
33
getCurrentDate : ( ) => Date ) {
34
34
this . normalisationRuleStore = normalisationRuleStore ;
35
35
this . selectionInfoRegistry = selectionInfoRegistry ;
36
36
this . commandAdaptor = commandAdaptor ;
37
- this . windowComponent = windowComponent ;
37
+ this . windowAdaptor = windowAdaptor ;
38
38
this . getCurrentDate = getCurrentDate ;
39
39
this . vscode = vscode ;
40
40
}
@@ -63,14 +63,14 @@ export default class CommandFactory {
63
63
this . getDiffPresenter ( ) ,
64
64
this . selectionInfoRegistry ,
65
65
this . getMessageBar ( ) ,
66
- this . windowComponent
66
+ this . windowAdaptor
67
67
) ;
68
68
}
69
69
70
70
createToggleNormalisationRulesCommand ( ) {
71
71
return new ToggleNormalisationRulesCommand (
72
72
this . normalisationRuleStore ,
73
- new NormalisationRulePicker ( this . windowComponent ) ,
73
+ new NormalisationRulePicker ( this . windowAdaptor ) ,
74
74
this . getMessageBar ( )
75
75
) ;
76
76
}
0 commit comments