Skip to content

Commit f871de5

Browse files
committed
Better name
1 parent fe2654a commit f871de5

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

src/ExecutableRequirements-UI/ExReqConditionWidget.class.st renamed to src/ExecutableRequirements-UI/ExReqBrowseAndCodeWidget.class.st

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Class {
2-
#name : 'ExReqConditionWidget',
2+
#name : 'ExReqBrowseAndCodeWidget',
33
#superclass : 'SpPresenter',
44
#instVars : [
55
'code',
@@ -14,43 +14,43 @@ Class {
1414
}
1515

1616
{ #category : 'accessing' }
17-
ExReqConditionWidget >> action [
17+
ExReqBrowseAndCodeWidget >> action [
1818

1919
^ action
2020
]
2121

2222
{ #category : 'accessing' }
23-
ExReqConditionWidget >> action: aBlock [
23+
ExReqBrowseAndCodeWidget >> action: aBlock [
2424

2525
action := aBlock
2626
]
2727

2828
{ #category : 'accessing' }
29-
ExReqConditionWidget >> button [
29+
ExReqBrowseAndCodeWidget >> button [
3030

3131
^ button
3232
]
3333

3434
{ #category : 'accessing' }
35-
ExReqConditionWidget >> changeIcon: anIcon [
35+
ExReqBrowseAndCodeWidget >> changeIcon: anIcon [
3636

3737
self button icon: anIcon
3838
]
3939

4040
{ #category : 'accessing' }
41-
ExReqConditionWidget >> changeLabel: aString [
41+
ExReqBrowseAndCodeWidget >> changeLabel: aString [
4242

4343
self label label: aString.
4444
]
4545

4646
{ #category : 'accessing' }
47-
ExReqConditionWidget >> code [
47+
ExReqBrowseAndCodeWidget >> code [
4848

4949
^ code
5050
]
5151

5252
{ #category : 'layout' }
53-
ExReqConditionWidget >> defaultLayout [
53+
ExReqBrowseAndCodeWidget >> defaultLayout [
5454

5555
^ SpBoxLayout newVertical
5656
spacing: 4;
@@ -67,7 +67,7 @@ ExReqConditionWidget >> defaultLayout [
6767
]
6868

6969
{ #category : 'initialization - deprecated' }
70-
ExReqConditionWidget >> initializePresenter [
70+
ExReqBrowseAndCodeWidget >> initializePresenter [
7171

7272
action := [ ].
7373
code := SpCodePresenter new editable: false; yourself.
@@ -76,19 +76,19 @@ ExReqConditionWidget >> initializePresenter [
7676
]
7777

7878
{ #category : 'accessing' }
79-
ExReqConditionWidget >> label [
79+
ExReqBrowseAndCodeWidget >> label [
8080

8181
^ label
8282
]
8383

8484
{ #category : 'accessing' }
85-
ExReqConditionWidget >> model [
85+
ExReqBrowseAndCodeWidget >> model [
8686

8787
^ model
8888
]
8989

9090
{ #category : 'accessing' }
91-
ExReqConditionWidget >> model: anObject [
91+
ExReqBrowseAndCodeWidget >> model: anObject [
9292

9393
model := anObject
9494
]

src/ExecutableRequirements-UI/ExReqUIStepReportPresenter.class.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ ExReqUIStepReportPresenter >> initializePresenter [
6868
previousStepStatus := SpImagePresenter new image: (Smalltalk ui icons iconNamed: #testNotRun); yourself.
6969
nextStepButton := SpButtonPresenter new icon: (Smalltalk ui icons iconNamed: #right); yourself.
7070
nextStepStatus := SpImagePresenter new image: (Smalltalk ui icons iconNamed: #testNotRun); yourself.
71-
astNodeWidget := ExReqConditionWidget new changeLabel: 'class >> method'; yourself.
72-
preconditionWidget := ExReqConditionWidget new changeLabel: 'Precondition'; yourself.
73-
postconditionWidget := ExReqConditionWidget new changeLabel: 'Postcondition'; yourself.
71+
astNodeWidget := ExReqBrowseAndCodeWidget new changeLabel: 'class >> method'; yourself.
72+
preconditionWidget := ExReqBrowseAndCodeWidget new changeLabel: 'Precondition'; yourself.
73+
postconditionWidget := ExReqBrowseAndCodeWidget new changeLabel: 'Postcondition'; yourself.
7474
]
7575

7676
{ #category : 'accessing' }

0 commit comments

Comments
 (0)