122
|
1 |
"{ Package: 'stx:goodies/monticello' }"
|
|
2 |
|
|
3 |
ListItemWrapper subclass:#MCDependentsWrapper
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
620
|
7 |
category:'SCM-Monticello-UI'
|
122
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!MCDependentsWrapper methodsFor:'as yet unclassified'!
|
|
12 |
|
|
13 |
asString
|
|
14 |
^item description
|
|
15 |
!
|
|
16 |
|
|
17 |
contents
|
|
18 |
| list workingCopies |
|
|
19 |
workingCopies := model unsortedWorkingCopies.
|
|
20 |
list := item requiredPackages collect:
|
|
21 |
[:each |
|
|
22 |
workingCopies detect: [:wc | wc package = each] ifNone: [nil]]
|
|
23 |
thenSelect: [:x | x notNil].
|
|
24 |
^list collect: [:each | self class with: each model: model]
|
|
25 |
!
|
|
26 |
|
|
27 |
hasContents
|
|
28 |
^item requiredPackages isEmpty not
|
|
29 |
!
|
|
30 |
|
|
31 |
item
|
|
32 |
^item
|
|
33 |
! !
|
|
34 |
|
|
35 |
!MCDependentsWrapper class methodsFor:'documentation'!
|
|
36 |
|
|
37 |
version
|
620
|
38 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCDependentsWrapper.st,v 1.2 2012-09-11 21:21:24 cg Exp $'
|
122
|
39 |
! !
|