author | Claus Gittinger <cg@exept.de> |
Tue, 25 Feb 2020 12:24:48 +0100 | |
changeset 4559 | e97f85bac732 |
parent 4475 | c9313037b648 |
permissions | -rw-r--r-- |
4475 | 1 |
"{ Encoding: utf8 }" |
2 |
||
2366 | 3 |
" |
4 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
5 |
All Rights Reserved |
|
6 |
||
7 |
This software is furnished under a license and may be used |
|
8 |
only in accordance with the terms of that license and with the |
|
9 |
inclusion of the above copyright notice. This software may not |
|
10 |
be provided or otherwise made available to, or used by, any |
|
11 |
other person. No title to or ownership of the software is |
|
12 |
hereby transferred. |
|
13 |
" |
|
14 |
"{ Package: 'stx:libbasic3' }" |
|
2156 | 15 |
|
4475 | 16 |
"{ NameSpace: Smalltalk }" |
17 |
||
2156 | 18 |
Change subclass:#CompositeChange |
19 |
instanceVariableNames:'name changes' |
|
20 |
classVariableNames:'' |
|
21 |
poolDictionaries:'' |
|
22 |
category:'System-Changes' |
|
23 |
! |
|
24 |
||
2366 | 25 |
!CompositeChange class methodsFor:'documentation'! |
26 |
||
27 |
copyright |
|
28 |
" |
|
29 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
30 |
All Rights Reserved |
|
31 |
||
32 |
This software is furnished under a license and may be used |
|
33 |
only in accordance with the terms of that license and with the |
|
34 |
inclusion of the above copyright notice. This software may not |
|
35 |
be provided or otherwise made available to, or used by, any |
|
36 |
other person. No title to or ownership of the software is |
|
37 |
hereby transferred. |
|
38 |
" |
|
39 |
! ! |
|
2156 | 40 |
|
41 |
!CompositeChange class methodsFor:'instance creation'! |
|
42 |
||
43 |
name: aString changes: aChangeSet |
|
44 |
||
45 |
^self new |
|
46 |
name: aString; |
|
47 |
changes: aChangeSet; |
|
48 |
yourself. |
|
49 |
||
50 |
"Created: / 25-07-2009 / 19:36:40 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
51 |
! ! |
|
52 |
||
53 |
!CompositeChange methodsFor:'accessing'! |
|
54 |
||
55 |
changes |
|
56 |
^ changes |
|
57 |
! |
|
58 |
||
59 |
changes:aChangeSet |
|
60 |
changes := aChangeSet. |
|
61 |
! |
|
62 |
||
63 |
name |
|
64 |
^ name |
|
65 |
! |
|
66 |
||
67 |
name:aString |
|
68 |
name := aString. |
|
69 |
! ! |
|
70 |
||
71 |
!CompositeChange methodsFor:'applying'! |
|
72 |
||
73 |
apply |
|
74 |
||
75 |
changes apply |
|
76 |
||
77 |
"Modified: / 25-07-2009 / 19:41:35 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
78 |
! ! |
|
79 |
||
2366 | 80 |
!CompositeChange methodsFor:'enumerating'! |
81 |
||
82 |
do: aBlock |
|
4475 | 83 |
changes do: aBlock |
2366 | 84 |
|
85 |
"Created: / 29-10-2010 / 14:03:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
86 |
! ! |
|
87 |
||
88 |
!CompositeChange methodsFor:'fileout'! |
|
89 |
||
90 |
fileOutOn: aStream |
|
91 |
||
92 |
||
93 |
changes do:[:e|e fileOutOn: aStream] |
|
94 |
! ! |
|
95 |
||
2156 | 96 |
!CompositeChange methodsFor:'printing & storing'! |
97 |
||
98 |
printOn: aStream |
|
99 |
||
100 |
^name printOn: aStream |
|
101 |
||
102 |
"Created: / 25-07-2009 / 19:44:25 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
103 |
! ! |
|
104 |
||
2366 | 105 |
|
3496
cb5d408b8f63
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
2366
diff
changeset
|
106 |
!CompositeChange methodsFor:'testing'! |
2156 | 107 |
|
108 |
isCompositeChange |
|
109 |
||
110 |
^true |
|
111 |
||
112 |
"Created: / 25-07-2009 / 23:17:51 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
3496
cb5d408b8f63
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
2366
diff
changeset
|
113 |
! |
cb5d408b8f63
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
2366
diff
changeset
|
114 |
|
cb5d408b8f63
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
2366
diff
changeset
|
115 |
isOrContainsClassDefinitionChange |
cb5d408b8f63
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
2366
diff
changeset
|
116 |
^ changes contains:[:chg | chg isOrContainsClassDefinitionChange] |
2156 | 117 |
! ! |
118 |
||
2366 | 119 |
|
2156 | 120 |
!CompositeChange class methodsFor:'documentation'! |
121 |
||
122 |
version |
|
4475 | 123 |
^ '$Header$' |
2172 | 124 |
! |
125 |
||
126 |
version_CVS |
|
4475 | 127 |
^ '$Header$' |
2172 | 128 |
! |
129 |
||
130 |
version_SVN |
|
3496
cb5d408b8f63
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
2366
diff
changeset
|
131 |
^ '$ Id: CompositeChange.st 1851 2010-10-29 14:37:22Z vranyj1 $' |
2156 | 132 |
! ! |
3496
cb5d408b8f63
category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents:
2366
diff
changeset
|
133 |