author | Claus Gittinger <cg@exept.de> |
Mon, 16 Feb 1998 15:00:00 +0100 | |
changeset 654 | edeb63d98088 |
parent 652 | b9e4b4465a2c |
child 779 | d2c59a219cbc |
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 |
|
654 | 14 |
instanceVariableNames:'selector methodCategory privacy' |
235 | 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 |
||
654 | 61 |
className:clsName selector:sel source:src category:cat |
62 |
className := clsName. |
|
63 |
selector := sel. |
|
64 |
source := src. |
|
65 |
methodCategory := cat |
|
66 |
||
67 |
"Created: / 16.2.1998 / 12:29:49 / cg" |
|
68 |
! |
|
69 |
||
70 |
className:clsName selector:sel source:src category:cat privacy:priv |
|
71 |
className := clsName. |
|
72 |
selector := sel. |
|
73 |
source := src. |
|
74 |
methodCategory := cat. |
|
75 |
privacy := priv. |
|
76 |
||
77 |
"Created: / 16.2.1998 / 12:29:49 / cg" |
|
78 |
"Modified: / 16.2.1998 / 14:28:12 / cg" |
|
79 |
! |
|
80 |
||
652 | 81 |
methodCategory |
82 |
^ methodCategory |
|
83 |
||
84 |
"Created: / 7.2.1998 / 19:47:53 / cg" |
|
85 |
! |
|
86 |
||
648 | 87 |
selector |
88 |
^ selector |
|
89 |
||
90 |
"Created: / 6.2.1998 / 13:29:25 / cg" |
|
0 | 91 |
! ! |
92 |
||
93 |
!MethodChange methodsFor:'printing'! |
|
94 |
||
7 | 95 |
printOn:aStream |
96 |
aStream nextPutAll:className; |
|
25 | 97 |
space; |
98 |
nextPutAll:selector |
|
0 | 99 |
! ! |
235 | 100 |
|
652 | 101 |
!MethodChange methodsFor:'queries'! |
102 |
||
103 |
isMethodChange |
|
104 |
^ true |
|
105 |
||
106 |
"Created: / 7.2.1998 / 19:26:59 / cg" |
|
107 |
! ! |
|
108 |
||
235 | 109 |
!MethodChange class methodsFor:'documentation'! |
110 |
||
111 |
version |
|
654 | 112 |
^ '$Header: /cvs/stx/stx/libbasic3/MethodChange.st,v 1.16 1998-02-16 13:59:56 cg Exp $' |
235 | 113 |
! ! |