author | Claus Gittinger <cg@exept.de> |
Sat, 07 Feb 1998 13:53:59 +0100 | |
changeset 648 | b7e0ef4b3781 |
parent 235 | 3ebfdc6edab9 |
child 652 | b9e4b4465a2c |
permissions | -rw-r--r-- |
4 | 1 |
" |
2 |
COPYRIGHT (c) 1993 by Claus Gittinger |
|
25 | 3 |
All Rights Reserved |
4 | 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 |
" |
|
0 | 12 |
|
13 |
ClassChange subclass:#MethodChange |
|
235 | 14 |
instanceVariableNames:'selector methodCategory' |
15 |
classVariableNames:'' |
|
16 |
poolDictionaries:'' |
|
17 |
category:'System-Changes' |
|
0 | 18 |
! |
19 |
||
25 | 20 |
!MethodChange class methodsFor:'documentation'! |
21 |
||
22 |
copyright |
|
23 |
" |
|
24 |
COPYRIGHT (c) 1993 by Claus Gittinger |
|
25 |
All Rights Reserved |
|
10 | 26 |
|
25 | 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 |
||
45 | 36 |
documentation |
37 |
" |
|
38 |
instances represent method-changes (as done in the browser). |
|
39 |
They are typically held in a ChangeSet. |
|
235 | 40 |
|
41 |
[author:] |
|
42 |
Claus Gittinger |
|
45 | 43 |
" |
25 | 44 |
! ! |
10 | 45 |
|
0 | 46 |
!MethodChange class methodsFor:'instance creation'! |
47 |
||
102
3f85fe87cc58
include category in methodChanges
Claus Gittinger <cg@exept.de>
parents:
85
diff
changeset
|
48 |
class:cls selector:sel source:src category:cat |
3f85fe87cc58
include category in methodChanges
Claus Gittinger <cg@exept.de>
parents:
85
diff
changeset
|
49 |
^ self basicNew class:cls selector:sel source:src category:cat |
0 | 50 |
! ! |
51 |
||
52 |
!MethodChange methodsFor:'accessing'! |
|
53 |
||
102
3f85fe87cc58
include category in methodChanges
Claus Gittinger <cg@exept.de>
parents:
85
diff
changeset
|
54 |
class:cls selector:sel source:src category:cat |
0 | 55 |
className := cls name. |
56 |
selector := sel. |
|
102
3f85fe87cc58
include category in methodChanges
Claus Gittinger <cg@exept.de>
parents:
85
diff
changeset
|
57 |
source := src. |
3f85fe87cc58
include category in methodChanges
Claus Gittinger <cg@exept.de>
parents:
85
diff
changeset
|
58 |
methodCategory := cat |
648 | 59 |
! |
60 |
||
61 |
selector |
|
62 |
^ selector |
|
63 |
||
64 |
"Created: / 6.2.1998 / 13:29:25 / cg" |
|
0 | 65 |
! ! |
66 |
||
67 |
!MethodChange methodsFor:'printing'! |
|
68 |
||
7 | 69 |
printOn:aStream |
70 |
aStream nextPutAll:className; |
|
25 | 71 |
space; |
72 |
nextPutAll:selector |
|
0 | 73 |
! ! |
235 | 74 |
|
75 |
!MethodChange class methodsFor:'documentation'! |
|
76 |
||
77 |
version |
|
648 | 78 |
^ '$Header: /cvs/stx/stx/libbasic3/MethodChange.st,v 1.14 1998-02-07 12:53:59 cg Exp $' |
235 | 79 |
! ! |