author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 04 Apr 2013 19:06:16 +0100 | |
branch | jv |
changeset 12650 | e0f607754b9a |
parent 12125 | 0c49a3b13e43 |
child 15950 | 23be8cf85415 |
permissions | -rw-r--r-- |
2626 | 1 |
" |
2 |
COPYRIGHT (c) 2000 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12650
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
12 |
"{ Package: 'stx:libtool' }" |
2626 | 13 |
|
2518 | 14 |
AbstractRevisionItem subclass:#SourceRevisionItem |
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
2547 | 18 |
category:'Interface-Browsers-Support' |
2518 | 19 |
! |
20 |
||
2547 | 21 |
!SourceRevisionItem class methodsFor:'documentation'! |
22 |
||
2626 | 23 |
copyright |
24 |
" |
|
25 |
COPYRIGHT (c) 2000 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
||
36 |
||
37 |
! |
|
38 |
||
2547 | 39 |
documentation |
40 |
" |
|
2625 | 41 |
This is not yet finished (work in progress) - do not use. |
2547 | 42 |
|
43 |
[author:] |
|
44 |
Pierre Schwarz (ps@exept.de) |
|
45 |
||
46 |
[see also:] |
|
47 |
||
48 |
[instance variables:] |
|
49 |
||
50 |
[class variables:] |
|
51 |
" |
|
52 |
||
53 |
! ! |
|
2518 | 54 |
|
55 |
!SourceRevisionItem methodsFor:'accessing'! |
|
56 |
||
57 |
sourceStream |
|
58 |
" |
|
2538 | 59 |
<return: ReadStream> |
60 |
" |
|
61 |
^self parent myClass currentSourceStream readStream |
|
2518 | 62 |
! ! |
63 |
||
64 |
!SourceRevisionItem methodsFor:'protocol'! |
|
65 |
||
66 |
icon |
|
67 |
||
68 |
^#loadedRevision |
|
69 |
||
70 |
! |
|
71 |
||
72 |
revisionString |
|
73 |
"return the value of the instance variable 'revision' (automatically generated)" |
|
74 |
||
75 |
^ revision isNil |
|
76 |
ifTrue: ['no revision'] |
|
2538 | 77 |
ifFalse:['current (based on:',(revision at:#revision),')'] |
78 |
||
79 |
! ! |
|
80 |
||
81 |
!SourceRevisionItem methodsFor:'testing'! |
|
82 |
||
83 |
basedOnActualRevision |
|
84 |
" |
|
85 |
returns if the changes of the class are based on the actual revision of the class |
|
86 |
||
87 |
<return: Boolean> |
|
88 |
" |
|
89 |
revision ifNil:[^true]. |
|
90 |
^parent newestRevision = (revision at:#revision) |
|
91 |
! |
|
92 |
||
93 |
hasSourceStream |
|
94 |
" |
|
95 |
has the receiver a source stream? Used for testing tree items. |
|
96 |
||
97 |
<return: Boolean> |
|
98 |
" |
|
99 |
^true |
|
100 |
||
101 |
||
102 |
! |
|
103 |
||
104 |
isLoadedRevision |
|
105 |
" |
|
106 |
the receiver is always the actual revision of a class, hence isloadedRevision |
|
107 |
must be true. |
|
108 |
||
109 |
<return: Boolean> |
|
110 |
" |
|
111 |
||
112 |
^true |
|
113 |
||
2518 | 114 |
|
2612 | 115 |
! |
116 |
||
117 |
isSourceRevisionItem |
|
118 |
" |
|
119 |
Used for testing tree items. The receiver is a source revision item. |
|
120 |
||
121 |
<return: Boolean> |
|
122 |
" |
|
123 |
||
124 |
^true |
|
125 |
||
2518 | 126 |
! ! |
127 |
||
128 |
!SourceRevisionItem class methodsFor:'documentation'! |
|
129 |
||
130 |
version |
|
12125 | 131 |
^ '$Header: /cvs/stx/stx/libtool/SourceRevisionItem.st,v 1.6 2000/02/18 14:08:16 cg Exp $' |
12650
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
132 |
! |
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
133 |
|
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
134 |
version_HG |
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
135 |
|
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
136 |
^ '$Changeset: <not expanded> $' |
12125 | 137 |
! ! |
12650
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
138 |