author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 12 Mar 2013 10:31:15 +0000 | |
branch | jv |
changeset 3125 | 08d6603c4fe9 |
parent 3042 | 48e76977cdc3 |
child 3128 | 87750af738dc |
permissions | -rw-r--r-- |
798 | 1 |
" |
2 |
COPYRIGHT (c) 1999 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 |
" |
|
957 | 12 |
"{ Package: 'stx:libbasic3' }" |
13 |
||
797 | 14 |
ClassChange subclass:#ClassInstVarDefinitionChange |
2621
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
15 |
instanceVariableNames:'classInstVarNames' |
797 | 16 |
classVariableNames:'' |
17 |
poolDictionaries:'' |
|
18 |
category:'System-Changes' |
|
19 |
! |
|
20 |
||
798 | 21 |
!ClassInstVarDefinitionChange class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 1999 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 |
! ! |
|
797 | 37 |
|
2621
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
38 |
!ClassInstVarDefinitionChange methodsFor:'accessing'! |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
39 |
|
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
40 |
classInstVarNames |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
41 |
^ classInstVarNames |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
42 |
! |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
43 |
|
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
44 |
classInstVarNames:something |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
45 |
classInstVarNames := something. |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
46 |
! ! |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
47 |
|
797 | 48 |
!ClassInstVarDefinitionChange methodsFor:'comparing'! |
49 |
||
50 |
isForSameAs:changeB |
|
51 |
"return true, if the given change represents a change for the same |
|
52 |
thingy as the receiver (i.e. same method, same definition etc.)." |
|
53 |
||
54 |
changeB isClassInstVarDefinitionChange ifFalse:[^ false]. |
|
55 |
||
56 |
^ className = changeB className |
|
57 |
||
58 |
! |
|
59 |
||
60 |
sameAs:changeB |
|
61 |
"return true, if the given change represents the same change as the receiver." |
|
62 |
||
63 |
(self isForSameAs:changeB) ifFalse:[^ false]. |
|
64 |
^ self sameSourceAs:changeB |
|
65 |
||
66 |
||
67 |
! ! |
|
68 |
||
962 | 69 |
!ClassInstVarDefinitionChange methodsFor:'printing & storing'! |
797 | 70 |
|
71 |
printOn:aStream |
|
891 | 72 |
"/ aStream nextPutAll:className; nextPutAll:' instanceVariableNames:' |
2045 | 73 |
aStream nextPutAll:source string |
797 | 74 |
|
75 |
||
76 |
! ! |
|
77 |
||
78 |
!ClassInstVarDefinitionChange methodsFor:'queries'! |
|
79 |
||
80 |
isClassInstVarDefinitionChange |
|
81 |
^ true |
|
82 |
||
83 |
||
84 |
! ! |
|
85 |
||
2621
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
86 |
!ClassInstVarDefinitionChange methodsFor:'visiting'! |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
87 |
|
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
88 |
acceptChangeVisitor:aVisitor |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
89 |
^ aVisitor visitClassInstVarDefinitionChange:self. |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
90 |
|
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
91 |
"Created: / 25-11-2011 / 17:13:30 / cg" |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
92 |
! ! |
f24a15b5d9b9
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2045
diff
changeset
|
93 |
|
797 | 94 |
!ClassInstVarDefinitionChange class methodsFor:'documentation'! |
95 |
||
96 |
version |
|
3042
48e76977cdc3
Added info-record processing support into changeset reader
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3012
diff
changeset
|
97 |
^ '$Id: ClassInstVarDefinitionChange.st 1909 2012-03-31 00:14:49Z vranyj1 $' |
3012 | 98 |
! |
99 |
||
3125
08d6603c4fe9
New check in ProjectChecker.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
100 |
version_HG |
08d6603c4fe9
New check in ProjectChecker.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
101 |
|
08d6603c4fe9
New check in ProjectChecker.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
102 |
^ '$Changeset: <not expanded> $' |
08d6603c4fe9
New check in ProjectChecker.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
103 |
! |
08d6603c4fe9
New check in ProjectChecker.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
104 |
|
3012 | 105 |
version_SVN |
3042
48e76977cdc3
Added info-record processing support into changeset reader
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3012
diff
changeset
|
106 |
^ '$Id: ClassInstVarDefinitionChange.st 1909 2012-03-31 00:14:49Z vranyj1 $' |
3012 | 107 |
! ! |
3125
08d6603c4fe9
New check in ProjectChecker.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
108 |