author | mawalch |
Wed, 17 May 2017 12:52:38 +0200 | |
changeset 4238 | e3824d6ddfb7 |
parent 3450 | 612698f92d98 |
child 3838 | 474d8ec95b33 |
permissions | -rw-r--r-- |
1985 | 1 |
" |
2 |
COPYRIGHT (c) 2003 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 |
" |
|
1317 | 12 |
"{ Package: 'stx:libbasic3' }" |
13 |
||
14 |
ClassChange subclass:#ClassClassVariableChange |
|
3450 | 15 |
instanceVariableNames:'variableName otherParameters' |
1317 | 16 |
classVariableNames:'' |
17 |
poolDictionaries:'' |
|
18 |
category:'System-Changes' |
|
19 |
! |
|
20 |
||
1985 | 21 |
!ClassClassVariableChange class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2003 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 |
" |
|
2165 | 35 |
! |
36 |
||
37 |
documentation |
|
38 |
" |
|
39 |
A changed classVariable |
|
40 |
" |
|
1985 | 41 |
! ! |
1317 | 42 |
|
43 |
!ClassClassVariableChange methodsFor:'accessing'! |
|
44 |
||
45 |
name:varNameArg nameSpaceName:nsNameArg type:varTypeArg otherParameters:otherParametersArg |
|
46 |
variableName := varNameArg. |
|
47 |
className := nsNameArg. |
|
48 |
otherParameters := otherParametersArg. |
|
49 |
! |
|
50 |
||
51 |
source |
|
52 |
"synthesize the changes source" |
|
53 |
||
54 |
^ String |
|
55 |
streamContents: |
|
56 |
[:s | |
|
57 |
self printOn:s. |
|
58 |
] |
|
59 |
! ! |
|
60 |
||
61 |
!ClassClassVariableChange methodsFor:'printing & storing'! |
|
62 |
||
63 |
printOn:aStream |
|
64 |
aStream nextPutAll:self className; nextPutAll:' addClassVarName: ' , variableName storeString |
|
65 |
! ! |
|
66 |
||
2615
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
67 |
!ClassClassVariableChange methodsFor:'visiting'! |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
68 |
|
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
69 |
acceptChangeVisitor:aVisitor |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
70 |
^ aVisitor visitClassVariableChange:self. |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
71 |
|
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
72 |
"Created: / 25-11-2011 / 17:12:53 / cg" |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
73 |
! ! |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
74 |
|
1317 | 75 |
!ClassClassVariableChange class methodsFor:'documentation'! |
76 |
||
77 |
version |
|
3450 | 78 |
^ '$Header: /cvs/stx/stx/libbasic3/ClassClassVariableChange.st,v 1.5 2014-02-05 17:52:03 cg Exp $' |
1317 | 79 |
! ! |
3450 | 80 |