author | Claus Gittinger <cg@exept.de> |
Tue, 22 Aug 2000 21:57:35 +0200 | |
changeset 957 | 54dade11e57f |
parent 801 | b84b61eaa2f6 |
child 962 | 3821ab69b939 |
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 |
" |
|
12 |
||
957 | 13 |
"{ Package: 'stx:libbasic3' }" |
14 |
||
783 | 15 |
ClassPrimitiveChange subclass:#ClassPrimitiveDefinitionsChange |
235 | 16 |
instanceVariableNames:'' |
17 |
classVariableNames:'' |
|
18 |
poolDictionaries:'' |
|
19 |
category:'System-Changes' |
|
101 | 20 |
! |
21 |
||
22 |
!ClassPrimitiveDefinitionsChange class methodsFor:'documentation'! |
|
23 |
||
24 |
copyright |
|
25 |
" |
|
26 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
27 |
All Rights Reserved |
|
28 |
||
29 |
This software is furnished under a license and may be used |
|
30 |
only in accordance with the terms of that license and with the |
|
31 |
inclusion of the above copyright notice. This software may not |
|
32 |
be provided or otherwise made available to, or used by, any |
|
33 |
other person. No title to or ownership of the software is |
|
34 |
hereby transferred. |
|
35 |
" |
|
36 |
! |
|
37 |
||
38 |
documentation |
|
39 |
" |
|
40 |
instances represent a classes primitive definition-changes. |
|
41 |
They are typically held in a ChangeSet. |
|
235 | 42 |
|
43 |
[author:] |
|
44 |
Claus Gittinger |
|
101 | 45 |
" |
46 |
! ! |
|
47 |
||
784
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
48 |
!ClassPrimitiveDefinitionsChange methodsFor:'comparing'! |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
49 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
50 |
isForSameAs:changeB |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
51 |
"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
|
52 |
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
|
53 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
54 |
changeB isPrimitiveDefinitionsChange ifFalse:[^ false]. |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
55 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
56 |
^ className = changeB className |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
57 |
|
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 |
! ! |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
60 |
|
103
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
61 |
!ClassPrimitiveDefinitionsChange methodsFor:'printing'! |
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
62 |
|
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
63 |
printOn:aStream |
801 | 64 |
"append a user printed representation of the receiver to aStream. |
65 |
The format is suitable for a human - not meant to be read back." |
|
66 |
||
103
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
67 |
aStream nextPutAll:className; nextPutAll:' primitiveDefinitions:' |
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
68 |
! ! |
487c1447b3d8
printing fixed (req'd for changeSetBrowser)
Claus Gittinger <cg@exept.de>
parents:
101
diff
changeset
|
69 |
|
783 | 70 |
!ClassPrimitiveDefinitionsChange methodsFor:'queries'! |
71 |
||
72 |
isPrimitiveDefinitionsChange |
|
73 |
^ true |
|
74 |
||
75 |
||
76 |
! ! |
|
77 |
||
101 | 78 |
!ClassPrimitiveDefinitionsChange class methodsFor:'documentation'! |
79 |
||
80 |
version |
|
957 | 81 |
^ '$Header: /cvs/stx/stx/libbasic3/ClassPrimitiveDefinitionsChange.st,v 1.8 2000-08-22 19:57:32 cg Exp $' |
101 | 82 |
! ! |