Skip to content

Commit cc9bab5

Browse files
committed
Rename asCoderUIModel to asCoderViewModel
1 parent 88676aa commit cc9bab5

10 files changed

Lines changed: 15 additions & 15 deletions

src/GToolkit-Coder-Extensions/Behavior.extension.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ Behavior >> gtBrowseFrom: anElement [
1616
Behavior >> methodsCoderFromContext: aPhlowContext [
1717
<return: #GtPharoMethodsCoderViewModel>
1818

19-
^ (GtClassMethodsCoder forClass: self) asCoderUIModel
19+
^ (GtClassMethodsCoder forClass: self) asCoderViewModel
2020
]

src/GToolkit-Coder-StreamingCoders-UI/GtStreamingCodersViewModel.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ GtStreamingCodersViewModel >> initialize [
6060

6161
{ #category : #'instance creation' }
6262
GtStreamingCodersViewModel >> newCoderViewModelFor: aCoderModel [
63-
^ aCoderModel asCoderUIModel
63+
^ aCoderModel asCoderViewModel
6464
]
6565

6666
{ #category : #'private - notifying' }

src/GToolkit-Coder-UI/GtCoder2.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ GtCoder2 >> initialize [
7575
when: GtCoderToReplace
7676
do: [ :anEvent |
7777
anEvent consumed: true.
78-
self coderToolViewModel pushCoderViewModel: anEvent coder asCoderUIModel ].
78+
self coderToolViewModel pushCoderViewModel: anEvent coder asCoderViewModel ].
7979

8080

8181
]

src/GToolkit-Coder-UI/GtCoderModel.extension.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
Extension { #name : #GtCoderModel }
22

33
{ #category : #'*GToolkit-Coder-UI' }
4-
GtCoderModel >> asCoderUIModel [
4+
GtCoderModel >> asCoderViewModel [
55
^ self subclassResponsibility
66
]
77

88
{ #category : #'*GToolkit-Coder-UI' }
99
GtCoderModel >> asElement [
10-
^ self asCoderUIModel asElement
10+
^ self asCoderViewModel asElement
1111
]
1212

1313
{ #category : #'*GToolkit-Coder-UI' }
1414
GtCoderModel >> asExpandedOnlyElement [
1515
"Create an element for just the expanded coder without expander"
1616

1717
^ GtExpandedOnlyCoderElement new
18-
coderUIModel: self asCoderUIModel;
18+
coderUIModel: self asCoderViewModel;
1919
yourself
2020
]
2121

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Extension { #name : #GtCodersModel }
22

33
{ #category : #'*GToolkit-Coder-UI' }
4-
GtCodersModel >> asCoderUIModel [
4+
GtCodersModel >> asCoderViewModel [
55
^ self subclassResponsibility
66
]
77

88
{ #category : #'*GToolkit-Coder-UI' }
99
GtCodersModel >> asElement [
10-
^ self asCoderUIModel asElement
10+
^ self asCoderViewModel asElement
1111
]

src/GToolkit-Coder-UI/GtMultipleCodersViewModel.class.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Class {
55
'coder',
66
'coderUIModels'
77
],
8-
#category : 'GToolkit-Coder-UI-Coder - Basic'
8+
#category : #'GToolkit-Coder-UI-Coder - Basic'
99
}
1010

1111
{ #category : #accessing }
@@ -18,7 +18,7 @@ GtMultipleCodersViewModel >> announcer [
1818
]
1919

2020
{ #category : #converting }
21-
GtMultipleCodersViewModel >> asCoderUIModel [
21+
GtMultipleCodersViewModel >> asCoderViewModel [
2222
^ self
2323
]
2424

@@ -44,7 +44,7 @@ GtMultipleCodersViewModel >> coder: aGtCodersModel [
4444

4545
{ #category : #updating }
4646
GtMultipleCodersViewModel >> coderUIModelFor: aCoder [
47-
^ aCoder asCoderUIModel
47+
^ aCoder asCoderViewModel
4848
]
4949

5050
{ #category : #accessing }

src/GToolkit-Coder-UI/GtSingleCoderViewModel.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ GtSingleCoderViewModel >> announcerUIModel [
2727
]
2828

2929
{ #category : #converting }
30-
GtSingleCoderViewModel >> asCoderUIModel [
30+
GtSingleCoderViewModel >> asCoderViewModel [
3131
^ self
3232
]
3333

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Extension { #name : #GtTextCoder }
22

33
{ #category : #'*GToolkit-Coder-UI' }
4-
GtTextCoder >> asCoderUIModel [
4+
GtTextCoder >> asCoderViewModel [
55
^ GtTextualCoderViewModel new coder: self
66
]

src/GToolkit-Coder-UI/GtTextualCoderViewModel.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ GtTextualCoderViewModel >> asExpandedOnlyElement [
143143
"Create an element for just the expanded coder without expander"
144144

145145
^ GtExpandedOnlyCoderElement new
146-
coderUIModel: self asCoderUIModel;
146+
coderUIModel: self asCoderViewModel;
147147
yourself
148148
]
149149

src/GToolkit-Coder-UI/GtTextualCoderViewModel.extension.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ GtTextualCoderViewModel >> asExpandedOnlyElement [
55
"Create an element for just the expanded coder without expander"
66

77
^ GtExpandedOnlyCoderElement new
8-
coderUIModel: self asCoderUIModel;
8+
coderUIModel: self asCoderViewModel;
99
yourself
1010
]

0 commit comments

Comments
 (0)