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