author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 29 Jan 2013 14:40:26 +0000 | |
branch | jv |
changeset 3121 | 19723298dd2c |
parent 3042 | 48e76977cdc3 |
child 3128 | 87750af738dc |
permissions | -rw-r--r-- |
101 | 1 |
" |
2 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
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 |
||
783 | 14 |
ClassPrimitiveChange subclass:#ClassPrimitiveFunctionsChange |
235 | 15 |
instanceVariableNames:'' |
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'System-Changes' |
|
101 | 19 |
! |
20 |
||
21 |
!ClassPrimitiveFunctionsChange class methodsFor:'documentation'! |
|
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
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 |
documentation |
|
38 |
" |
|
39 |
instances represent a classes primitive function-changes. |
|
40 |
They are typically held in a ChangeSet. |
|
235 | 41 |
|
42 |
[author:] |
|
43 |
Claus Gittinger |
|
101 | 44 |
" |
45 |
! ! |
|
46 |
||
2357 | 47 |
!ClassPrimitiveFunctionsChange methodsFor:'applying'! |
48 |
||
2371 | 49 |
privateApply |
2357 | 50 |
"apply the change" |
51 |
||
2371 | 52 |
self changeClass primitiveFunctions:(self source) |
2357 | 53 |
|
2371 | 54 |
"Created: / 28-06-2011 / 22:59:30 / cg" |
2357 | 55 |
! ! |
56 |
||
784
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
57 |
!ClassPrimitiveFunctionsChange methodsFor:'comparing'! |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
58 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
59 |
isForSameAs:changeB |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
60 |
"return true, if the given change represents a change for the same |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
61 |
thingy as the receiver (i.e. same method, same definition etc.)." |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
62 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
63 |
changeB isPrimitiveFunctionsChange ifFalse:[^ false]. |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
64 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
65 |
^ className = changeB className |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
66 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
67 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
68 |
! ! |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
69 |
|
962 | 70 |
!ClassPrimitiveFunctionsChange methodsFor:'printing & storing'! |
103
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
71 |
|
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
72 |
printOn:aStream |
801 | 73 |
"append a user printed representation of the receiver to aStream. |
74 |
The format is suitable for a human - not meant to be read back." |
|
75 |
||
103
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
76 |
aStream nextPutAll:className; nextPutAll:' primitiveFunctions:' |
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
77 |
! ! |
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
78 |
|
783 | 79 |
!ClassPrimitiveFunctionsChange methodsFor:'queries'! |
80 |
||
81 |
isPrimitiveFunctionsChange |
|
82 |
^ true |
|
83 |
||
84 |
||
85 |
! ! |
|
86 |
||
101 | 87 |
!ClassPrimitiveFunctionsChange class methodsFor:'documentation'! |
88 |
||
89 |
version |
|
3121
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
90 |
^ '$Header: ClassPrimitiveFunctionsChange.st 1909 2012-03-31 00:14:49Z vranyj1 $' |
2357 | 91 |
! |
92 |
||
93 |
version_CVS |
|
3011
1997ff6e7e55
trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2371
diff
changeset
|
94 |
^ '§Header: /cvs/stx/stx/libbasic3/ClassPrimitiveFunctionsChange.st,v 1.11 2011/06/28 21:00:09 cg Exp §' |
3012 | 95 |
! |
96 |
||
3121
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
97 |
version_HG |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
98 |
|
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
99 |
^ '$Changeset: <not expanded> $' |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
100 |
! |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
101 |
|
3012 | 102 |
version_SVN |
3121
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
103 |
^ '§Id: ClassPrimitiveFunctionsChange.st 1909 2012-03-31 00:14:49Z vranyj1 §' |
3012 | 104 |
! ! |
3121
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
105 |