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