author | Claus Gittinger <cg@exept.de> |
Mon, 20 Aug 2018 10:11:25 +0200 | |
changeset 4346 | 6604af2f1554 |
parent 3494 | ef72195ba30b |
child 3838 | 474d8ec95b33 |
permissions | -rw-r--r-- |
798 | 1 |
" |
2 |
COPYRIGHT (c) 1998 by eXept Software AG |
|
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 |
" |
|
1162 | 12 |
"{ Package: 'stx:libbasic3' }" |
13 |
||
653 | 14 |
ClassChange subclass:#ClassRemoveChange |
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'System-Changes' |
|
19 |
! |
|
20 |
||
1234 | 21 |
Query subclass:#ClassBeingRemovedQuery |
22 |
instanceVariableNames:'' |
|
23 |
classVariableNames:'' |
|
24 |
poolDictionaries:'' |
|
25 |
privateIn:ClassRemoveChange |
|
26 |
! |
|
27 |
||
653 | 28 |
!ClassRemoveChange class methodsFor:'documentation'! |
29 |
||
798 | 30 |
copyright |
31 |
" |
|
32 |
COPYRIGHT (c) 1998 by eXept Software AG |
|
33 |
All Rights Reserved |
|
653 | 34 |
|
798 | 35 |
This software is furnished under a license and may be used |
36 |
only in accordance with the terms of that license and with the |
|
37 |
inclusion of the above copyright notice. This software may not |
|
38 |
be provided or otherwise made available to, or used by, any |
|
39 |
other person. No title to or ownership of the software is |
|
40 |
hereby transferred. |
|
41 |
" |
|
42 |
||
1162 | 43 |
! |
44 |
||
45 |
documentation |
|
46 |
" |
|
47 |
instances represent a class-has-been-removed change. |
|
48 |
They are typically held in a ChangeSet. |
|
49 |
||
50 |
[author:] |
|
51 |
Claus Gittinger |
|
52 |
" |
|
653 | 53 |
! ! |
54 |
||
55 |
!ClassRemoveChange methodsFor:'printing'! |
|
56 |
||
57 |
printOn:aStream |
|
3182 | 58 |
aStream nextPutAll:'Smalltalk removeClass: '; |
1901 | 59 |
nextPutAll:className asString |
653 | 60 |
|
1901 | 61 |
"Created: / 16-02-1998 / 14:19:48 / cg" |
62 |
"Modified: / 13-11-2006 / 10:40:17 / cg" |
|
653 | 63 |
! ! |
64 |
||
1234 | 65 |
!ClassRemoveChange methodsFor:'queries'! |
66 |
||
3137 | 67 |
delta |
68 |
| class | |
|
69 |
||
70 |
class := self changeClass. |
|
71 |
class notNil ifTrue:[^#-]. |
|
72 |
^ #= |
|
3494
ef72195ba30b
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
3182
diff
changeset
|
73 |
! ! |
ef72195ba30b
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
3182
diff
changeset
|
74 |
|
ef72195ba30b
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
3182
diff
changeset
|
75 |
!ClassRemoveChange methodsFor:'testing'! |
3137 | 76 |
|
1234 | 77 |
isClassRemoveChange |
78 |
^ true |
|
79 |
! ! |
|
80 |
||
653 | 81 |
!ClassRemoveChange class methodsFor:'documentation'! |
82 |
||
83 |
version |
|
3494
ef72195ba30b
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
3182
diff
changeset
|
84 |
^ '$Header: /cvs/stx/stx/libbasic3/ClassRemoveChange.st,v 1.8 2014-02-19 13:05:21 cg Exp $' |
653 | 85 |
! ! |
3137 | 86 |