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