author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sun, 29 Jan 2012 12:51:41 +0000 | |
branch | jv |
changeset 3011 | 1997ff6e7e55 |
parent 2366 | a63dcb66f349 |
child 3042 | 48e76977cdc3 |
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 |
|
2156 | 103 |
!CompositeChange methodsFor:'queries'! |
104 |
||
105 |
isCompositeChange |
|
106 |
||
107 |
^true |
|
108 |
||
109 |
"Created: / 25-07-2009 / 23:17:51 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
110 |
! ! |
|
111 |
||
2366 | 112 |
|
2156 | 113 |
!CompositeChange class methodsFor:'documentation'! |
114 |
||
115 |
version |
|
3011
1997ff6e7e55
trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2366
diff
changeset
|
116 |
^ '$Header: /cvs/stx/stx/libbasic3/CompositeChange.st,v 1.4 2011/06/28 20:35:48 vrany Exp $' |
2172 | 117 |
! |
118 |
||
119 |
version_CVS |
|
3011
1997ff6e7e55
trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2366
diff
changeset
|
120 |
^ '§Header: /cvs/stx/stx/libbasic3/CompositeChange.st,v 1.4 2011/06/28 20:35:48 vrany Exp §' |
2172 | 121 |
! |
122 |
||
123 |
version_SVN |
|
3011
1997ff6e7e55
trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2366
diff
changeset
|
124 |
^ '$Id: CompositeChange.st 1869 2012-01-29 11:53:49Z vranyj1 $' |
1997ff6e7e55
trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2366
diff
changeset
|
125 |
! ! |