author | Claus Gittinger <cg@exept.de> |
Fri, 01 May 2020 14:59:17 +0200 | |
changeset 19584 | 42294ec5ee95 |
parent 19456 | 4b96845b95b2 |
permissions | -rw-r--r-- |
6799 | 1 |
" |
2 |
COPYRIGHT (c) 2005 eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
"{ Package: 'stx:libtool' }" |
|
13 |
||
14 |
"{ NameSpace: Tools }" |
|
15 |
||
16 |
SimpleDialog subclass:#CheckinInfoDialog |
|
6979 | 17 |
instanceVariableNames:'descriptionHolder logMessageHolder isStableHolder tagHolder |
9508
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
18 |
quickCheckInHolder quickCheckInVisibleHolder allowEmptyLogMessage |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
19 |
warningMessageHolder logHistory logHistoryHeadLineSelectionHolder |
15841 | 20 |
validateConsistencyHolder validateConsistencyVisibleHolder |
21 |
checkinReasonHolder validateConsistencyEnabledHolder |
|
18130 | 22 |
quickCheckInEnabledHolder repositoryInfoHolder branchInfoHolder |
19375 | 23 |
showChangesAction rememberTagAsDefaultHolder' |
24 |
classVariableNames:'RecentlyUsedTags LastReason DefaultTag' |
|
6799 | 25 |
poolDictionaries:'' |
26 |
category:'System-SourceCodeManagement' |
|
27 |
! |
|
28 |
||
29 |
!CheckinInfoDialog class methodsFor:'documentation'! |
|
30 |
||
31 |
copyright |
|
32 |
" |
|
33 |
COPYRIGHT (c) 2005 eXept Software AG |
|
34 |
All Rights Reserved |
|
35 |
||
36 |
This software is furnished under a license and may be used |
|
37 |
only in accordance with the terms of that license and with the |
|
38 |
inclusion of the above copyright notice. This software may not |
|
39 |
be provided or otherwise made available to, or used by, any |
|
40 |
other person. No title to or ownership of the software is |
|
41 |
hereby transferred. |
|
42 |
" |
|
43 |
! |
|
44 |
||
45 |
documentation |
|
46 |
" |
|
47 |
checkin-dialog. |
|
48 |
used to be private in SourceCodeManagerUtilites. |
|
49 |
moved to libtool because libbasic3 should not contain code inheriting from GUI classes. |
|
50 |
||
51 |
[author:] |
|
52 |
||
53 |
[see also:] |
|
54 |
||
55 |
[instance variables:] |
|
56 |
||
57 |
[class variables:] |
|
58 |
" |
|
59 |
! ! |
|
60 |
||
15853 | 61 |
!CheckinInfoDialog class methodsFor:'constants'! |
62 |
||
16224 | 63 |
possibleReasons |
64 |
^ #(reasonBugfix reasonDocumentation reasonFeature reasonRefactoring |
|
19018 | 65 |
reasonOther reasonUIEnhancement reasonTuning reasonQuality reasonWorkaround) |
16224 | 66 |
|
67 |
"Created: / 31-03-2016 / 17:53:16 / cg" |
|
68 |
! |
|
69 |
||
15853 | 70 |
reasonBugfix |
71 |
^ #reasonBugfix |
|
72 |
! |
|
73 |
||
74 |
reasonDocumentation |
|
75 |
^ #reasonDocumentation |
|
76 |
! |
|
77 |
||
78 |
reasonFeature |
|
79 |
^ #reasonFeature |
|
80 |
! |
|
81 |
||
82 |
reasonOther |
|
83 |
^ #reasonOther |
|
84 |
! |
|
85 |
||
16224 | 86 |
reasonQuality |
87 |
^ #reasonQuality |
|
88 |
||
89 |
"Created: / 31-03-2016 / 17:53:57 / cg" |
|
90 |
! |
|
91 |
||
15853 | 92 |
reasonRefactoring |
93 |
^ #reasonRefactoring |
|
15873 | 94 |
! |
95 |
||
16224 | 96 |
reasonTuning |
97 |
^ #reasonTuning |
|
98 |
||
99 |
"Created: / 31-03-2016 / 17:53:26 / cg" |
|
100 |
! |
|
101 |
||
15873 | 102 |
reasonUIEnhancement |
103 |
^ #reasonUIEnhancement |
|
19018 | 104 |
! |
105 |
||
106 |
reasonWorkaround |
|
107 |
^ #reasonWorkaround |
|
15853 | 108 |
! ! |
109 |
||
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
110 |
!CheckinInfoDialog class methodsFor:'help specs'! |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
111 |
|
17882 | 112 |
helpSpec |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
113 |
"This resource specification was automatically generated |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
114 |
by the UIHelpTool of ST/X." |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
115 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
116 |
"Do not manually edit this!! If it is corrupted, |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
117 |
the UIHelpTool may not be able to read the specification." |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
118 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
119 |
" |
18130 | 120 |
UIHelpTool openOnClass:Tools::CheckinInfoDialog |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
121 |
" |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
122 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
123 |
<resource: #help> |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
124 |
|
17882 | 125 |
^ super helpSpec addPairsFrom:#( |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
126 |
|
18130 | 127 |
#checkinReason |
128 |
'Adds a keyword to the checkin info, to allow automatic generation of revision information from the log later' |
|
129 |
||
130 |
#checkinReasonBugfix |
|
131 |
'Some bug was fixed.\Please describe what was changed and\if possible, add a bug identifier (issue-ID) to the checkin info' |
|
132 |
||
133 |
#checkinReasonDocumentation |
|
134 |
'Only documentation, comments etc. were added/changed.\Tells others, that there is no need to test/verify/review the changes' |
|
135 |
||
136 |
#checkinReasonFeature |
|
137 |
'A new feature was added.\Please describe what was changed and\if possible, add a requirement identifier (issue-ID) to the checkin info' |
|
138 |
||
139 |
#checkinReasonOther |
|
140 |
'Some other change, which does not fit into one of the above.\Please describe in detail what you did in the checkin info' |
|
141 |
||
142 |
#checkinReasonQuality |
|
143 |
'The change enhanced the quality of the product (debuggability, testability, robustness, etc.)\Use this for test-cases.' |
|
144 |
||
145 |
#checkinReasonRefactoring |
|
146 |
'The code was refactored/improved for better structure or maintainability' |
|
147 |
||
148 |
#checkinReasonTuning |
|
149 |
'The change enhances the performance.\Be especially careful to always add test cases,\because statistically, many errors are introduced by "optimizations".' |
|
150 |
||
151 |
#checkinReasonUIEnhancement |
|
152 |
'Some enhancement in a UI which makes it look better or easier to use\(but does not add new functionality).\Please describe in detail what you did in the checkin info' |
|
153 |
||
19018 | 154 |
#checkinReasonWorkaround |
155 |
'Some bug was fixed as a quick hack (eg. to satisfy a customer).\The change should be further investigated,\and propably a better technical solution be found.\\But still, please describe what was changed and\if possible, add a bug identifier (issue-ID) to the checkin info' |
|
156 |
||
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
157 |
#logMessage |
18130 | 158 |
'This message is added as a check-in log message. It can later be retrieved via the browser''s revision info menu function' |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
159 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
160 |
#markAsStable |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
161 |
'Mark this as a stable version (i.e. give it a "stable" tag)' |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
162 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
163 |
#quickCheckin |
15841 | 164 |
'Only checkin classes which have been created or changed during this session' |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
165 |
|
18130 | 166 |
#showDiffs |
167 |
'Oops - you forgot?\\Click here to see the differences.' |
|
168 |
||
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
169 |
#tag |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
170 |
'Mark this version with a symbolic tag (combo list gives list of recently used tags)' |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
171 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
172 |
#validateConsistency |
18130 | 173 |
'Perform some consistency checks before checking in. Especially checks the correctness of the ProjectDefinition vs. the actual set of classes in the image' |
15853 | 174 |
|
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
175 |
) |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
176 |
! ! |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
177 |
|
6799 | 178 |
!CheckinInfoDialog class methodsFor:'interface specs'! |
179 |
||
180 |
windowSpec |
|
181 |
"This resource specification was automatically generated |
|
182 |
by the UIPainter of ST/X." |
|
183 |
||
184 |
"Do not manually edit this!! If it is corrupted, |
|
185 |
the UIPainter may not be able to read the specification." |
|
186 |
||
187 |
" |
|
6979 | 188 |
UIPainter new openOnClass:Tools::CheckinInfoDialog andSelector:#windowSpec |
189 |
Tools::CheckinInfoDialog new openInterface:#windowSpec |
|
190 |
Tools::CheckinInfoDialog open |
|
6799 | 191 |
" |
192 |
||
193 |
<resource: #canvas> |
|
194 |
||
195 |
^ |
|
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
196 |
#(FullSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
197 |
name: windowSpec |
19456 | 198 |
uuid: '2eedb44a-2a4d-11b2-852b-2c600c6a1d41' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
199 |
window: |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
200 |
(WindowSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
201 |
label: 'Enter Log Message' |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
202 |
name: 'Enter Log Message' |
17837 | 203 |
uuid: '35292892-d93d-11e7-8a1e-c42c033b4871' |
19018 | 204 |
min: (Point 538 387) bounds: (Rectangle 0 0 579 567) |
205 |
) component: |
|
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
206 |
(SpecCollection |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
207 |
collection: ( |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
208 |
(HorizontalPanelViewSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
209 |
name: 'HorizontalPanel2' |
19018 | 210 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 32 0) uuid: '35292b58-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
211 |
horizontalLayout: left |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
212 |
verticalLayout: center |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
213 |
horizontalSpace: 0 |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
214 |
verticalSpace: 3 |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
215 |
component: |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
216 |
(SpecCollection |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
217 |
collection: ( |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
218 |
(LabelSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
219 |
label: 'Enter checkIn log-message for:' |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
220 |
name: 'Label1' |
17837 | 221 |
uuid: '35292da6-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
222 |
translateLabel: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
223 |
resizeForLabel: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
224 |
useDefaultExtent: true |
19018 | 225 |
) |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
226 |
(LabelSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
227 |
name: 'Label2' |
17837 | 228 |
uuid: '35293008-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
229 |
translateLabel: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
230 |
labelChannel: descriptionHolder |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
231 |
useDefaultExtent: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
232 |
) |
19018 | 233 |
) |
234 |
) |
|
235 |
) |
|
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
236 |
(LabelSpec |
17843 | 237 |
name: 'BranchInfoLabel' |
19018 | 238 |
layout: (LayoutFrame 0 0 31 0 200 0 57 0) style: (FontDescription helvetica medium roman 12 #'iso10646-1' nil nil) uuid: '35293166-d93d-11e7-8a1e-c42c033b4871' |
17837 | 239 |
translateLabel: true |
17843 | 240 |
labelChannel: branchInfoHolder |
241 |
resizeForLabel: true |
|
242 |
adjust: left |
|
19018 | 243 |
) |
17843 | 244 |
(LabelSpec |
245 |
name: 'RepositoryInfoLabel' |
|
19018 | 246 |
layout: (LayoutFrame 149 0 31 0 0 1 57 0) style: (FontDescription helvetica medium roman 12 #'iso10646-1' nil nil) uuid: '35293166-d93d-11e7-8a1e-c42c033b4871' |
17843 | 247 |
translateLabel: true |
248 |
labelChannel: repositoryInfoHolder |
|
17837 | 249 |
resizeForLabel: true |
250 |
adjust: right |
|
19018 | 251 |
) |
17837 | 252 |
(LabelSpec |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
253 |
label: 'Previous Log Messages:' |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
254 |
name: 'Label5' |
19018 | 255 |
layout: (LayoutFrame 0 0 73 0 220 0 103 0) uuid: '3529329c-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
256 |
translateLabel: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
257 |
adjust: right |
19018 | 258 |
) |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
259 |
(ComboListSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
260 |
name: 'ComboList1' |
19018 | 261 |
layout: (LayoutFrame 220 0.0 73 0 0 1.0 103 0) uuid: '352933b4-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
262 |
model: logHistoryHeadLineSelectionHolder |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
263 |
comboList: logHistoryHeadLines |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
264 |
useIndex: true |
19018 | 265 |
) |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
266 |
(TextEditorSpec |
19118 | 267 |
name: 'LogTextEditor' |
19018 | 268 |
layout: (LayoutFrame 2 0.0 105 0 -2 1 -300 1) activeHelpKey: logMessage |
17837 | 269 |
uuid: '35293602-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
270 |
model: logMessageHolder |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
271 |
hasHorizontalScrollBar: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
272 |
hasVerticalScrollBar: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
273 |
hasKeyboardFocusInitially: false |
19018 | 274 |
) |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
275 |
(LabelSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
276 |
name: 'Label4' |
19018 | 277 |
layout: (LayoutFrame 0 0.0 -293 1 0 1.0 -271 1) uuid: '35293828-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
278 |
translateLabel: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
279 |
labelChannel: warningMessageHolder |
19018 | 280 |
) |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
281 |
(CheckBoxSpec |
15841 | 282 |
label: 'Quick Checkin (Only Classes in ChangeSet)' |
283 |
name: 'CheckInChangedOnlyCheckbox' |
|
19018 | 284 |
layout: (LayoutFrame 3 0 -268 1 -3 1 -246 1) activeHelpKey: quickCheckin |
17837 | 285 |
uuid: '35293954-d93d-11e7-8a1e-c42c033b4871' |
15841 | 286 |
visibilityChannel: quickCheckInVisibleHolder |
287 |
enableChannel: quickCheckInEnabledHolder |
|
288 |
model: quickCheckInHolder |
|
289 |
translateLabel: true |
|
19018 | 290 |
) |
15841 | 291 |
(CheckBoxSpec |
18438 | 292 |
label: 'Validate Class/Package Consistency' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
293 |
name: 'CheckBox1' |
19018 | 294 |
layout: (LayoutFrame 3 0 -241 1 -3 1 -219 1) activeHelpKey: validateConsistency |
17837 | 295 |
uuid: '35293b70-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
296 |
visibilityChannel: validateConsistencyVisibleHolder |
15841 | 297 |
enableChannel: validateConsistencyEnabledHolder |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
298 |
model: validateConsistencyHolder |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
299 |
translateLabel: true |
19018 | 300 |
) |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
301 |
(CheckBoxSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
302 |
label: 'Mark as Stable' |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
303 |
name: 'MarkStableCheckBox' |
19018 | 304 |
layout: (LayoutFrame 3 0 -214 1 -3 1 -192 1) activeHelpKey: markAsStable |
17837 | 305 |
uuid: '35293c9c-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
306 |
model: isStableHolder |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
307 |
translateLabel: true |
19018 | 308 |
) |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
309 |
(LabelSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
310 |
label: 'Tag:' |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
311 |
name: 'Label3' |
19375 | 312 |
layout: (LayoutFrame -40 0.5 -241 1 0 0.5 -219 1) activeHelpKey: tag |
17837 | 313 |
uuid: '35293db4-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
314 |
translateLabel: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
315 |
adjust: right |
19018 | 316 |
) |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
317 |
(ComboBoxSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
318 |
name: 'ComboBox1' |
19375 | 319 |
layout: (LayoutFrame 0 0.5 -244 1 -3 1 -218 1) activeHelpKey: tag |
17837 | 320 |
uuid: '35293ee0-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
321 |
enableChannel: notMarkAsStableHolder |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
322 |
model: tagHolder |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
323 |
acceptOnReturn: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
324 |
acceptOnTab: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
325 |
acceptOnLostFocus: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
326 |
acceptOnPointerLeave: false |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
327 |
comboList: recentTagsList |
19018 | 328 |
) |
19375 | 329 |
(CheckBoxSpec |
330 |
label: 'Remember as Default' |
|
331 |
name: 'CheckBox2' |
|
19456 | 332 |
layout: (LayoutFrame 0 0.5 -214 1 0 1 -192 1) uuid: '52187b7c-3870-11b2-aba0-00d861a3d4eb' |
19375 | 333 |
model: rememberTagAsDefaultHolder |
334 |
translateLabel: true |
|
335 |
) |
|
15849 | 336 |
(LabelSpec |
337 |
label: 'Reason for Checkin:' |
|
338 |
name: 'Label6' |
|
19018 | 339 |
layout: (LayoutOrigin 2 0 -184 1) activeHelpKey: checkinReason |
17837 | 340 |
uuid: '35294232-d93d-11e7-8a1e-c42c033b4871' |
15849 | 341 |
translateLabel: true |
342 |
resizeForLabel: true |
|
343 |
adjust: right |
|
19018 | 344 |
) |
15849 | 345 |
(RadioButtonSpec |
346 |
label: 'Bugfix' |
|
347 |
name: 'RadioButton1' |
|
19018 | 348 |
layout: (LayoutFrame 20 0.0 -159 1 300 0 -137 1) activeHelpKey: checkinReasonBugfix |
17837 | 349 |
uuid: '3529437c-d93d-11e7-8a1e-c42c033b4871' |
15849 | 350 |
translateLabel: true |
351 |
model: checkinReasonHolder |
|
352 |
isTriggerOnDown: true |
|
16922 | 353 |
select: reasonBugfix |
19018 | 354 |
) |
15849 | 355 |
(RadioButtonSpec |
356 |
label: 'Feature / Enhancement' |
|
357 |
name: 'RadioButton2' |
|
19018 | 358 |
layout: (LayoutFrame 20 0 -135 1 -279 1 -113 1) activeHelpKey: checkinReasonFeature |
17837 | 359 |
uuid: '35294656-d93d-11e7-8a1e-c42c033b4871' |
15849 | 360 |
translateLabel: true |
361 |
model: checkinReasonHolder |
|
362 |
isTriggerOnDown: true |
|
363 |
select: reasonFeature |
|
19018 | 364 |
) |
15849 | 365 |
(RadioButtonSpec |
366 |
label: 'Refactoring / Code Cleanup' |
|
367 |
name: 'RadioButton3' |
|
19018 | 368 |
layout: (LayoutFrame 9 0.5 -159 1 0 1 -137 1) activeHelpKey: checkinReasonRefactoring |
17837 | 369 |
uuid: '35294840-d93d-11e7-8a1e-c42c033b4871' |
15849 | 370 |
translateLabel: true |
371 |
model: checkinReasonHolder |
|
372 |
isTriggerOnDown: true |
|
373 |
select: reasonRefactoring |
|
19018 | 374 |
) |
15849 | 375 |
(RadioButtonSpec |
15873 | 376 |
label: 'UI Enhancement / Beautification' |
377 |
name: 'RadioButton6' |
|
19018 | 378 |
layout: (LayoutFrame 20 0 -111 1 -279 1 -89 1) activeHelpKey: checkinReasonUIEnhancement |
17837 | 379 |
uuid: '35294a02-d93d-11e7-8a1e-c42c033b4871' |
15873 | 380 |
translateLabel: true |
381 |
model: checkinReasonHolder |
|
382 |
isTriggerOnDown: true |
|
383 |
select: reasonUIEnhancement |
|
19018 | 384 |
) |
15873 | 385 |
(RadioButtonSpec |
15853 | 386 |
label: 'Documentation / Comment Only' |
387 |
name: 'RadioButton5' |
|
19018 | 388 |
layout: (LayoutFrame 9 0.5 -111 1 0 1 -89 1) activeHelpKey: checkinReasonDocumentation |
17837 | 389 |
uuid: '35294bb0-d93d-11e7-8a1e-c42c033b4871' |
15853 | 390 |
translateLabel: true |
391 |
model: checkinReasonHolder |
|
392 |
isTriggerOnDown: true |
|
393 |
select: reasonDocumentation |
|
19018 | 394 |
) |
15853 | 395 |
(RadioButtonSpec |
16224 | 396 |
label: 'Tuning' |
397 |
name: 'RadioButton4a' |
|
19018 | 398 |
layout: (LayoutFrame 20 0 -87 1 -279 1 -65 1) activeHelpKey: checkinReasonTuning |
17837 | 399 |
uuid: '35294d5e-d93d-11e7-8a1e-c42c033b4871' |
16224 | 400 |
translateLabel: true |
401 |
model: checkinReasonHolder |
|
402 |
isTriggerOnDown: true |
|
403 |
select: reasonTuning |
|
19018 | 404 |
) |
16224 | 405 |
(RadioButtonSpec |
16236 | 406 |
label: 'Quality (Debuggability / Testability)' |
15849 | 407 |
name: 'RadioButton4' |
19018 | 408 |
layout: (LayoutFrame 9 0.5 -135 1 0 1 -113 1) activeHelpKey: checkinReasonQuality |
17837 | 409 |
uuid: '35294f0c-d93d-11e7-8a1e-c42c033b4871' |
16224 | 410 |
translateLabel: true |
411 |
model: checkinReasonHolder |
|
412 |
isTriggerOnDown: true |
|
413 |
select: reasonQuality |
|
19018 | 414 |
) |
16224 | 415 |
(RadioButtonSpec |
416 |
label: 'None of the Above' |
|
417 |
name: 'RadioButton7' |
|
19018 | 418 |
layout: (LayoutFrame 20 0 -63 1 -279 1 -41 1) activeHelpKey: checkinReasonOther |
17837 | 419 |
uuid: '352950ba-d93d-11e7-8a1e-c42c033b4871' |
15849 | 420 |
translateLabel: true |
421 |
model: checkinReasonHolder |
|
422 |
isTriggerOnDown: true |
|
423 |
select: reasonOther |
|
19018 | 424 |
) |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
425 |
(HorizontalPanelViewSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
426 |
name: 'ButtonPanel1' |
19018 | 427 |
layout: (LayoutFrame 0 0.0 -40 1 -16 1.0 0 1.0) uuid: '35295268-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
428 |
horizontalLayout: fitSpace |
18220 | 429 |
verticalLayout: centerMax |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
430 |
horizontalSpace: 3 |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
431 |
verticalSpace: 2 |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
432 |
reverseOrderIfOKAtLeft: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
433 |
component: |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
434 |
(SpecCollection |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
435 |
collection: ( |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
436 |
(ActionButtonSpec |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
437 |
label: 'Cancel' |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
438 |
name: 'Button2' |
17837 | 439 |
uuid: '352953a8-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
440 |
translateLabel: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
441 |
model: doCancel |
19018 | 442 |
extent: (Point 183 34) usePreferredHeight: true |
443 |
) |
|
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
444 |
(ActionButtonSpec |
18130 | 445 |
label: 'What Changed?' |
446 |
name: 'Button3' |
|
447 |
activeHelpKey: showDiffs |
|
448 |
uuid: '6573b3de-5a05-11e8-ad24-b8f6b1108e05' |
|
449 |
visibilityChannel: showChangesButtonVisible |
|
450 |
translateLabel: true |
|
451 |
model: showChanges |
|
19018 | 452 |
extent: (Point 183 34) |
453 |
) |
|
18130 | 454 |
(ActionButtonSpec |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
455 |
label: 'OK' |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
456 |
name: 'Button1' |
17837 | 457 |
uuid: '35295560-d93d-11e7-8a1e-c42c033b4871' |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
458 |
translateLabel: true |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
459 |
model: doAccept |
19018 | 460 |
extent: (Point 184 34) usePreferredHeight: true |
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
461 |
) |
19018 | 462 |
) |
463 |
) keepSpaceForOSXResizeHandleH: true |
|
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
464 |
) |
19018 | 465 |
(RadioButtonSpec |
466 |
label: 'Workaround (Investigate Further)' |
|
467 |
name: 'RadioButton8' |
|
468 |
layout: (LayoutFrame 9 0.5 -87 1 0 1 -65 1) activeHelpKey: checkinReasonWorkaround |
|
469 |
uuid: '35294d5e-d93d-11e7-8a1e-c42c033b4871' |
|
470 |
translateLabel: true |
|
471 |
model: checkinReasonHolder |
|
472 |
isTriggerOnDown: true |
|
473 |
select: reasonWorkaround |
|
474 |
) |
|
475 |
) |
|
476 |
) |
|
477 |
) |
|
6799 | 478 |
! ! |
479 |
||
480 |
!CheckinInfoDialog class methodsFor:'opening'! |
|
481 |
||
17837 | 482 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
11412 | 483 |
^ self |
17837 | 484 |
getCheckinInfoFor:infoString |
11412 | 485 |
initialAnswer:initialAnswer |
486 |
withQuickOption:false |
|
6979 | 487 |
|
488 |
" |
|
489 |
self getCheckinInfoFor:'hello' initialAnswer:'bla' |
|
490 |
" |
|
11412 | 491 |
|
17837 | 492 |
"Modified (format): / 04-12-2017 / 23:08:50 / cg" |
6979 | 493 |
! |
494 |
||
17837 | 495 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer withQuickOption:withQuickOption |
11412 | 496 |
^ self |
17837 | 497 |
getCheckinInfoFor:infoString |
11412 | 498 |
initialAnswer:initialAnswer |
499 |
withQuickOption:withQuickOption |
|
500 |
logHistory:#() |
|
501 |
||
502 |
" |
|
503 |
self getCheckinInfoFor:'hello' initialAnswer:'bla' |
|
504 |
" |
|
505 |
||
506 |
"Modified: / 12-03-2012 / 12:39:00 / cg" |
|
17837 | 507 |
"Modified (format): / 04-12-2017 / 23:08:40 / cg" |
11412 | 508 |
! |
509 |
||
17837 | 510 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer withQuickOption:withQuickOption logHistory:logHistoryArg |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
511 |
^ self |
17837 | 512 |
getCheckinInfoFor:infoString |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
513 |
initialAnswer:initialAnswer |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
514 |
withQuickOption:withQuickOption |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
515 |
logHistory:logHistoryArg |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
516 |
withValidateConsistencyOption:false |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
517 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
518 |
" |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
519 |
self getCheckinInfoFor:'hello' initialAnswer:'bla' |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
520 |
self getCheckinInfoFor:'hello' initialAnswer:'bla' withQuickOption:true |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
521 |
self getCheckinInfoFor:'hello' initialAnswer:'bla' withQuickOption:true logHistory:nil withConsistencyCheckOption:true |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
522 |
" |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
523 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
524 |
"Created: / 12-03-2012 / 12:36:26 / cg" |
17837 | 525 |
"Modified (format): / 04-12-2017 / 23:08:35 / cg" |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
526 |
! |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
527 |
|
17837 | 528 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
15841 | 529 |
withQuickOption:withQuickOption |
530 |
logHistory:logHistoryArg |
|
531 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
18131 | 532 |
^ self new |
533 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
|
15841 | 534 |
withQuickOption:withQuickOption |
535 |
logHistory:logHistoryArg |
|
536 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
537 |
||
538 |
" |
|
539 |
self getCheckinInfoFor:'hello' initialAnswer:'bla' |
|
540 |
" |
|
541 |
||
542 |
"Created: / 12-03-2012 / 12:36:26 / cg" |
|
17837 | 543 |
"Modified (format): / 04-12-2017 / 23:07:46 / cg" |
15841 | 544 |
! |
545 |
||
17837 | 546 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
15841 | 547 |
withQuickOption:withQuickOption |
548 |
logHistory:logHistoryArg |
|
549 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
550 |
initialReason:defaultReason |
|
551 |
||
18131 | 552 |
^ self new |
553 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
|
554 |
withQuickOption:withQuickOption |
|
19118 | 555 |
isClassCheckin:false |
18131 | 556 |
logHistory:logHistoryArg |
557 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
558 |
initialReason:defaultReason |
|
6799 | 559 |
|
560 |
||
561 |
" |
|
7110
86a7ea1388a1
no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents:
7097
diff
changeset
|
562 |
self getCheckinInfoFor:'hello' initialAnswer:'bla' |
6799 | 563 |
" |
7110
86a7ea1388a1
no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents:
7097
diff
changeset
|
564 |
|
11412 | 565 |
"Created: / 12-03-2012 / 12:36:26 / cg" |
17843 | 566 |
"Modified: / 05-12-2017 / 23:07:06 / cg" |
6799 | 567 |
! ! |
568 |
||
569 |
!CheckinInfoDialog methodsFor:'accessing'! |
|
570 |
||
9508
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
571 |
allowEmptyLogMessage |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
572 |
^ allowEmptyLogMessage ? false |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
573 |
|
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
574 |
"Created: / 06-07-2010 / 11:23:18 / cg" |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
575 |
! |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
576 |
|
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
577 |
allowEmptyLogMessage:aBoolean |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
578 |
allowEmptyLogMessage := aBoolean |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
579 |
|
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
580 |
"Created: / 06-07-2010 / 11:23:31 / cg" |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
581 |
! |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
582 |
|
17843 | 583 |
branchInfo:aString |
584 |
self branchInfoHolder value:aString |
|
585 |
||
586 |
"Created: / 05-12-2017 / 23:08:09 / cg" |
|
587 |
! |
|
588 |
||
15841 | 589 |
checkinReason |
19018 | 590 |
"returns one of: #(reasonBugfix reasonFeature reasonRefactoring reasonDocumentation reasonOther reasonWorkaround)" |
15841 | 591 |
|
592 |
^ self checkinReasonHolder value |
|
593 |
! |
|
594 |
||
595 |
checkinReason:aSymbolicReason |
|
16224 | 596 |
self assert:( self class possibleReasons includes:aSymbolicReason). |
15841 | 597 |
self checkinReasonHolder value:aSymbolicReason |
16224 | 598 |
|
599 |
"Modified: / 31-03-2016 / 17:58:45 / cg" |
|
15841 | 600 |
! |
601 |
||
6799 | 602 |
description |
603 |
^ self descriptionHolder value |
|
604 |
! |
|
605 |
||
606 |
description:aString |
|
7179 | 607 |
self descriptionHolder value:aString allBold |
6799 | 608 |
! |
609 |
||
610 |
isStable |
|
611 |
^ self isStableHolder value |
|
612 |
! |
|
613 |
||
614 |
isStable:aBoolean |
|
615 |
self isStableHolder value:aBoolean |
|
616 |
! |
|
617 |
||
11413 | 618 |
logHistory:something |
619 |
logHistory := something. |
|
620 |
! |
|
621 |
||
6799 | 622 |
logMessage |
15829
ba4d543aff02
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14685
diff
changeset
|
623 |
^ self logMessageHolder value ? '' |
6799 | 624 |
! |
625 |
||
626 |
logMessage:aString |
|
627 |
self logMessageHolder value:aString |
|
6979 | 628 |
! |
629 |
||
630 |
quickCheckIn |
|
631 |
^ self quickCheckInHolder value |
|
632 |
! |
|
633 |
||
634 |
quickCheckIn:aBoolean |
|
635 |
self quickCheckInHolder value:aBoolean |
|
636 |
! |
|
637 |
||
17843 | 638 |
repositoryInfo:aString |
639 |
self repositoryInfoHolder value:aString |
|
640 |
||
641 |
"Created: / 05-12-2017 / 23:08:05 / cg" |
|
642 |
! |
|
643 |
||
18130 | 644 |
showChangesAction:aBlock |
645 |
"if non-nil, an additional 'Show Changes' button appears, |
|
646 |
which evaluates this action" |
|
647 |
||
648 |
showChangesAction := aBlock |
|
649 |
! |
|
650 |
||
6979 | 651 |
tag |
13299
f7c2eb0610c5
class: Tools::CheckinInfoDialog
Stefan Vogel <sv@exept.de>
parents:
12860
diff
changeset
|
652 |
^ (self tagHolder value ? '') withoutSeparators |
6979 | 653 |
! |
654 |
||
7110
86a7ea1388a1
no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents:
7097
diff
changeset
|
655 |
tag:aStringOrNil |
86a7ea1388a1
no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents:
7097
diff
changeset
|
656 |
self tagHolder value:aStringOrNil |
86a7ea1388a1
no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents:
7097
diff
changeset
|
657 |
|
86a7ea1388a1
no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents:
7097
diff
changeset
|
658 |
"Modified: / 12-09-2006 / 12:03:50 / cg" |
6979 | 659 |
! |
660 |
||
661 |
tagIt |
|
7110
86a7ea1388a1
no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents:
7097
diff
changeset
|
662 |
^ self tag notEmptyOrNil |
6979 | 663 |
|
7110
86a7ea1388a1
no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents:
7097
diff
changeset
|
664 |
"Created: / 12-09-2006 / 13:06:49 / cg" |
6979 | 665 |
! |
666 |
||
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
667 |
validateConsistency |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
668 |
^ self validateConsistencyHolder value |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
669 |
! |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
670 |
|
6979 | 671 |
withQuickOption:aBoolean |
15841 | 672 |
self quickCheckInEnabledHolder value:aBoolean |
673 |
"/ self quickCheckInVisibleHolder value:aBoolean |
|
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
674 |
! |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
675 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
676 |
withValidateConsistencyOption:aBoolean |
15841 | 677 |
self validateConsistencyEnabledHolder value:aBoolean |
678 |
"/ self validateConsistencyVisibleHolder value:aBoolean |
|
6799 | 679 |
! ! |
680 |
||
18130 | 681 |
!CheckinInfoDialog methodsFor:'actions'! |
682 |
||
683 |
showChanges |
|
684 |
showChangesAction value |
|
685 |
! ! |
|
686 |
||
6799 | 687 |
!CheckinInfoDialog methodsFor:'aspects'! |
688 |
||
17843 | 689 |
branchInfoHolder |
690 |
branchInfoHolder isNil ifTrue:[ |
|
691 |
branchInfoHolder := ValueHolder new. |
|
692 |
]. |
|
693 |
^ branchInfoHolder |
|
694 |
||
695 |
"Created: / 05-12-2017 / 23:07:40 / cg" |
|
696 |
! |
|
697 |
||
15841 | 698 |
checkinReasonHolder |
699 |
checkinReasonHolder isNil ifTrue:[ |
|
700 |
checkinReasonHolder := (LastReason ? self class reasonBugfix) asValue. |
|
701 |
]. |
|
702 |
^ checkinReasonHolder |
|
703 |
! |
|
704 |
||
6799 | 705 |
descriptionHolder |
706 |
descriptionHolder isNil ifTrue:[ |
|
707 |
descriptionHolder := ValueHolder new. |
|
708 |
]. |
|
709 |
^ descriptionHolder |
|
710 |
! |
|
711 |
||
712 |
isStableHolder |
|
713 |
isStableHolder isNil ifTrue:[ |
|
7592
f9204291e800
isStable is not the default (too slow for now)
Claus Gittinger <cg@exept.de>
parents:
7591
diff
changeset
|
714 |
isStableHolder := false asValue. |
6799 | 715 |
]. |
716 |
^ isStableHolder. |
|
7591 | 717 |
|
7592
f9204291e800
isStable is not the default (too slow for now)
Claus Gittinger <cg@exept.de>
parents:
7591
diff
changeset
|
718 |
"Modified: / 16-01-2007 / 16:00:26 / cg" |
6799 | 719 |
! |
720 |
||
11412 | 721 |
logHistoryHeadLineSelectionHolder |
722 |
logHistoryHeadLineSelectionHolder isNil ifTrue:[ |
|
723 |
logHistoryHeadLineSelectionHolder := nil asValue. |
|
724 |
logHistoryHeadLineSelectionHolder |
|
725 |
onChangeEvaluate: |
|
726 |
[ |
|
727 |
self logMessageHolder value:(logHistory at:logHistoryHeadLineSelectionHolder value) |
|
728 |
]. |
|
729 |
]. |
|
730 |
^ logHistoryHeadLineSelectionHolder |
|
731 |
||
732 |
"Created: / 12-03-2012 / 12:40:36 / cg" |
|
733 |
! |
|
734 |
||
735 |
logHistoryHeadLines |
|
736 |
^ (logHistory ? #()) |
|
737 |
collect:[:msg | |
|
738 |
msg withoutLeadingSeparators asCollectionOfLines first , '...' |
|
739 |
] |
|
740 |
||
741 |
"Created: / 12-03-2012 / 12:39:35 / cg" |
|
742 |
! |
|
743 |
||
6799 | 744 |
logMessageHolder |
745 |
logMessageHolder isNil ifTrue:[ |
|
11412 | 746 |
logMessageHolder := '' asValue. |
6799 | 747 |
]. |
748 |
^ logMessageHolder. |
|
11412 | 749 |
|
750 |
"Modified: / 12-03-2012 / 12:34:13 / cg" |
|
6979 | 751 |
! |
752 |
||
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
753 |
notMarkAsStableHolder |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
754 |
^ BlockValue forLogicalNot:self isStableHolder |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
755 |
! |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
756 |
|
15841 | 757 |
quickCheckInEnabledHolder |
758 |
quickCheckInEnabledHolder isNil ifTrue:[ |
|
759 |
quickCheckInEnabledHolder := false asValue. |
|
760 |
]. |
|
761 |
^ quickCheckInEnabledHolder |
|
762 |
! |
|
763 |
||
6979 | 764 |
quickCheckInHolder |
765 |
quickCheckInHolder isNil ifTrue:[ |
|
766 |
quickCheckInHolder := true asValue. |
|
767 |
]. |
|
768 |
^ quickCheckInHolder |
|
769 |
! |
|
770 |
||
771 |
quickCheckInVisibleHolder |
|
772 |
quickCheckInVisibleHolder isNil ifTrue:[ |
|
15841 | 773 |
quickCheckInVisibleHolder := true asValue. |
6979 | 774 |
]. |
775 |
^ quickCheckInVisibleHolder |
|
776 |
! |
|
777 |
||
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
778 |
recentTagsList |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
779 |
^ [ CVSSourceCodeManager recentTags ] |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
780 |
! |
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
781 |
|
19375 | 782 |
rememberTagAsDefaultHolder |
783 |
rememberTagAsDefaultHolder isNil ifTrue:[ |
|
784 |
rememberTagAsDefaultHolder := false asValue. |
|
785 |
]. |
|
786 |
^ rememberTagAsDefaultHolder |
|
787 |
||
788 |
"Created: / 05-12-2017 / 23:07:40 / cg" |
|
789 |
! |
|
790 |
||
17843 | 791 |
repositoryInfoHolder |
792 |
repositoryInfoHolder isNil ifTrue:[ |
|
793 |
repositoryInfoHolder := ValueHolder new. |
|
794 |
]. |
|
795 |
^ repositoryInfoHolder |
|
796 |
||
797 |
"Created: / 05-12-2017 / 23:07:34 / cg" |
|
798 |
! |
|
799 |
||
18130 | 800 |
showChangesButtonVisible |
801 |
^ showChangesAction notNil |
|
802 |
! |
|
803 |
||
6979 | 804 |
tagHolder |
805 |
tagHolder isNil ifTrue:[ |
|
14685
c1ba77b8dfc0
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14542
diff
changeset
|
806 |
tagHolder := ("CVSSourceCodeManager recentTag ?" '') asValue. |
6979 | 807 |
]. |
808 |
^ tagHolder |
|
9508
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
809 |
! |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
810 |
|
15841 | 811 |
validateConsistencyEnabledHolder |
812 |
validateConsistencyEnabledHolder isNil ifTrue:[ |
|
813 |
validateConsistencyEnabledHolder := false asValue. |
|
814 |
]. |
|
815 |
^ validateConsistencyEnabledHolder |
|
816 |
! |
|
817 |
||
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
818 |
validateConsistencyHolder |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
819 |
validateConsistencyHolder isNil ifTrue:[ |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
820 |
validateConsistencyHolder := true asValue. |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
821 |
]. |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
822 |
^ validateConsistencyHolder |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
823 |
! |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
824 |
|
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
825 |
validateConsistencyVisibleHolder |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
826 |
validateConsistencyVisibleHolder isNil ifTrue:[ |
15841 | 827 |
validateConsistencyVisibleHolder := true asValue. |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
828 |
]. |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
829 |
^ validateConsistencyVisibleHolder |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
830 |
! |
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
831 |
|
9508
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
832 |
warningMessageHolder |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
833 |
warningMessageHolder isNil ifTrue:[ |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
834 |
warningMessageHolder := nil asValue. |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
835 |
]. |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
836 |
^ warningMessageHolder. |
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
837 |
|
6ecac35f25b6
enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents:
9161
diff
changeset
|
838 |
"Created: / 06-07-2010 / 11:30:29 / cg" |
6799 | 839 |
! ! |
840 |
||
18131 | 841 |
!CheckinInfoDialog methodsFor:'opening'! |
842 |
||
843 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
|
19118 | 844 |
withQuickOption:withQuickOption |
845 |
isClassCheckin:isClassCheckin |
|
846 |
logHistory:logHistoryArg |
|
847 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
848 |
^ self |
|
849 |
getCheckinInfoFor:infoString |
|
850 |
initialAnswer:initialAnswer |
|
851 |
withQuickOption:withQuickOption |
|
852 |
isClassCheckin:isClassCheckin |
|
853 |
logHistory:logHistoryArg |
|
854 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
855 |
initialReason:(LastReason ? self class reasonBugfix) |
|
856 |
! |
|
857 |
||
858 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
|
859 |
withQuickOption:withQuickOption isClassCheckin:isClassCheckin |
|
860 |
logHistory:logHistoryArg |
|
861 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
862 |
initialReason:defaultReason |
|
863 |
||
864 |
"ask the user for a log-message to be attached to a commit. |
|
865 |
Do not allow an empty input (i.e. ask again, until either canceled or a string was given)" |
|
866 |
||
867 |
|warnMessage| |
|
868 |
||
869 |
warnMessage := nil. |
|
870 |
[ |
|
871 |
|lines infoString1 repositoryInfo branchInfo| |
|
872 |
||
873 |
infoString1 := infoString. |
|
874 |
lines := infoString asStringCollection. |
|
875 |
lines size > 1 ifTrue:[ |
|
876 |
repositoryInfo := lines second string. |
|
877 |
self repositoryInfo:repositoryInfo. |
|
878 |
lines size > 2 ifTrue:[ |
|
879 |
branchInfo := lines third string. |
|
880 |
self branchInfo:branchInfo. |
|
881 |
]. |
|
882 |
infoString1 := lines first. |
|
883 |
]. |
|
19375 | 884 |
DefaultTag notNil ifTrue:[ |
885 |
self tagHolder value:DefaultTag. |
|
886 |
self rememberTagAsDefaultHolder value:true. |
|
887 |
]. |
|
19118 | 888 |
self |
889 |
description:infoString1; |
|
890 |
logMessage:initialAnswer; |
|
891 |
withQuickOption:withQuickOption; |
|
892 |
withValidateConsistencyOption:withValidateConsistencyOption; |
|
893 |
logHistory:logHistoryArg; |
|
894 |
checkinReason:defaultReason. |
|
895 |
||
896 |
self warningMessageHolder value:warnMessage. |
|
897 |
isClassCheckin ifFalse:[ |
|
898 |
self quickCheckInVisibleHolder value:false. |
|
899 |
self quickCheckInEnabledHolder value:false. |
|
900 |
self validateConsistencyVisibleHolder value:false. |
|
901 |
self validateConsistencyEnabledHolder value:false. |
|
902 |
]. |
|
903 |
||
904 |
self open. |
|
905 |
self accepted ifFalse:[ ^ nil ]. |
|
906 |
] doUntil:[ |
|
907 |
|stopAsking| |
|
908 |
||
909 |
stopAsking := self allowEmptyLogMessage |
|
910 |
or:[ (self logMessage) withoutSeparators notEmptyOrNil ]. |
|
911 |
stopAsking ifFalse:[ |
|
912 |
warnMessage := (resources string:'Please enter a description of your changes!!') allRed. |
|
913 |
]. |
|
914 |
stopAsking |
|
915 |
]. |
|
916 |
LastReason := self checkinReason. |
|
19375 | 917 |
rememberTagAsDefaultHolder value ifTrue:[ |
918 |
DefaultTag := tagHolder value. |
|
919 |
] ifFalse:[ |
|
920 |
DefaultTag := nil |
|
921 |
]. |
|
19118 | 922 |
^ self |
923 |
||
924 |
" |
|
925 |
self getCheckinInfoFor:'hello' initialAnswer:'bla' |
|
926 |
" |
|
927 |
||
928 |
"Created: / 12-03-2012 / 12:36:26 / cg" |
|
929 |
"Modified: / 05-12-2017 / 23:07:06 / cg" |
|
930 |
! |
|
931 |
||
932 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
|
18131 | 933 |
withQuickOption:withQuickOption |
934 |
logHistory:logHistoryArg |
|
935 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
936 |
^ self |
|
937 |
getCheckinInfoFor:infoString |
|
938 |
initialAnswer:initialAnswer |
|
19118 | 939 |
withQuickOption:withQuickOption |
940 |
isClassCheckin:false |
|
18131 | 941 |
logHistory:logHistoryArg |
942 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
943 |
initialReason:(LastReason ? self class reasonBugfix) |
|
944 |
! |
|
945 |
||
946 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
|
947 |
withQuickOption:withQuickOption |
|
948 |
logHistory:logHistoryArg |
|
949 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
950 |
initialReason:defaultReason |
|
951 |
||
19067 | 952 |
"ask the user for a log-message to be attached to a commit. |
953 |
Do not allow an empty input (i.e. ask again, until either canceled or a string was given)" |
|
954 |
||
19375 | 955 |
^ self |
956 |
getCheckinInfoFor:infoString initialAnswer:initialAnswer |
|
957 |
withQuickOption:withQuickOption isClassCheckin:true |
|
958 |
logHistory:logHistoryArg |
|
959 |
withValidateConsistencyOption:withValidateConsistencyOption |
|
960 |
initialReason:defaultReason |
|
18131 | 961 |
! ! |
962 |
||
6799 | 963 |
!CheckinInfoDialog class methodsFor:'documentation'! |
964 |
||
11413 | 965 |
version |
15829
ba4d543aff02
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14685
diff
changeset
|
966 |
^ '$Header$' |
11413 | 967 |
! |
968 |
||
9161
e4761f8c188d
botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents:
8766
diff
changeset
|
969 |
version_CVS |
15829
ba4d543aff02
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
14685
diff
changeset
|
970 |
^ '$Header$' |
6799 | 971 |
! ! |
12537
2ddd00171375
class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents:
11413
diff
changeset
|
972 |