296
|
1 |
"{ Package: 'stx:goodies/monticello' }"
|
|
2 |
|
|
3 |
HierarchicalItem subclass:#MCRepositoryEntry
|
|
4 |
instanceVariableNames:'repository'
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
676
|
7 |
category:'SCM-Monticello-St/X UI'
|
296
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!MCRepositoryEntry class methodsFor:'instance creation'!
|
|
12 |
|
|
13 |
repository:arg
|
|
14 |
"Create & return a new instance for arg."
|
|
15 |
|
|
16 |
^ self new repository:arg
|
|
17 |
|
|
18 |
"Modified: / 16-09-2010 / 18:40:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
19 |
! !
|
|
20 |
|
|
21 |
!MCRepositoryEntry methodsFor:'accessing'!
|
|
22 |
|
|
23 |
label
|
|
24 |
|
|
25 |
^self repository displayString
|
|
26 |
|
|
27 |
"Created: / 16-09-2010 / 18:50:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
28 |
!
|
|
29 |
|
|
30 |
packages
|
|
31 |
|
|
32 |
"Returns a collection of package entries (MCPackageEntry)"
|
|
33 |
|
|
34 |
^repository allPackageNames collect:
|
|
35 |
[:name|MCPackageEntry name: name repository: repository]
|
|
36 |
|
|
37 |
"Created: / 16-09-2010 / 18:42:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
38 |
!
|
|
39 |
|
|
40 |
repository
|
|
41 |
^ repository
|
|
42 |
!
|
|
43 |
|
|
44 |
repository:something
|
|
45 |
repository := something.
|
|
46 |
! !
|
|
47 |
|
|
48 |
!MCRepositoryEntry methodsFor:'displaying'!
|
|
49 |
|
|
50 |
displayString
|
|
51 |
|
|
52 |
^repository displayString
|
|
53 |
|
|
54 |
"Created: / 16-09-2010 / 18:41:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
55 |
! !
|
|
56 |
|
|
57 |
!MCRepositoryEntry class methodsFor:'documentation'!
|
|
58 |
|
|
59 |
version
|
676
|
60 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCRepositoryEntry.st,v 1.3 2012-09-11 21:28:22 cg Exp $'
|
296
|
61 |
!
|
|
62 |
|
|
63 |
version_CVS
|
676
|
64 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCRepositoryEntry.st,v 1.3 2012-09-11 21:28:22 cg Exp $'
|
296
|
65 |
!
|
|
66 |
|
|
67 |
version_SVN
|
|
68 |
^ '§Id: MCRepositoryEntry.st 14 2010-09-17 14:16:41Z vranyj1 §'
|
|
69 |
! !
|