author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 01 Apr 2013 14:07:29 +0100 | |
branch | jv |
changeset 12626 | 7ae48abfedac |
parent 12431 | 9f0c59c742d5 |
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 |
" |
|
12128
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
12 |
"{ Package: 'stx:libtool' }" |
2626 | 13 |
|
2537 | 14 |
AbstractVersionDiffBrowserItem subclass:#AbstractRevisionItem |
15 |
instanceVariableNames:'revision' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
2547 | 18 |
category:'Interface-Browsers-Support' |
2537 | 19 |
! |
20 |
||
2547 | 21 |
!AbstractRevisionItem 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 |
! ! |
|
2537 | 53 |
|
54 |
!AbstractRevisionItem class methodsFor:'instance creation'! |
|
55 |
||
56 |
newForRevision:aRevision |
|
57 |
||
58 |
|theRevision| |
|
59 |
||
60 |
theRevision := self new. |
|
61 |
theRevision revision:aRevision. |
|
62 |
^theRevision |
|
63 |
! ! |
|
64 |
||
65 |
!AbstractRevisionItem methodsFor:'accessing'! |
|
66 |
||
67 |
myClass |
|
68 |
||
69 |
^self parent myClass |
|
70 |
! |
|
71 |
||
72 |
revision |
|
73 |
"return the value of the instance variable 'revision' (automatically generated)" |
|
74 |
||
12128
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
75 |
^ revision |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
76 |
! |
2537 | 77 |
|
78 |
revision:something |
|
79 |
"set the value of the instance variable 'revision' (automatically generated)" |
|
80 |
||
12128
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
81 |
revision := something. |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
82 |
! |
2537 | 83 |
|
84 |
revisionString |
|
85 |
"return the value of the instance variable 'revision' (automatically generated)" |
|
86 |
||
87 |
self subclassResponsibility |
|
88 |
||
89 |
! ! |
|
90 |
||
91 |
!AbstractRevisionItem methodsFor:'protocol'! |
|
92 |
||
93 |
icon |
|
94 |
" |
|
95 |
define concrete icons for revision items in subclasses |
|
96 |
||
97 |
<return: self> |
|
98 |
" |
|
99 |
self subclassResponsibility |
|
100 |
! |
|
101 |
||
102 |
label |
|
103 |
" |
|
104 |
label is the revision string |
|
105 |
||
106 |
<return: String> |
|
107 |
" |
|
108 |
||
109 |
^self revisionString |
|
110 |
||
111 |
||
112 |
! ! |
|
113 |
||
114 |
!AbstractRevisionItem methodsFor:'testing'! |
|
115 |
||
116 |
hasSourceStream |
|
117 |
" |
|
118 |
has the receiver a source stream? Used for testing tree items. |
|
119 |
||
120 |
<return: Boolean> |
|
121 |
" |
|
122 |
^false |
|
123 |
||
124 |
! |
|
125 |
||
126 |
isLoadedRevision |
|
127 |
" |
|
128 |
do the receiver represents the actual revision of a class. |
|
129 |
||
130 |
<return: Boolean> |
|
131 |
" |
|
132 |
^false |
|
133 |
||
134 |
||
135 |
||
136 |
! |
|
137 |
||
138 |
isRevisionItem |
|
139 |
" |
|
140 |
the receiver is a revision item. Used for testing tree items. |
|
141 |
||
142 |
<return: Boolean> |
|
143 |
" |
|
144 |
^true |
|
145 |
||
146 |
! ! |
|
147 |
||
148 |
!AbstractRevisionItem class methodsFor:'documentation'! |
|
149 |
||
150 |
version |
|
12128
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
151 |
^ '$Id: AbstractRevisionItem.st 7854 2012-01-30 17:49:41Z vranyj1 $' |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
152 |
! |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
153 |
|
12431
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
154 |
version_HG |
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
155 |
|
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
156 |
^ '$Changeset: <not expanded> $' |
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
157 |
! |
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
158 |
|
12128
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
159 |
version_SVN |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
160 |
^ '$Id: AbstractRevisionItem.st 7854 2012-01-30 17:49:41Z vranyj1 $' |
12125 | 161 |
! ! |
12431
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
162 |