2537
|
1 |
AbstractVersionDiffBrowserItem subclass:#AbstractRevisionItem
|
|
2 |
instanceVariableNames:'revision'
|
|
3 |
classVariableNames:''
|
|
4 |
poolDictionaries:''
|
2547
|
5 |
category:'Interface-Browsers-Support'
|
2537
|
6 |
!
|
|
7 |
|
2547
|
8 |
!AbstractRevisionItem class methodsFor:'documentation'!
|
|
9 |
|
|
10 |
documentation
|
|
11 |
"
|
|
12 |
documentation to be added.
|
|
13 |
|
|
14 |
[author:]
|
|
15 |
Pierre Schwarz (ps@exept.de)
|
|
16 |
|
|
17 |
[see also:]
|
|
18 |
|
|
19 |
[instance variables:]
|
|
20 |
|
|
21 |
[class variables:]
|
|
22 |
"
|
|
23 |
! !
|
2537
|
24 |
|
|
25 |
!AbstractRevisionItem class methodsFor:'instance creation'!
|
|
26 |
|
|
27 |
newForRevision:aRevision
|
|
28 |
|
|
29 |
|theRevision|
|
|
30 |
|
|
31 |
theRevision := self new.
|
|
32 |
theRevision revision:aRevision.
|
|
33 |
^theRevision
|
|
34 |
! !
|
|
35 |
|
|
36 |
!AbstractRevisionItem methodsFor:'accessing'!
|
|
37 |
|
|
38 |
myClass
|
|
39 |
|
|
40 |
^self parent myClass
|
|
41 |
!
|
|
42 |
|
|
43 |
revision
|
|
44 |
"return the value of the instance variable 'revision' (automatically generated)"
|
|
45 |
|
|
46 |
^ revision!
|
|
47 |
|
|
48 |
revision:something
|
|
49 |
"set the value of the instance variable 'revision' (automatically generated)"
|
|
50 |
|
|
51 |
revision := something.!
|
|
52 |
|
|
53 |
revisionString
|
|
54 |
"return the value of the instance variable 'revision' (automatically generated)"
|
|
55 |
|
|
56 |
self subclassResponsibility
|
|
57 |
|
|
58 |
! !
|
|
59 |
|
|
60 |
!AbstractRevisionItem methodsFor:'protocol'!
|
|
61 |
|
|
62 |
icon
|
|
63 |
"
|
|
64 |
define concrete icons for revision items in subclasses
|
|
65 |
|
|
66 |
<return: self>
|
|
67 |
"
|
|
68 |
self subclassResponsibility
|
|
69 |
!
|
|
70 |
|
|
71 |
label
|
|
72 |
"
|
|
73 |
label is the revision string
|
|
74 |
|
|
75 |
<return: String>
|
|
76 |
"
|
|
77 |
|
|
78 |
^self revisionString
|
|
79 |
|
|
80 |
|
|
81 |
! !
|
|
82 |
|
|
83 |
!AbstractRevisionItem methodsFor:'testing'!
|
|
84 |
|
|
85 |
hasSourceStream
|
|
86 |
"
|
|
87 |
has the receiver a source stream? Used for testing tree items.
|
|
88 |
|
|
89 |
<return: Boolean>
|
|
90 |
"
|
|
91 |
^false
|
|
92 |
|
|
93 |
!
|
|
94 |
|
|
95 |
isLoadedRevision
|
|
96 |
"
|
|
97 |
do the receiver represents the actual revision of a class.
|
|
98 |
|
|
99 |
<return: Boolean>
|
|
100 |
"
|
|
101 |
^false
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
!
|
|
106 |
|
|
107 |
isRevisionItem
|
|
108 |
"
|
|
109 |
the receiver is a revision item. Used for testing tree items.
|
|
110 |
|
|
111 |
<return: Boolean>
|
|
112 |
"
|
|
113 |
^true
|
|
114 |
|
|
115 |
! !
|
|
116 |
|
|
117 |
!AbstractRevisionItem class methodsFor:'documentation'!
|
|
118 |
|
|
119 |
version
|
2547
|
120 |
^ '$Header: /cvs/stx/stx/libtool/AbstractRevisionItem.st,v 1.2 2000-01-14 15:57:27 cg Exp $'
|
2537
|
121 |
! !
|