author | Jan Vrany <jan.vrany@labware.com> |
Sat, 04 Jul 2020 08:14:13 +0100 | |
branch | jv |
changeset 1121 | c5661215109c |
parent 995 | 92bb466548a9 |
permissions | -rw-r--r-- |
1121
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
1 |
" |
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
2 |
COPYRIGHT (c) 2020 LabWare |
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
3 |
" |
122 | 4 |
"{ Package: 'stx:goodies/monticello' }" |
5 |
||
995
92bb466548a9
Removed test classes from stx:goodies/monticello - they're in tests sub package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
620
diff
changeset
|
6 |
"{ NameSpace: Smalltalk }" |
92bb466548a9
Removed test classes from stx:goodies/monticello - they're in tests sub package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
620
diff
changeset
|
7 |
|
122 | 8 |
ListItemWrapper subclass:#MCDependentsWrapper |
9 |
instanceVariableNames:'' |
|
10 |
classVariableNames:'' |
|
11 |
poolDictionaries:'' |
|
620 | 12 |
category:'SCM-Monticello-UI' |
122 | 13 |
! |
14 |
||
1121
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
15 |
!MCDependentsWrapper class methodsFor:'documentation'! |
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
16 |
|
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
17 |
copyright |
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
18 |
" |
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
19 |
COPYRIGHT (c) 2020 LabWare |
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
20 |
|
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
21 |
|
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
22 |
" |
c5661215109c
Tonel: various fixes here and there (part 2)
Jan Vrany <jan.vrany@labware.com>
parents:
995
diff
changeset
|
23 |
! ! |
122 | 24 |
|
25 |
!MCDependentsWrapper methodsFor:'as yet unclassified'! |
|
26 |
||
27 |
asString |
|
28 |
^item description |
|
29 |
! |
|
30 |
||
31 |
contents |
|
32 |
| list workingCopies | |
|
33 |
workingCopies := model unsortedWorkingCopies. |
|
34 |
list := item requiredPackages collect: |
|
35 |
[:each | |
|
36 |
workingCopies detect: [:wc | wc package = each] ifNone: [nil]] |
|
37 |
thenSelect: [:x | x notNil]. |
|
38 |
^list collect: [:each | self class with: each model: model] |
|
39 |
! |
|
40 |
||
41 |
hasContents |
|
42 |
^item requiredPackages isEmpty not |
|
43 |
! |
|
44 |
||
45 |
item |
|
46 |
^item |
|
47 |
! ! |
|
48 |
||
49 |
!MCDependentsWrapper class methodsFor:'documentation'! |
|
50 |
||
51 |
version |
|
620 | 52 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCDependentsWrapper.st,v 1.2 2012-09-11 21:21:24 cg Exp $' |
122 | 53 |
! ! |
995
92bb466548a9
Removed test classes from stx:goodies/monticello - they're in tests sub package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
620
diff
changeset
|
54 |