author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 13 Feb 2012 19:19:58 +0000 | |
branch | jv |
changeset 12158 | 54259ef3a49d |
parent 12154 | f27f8ee5ef3a |
child 12166 | 7931598931cb |
permissions | -rw-r--r-- |
10009 | 1 |
" |
10064 | 2 |
COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague |
3 |
All Rights Reserved |
|
10009 | 4 |
|
10064 | 5 |
Permission is hereby granted, free of charge, to any person |
6 |
obtaining a copy of this software and associated documentation |
|
7 |
files (the 'Software'), to deal in the Software without |
|
8 |
restriction, including without limitation the rights to use, |
|
9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
10 |
copies of the Software, and to permit persons to whom the |
|
11 |
Software is furnished to do so, subject to the following |
|
12 |
conditions: |
|
13 |
||
14 |
The above copyright notice and this permission notice shall be |
|
15 |
included in all copies or substantial portions of the Software. |
|
16 |
||
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
24 |
OTHER DEALINGS IN THE SOFTWARE. |
|
10009 | 25 |
" |
26 |
"{ Package: 'stx:libtool' }" |
|
27 |
||
28 |
"{ NameSpace: Tools }" |
|
29 |
||
12125 | 30 |
BrowserListWithFilter subclass:#ChangeList |
31 |
instanceVariableNames:'listHolder showRemovedHolder showSameHolder allowRemoveHolder |
|
32 |
allowAcceptHolder' |
|
10009 | 33 |
classVariableNames:'LastSelectionConditionString' |
34 |
poolDictionaries:'' |
|
35 |
category:'Interface-Browsers-ChangeSet' |
|
36 |
! |
|
37 |
||
38 |
HierarchicalItem subclass:#ListEntry |
|
39 |
instanceVariableNames:'change application x' |
|
40 |
classVariableNames:'' |
|
41 |
poolDictionaries:'' |
|
42 |
privateIn:ChangeList |
|
43 |
! |
|
44 |
||
45 |
!ChangeList class methodsFor:'documentation'! |
|
46 |
||
47 |
copyright |
|
48 |
" |
|
10064 | 49 |
COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague |
50 |
All Rights Reserved |
|
51 |
||
52 |
Permission is hereby granted, free of charge, to any person |
|
53 |
obtaining a copy of this software and associated documentation |
|
54 |
files (the 'Software'), to deal in the Software without |
|
55 |
restriction, including without limitation the rights to use, |
|
56 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
57 |
copies of the Software, and to permit persons to whom the |
|
58 |
Software is furnished to do so, subject to the following |
|
59 |
conditions: |
|
10009 | 60 |
|
10064 | 61 |
The above copyright notice and this permission notice shall be |
62 |
included in all copies or substantial portions of the Software. |
|
63 |
||
64 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
65 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
66 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
67 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
68 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
69 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
70 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
71 |
OTHER DEALINGS IN THE SOFTWARE. |
|
10009 | 72 |
" |
73 |
! ! |
|
74 |
||
75 |
!ChangeList class methodsFor:'image specs'! |
|
76 |
||
77 |
iconEqual |
|
12125 | 78 |
^ ToolbarIconLibrary iconEqual12x12 |
10009 | 79 |
|
12125 | 80 |
"Modified: / 31-08-2011 / 10:52:34 / cg" |
10009 | 81 |
! |
82 |
||
83 |
iconEqualGrayed |
|
12125 | 84 |
^ ToolbarIconLibrary iconEqualGray12x12 |
10009 | 85 |
|
12125 | 86 |
"Modified: / 31-08-2011 / 10:54:00 / cg" |
10009 | 87 |
! |
88 |
||
89 |
iconMinus |
|
12125 | 90 |
^ ToolbarIconLibrary iconMinus12x12 |
10009 | 91 |
|
12125 | 92 |
"Modified: / 31-08-2011 / 10:51:26 / cg" |
10009 | 93 |
! |
94 |
||
95 |
iconMinusGrayed |
|
12125 | 96 |
^ ToolbarIconLibrary iconMinusGray12x12 |
10009 | 97 |
|
12125 | 98 |
"Modified: / 31-08-2011 / 10:54:40 / cg" |
10009 | 99 |
! |
100 |
||
101 |
iconPlus |
|
12125 | 102 |
^ ToolbarIconLibrary iconPlus12x12 |
10009 | 103 |
|
12125 | 104 |
"Modified: / 31-08-2011 / 10:51:39 / cg" |
10009 | 105 |
! |
106 |
||
107 |
iconPlusGrayed |
|
12125 | 108 |
^ ToolbarIconLibrary iconPlusGray12x12 |
10009 | 109 |
|
12125 | 110 |
"Modified: / 31-08-2011 / 10:54:46 / cg" |
10009 | 111 |
! ! |
112 |
||
113 |
!ChangeList class methodsFor:'interface specs'! |
|
114 |
||
115 |
windowSpec |
|
116 |
"This resource specification was automatically generated |
|
117 |
by the UIPainter of ST/X." |
|
118 |
||
119 |
"Do not manually edit this!! If it is corrupted, |
|
120 |
the UIPainter may not be able to read the specification." |
|
121 |
||
122 |
" |
|
123 |
UIPainter new openOnClass:Tools::ChangeList andSelector:#windowSpec |
|
124 |
Tools::ChangeList new openInterface:#windowSpec |
|
125 |
Tools::ChangeList open |
|
126 |
" |
|
127 |
||
128 |
<resource: #canvas> |
|
129 |
||
130 |
^ |
|
131 |
#(FullSpec |
|
132 |
name: windowSpec |
|
133 |
window: |
|
134 |
(WindowSpec |
|
135 |
label: 'Change List' |
|
136 |
name: 'Change List' |
|
137 |
min: (Point 10 10) |
|
138 |
bounds: (Rectangle 0 0 300 300) |
|
139 |
) |
|
140 |
component: |
|
141 |
(SpecCollection |
|
142 |
collection: ( |
|
143 |
(SelectionInListModelViewSpec |
|
10449 | 144 |
name: 'List' |
10009 | 145 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
146 |
model: selectionHolder |
|
12125 | 147 |
menu: menuHolderWithShowFilter |
10009 | 148 |
hasHorizontalScrollBar: true |
149 |
hasVerticalScrollBar: true |
|
150 |
listModel: listHolder |
|
151 |
multipleSelectOk: true |
|
152 |
useIndex: false |
|
153 |
highlightMode: line |
|
154 |
doubleClickSelector: selectionDoubleclicked |
|
12125 | 155 |
postBuildCallback: postBuildListView: |
156 |
) |
|
157 |
(InputFieldSpec |
|
158 |
name: 'Filter' |
|
159 |
layout: (LayoutFrame 0 0 0 0 0 1 26 0) |
|
160 |
initiallyInvisible: true |
|
161 |
model: filterPatternHolder |
|
162 |
immediateAccept: true |
|
163 |
acceptOnLeave: false |
|
164 |
acceptOnReturn: false |
|
165 |
acceptOnTab: false |
|
166 |
acceptOnPointerLeave: false |
|
167 |
emptyFieldReplacementText: 'Search Filter...' |
|
168 |
usePreferredHeight: true |
|
169 |
useDynamicPreferredHeight: true |
|
170 |
postBuildCallback: postBuildFilterView: |
|
10009 | 171 |
) |
172 |
) |
|
173 |
||
174 |
) |
|
175 |
) |
|
12125 | 176 |
|
177 |
"Modified: / 29-11-2011 / 15:52:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10009 | 178 |
! ! |
179 |
||
180 |
!ChangeList class methodsFor:'menu specs'! |
|
181 |
||
182 |
listMenu |
|
183 |
"This resource specification was automatically generated |
|
184 |
by the MenuEditor of ST/X." |
|
185 |
||
186 |
"Do not manually edit this!! If it is corrupted, |
|
187 |
the MenuEditor may not be able to read the specification." |
|
188 |
||
12125 | 189 |
|
10009 | 190 |
" |
191 |
MenuEditor new openOnClass:Tools::ChangeList andSelector:#listMenu |
|
192 |
(Menu new fromLiteralArrayEncoding:(Tools::ChangeList listMenu)) startUp |
|
193 |
" |
|
194 |
||
195 |
<resource: #menu> |
|
196 |
||
197 |
^ |
|
198 |
#(Menu |
|
199 |
( |
|
200 |
(MenuItem |
|
201 |
enabled: hasChangeSelectedAndNotRemoved |
|
202 |
label: 'Apply' |
|
203 |
itemValue: listMenuApply |
|
204 |
translateLabel: true |
|
12125 | 205 |
isVisible: allowAcceptHolder |
10009 | 206 |
shortcutKey: Accept |
207 |
) |
|
208 |
(MenuItem |
|
209 |
label: 'Apply all' |
|
210 |
itemValue: listMenuApplyAll |
|
211 |
translateLabel: true |
|
12125 | 212 |
isVisible: allowAcceptHolder |
10009 | 213 |
) |
214 |
(MenuItem |
|
215 |
enabled: hasSingleChangeSelectedAndCanBrowse |
|
216 |
label: 'Browse' |
|
217 |
itemValue: listMenuBrowse |
|
218 |
translateLabel: true |
|
219 |
) |
|
220 |
(MenuItem |
|
221 |
label: '-' |
|
222 |
) |
|
223 |
(MenuItem |
|
224 |
label: 'Delete' |
|
225 |
itemValue: listMenuDeleteSelection |
|
226 |
nameKey: Delete |
|
227 |
translateLabel: true |
|
12125 | 228 |
isVisible: allowRemoveHolder |
10009 | 229 |
shortcutKey: Delete |
230 |
) |
|
231 |
(MenuItem |
|
232 |
label: '-' |
|
12125 | 233 |
isVisible: allowRemoveHolder |
10009 | 234 |
) |
235 |
(MenuItem |
|
236 |
label: 'Select...' |
|
237 |
translateLabel: true |
|
238 |
submenu: |
|
239 |
(Menu |
|
240 |
( |
|
241 |
(MenuItem |
|
242 |
label: 'Select same' |
|
243 |
itemValue: listMenuSelectSame |
|
244 |
translateLabel: true |
|
245 |
) |
|
246 |
(MenuItem |
|
247 |
label: 'Select additions (new classes/methods)' |
|
248 |
itemValue: listMenuSelectAdditions |
|
249 |
translateLabel: true |
|
250 |
) |
|
251 |
(MenuItem |
|
252 |
label: 'Select removals' |
|
253 |
itemValue: listMenuSelectRemovals |
|
254 |
translateLabel: true |
|
255 |
) |
|
256 |
(MenuItem |
|
257 |
label: '-' |
|
258 |
) |
|
259 |
(MenuItem |
|
260 |
label: 'Select all' |
|
261 |
itemValue: listMenuSelectAll |
|
262 |
translateLabel: true |
|
263 |
) |
|
264 |
(MenuItem |
|
265 |
label: 'Select none' |
|
266 |
itemValue: listMenuSelectNone |
|
267 |
translateLabel: true |
|
268 |
) |
|
269 |
(MenuItem |
|
270 |
label: '-' |
|
271 |
) |
|
272 |
(MenuItem |
|
273 |
label: 'Select using block' |
|
274 |
itemValue: listMenuSelectUsingBlock |
|
275 |
translateLabel: true |
|
276 |
) |
|
277 |
) |
|
278 |
nil |
|
279 |
nil |
|
280 |
) |
|
281 |
) |
|
282 |
(MenuItem |
|
283 |
label: '-' |
|
284 |
) |
|
285 |
(MenuItem |
|
286 |
label: 'Show Deleted' |
|
287 |
translateLabel: true |
|
12125 | 288 |
isVisible: allowRemoveHolder |
10009 | 289 |
indication: showRemovedHolder |
290 |
) |
|
291 |
(MenuItem |
|
292 |
label: 'Inspect change' |
|
293 |
itemValue: listMenuInspect |
|
294 |
translateLabel: true |
|
295 |
) |
|
296 |
) |
|
297 |
nil |
|
298 |
nil |
|
299 |
) |
|
300 |
! ! |
|
301 |
||
302 |
!ChangeList class methodsFor:'plugIn spec'! |
|
303 |
||
304 |
aspectSelectors |
|
305 |
"This resource specification was automatically generated |
|
306 |
by the UIPainter of ST/X." |
|
307 |
||
308 |
"Do not manually edit this. If it is corrupted, |
|
309 |
the UIPainter may not be able to read the specification." |
|
310 |
||
311 |
"Return a description of exported aspects; |
|
312 |
these can be connected to aspects of an embedding application |
|
313 |
(if this app is embedded in a subCanvas)." |
|
314 |
||
12154
f27f8ee5ef3a
More improvements in InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
315 |
^super aspectSelectors , #( |
12125 | 316 |
#allowAcceptHolder |
317 |
#allowRemoveHolder |
|
318 |
||
10009 | 319 |
#inGeneratorHolder |
320 |
#menuHolder |
|
321 |
#outGeneratorHolder |
|
322 |
#selectionHolder |
|
323 |
#showRemovedHolder |
|
10449 | 324 |
#showSameHolder |
10009 | 325 |
). |
326 |
||
12154
f27f8ee5ef3a
More improvements in InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
327 |
"Modified: / 11-02-2012 / 22:45:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10009 | 328 |
! ! |
329 |
||
330 |
!ChangeList methodsFor:'accessing'! |
|
331 |
||
12158 | 332 |
acceptEnabled |
333 |
^ self allowAccept |
|
334 |
||
335 |
"Created: / 08-02-2012 / 14:45:12 / cg" |
|
336 |
! |
|
337 |
||
12125 | 338 |
allowAccept |
339 |
^ self allowAcceptHolder value |
|
10009 | 340 |
|
12125 | 341 |
"Created: / 24-01-2012 / 19:52:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
342 |
! |
|
343 |
||
344 |
allowAccept: aBoolean |
|
345 |
^ self allowAcceptHolder value: aBoolean |
|
346 |
||
347 |
"Created: / 24-01-2012 / 19:52:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
11194 | 348 |
! |
349 |
||
12125 | 350 |
allowRemoved |
351 |
^ self allowRemoveHolder value ? true |
|
352 |
||
353 |
"Created: / 05-12-2009 / 14:28:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
354 |
! |
|
10009 | 355 |
|
12125 | 356 |
list |
357 |
^ listHolder value |
|
358 |
||
359 |
"Created: / 05-12-2009 / 14:48:29 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
360 |
"Created: / 27-12-2011 / 14:18:25 / cg" |
|
11035 | 361 |
! |
362 |
||
10009 | 363 |
selection |
364 |
||
365 |
^self selectionHolder value |
|
366 |
||
367 |
"Created: / 05-12-2009 / 14:48:29 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
368 |
! |
|
369 |
||
12125 | 370 |
selectionIndices |
371 |
|sel| |
|
372 |
||
373 |
(sel := self selectionHolder value) isEmptyOrNil ifTrue:[^ #()]. |
|
374 |
^ sel collect:[:each | self list identityIndexOf:each]. |
|
375 |
||
376 |
"Created: / 05-12-2009 / 14:48:29 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
377 |
"Created: / 27-12-2011 / 10:56:20 / cg" |
|
378 |
! |
|
379 |
||
10009 | 380 |
showRemoved |
381 |
||
382 |
^self showRemovedHolder value ? true |
|
383 |
||
384 |
"Created: / 05-12-2009 / 14:28:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
385 |
! ! |
|
386 |
||
387 |
!ChangeList methodsFor:'actions'! |
|
388 |
||
389 |
selectionDoubleclicked |
|
390 |
||
12125 | 391 |
self listMenuBrowse |
392 |
"/ | app | |
|
393 |
"/ |
|
394 |
"/ self selection do: |
|
395 |
"/ [:e|e removed: e removed not]. |
|
396 |
"/ ((app := self masterApplication) respondsTo: #redrawChangeListViews) |
|
397 |
"/ ifTrue:[app redrawChangeListViews]. |
|
10009 | 398 |
|
12125 | 399 |
"Modified: / 24-01-2012 / 22:01:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10009 | 400 |
! ! |
401 |
||
402 |
!ChangeList methodsFor:'aspects'! |
|
403 |
||
12125 | 404 |
allowAcceptHolder |
10009 | 405 |
"return/create the valueHolder 'acceptEnabledHolder'" |
406 |
||
12125 | 407 |
allowAcceptHolder isNil ifTrue:[ |
408 |
allowAcceptHolder := ValueHolder with:nil "defaultValue here". |
|
10009 | 409 |
]. |
12125 | 410 |
^ allowAcceptHolder |
411 |
||
412 |
"Created: / 24-01-2012 / 19:53:00 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
413 |
! |
|
414 |
||
415 |
allowAcceptHolder:something |
|
416 |
"set the 'allowAcceptHolder' value holder (automatically generated)" |
|
417 |
||
418 |
allowAcceptHolder := something. |
|
10009 | 419 |
! |
420 |
||
12125 | 421 |
allowRemoveHolder |
422 |
"return/create the 'allowRemoveHolder' value holder (automatically generated)" |
|
423 |
||
424 |
allowRemoveHolder isNil ifTrue:[ |
|
425 |
allowRemoveHolder := ValueHolder with:true. |
|
426 |
allowRemoveHolder addDependent:self. |
|
427 |
]. |
|
428 |
^ allowRemoveHolder |
|
429 |
||
430 |
"Modified (comment): / 24-01-2012 / 19:44:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
431 |
! |
|
432 |
||
433 |
allowRemoveHolder:something |
|
434 |
"set the 'showRemovedHolder' value holder (automatically generated)" |
|
435 |
||
436 |
|oldValue newValue| |
|
437 |
||
438 |
allowRemoveHolder notNil ifTrue:[ |
|
439 |
oldValue := allowRemoveHolder value. |
|
440 |
allowRemoveHolder removeDependent:self. |
|
441 |
]. |
|
442 |
allowRemoveHolder := something. |
|
443 |
allowRemoveHolder notNil ifTrue:[ |
|
444 |
allowRemoveHolder addDependent:self. |
|
445 |
]. |
|
446 |
newValue := allowRemoveHolder value. |
|
447 |
oldValue ~~ newValue ifTrue:[ |
|
448 |
self |
|
449 |
update:#value |
|
450 |
with:newValue |
|
451 |
from:allowRemoveHolder. |
|
452 |
]. |
|
10009 | 453 |
! |
454 |
||
455 |
listHolder |
|
456 |
listHolder isNil ifTrue:[ |
|
457 |
listHolder := ValueHolder new. |
|
458 |
]. |
|
459 |
^ listHolder |
|
460 |
! |
|
461 |
||
462 |
showRemovedHolder |
|
463 |
"return/create the 'showRemovedHolder' value holder (automatically generated)" |
|
464 |
||
465 |
showRemovedHolder isNil ifTrue:[ |
|
466 |
showRemovedHolder := ValueHolder with: true. |
|
467 |
showRemovedHolder addDependent: self. |
|
468 |
]. |
|
469 |
^ showRemovedHolder |
|
470 |
! |
|
471 |
||
10449 | 472 |
showRemovedHolder:something |
10009 | 473 |
"set the 'showRemovedHolder' value holder (automatically generated)" |
474 |
||
10449 | 475 |
|oldValue newValue| |
476 |
||
477 |
showRemovedHolder notNil ifTrue:[ |
|
478 |
oldValue := showRemovedHolder value. |
|
479 |
showRemovedHolder removeDependent:self. |
|
480 |
]. |
|
481 |
showRemovedHolder := something. |
|
482 |
showRemovedHolder notNil ifTrue:[ |
|
483 |
showRemovedHolder addDependent:self. |
|
484 |
]. |
|
485 |
newValue := showRemovedHolder value. |
|
486 |
oldValue ~~ newValue ifTrue:[ |
|
487 |
self update:#value with:newValue from:showRemovedHolder. |
|
488 |
]. |
|
489 |
! |
|
490 |
||
491 |
showSameHolder |
|
492 |
"return/create the 'showSameHolder' value holder (automatically generated)" |
|
493 |
||
494 |
showSameHolder isNil ifTrue:[ |
|
495 |
showSameHolder := ValueHolder with: true. |
|
496 |
showSameHolder addDependent:self. |
|
497 |
]. |
|
498 |
^ showSameHolder |
|
499 |
||
500 |
"Modified: / 04-08-2011 / 18:39:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
501 |
! |
|
502 |
||
503 |
showSameHolder:something |
|
504 |
"set the 'showSameHolder' value holder (automatically generated)" |
|
505 |
||
506 |
|oldValue newValue| |
|
507 |
||
508 |
showSameHolder notNil ifTrue:[ |
|
509 |
oldValue := showSameHolder value. |
|
510 |
showSameHolder removeDependent:self. |
|
511 |
]. |
|
512 |
showSameHolder := something. |
|
513 |
showSameHolder notNil ifTrue:[ |
|
514 |
showSameHolder addDependent:self. |
|
515 |
]. |
|
516 |
newValue := showSameHolder value. |
|
517 |
oldValue ~~ newValue ifTrue:[ |
|
518 |
self update:#value with:newValue from:showSameHolder. |
|
519 |
]. |
|
10009 | 520 |
! ! |
521 |
||
522 |
!ChangeList methodsFor:'change & update'! |
|
523 |
||
524 |
update: aspect with: param from: sender |
|
525 |
||
10449 | 526 |
sender == selectionHolder ifTrue:[ |
527 |
self selectionChanged. |
|
528 |
^self |
|
529 |
]. |
|
530 |
sender == showSameHolder ifTrue:[ |
|
531 |
self updateList |
|
532 |
]. |
|
533 |
sender == showRemovedHolder ifTrue:[ |
|
534 |
self updateList |
|
535 |
]. |
|
536 |
||
10009 | 537 |
^super update: aspect with: param from: sender |
538 |
||
539 |
"Created: / 24-10-2009 / 19:47:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
12125 | 540 |
"Modified (format): / 27-12-2011 / 14:20:30 / cg" |
10009 | 541 |
! ! |
542 |
||
543 |
!ChangeList methodsFor:'event processing'! |
|
544 |
||
545 |
buttonPress:button x:x y:y view:aView |
|
546 |
||
547 |
| itemIndex item | |
|
548 |
||
549 |
button ~= 1 ifTrue:[^aView buttonPress:button x:x y:y]. |
|
550 |
||
551 |
itemIndex := aView yVisibleToLineNr:y. |
|
12125 | 552 |
itemIndex isNil ifTrue:[^self]. |
10009 | 553 |
itemIndex == 0 ifTrue:[^self]. |
554 |
itemIndex > aView list size ifTrue:[^self]. |
|
555 |
item := aView list at: itemIndex. |
|
556 |
||
557 |
((aView left + x) between: (item x) and: (item x + 16)) |
|
558 |
ifFalse:[^aView buttonPress:button x:x y:y]. |
|
559 |
||
560 |
item removed: item removed not. |
|
561 |
aView invalidate |
|
562 |
||
563 |
"Created: / 08-12-2009 / 14:12:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
12125 | 564 |
"Modified: / 18-11-2011 / 14:55:41 / cg" |
10009 | 565 |
! |
566 |
||
567 |
handlesButtonPress:button inView:aView |
|
568 |
||
12125 | 569 |
^listView scrolledView == aView |
10009 | 570 |
|
571 |
"Created: / 08-12-2009 / 14:08:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
12158 | 572 |
! |
573 |
||
574 |
handlesKeyPress:key inView:aView |
|
575 |
^(key == #Accept or:[ key == #Ctrls]) |
|
576 |
and:[ listView scrolledView == aView ] |
|
577 |
||
578 |
"Created: / 08-02-2012 / 14:43:11 / cg" |
|
579 |
! |
|
580 |
||
581 |
keyPress:key x:x y:y view:aView |
|
582 |
(key == #Accept or:[ key == #Ctrls]) ifTrue:[ |
|
583 |
self listMenuApply. |
|
584 |
^ self |
|
585 |
]. |
|
586 |
||
587 |
"Created: / 08-02-2012 / 14:42:18 / cg" |
|
10009 | 588 |
! ! |
589 |
||
590 |
!ChangeList methodsFor:'generators'! |
|
591 |
||
592 |
makeGenerator |
|
593 |
"Superclass Tools::BrowserList says that I am responsible to implement this method" |
|
594 |
||
595 |
^Iterator on: |
|
596 |
[:whatToDo| |
|
597 |
selectionHolder value do: |
|
598 |
[:changeListItem| | change | |
|
599 |
change := changeListItem change. |
|
600 |
change isCompositeChange ifTrue: |
|
601 |
[change changes do: whatToDo]]]. |
|
602 |
||
603 |
"Modified: / 24-07-2009 / 23:00:41 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
604 |
"Modified: / 24-10-2009 / 20:00:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
605 |
! ! |
|
606 |
||
607 |
!ChangeList methodsFor:'hooks'! |
|
608 |
||
12125 | 609 |
postBuildListView: aView |
10009 | 610 |
|
12125 | 611 |
super postBuildListView: aView. |
612 |
listView scrolledView delegate: self. |
|
10009 | 613 |
|
12125 | 614 |
"Created: / 29-11-2011 / 14:56:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10009 | 615 |
! ! |
616 |
||
617 |
!ChangeList methodsFor:'initialization'! |
|
618 |
||
619 |
initialize |
|
620 |
||
621 |
super initialize. |
|
622 |
menuHolder := [self menuFor: #listMenu]. |
|
623 |
||
624 |
"Created: / 29-10-2010 / 12:50:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
625 |
! ! |
|
626 |
||
627 |
!ChangeList methodsFor:'menu actions'! |
|
628 |
||
629 |
listMenuApply |
|
12158 | 630 |
|sel list idx| |
10009 | 631 |
|
632 |
self acceptEnabled ifFalse:[^self]. |
|
633 |
||
12158 | 634 |
(sel := self selectionHolder value) do:[:e|e change apply]. |
635 |
sel size == 1 ifTrue:[ |
|
636 |
list := self listHolder value. |
|
637 |
idx := list indexOf:(sel first). |
|
638 |
idx < list size ifTrue:[ |
|
639 |
self selectionHolder value:(Array with:(list at:idx+1)) |
|
640 |
] ifFalse:[ |
|
641 |
self selectionHolder value:#() |
|
642 |
]. |
|
643 |
]. |
|
10009 | 644 |
|
645 |
"Modified: / 24-10-2009 / 22:02:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
12158 | 646 |
"Modified: / 08-02-2012 / 14:53:25 / cg" |
10009 | 647 |
! |
648 |
||
649 |
listMenuApplyAll |
|
650 |
||
651 |
self acceptEnabled ifFalse:[^self]. |
|
652 |
||
653 |
self selection value do: |
|
654 |
[:e|e removed ifFalse:[e change apply]]. |
|
655 |
||
656 |
"Created: / 05-12-2009 / 14:53:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
657 |
! |
|
658 |
||
659 |
listMenuBrowse |
|
660 |
||
12125 | 661 |
self listMenuBrowseChanges: |
662 |
((self selectionHolder value ? #()) collect:[:e|e change]) |
|
663 |
||
664 |
"Modified: / 24-01-2012 / 22:00:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
665 |
! |
|
666 |
||
667 |
listMenuBrowseChanges: changes |
|
668 |
||
10009 | 669 |
| classes methods methodsOnly | |
670 |
classes := Set new. |
|
671 |
methods := Set new. |
|
672 |
methodsOnly := true. |
|
12125 | 673 |
changes do: |
10009 | 674 |
[:each| |
12125 | 675 |
each isClassChange ifTrue: |
676 |
[each changeClass ifNotNil: |
|
677 |
[classes add: each changeClass. |
|
678 |
each isMethodCodeChange |
|
10009 | 679 |
ifTrue: |
12125 | 680 |
[each changeMethod ifNotNil: |
681 |
[methods add:each changeMethod]] |
|
10009 | 682 |
ifFalse: |
683 |
[methodsOnly := false]]]]. |
|
684 |
methodsOnly |
|
685 |
ifTrue: |
|
686 |
[methods size = 1 |
|
687 |
ifTrue:[Smalltalk browserClass openInMethod: methods anyOne] |
|
688 |
ifFalse:[Smalltalk browserClass browseMethods: methods asArray title: 'Selected methods from changeset' sort: true]] |
|
689 |
ifFalse: |
|
690 |
[classes size = 1 |
|
691 |
ifTrue:[Smalltalk browserClass browseClass: classes anyOne] |
|
692 |
ifFalse:[Smalltalk browserClass browseClasses: classes]] |
|
693 |
||
694 |
"Modified: / 24-10-2009 / 22:02:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
12125 | 695 |
"Created: / 24-01-2012 / 22:00:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10009 | 696 |
! |
697 |
||
698 |
listMenuDeleteSelection |
|
699 |
||
700 |
self selectionHolder value do: |
|
701 |
[:each|each removed: true]. |
|
702 |
self updateList |
|
703 |
! |
|
704 |
||
705 |
listMenuInspect |
|
706 |
||
707 |
| selection | |
|
708 |
||
709 |
selection := self selectionHolder value collect:[:e|e change]. |
|
710 |
selection size = 1 |
|
711 |
ifTrue:[selection anyOne inspect] |
|
712 |
ifFalse:[selection inspect]. |
|
713 |
||
714 |
"Modified: / 24-10-2009 / 22:02:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
715 |
! |
|
716 |
||
717 |
listMenuSelectAdditions |
|
718 |
||
719 |
self listMenuSelectAllSuchThat:[:change|change delta = #+] |
|
720 |
! |
|
721 |
||
722 |
listMenuSelectAll |
|
723 |
||
724 |
self listMenuSelectAllSuchThat:[:change|true] |
|
725 |
! |
|
726 |
||
727 |
listMenuSelectAllSuchThat:conditionBlock |
|
728 |
|newSelection| |
|
729 |
||
730 |
newSelection := self listHolder value |
|
731 |
select:[:entry | conditionBlock value:entry change ]. |
|
732 |
self selectionHolder value:newSelection |
|
733 |
! |
|
734 |
||
735 |
listMenuSelectNone |
|
736 |
||
737 |
self listMenuSelectAllSuchThat:[:change|false] |
|
738 |
! |
|
739 |
||
740 |
listMenuSelectRemovals |
|
741 |
||
742 |
self listMenuSelectAllSuchThat:[:change|change delta = #-] |
|
743 |
! |
|
744 |
||
745 |
listMenuSelectSame |
|
746 |
||
747 |
self listMenuSelectAllSuchThat:[:change|change delta = #=] |
|
748 |
! |
|
749 |
||
750 |
listMenuSelectUsingBlock |
|
751 |
||
752 |
|conditionBlockString conditionBlock dialog textHolder template| |
|
753 |
||
754 |
template := |
|
755 |
'[:change| |
|
756 |
"/ Define condition for selection below: |
|
757 |
"/ change is an instance of Change |
|
758 |
"/ change will be selected if and only if block returns true |
|
759 |
||
760 |
||
761 |
true"/always select the change |
|
762 |
] |
|
763 |
'. |
|
764 |
||
765 |
LastSelectionConditionString isNil ifTrue:[ |
|
766 |
LastSelectionConditionString := template. |
|
767 |
]. |
|
768 |
||
769 |
||
770 |
textHolder := ValueHolder new. |
|
771 |
dialog := Dialog |
|
772 |
forRequestText:(resources string:'Enter condition for selection') |
|
773 |
lines:20 |
|
774 |
columns:70 |
|
775 |
initialAnswer:LastSelectionConditionString |
|
776 |
model:textHolder. |
|
777 |
dialog addButton:(Button label:'Template' action:[textHolder value:template. textHolder changed:#value.]). |
|
778 |
dialog open. |
|
779 |
dialog accepted ifFalse:[^ self]. |
|
780 |
||
781 |
conditionBlockString := textHolder value. |
|
782 |
LastSelectionConditionString := conditionBlockString. |
|
783 |
||
784 |
conditionBlock := Parser evaluate:conditionBlockString. |
|
785 |
conditionBlock isBlock ifFalse:[ |
|
786 |
self error:'Bad selection block (syntax error?)'. |
|
787 |
^ self |
|
788 |
]. |
|
789 |
||
790 |
self listMenuSelectAllSuchThat: conditionBlock |
|
791 |
! |
|
792 |
||
793 |
listMenuUndeleteSelection |
|
794 |
||
795 |
self selectionHolder value do: |
|
796 |
[:each|each removed: false]. |
|
797 |
self updateList |
|
798 |
! ! |
|
799 |
||
800 |
!ChangeList methodsFor:'private'! |
|
801 |
||
802 |
application |
|
803 |
||
804 |
^self |
|
805 |
||
806 |
"Created: / 05-12-2009 / 14:10:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
807 |
! |
|
808 |
||
809 |
browserNameList |
|
810 |
||
811 |
^'Change list' |
|
812 |
||
813 |
"Modified: / 24-07-2009 / 22:06:53 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
814 |
! |
|
815 |
||
816 |
listEntryFor:chg |
|
817 |
^ListEntry change:chg application: self |
|
818 |
||
819 |
"Modified: / 05-12-2009 / 14:39:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
820 |
! |
|
821 |
||
822 |
makeDependent |
|
823 |
||
824 |
"Modified: / 24-07-2009 / 22:06:32 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
825 |
! |
|
826 |
||
827 |
makeIndependent |
|
828 |
||
829 |
"Modified: / 24-07-2009 / 22:06:37 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
830 |
! |
|
831 |
||
832 |
parentOrModel |
|
833 |
||
834 |
^self |
|
835 |
||
836 |
"Created: / 05-12-2009 / 14:14:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
837 |
! |
|
838 |
||
839 |
updateList |
|
12125 | 840 |
|inGenerator changeset newList | |
10009 | 841 |
|
842 |
inGenerator := self inGeneratorHolder value. |
|
843 |
changeset := inGenerator ifNil:[ #() ] ifNotNil:[ inGenerator ]. |
|
12125 | 844 |
newList := changeset |
10449 | 845 |
select: |
846 |
[:chg | |
|
847 |
(self showRemovedHolder value or:[ chg removed not ]) |
|
10451 | 848 |
and:[self showSameHolder value or:[chg delta ~~ #=]] |
12125 | 849 |
]. |
850 |
newList := self filterList: newList. |
|
851 |
newList := newList collect:[:chg | self listEntryFor:chg ]. |
|
852 |
self listHolder value ~= newList ifTrue:[ |
|
853 |
self listHolder value: newList. |
|
854 |
] |
|
10449 | 855 |
|
12125 | 856 |
"Modified: / 29-11-2011 / 15:38:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
857 |
"Modified: / 28-12-2011 / 15:46:15 / cg" |
|
10009 | 858 |
! ! |
859 |
||
860 |
!ChangeList methodsFor:'queries'! |
|
861 |
||
862 |
hasChangeSelected |
|
863 |
||
864 |
^self selectionHolder value size > 0 |
|
865 |
! |
|
866 |
||
867 |
hasChangeSelectedAndNotRemoved |
|
868 |
||
869 |
| selection | |
|
870 |
selection := self selectionHolder value ? #(). |
|
871 |
^selection size > 0 and: |
|
872 |
[selection allSatisfy:[:e|e removed not]]. |
|
873 |
! |
|
874 |
||
875 |
hasSingleChangeSelected |
|
876 |
||
877 |
^self selectionHolder value size = 1 |
|
878 |
! |
|
879 |
||
880 |
hasSingleChangeSelectedAndCanBrowse |
|
881 |
||
882 |
||
883 |
self selectionHolder value ? #() do: |
|
884 |
[:each| |
|
885 |
(each change isClassChange and: |
|
886 |
[each change isMethodChange not |
|
887 |
or:[each change isMethodCodeChange]]) ifFalse:[^false]]. |
|
888 |
^true |
|
889 |
! ! |
|
890 |
||
891 |
!ChangeList::ListEntry class methodsFor:'instance creation'! |
|
892 |
||
893 |
change: aChange |
|
894 |
||
895 |
^self new change: aChange |
|
896 |
||
897 |
"Created: / 24-07-2009 / 22:43:41 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
898 |
! |
|
899 |
||
900 |
change: aChange application: anApplicationModel |
|
901 |
||
902 |
^self new change: aChange; application: anApplicationModel |
|
903 |
||
904 |
"Created: / 05-12-2009 / 14:16:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
905 |
! |
|
906 |
||
907 |
change: aChange parent: aChangeList |
|
908 |
||
909 |
^self new change: aChange; parent: aChangeList |
|
910 |
||
911 |
"Created: / 25-07-2009 / 23:33:00 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
912 |
! ! |
|
913 |
||
914 |
!ChangeList::ListEntry methodsFor:'accessing'! |
|
915 |
||
916 |
application |
|
917 |
^ application ifNil:[super application] |
|
918 |
||
919 |
"Modified: / 05-12-2009 / 14:16:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
920 |
! |
|
921 |
||
922 |
application:anApplicationModel |
|
923 |
application := anApplicationModel. |
|
924 |
||
925 |
"Modified: / 05-12-2009 / 14:15:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
926 |
! |
|
927 |
||
928 |
change |
|
929 |
^ change |
|
930 |
! |
|
931 |
||
932 |
change:aChange |
|
933 |
self assert: ((aChange isKindOf: Change) or:[aChange isKindOf: RefactoryChange]). |
|
934 |
change := aChange. |
|
935 |
||
936 |
"Modified: / 25-07-2009 / 23:40:38 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
12125 | 937 |
"Modified (format): / 04-12-2011 / 14:58:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10009 | 938 |
! |
939 |
||
940 |
changeClass |
|
941 |
||
942 |
^change changeClass |
|
943 |
! |
|
944 |
||
10334 | 945 |
changeSource |
946 |
||
947 |
^change changeSource |
|
948 |
||
949 |
"Created: / 19-07-2011 / 12:03:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
950 |
! |
|
951 |
||
10009 | 952 |
children |
953 |
||
12125 | 954 |
children isNil ifTrue:[ |
955 |
change isCompositeChange ifTrue:[ |
|
956 |
children := OrderedCollection new: change changes size. |
|
957 |
change changes do:[:chg| |
|
958 |
((self application showRemovedHolder value or:[ chg removed not ]) |
|
959 |
and:[self application showSameHolder value or:[chg delta ~~ #=]]) |
|
960 |
ifTrue:[ |
|
961 |
children add: ((self application listEntryFor: chg) parent: self) |
|
962 |
] |
|
963 |
]. |
|
964 |
] ifFalse:[ |
|
965 |
children := #() |
|
966 |
] |
|
967 |
]. |
|
10009 | 968 |
^children |
969 |
||
970 |
"Created: / 25-07-2009 / 23:32:39 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
12125 | 971 |
"Modified (format): / 18-11-2011 / 14:56:25 / cg" |
972 |
"Modified: / 04-12-2011 / 15:08:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10009 | 973 |
! |
974 |
||
975 |
delta |
|
12125 | 976 |
"/ obsolete: please use deltaDetail |
10009 | 977 |
|
978 |
^change delta |
|
979 |
||
980 |
"Created: / 29-10-2010 / 14:32:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
12125 | 981 |
"Modified (comment): / 31-08-2011 / 10:30:02 / cg" |
982 |
! |
|
983 |
||
984 |
deltaDetail |
|
985 |
||
986 |
^change deltaDetail |
|
987 |
||
988 |
"Created: / 29-10-2010 / 14:32:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
989 |
"Created: / 31-08-2011 / 10:29:21 / cg" |
|
10009 | 990 |
! |
991 |
||
992 |
iconDelta |
|
993 |
||
994 |
| iconSelector | |
|
995 |
iconSelector := self iconSelector. |
|
12125 | 996 |
iconSelector isNil ifTrue:[^nil]. |
10009 | 997 |
self removed ifTrue:[iconSelector := iconSelector , #Grayed]. |
998 |
^self application class perform: iconSelector asSymbol. |
|
999 |
||
1000 |
"Created: / 05-12-2009 / 14:11:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
12125 | 1001 |
"Modified: / 18-11-2011 / 14:56:33 / cg" |
10009 | 1002 |
! |
1003 |
||
1004 |
iconRemoved |
|
1005 |
||
1006 |
^self removed |
|
1007 |
ifTrue: [self application class uncheckedIcon ] |
|
1008 |
ifFalse:[self application class checkedIcon ] |
|
1009 |
||
1010 |
"Created: / 05-12-2009 / 14:11:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1011 |
! |
|
1012 |
||
10334 | 1013 |
imageSource |
1014 |
||
1015 |
^change imageSource |
|
1016 |
||
1017 |
"Created: / 19-07-2011 / 12:03:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1018 |
! |
|
1019 |
||
10009 | 1020 |
label |
1021 |
||
1022 |
| label | |
|
1023 |
label := change displayString. |
|
1024 |
self removed ifTrue:[label := label asText colorizeAllWith: Color gray]. |
|
1025 |
^label |
|
1026 |
||
1027 |
"Created: / 05-11-2008 / 08:20:02 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
1028 |
"Modified: / 25-07-2009 / 23:43:23 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
1029 |
"Modified: / 05-12-2009 / 14:46:00 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1030 |
! |
|
1031 |
||
1032 |
removed |
|
1033 |
^ change removed |
|
1034 |
! |
|
1035 |
||
1036 |
removed:aBoolean |
|
1037 |
change removed: aBoolean. |
|
1038 |
! |
|
1039 |
||
1040 |
source |
|
1041 |
||
1042 |
^change source |
|
1043 |
! |
|
1044 |
||
1045 |
x |
|
1046 |
^ x |
|
1047 |
! ! |
|
1048 |
||
1049 |
!ChangeList::ListEntry methodsFor:'displaying'! |
|
1050 |
||
1051 |
displayLabel:aLabel h:lH on:aGC x:newX y:y h:h |
|
1052 |
||
1053 |
| cx icon | |
|
1054 |
cx := x := newX. |
|
12125 | 1055 |
self application allowRemoveHolder value ifTrue: |
10009 | 1056 |
[(icon := self iconRemoved) ifNotNil: |
1057 |
[icon displayOn: aGC x: cx y: y + (h / 2) - (icon height / 2) ]. |
|
1058 |
cx := cx + 22."experimental value - this looks good"]. |
|
1059 |
(icon := self iconDelta) ifNotNil: |
|
1060 |
[icon displayOn: aGC x: cx y: y + (h / 2) - (icon height / 2) ]. |
|
1061 |
cx := cx + 16."12 + 2px gap" |
|
1062 |
||
1063 |
||
1064 |
super displayLabel:aLabel h:lH on:aGC x:cx y:y h:h |
|
1065 |
||
12125 | 1066 |
"Modified: / 24-01-2012 / 21:44:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10009 | 1067 |
! ! |
1068 |
||
1069 |
!ChangeList::ListEntry methodsFor:'private'! |
|
1070 |
||
1071 |
iconSelector |
|
12125 | 1072 |
| delta | |
10657 | 1073 |
|
12125 | 1074 |
delta := change deltaDetail. |
1075 |
delta shortDeltaSymbol = #+ ifTrue:[^#iconPlus]. |
|
1076 |
delta shortDeltaSymbol = #- ifTrue:[^#iconMinus]. |
|
1077 |
delta shortDeltaSymbol = #= ifTrue:[^#iconEqual]. |
|
1078 |
||
1079 |
^ nil. |
|
10957 | 1080 |
|
12125 | 1081 |
"Modified: / 31-08-2011 / 10:39:32 / cg" |
1082 |
! ! |
|
1083 |
||
1084 |
!ChangeList::ListEntry methodsFor:'protocol-queries'! |
|
1085 |
||
1086 |
hasChildren |
|
1087 |
||
1088 |
^ change isCompositeChange and:[change changes notEmptyOrNil ]. |
|
1089 |
||
1090 |
"Created: / 04-12-2011 / 14:45:55 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10957 | 1091 |
! ! |
1092 |
||
10009 | 1093 |
!ChangeList class methodsFor:'documentation'! |
1094 |
||
10451 | 1095 |
version |
12158 | 1096 |
^ '$Header: /cvs/stx/stx/libtool/Tools__ChangeList.st,v 1.14 2012/02/08 13:55:55 cg Exp $' |
10451 | 1097 |
! |
1098 |
||
10009 | 1099 |
version_CVS |
12158 | 1100 |
^ 'Header: /cvs/stx/stx/libtool/Tools__ChangeList.st,v 1.14 2012/02/08 13:55:55 cg Exp ' |
10009 | 1101 |
! |
1102 |
||
1103 |
version_SVN |
|
12158 | 1104 |
^ '$Id: Tools__ChangeList.st 7887 2012-02-13 19:19:58Z vranyj1 $' |
12125 | 1105 |
! ! |
12158 | 1106 |