author | Claus Gittinger <cg@exept.de> |
Tue, 08 Nov 2011 16:44:00 +0100 | |
changeset 10853 | 2c561fd68036 |
parent 10688 | 0d9b70639154 |
child 10854 | e799d9008c17 |
permissions | -rw-r--r-- |
10028 | 1 |
" |
10065 | 2 |
COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
3 |
All Rights Reserved |
10028 | 4 |
|
10065 | 5 |
Permission is hereby granted, free of charge, to any person |
6 |
obtaining a copy of this software and associated documentation |
|
7 |
files (the 'Software'), to deal in the Software without |
|
8 |
restriction, including without limitation the rights to use, |
|
9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
10 |
copies of the Software, and to permit persons to whom the |
|
11 |
Software is furnished to do so, subject to the following |
|
12 |
conditions: |
|
13 |
||
14 |
The above copyright notice and this permission notice shall be |
|
15 |
included in all copies or substantial portions of the Software. |
|
16 |
||
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
24 |
OTHER DEALINGS IN THE SOFTWARE. |
|
10028 | 25 |
" |
26 |
"{ Package: 'stx:libtool' }" |
|
27 |
||
28 |
"{ NameSpace: Tools }" |
|
29 |
||
30 |
ToolApplicationModel subclass:#ChangeSetBrowser2 |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
31 |
instanceVariableNames:'changesetHolder titleHolder allowOpenHolder changesetFile |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
32 |
navigatorChangesetHolder navigatorSpecHolder list1 list1Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
33 |
selection1Holder list2 list2Holder selection2Holder classHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
34 |
codeAspectHolder showRemovedAspect showSameAspect |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
35 |
acceptEnabledHolder sourceView changeSourceHolder |
10682 | 36 |
imageSourceHolder targetPackage targetNamespace |
37 |
updateChangefileHolder' |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
38 |
classVariableNames:'ShowRemoved LastSelectionConditionString' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
39 |
poolDictionaries:'' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
40 |
category:'Interface-Browsers-ChangeSet' |
10028 | 41 |
! |
42 |
||
43 |
!ChangeSetBrowser2 class methodsFor:'documentation'! |
|
44 |
||
45 |
copyright |
|
46 |
" |
|
10065 | 47 |
COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
48 |
All Rights Reserved |
10065 | 49 |
|
50 |
Permission is hereby granted, free of charge, to any person |
|
51 |
obtaining a copy of this software and associated documentation |
|
52 |
files (the 'Software'), to deal in the Software without |
|
53 |
restriction, including without limitation the rights to use, |
|
54 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
55 |
copies of the Software, and to permit persons to whom the |
|
56 |
Software is furnished to do so, subject to the following |
|
57 |
conditions: |
|
10028 | 58 |
|
10065 | 59 |
The above copyright notice and this permission notice shall be |
60 |
included in all copies or substantial portions of the Software. |
|
61 |
||
62 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
63 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
64 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
65 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
66 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
67 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
68 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
69 |
OTHER DEALINGS IN THE SOFTWARE. |
|
10028 | 70 |
" |
71 |
! ! |
|
72 |
||
73 |
!ChangeSetBrowser2 class methodsFor:'instance creation'! |
|
74 |
||
75 |
on: aChangeSet |
|
76 |
||
77 |
^self on: aChangeSet label: aChangeSet name |
|
78 |
||
79 |
"Modified: / 26-10-2010 / 22:51:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
80 |
! |
|
81 |
||
82 |
on: aChangeSet label: aString |
|
83 |
||
84 |
^self on: aChangeSet label: aString setupWith: [:browser] |
|
85 |
||
86 |
"Created: / 26-10-2010 / 22:50:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
87 |
! |
|
88 |
||
89 |
on: aChangeSet label: label setupWith: aBlock |
|
90 |
||
91 |
| browser | |
|
92 |
||
93 |
browser := self new. |
|
94 |
browser |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
95 |
changeset: aChangeSet; |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
96 |
title: label. |
10028 | 97 |
aBlock value: browser. |
98 |
^browser |
|
99 |
||
100 |
"Created: / 26-10-2010 / 22:50:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
101 |
! ! |
|
102 |
||
103 |
!ChangeSetBrowser2 class methodsFor:'accessing'! |
|
104 |
||
105 |
showRemoved |
|
106 |
||
107 |
^ShowRemoved == true |
|
108 |
! |
|
109 |
||
110 |
showRemoved: aBoolean |
|
111 |
||
112 |
ShowRemoved := aBoolean |
|
113 |
! ! |
|
114 |
||
115 |
!ChangeSetBrowser2 class methodsFor:'help specs'! |
|
116 |
||
117 |
helpSpec |
|
118 |
"This resource specification was automatically generated |
|
119 |
by the UIHelpTool of ST/X." |
|
120 |
||
121 |
"Do not manually edit this!! If it is corrupted, |
|
122 |
the UIHelpTool may not be able to read the specification." |
|
123 |
||
124 |
" |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
125 |
UIHelpTool openOnClass:Tools::ChangeSetBrowser |
10028 | 126 |
" |
127 |
||
128 |
<resource: #help> |
|
129 |
||
130 |
^ super helpSpec addPairsFrom:#( |
|
131 |
||
132 |
#fileLoad |
|
133 |
'' |
|
134 |
||
135 |
#fileSave |
|
136 |
'' |
|
137 |
||
138 |
) |
|
139 |
! ! |
|
140 |
||
141 |
!ChangeSetBrowser2 class methodsFor:'interface opening'! |
|
142 |
||
143 |
confirmChanges: aChangeSet |
|
144 |
||
145 |
^self confirmChanges: aChangeSet label: 'Apply following changes?' |
|
146 |
||
147 |
"Modified: / 08-11-2010 / 18:01:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
148 |
! |
|
149 |
||
150 |
confirmChanges:aChangeSet label: aString |
|
151 |
"Hmm, DialogBox class layout options are quite limited :-((" |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
152 |
|
10028 | 153 |
|browser browserView dialog| |
154 |
||
10309 | 155 |
browser := self on: aChangeSet. |
10028 | 156 |
browser acceptEnabled: false. |
157 |
browser showRemovedAspect: (true asValue). |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
158 |
browserView := ApplicationSubView new |
10682 | 159 |
client:browser |
160 |
spec:#windowSpecForEmbedding. |
|
10028 | 161 |
dialog := (Dialog new) |
10682 | 162 |
addComponent:browserView withHeight: 300; |
163 |
addAbortAndOkButtons; |
|
164 |
yourself. |
|
10028 | 165 |
dialog label: aString. |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
166 |
dialog buttonPanel |
10682 | 167 |
layout:(LayoutFrame fractions:(0.0 @ 1.0 corner:1.0 @ 1.0) |
168 |
offsets:(0 @ -30 corner:0 @ 0)). |
|
10028 | 169 |
browserView layout:(LayoutFrame fractions:(0.0 @ 0.0 corner:1.0 @ 1.0) |
10682 | 170 |
offsets:(0 @ 0 corner:0 @ -30)). |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
171 |
dialog |
10682 | 172 |
okAction: |
173 |
[^browser list1Holder value condenseChangesForRemoved]; |
|
174 |
abortAction: |
|
175 |
[^#()]. |
|
10345 | 176 |
dialog openWithExtent: 800@700. |
10028 | 177 |
^#() |
178 |
||
179 |
" |
|
10682 | 180 |
Tools::ChangeSetBrowser2 |
181 |
confirmChanges: |
|
182 |
(ChangeSet current copyFrom: ((ChangeSet current size - 10) max: 1) to: ChangeSet current size) |
|
183 |
label: 'Last 10 changes...' |
|
10028 | 184 |
" |
185 |
||
186 |
"Created: / 08-11-2010 / 17:59:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10448 | 187 |
"Modified: / 04-08-2011 / 18:06:29 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10682 | 188 |
"Modified: / 07-09-2011 / 20:19:44 / cg" |
10028 | 189 |
! |
190 |
||
191 |
openOn: aChangeSet |
|
192 |
||
193 |
^(self on: aChangeSet) open |
|
194 |
! |
|
195 |
||
196 |
openOn: aChangeSet label: aString |
|
197 |
||
198 |
^self openOn: aChangeSet label: aString setupWith: [:browser] |
|
199 |
||
200 |
"Created: / 26-10-2010 / 22:50:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
201 |
! |
|
202 |
||
203 |
openOn: aChangeSet label: aString setupWith: aBlock |
|
204 |
||
205 |
^(self on: aChangeSet label: aString setupWith: aBlock) open |
|
206 |
||
207 |
"Created: / 26-10-2010 / 23:07:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
208 |
! ! |
|
209 |
||
210 |
!ChangeSetBrowser2 class methodsFor:'interface specs'! |
|
211 |
||
212 |
hierarchicalNavigatorSpec |
|
213 |
"This resource specification was automatically generated |
|
214 |
by the UIPainter of ST/X." |
|
215 |
||
216 |
"Do not manually edit this!! If it is corrupted, |
|
217 |
the UIPainter may not be able to read the specification." |
|
218 |
||
219 |
" |
|
10448 | 220 |
UIPainter new openOnClass:Tools::ChangeSetBrowser2 andSelector:#hierarchicalNavigatorSpec |
221 |
Tools::ChangeSetBrowser2 new openInterface:#hierarchicalNavigatorSpec |
|
10028 | 222 |
" |
223 |
||
224 |
<resource: #canvas> |
|
225 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
226 |
^ |
10028 | 227 |
#(FullSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
228 |
name: hierarchicalNavigatorSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
229 |
window: |
10028 | 230 |
(WindowSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
231 |
label: 'Hierarchical Navigator' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
232 |
name: 'Hierarchical Navigator' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
233 |
min: (Point 10 10) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
234 |
bounds: (Rectangle 0 0 300 300) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
235 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
236 |
component: |
10028 | 237 |
(SpecCollection |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
238 |
collection: ( |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
239 |
(SubCanvasSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
240 |
name: 'ChangeList' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
241 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
242 |
hasHorizontalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
243 |
hasVerticalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
244 |
majorKey: #'Tools::HierarchicalChangeList' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
245 |
subAspectHolders: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
246 |
(Array |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
247 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
248 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
249 |
subAspect: acceptEnabledHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
250 |
aspect: acceptEnabledHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
251 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
252 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
253 |
subAspect: inGeneratorHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
254 |
aspect: list1Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
255 |
) |
10448 | 256 |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
257 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
258 |
subAspect: menuHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
259 |
aspect: list1MenuHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
260 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
261 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
262 |
subAspect: selectionHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
263 |
aspect: selection1Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
264 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
265 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
266 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
267 |
subAspect: showRemovedHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
268 |
aspect: showRemovedAspect |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
269 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
270 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
271 |
subAspect: showSameHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
272 |
aspect: showSameAspect |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
273 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
274 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
275 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
276 |
createNewApplication: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
277 |
createNewBuilder: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
278 |
postBuildCallback: list1View: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
279 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
280 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
281 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
282 |
) |
10028 | 283 |
) |
10448 | 284 |
|
285 |
"Modified: / 04-08-2011 / 18:43:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10028 | 286 |
! |
287 |
||
288 |
oneColumnNavigatorSpec |
|
289 |
"This resource specification was automatically generated |
|
290 |
by the UIPainter of ST/X." |
|
291 |
||
292 |
"Do not manually edit this!! If it is corrupted, |
|
293 |
the UIPainter may not be able to read the specification." |
|
294 |
||
295 |
" |
|
10448 | 296 |
UIPainter new openOnClass:Tools::ChangeSetBrowser2 andSelector:#oneColumnNavigatorSpec |
297 |
Tools::ChangeSetBrowser2 new openInterface:#oneColumnNavigatorSpec |
|
10028 | 298 |
" |
299 |
||
300 |
<resource: #canvas> |
|
301 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
302 |
^ |
10028 | 303 |
#(FullSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
304 |
name: oneColumnNavigatorSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
305 |
window: |
10028 | 306 |
(WindowSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
307 |
label: 'One Column Navigator' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
308 |
name: 'One Column Navigator' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
309 |
min: (Point 10 10) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
310 |
bounds: (Rectangle 0 0 300 300) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
311 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
312 |
component: |
10028 | 313 |
(SpecCollection |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
314 |
collection: ( |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
315 |
(SubCanvasSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
316 |
name: 'ChangeList' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
317 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
318 |
hasHorizontalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
319 |
hasVerticalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
320 |
majorKey: #'Tools::ChangeList' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
321 |
subAspectHolders: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
322 |
(Array |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
323 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
324 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
325 |
subAspect: acceptEnabledHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
326 |
aspect: acceptEnabledHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
327 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
328 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
329 |
subAspect: inGeneratorHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
330 |
aspect: list1Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
331 |
) |
10448 | 332 |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
333 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
334 |
subAspect: menuHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
335 |
aspect: list1MenuHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
336 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
337 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
338 |
subAspect: selectionHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
339 |
aspect: selection1Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
340 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
341 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
342 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
343 |
subAspect: showRemovedHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
344 |
aspect: showRemovedAspect |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
345 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
346 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
347 |
subAspect: showSameHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
348 |
aspect: showSameAspect |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
349 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
350 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
351 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
352 |
createNewApplication: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
353 |
createNewBuilder: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
354 |
postBuildCallback: list1View: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
355 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
356 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
357 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
358 |
) |
10028 | 359 |
) |
10448 | 360 |
|
361 |
"Modified: / 04-08-2011 / 18:43:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10028 | 362 |
! |
363 |
||
364 |
twoColumnNavigatorSpec |
|
365 |
"This resource specification was automatically generated |
|
366 |
by the UIPainter of ST/X." |
|
367 |
||
368 |
"Do not manually edit this!! If it is corrupted, |
|
369 |
the UIPainter may not be able to read the specification." |
|
370 |
||
371 |
" |
|
10448 | 372 |
UIPainter new openOnClass:Tools::ChangeSetBrowser2 andSelector:#twoColumnNavigatorSpec |
373 |
Tools::ChangeSetBrowser2 new openInterface:#twoColumnNavigatorSpec |
|
10028 | 374 |
" |
375 |
||
376 |
<resource: #canvas> |
|
377 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
378 |
^ |
10028 | 379 |
#(FullSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
380 |
name: twoColumnNavigatorSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
381 |
window: |
10028 | 382 |
(WindowSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
383 |
label: 'Two Column Navigator' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
384 |
name: 'Two Column Navigator' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
385 |
min: (Point 10 10) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
386 |
bounds: (Rectangle 0 0 300 300) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
387 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
388 |
component: |
10028 | 389 |
(SpecCollection |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
390 |
collection: ( |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
391 |
(VariableHorizontalPanelSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
392 |
name: 'Columns' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
393 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
394 |
component: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
395 |
(SpecCollection |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
396 |
collection: ( |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
397 |
(SubCanvasSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
398 |
name: 'FirstColumn' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
399 |
hasHorizontalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
400 |
hasVerticalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
401 |
majorKey: #'Tools::ChangeList' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
402 |
subAspectHolders: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
403 |
(Array |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
404 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
405 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
406 |
subAspect: acceptEnabledHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
407 |
aspect: acceptEnabledHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
408 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
409 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
410 |
subAspect: inGeneratorHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
411 |
aspect: list1Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
412 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
413 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
414 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
415 |
subAspect: menuHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
416 |
aspect: list1MenuHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
417 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
418 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
419 |
subAspect: outGeneratorHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
420 |
aspect: list2Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
421 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
422 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
423 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
424 |
subAspect: selectionHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
425 |
aspect: selection1Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
426 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
427 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
428 |
subAspect: showRemovedHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
429 |
aspect: showRemovedAspect |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
430 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
431 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
432 |
subAspect: showSameHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
433 |
aspect: showSameAspect |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
434 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
435 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
436 |
createNewApplication: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
437 |
createNewBuilder: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
438 |
postBuildCallback: list1View: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
439 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
440 |
(SubCanvasSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
441 |
name: 'SecondColumn' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
442 |
hasHorizontalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
443 |
hasVerticalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
444 |
majorKey: #'Tools::ChangeList' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
445 |
subAspectHolders: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
446 |
(Array |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
447 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
448 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
449 |
subAspect: acceptEnabledHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
450 |
aspect: acceptEnabledHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
451 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
452 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
453 |
subAspect: inGeneratorHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
454 |
aspect: list2Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
455 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
456 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
457 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
458 |
subAspect: menuHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
459 |
aspect: list2MenuHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
460 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
461 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
462 |
subAspect: selectionHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
463 |
aspect: selection2Holder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
464 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
465 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
466 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
467 |
subAspect: showRemovedHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
468 |
aspect: showRemovedAspect |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
469 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
470 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
471 |
subAspect: showSameHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
472 |
aspect: showSameAspect |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
473 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
474 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
475 |
createNewApplication: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
476 |
createNewBuilder: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
477 |
postBuildCallback: list2View: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
478 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
479 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
480 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
481 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
482 |
handles: (Any 0.5 1.0) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
483 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
484 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
485 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
486 |
) |
10028 | 487 |
) |
10448 | 488 |
|
489 |
"Modified: / 04-08-2011 / 18:43:52 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10028 | 490 |
! |
491 |
||
492 |
windowSpec |
|
493 |
"This resource specification was automatically generated |
|
494 |
by the UIPainter of ST/X." |
|
495 |
||
496 |
"Do not manually edit this!! If it is corrupted, |
|
497 |
the UIPainter may not be able to read the specification." |
|
498 |
||
499 |
" |
|
500 |
UIPainter new openOnClass:Tools::ChangeSetBrowser andSelector:#windowSpec |
|
501 |
Tools::ChangeSetBrowser new openInterface:#windowSpec |
|
502 |
Tools::ChangeSetBrowser open |
|
503 |
" |
|
504 |
||
505 |
<resource: #canvas> |
|
506 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
507 |
^ |
10028 | 508 |
#(FullSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
509 |
name: windowSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
510 |
window: |
10028 | 511 |
(WindowSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
512 |
label: 'ChangeSet browser' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
513 |
name: 'ChangeSet browser' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
514 |
labelChannel: titleHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
515 |
min: (Point 10 10) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
516 |
bounds: (Rectangle 0 0 653 488) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
517 |
menu: mainMenu |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
518 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
519 |
component: |
10028 | 520 |
(SpecCollection |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
521 |
collection: ( |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
522 |
(MenuPanelSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
523 |
name: 'ToolBar' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
524 |
layout: (LayoutFrame 0 0 0 0 0 1 30 0) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
525 |
menu: toolbarMenu |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
526 |
textDefault: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
527 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
528 |
(UISubSpecification |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
529 |
name: 'Contents' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
530 |
layout: (LayoutFrame 0 0 30 0 0 1 0 1) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
531 |
minorKey: windowSpecWithoutToolbar |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
532 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
533 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
534 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
535 |
) |
10028 | 536 |
) |
537 |
! |
|
538 |
||
539 |
windowSpecForEmbedding |
|
540 |
||
541 |
^self windowSpecWithoutToolbar |
|
542 |
! |
|
543 |
||
544 |
windowSpecWithoutToolbar |
|
545 |
"This resource specification was automatically generated |
|
546 |
by the UIPainter of ST/X." |
|
547 |
||
548 |
"Do not manually edit this!! If it is corrupted, |
|
549 |
the UIPainter may not be able to read the specification." |
|
550 |
||
551 |
" |
|
10333 | 552 |
UIPainter new openOnClass:Tools::ChangeSetBrowser2 andSelector:#windowSpecWithoutToolbar |
553 |
Tools::ChangeSetBrowser2 new openInterface:#windowSpecWithoutToolbar |
|
10028 | 554 |
" |
555 |
||
556 |
<resource: #canvas> |
|
557 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
558 |
^ |
10028 | 559 |
#(FullSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
560 |
name: windowSpecWithoutToolbar |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
561 |
window: |
10028 | 562 |
(WindowSpec |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
563 |
label: 'ChangeSet browser' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
564 |
name: 'ChangeSet browser' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
565 |
min: (Point 10 10) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
566 |
bounds: (Rectangle 0 0 653 488) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
567 |
menu: mainMenu |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
568 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
569 |
component: |
10028 | 570 |
(SpecCollection |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
571 |
collection: ( |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
572 |
(VariableVerticalPanelSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
573 |
name: 'VerticalPanel' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
574 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
575 |
component: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
576 |
(SpecCollection |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
577 |
collection: ( |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
578 |
(SubCanvasSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
579 |
name: 'NavigatorPanel' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
580 |
hasHorizontalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
581 |
hasVerticalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
582 |
specHolder: navigatorSpecHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
583 |
createNewBuilder: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
584 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
585 |
(SubCanvasSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
586 |
name: 'TextDiffTool' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
587 |
hasHorizontalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
588 |
hasVerticalScrollBar: false |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
589 |
majorKey: #'Tools::TextDiffTool' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
590 |
minorKey: windowSpecForEmbedding |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
591 |
subAspectHolders: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
592 |
(Array |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
593 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
594 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
595 |
subAspect: classHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
596 |
aspect: classHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
597 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
598 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
599 |
subAspect: codeAspectHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
600 |
aspect: codeAspectHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
601 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
602 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
603 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
604 |
subAspect: labelAHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
605 |
aspect: labelAHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
606 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
607 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
608 |
subAspect: labelBHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
609 |
aspect: labelBHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
610 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
611 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
612 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
613 |
subAspect: textAHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
614 |
aspect: changeSourceHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
615 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
616 |
(SubChannelInfoSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
617 |
subAspect: textBHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
618 |
aspect: imageSourceHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
619 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
620 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
621 |
createNewApplication: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
622 |
createNewBuilder: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
623 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
624 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
625 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
626 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
627 |
handles: (Any 0.5 1.0) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
628 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
629 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
630 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
631 |
) |
10028 | 632 |
) |
633 |
! ! |
|
634 |
||
635 |
!ChangeSetBrowser2 class methodsFor:'menu specs'! |
|
636 |
||
637 |
changeMenu |
|
638 |
"This resource specification was automatically generated |
|
639 |
by the MenuEditor of ST/X." |
|
640 |
||
641 |
"Do not manually edit this!! If it is corrupted, |
|
642 |
the MenuEditor may not be able to read the specification." |
|
643 |
||
10658 | 644 |
|
10028 | 645 |
" |
10448 | 646 |
MenuEditor new openOnClass:Tools::ChangeSetBrowser2 andSelector:#changeMenu |
647 |
(Menu new fromLiteralArrayEncoding:(Tools::ChangeSetBrowser2 changeMenu)) startUp |
|
10028 | 648 |
" |
649 |
||
650 |
<resource: #menu> |
|
651 |
||
10643 | 652 |
^ |
10028 | 653 |
#(Menu |
10643 | 654 |
( |
655 |
(MenuItem |
|
656 |
enabled: hasChangeSelectedAndNotRemoved: |
|
657 |
label: 'Apply' |
|
658 |
itemValue: changeMenuApplySelection: |
|
659 |
translateLabel: true |
|
660 |
isVisible: acceptEnabledHolder |
|
661 |
shortcutKey: Accept |
|
662 |
auxValue: 100 |
|
663 |
) |
|
664 |
(MenuItem |
|
665 |
label: 'Apply all' |
|
666 |
itemValue: changeMenuApply: |
|
667 |
translateLabel: true |
|
668 |
isVisible: acceptEnabledHolder |
|
669 |
) |
|
670 |
(MenuItem |
|
671 |
label: '-' |
|
672 |
) |
|
673 |
(MenuItem |
|
674 |
label: 'Delete' |
|
675 |
itemValue: changeMenuDeleteSelection: |
|
676 |
nameKey: Delete |
|
677 |
translateLabel: true |
|
678 |
shortcutKey: Delete |
|
679 |
) |
|
680 |
(MenuItem |
|
681 |
label: 'Undelete' |
|
682 |
itemValue: changeMenuUndeleteSelection: |
|
683 |
nameKey: Undelete |
|
684 |
translateLabel: true |
|
685 |
shortcutKey: Delete |
|
686 |
) |
|
687 |
(MenuItem |
|
688 |
label: '-' |
|
689 |
) |
|
690 |
(MenuItem |
|
691 |
label: 'Select...' |
|
692 |
translateLabel: true |
|
693 |
submenu: |
|
694 |
(Menu |
|
695 |
( |
|
696 |
(MenuItem |
|
697 |
label: 'Select same' |
|
698 |
itemValue: changeMenuSelectSame: |
|
699 |
translateLabel: true |
|
700 |
) |
|
701 |
(MenuItem |
|
702 |
label: 'Select additions (new classes/methods)' |
|
703 |
itemValue: changeMenuSelectAdditions: |
|
704 |
translateLabel: true |
|
705 |
) |
|
706 |
(MenuItem |
|
707 |
label: 'Select removals' |
|
708 |
itemValue: changeMenuSelectRemovals: |
|
709 |
translateLabel: true |
|
710 |
) |
|
711 |
(MenuItem |
|
712 |
label: 'Select differences' |
|
713 |
itemValue: changeMenuSelectDifferences: |
|
714 |
translateLabel: true |
|
715 |
) |
|
716 |
(MenuItem |
|
717 |
label: '-' |
|
718 |
) |
|
719 |
(MenuItem |
|
720 |
label: 'Select all' |
|
721 |
itemValue: changeMenuSelectAll: |
|
722 |
translateLabel: true |
|
723 |
) |
|
724 |
(MenuItem |
|
725 |
label: 'Select none' |
|
726 |
itemValue: changeMenuSelectNone: |
|
727 |
translateLabel: true |
|
728 |
) |
|
729 |
(MenuItem |
|
730 |
label: '-' |
|
731 |
) |
|
732 |
(MenuItem |
|
733 |
label: 'Select using block' |
|
734 |
itemValue: changeMenuSelectUsingBlock: |
|
735 |
translateLabel: true |
|
736 |
) |
|
737 |
) |
|
738 |
nil |
|
739 |
nil |
|
740 |
) |
|
741 |
) |
|
742 |
(MenuItem |
|
743 |
label: '-' |
|
744 |
) |
|
745 |
(MenuItem |
|
746 |
label: 'Show Deleted' |
|
747 |
translateLabel: true |
|
748 |
indication: showRemovedAspect |
|
749 |
) |
|
750 |
(MenuItem |
|
751 |
label: 'Show Same' |
|
752 |
translateLabel: true |
|
753 |
indication: showSameAspect |
|
754 |
) |
|
755 |
(MenuItem |
|
756 |
label: '-' |
|
757 |
) |
|
758 |
(MenuItem |
|
759 |
label: 'Inspect change' |
|
760 |
itemValue: changeMenuInspect: |
|
761 |
translateLabel: true |
|
762 |
) |
|
763 |
(MenuItem |
|
764 |
enabled: hasSingleChangeSelectedAndCanBrowse: |
|
10658 | 765 |
label: 'Browse Method(s)' |
10643 | 766 |
itemValue: changeMenuBrowse: |
767 |
translateLabel: true |
|
768 |
) |
|
769 |
) |
|
770 |
nil |
|
771 |
nil |
|
10028 | 772 |
) |
773 |
! |
|
774 |
||
10666 | 775 |
changeMenu1 |
776 |
"This resource specification was automatically generated |
|
777 |
by the MenuEditor of ST/X." |
|
778 |
||
779 |
"Do not manually edit this!! If it is corrupted, |
|
780 |
the MenuEditor may not be able to read the specification." |
|
781 |
||
782 |
||
783 |
" |
|
784 |
MenuEditor new openOnClass:Tools::ChangeSetBrowser2 andSelector:#changeMenu1 |
|
785 |
(Menu new fromLiteralArrayEncoding:(Tools::ChangeSetBrowser2 changeMenu1)) startUp |
|
786 |
" |
|
787 |
||
788 |
<resource: #menu> |
|
789 |
||
790 |
^ |
|
791 |
#(Menu |
|
792 |
( |
|
793 |
(MenuItem |
|
794 |
enabled: hasChangeSelectedAndNotRemoved: |
|
795 |
label: 'Apply' |
|
796 |
itemValue: changeMenuApplySelection: |
|
797 |
translateLabel: true |
|
798 |
isVisible: acceptEnabledHolder |
|
799 |
shortcutKey: Accept |
|
800 |
auxValue: 100 |
|
801 |
) |
|
802 |
(MenuItem |
|
803 |
label: 'Apply all' |
|
804 |
itemValue: changeMenuApply: |
|
805 |
translateLabel: true |
|
806 |
isVisible: acceptEnabledHolder |
|
807 |
) |
|
808 |
(MenuItem |
|
809 |
label: '-' |
|
810 |
) |
|
811 |
(MenuItem |
|
812 |
label: 'Delete' |
|
813 |
itemValue: changeMenuDeleteSelection: |
|
814 |
nameKey: Delete |
|
815 |
translateLabel: true |
|
816 |
shortcutKey: Delete |
|
817 |
) |
|
818 |
(MenuItem |
|
819 |
label: 'Undelete' |
|
820 |
itemValue: changeMenuUndeleteSelection: |
|
821 |
nameKey: Undelete |
|
822 |
translateLabel: true |
|
823 |
shortcutKey: Delete |
|
824 |
) |
|
825 |
(MenuItem |
|
826 |
label: '-' |
|
827 |
) |
|
828 |
(MenuItem |
|
829 |
label: 'Select...' |
|
830 |
translateLabel: true |
|
831 |
submenu: |
|
832 |
(Menu |
|
833 |
( |
|
834 |
(MenuItem |
|
835 |
label: 'Select same' |
|
836 |
itemValue: changeMenuSelectSame: |
|
837 |
translateLabel: true |
|
838 |
) |
|
839 |
(MenuItem |
|
840 |
label: 'Select additions (new classes/methods)' |
|
841 |
itemValue: changeMenuSelectAdditions: |
|
842 |
translateLabel: true |
|
843 |
) |
|
844 |
(MenuItem |
|
845 |
label: 'Select removals' |
|
846 |
itemValue: changeMenuSelectRemovals: |
|
847 |
translateLabel: true |
|
848 |
) |
|
849 |
(MenuItem |
|
850 |
label: 'Select differences' |
|
851 |
itemValue: changeMenuSelectDifferences: |
|
852 |
translateLabel: true |
|
853 |
) |
|
854 |
(MenuItem |
|
855 |
label: '-' |
|
856 |
) |
|
857 |
(MenuItem |
|
858 |
label: 'Select all' |
|
859 |
itemValue: changeMenuSelectAll: |
|
860 |
translateLabel: true |
|
861 |
) |
|
862 |
(MenuItem |
|
863 |
label: 'Select none' |
|
864 |
itemValue: changeMenuSelectNone: |
|
865 |
translateLabel: true |
|
866 |
) |
|
867 |
(MenuItem |
|
868 |
label: '-' |
|
869 |
) |
|
870 |
(MenuItem |
|
871 |
label: 'Select using block' |
|
872 |
itemValue: changeMenuSelectUsingBlock: |
|
873 |
translateLabel: true |
|
874 |
) |
|
875 |
) |
|
876 |
nil |
|
877 |
nil |
|
878 |
) |
|
879 |
) |
|
880 |
(MenuItem |
|
881 |
label: '-' |
|
882 |
) |
|
883 |
(MenuItem |
|
884 |
label: 'Show Deleted' |
|
885 |
translateLabel: true |
|
886 |
indication: showRemovedAspect |
|
887 |
) |
|
888 |
(MenuItem |
|
889 |
label: 'Show Same' |
|
890 |
translateLabel: true |
|
891 |
indication: showSameAspect |
|
892 |
) |
|
893 |
(MenuItem |
|
894 |
label: '-' |
|
895 |
) |
|
896 |
(MenuItem |
|
897 |
label: 'Inspect change' |
|
898 |
itemValue: changeMenuInspect: |
|
899 |
translateLabel: true |
|
900 |
) |
|
901 |
(MenuItem |
|
902 |
enabled: hasSingleChangeSelectedAndCanBrowse: |
|
903 |
label: 'Browse Method(s)' |
|
904 |
itemValue: changeMenuBrowse: |
|
905 |
translateLabel: true |
|
906 |
) |
|
907 |
(MenuItem |
|
908 |
enabled: hasSingleChangeSelectedAndCanBrowse: |
|
909 |
label: 'Browse Class(s)' |
|
910 |
itemValue: changeMenuBrowseClass: |
|
911 |
translateLabel: true |
|
912 |
) |
|
913 |
) |
|
914 |
nil |
|
915 |
nil |
|
916 |
) |
|
917 |
! |
|
918 |
||
919 |
changeMenu2 |
|
920 |
"This resource specification was automatically generated |
|
921 |
by the MenuEditor of ST/X." |
|
922 |
||
923 |
"Do not manually edit this!! If it is corrupted, |
|
924 |
the MenuEditor may not be able to read the specification." |
|
925 |
||
926 |
||
927 |
" |
|
928 |
MenuEditor new openOnClass:Tools::ChangeSetBrowser2 andSelector:#changeMenu2 |
|
929 |
(Menu new fromLiteralArrayEncoding:(Tools::ChangeSetBrowser2 changeMenu2)) startUp |
|
930 |
" |
|
931 |
||
932 |
<resource: #menu> |
|
933 |
||
934 |
^ |
|
935 |
#(Menu |
|
936 |
( |
|
937 |
(MenuItem |
|
938 |
enabled: hasChangeSelectedAndNotRemoved: |
|
939 |
label: 'Apply' |
|
940 |
itemValue: changeMenuApplySelection: |
|
941 |
translateLabel: true |
|
942 |
isVisible: acceptEnabledHolder |
|
943 |
shortcutKey: Accept |
|
944 |
auxValue: 100 |
|
945 |
) |
|
946 |
(MenuItem |
|
947 |
label: 'Apply all' |
|
948 |
itemValue: changeMenuApply: |
|
949 |
translateLabel: true |
|
950 |
isVisible: acceptEnabledHolder |
|
951 |
) |
|
952 |
(MenuItem |
|
953 |
label: '-' |
|
954 |
) |
|
955 |
(MenuItem |
|
956 |
label: 'Delete' |
|
957 |
itemValue: changeMenuDeleteSelection: |
|
958 |
nameKey: Delete |
|
959 |
translateLabel: true |
|
960 |
shortcutKey: Delete |
|
961 |
) |
|
962 |
(MenuItem |
|
963 |
label: 'Undelete' |
|
964 |
itemValue: changeMenuUndeleteSelection: |
|
965 |
nameKey: Undelete |
|
966 |
translateLabel: true |
|
967 |
shortcutKey: Delete |
|
968 |
) |
|
969 |
(MenuItem |
|
970 |
label: '-' |
|
971 |
) |
|
972 |
(MenuItem |
|
973 |
label: 'Select...' |
|
974 |
translateLabel: true |
|
975 |
submenu: |
|
976 |
(Menu |
|
977 |
( |
|
978 |
(MenuItem |
|
979 |
label: 'Select same' |
|
980 |
itemValue: changeMenuSelectSame: |
|
981 |
translateLabel: true |
|
982 |
) |
|
983 |
(MenuItem |
|
984 |
label: 'Select additions (new classes/methods)' |
|
985 |
itemValue: changeMenuSelectAdditions: |
|
986 |
translateLabel: true |
|
987 |
) |
|
988 |
(MenuItem |
|
989 |
label: 'Select removals' |
|
990 |
itemValue: changeMenuSelectRemovals: |
|
991 |
translateLabel: true |
|
992 |
) |
|
993 |
(MenuItem |
|
994 |
label: 'Select differences' |
|
995 |
itemValue: changeMenuSelectDifferences: |
|
996 |
translateLabel: true |
|
997 |
) |
|
998 |
(MenuItem |
|
999 |
label: '-' |
|
1000 |
) |
|
1001 |
(MenuItem |
|
1002 |
label: 'Select all' |
|
1003 |
itemValue: changeMenuSelectAll: |
|
1004 |
translateLabel: true |
|
1005 |
) |
|
1006 |
(MenuItem |
|
1007 |
label: 'Select none' |
|
1008 |
itemValue: changeMenuSelectNone: |
|
1009 |
translateLabel: true |
|
1010 |
) |
|
1011 |
(MenuItem |
|
1012 |
label: '-' |
|
1013 |
) |
|
1014 |
(MenuItem |
|
1015 |
label: 'Select using block' |
|
1016 |
itemValue: changeMenuSelectUsingBlock: |
|
1017 |
translateLabel: true |
|
1018 |
) |
|
1019 |
) |
|
1020 |
nil |
|
1021 |
nil |
|
1022 |
) |
|
1023 |
) |
|
1024 |
(MenuItem |
|
1025 |
label: '-' |
|
1026 |
) |
|
1027 |
(MenuItem |
|
1028 |
label: 'Show Deleted' |
|
1029 |
translateLabel: true |
|
1030 |
indication: showRemovedAspect |
|
1031 |
) |
|
1032 |
(MenuItem |
|
1033 |
label: 'Show Same' |
|
1034 |
translateLabel: true |
|
1035 |
indication: showSameAspect |
|
1036 |
) |
|
1037 |
(MenuItem |
|
1038 |
label: '-' |
|
1039 |
) |
|
1040 |
(MenuItem |
|
1041 |
label: 'Inspect change' |
|
1042 |
itemValue: changeMenuInspect: |
|
1043 |
translateLabel: true |
|
1044 |
) |
|
1045 |
(MenuItem |
|
1046 |
enabled: hasSingleChangeSelectedAndCanBrowse: |
|
1047 |
label: 'Browse Method(s)' |
|
1048 |
itemValue: changeMenuBrowse: |
|
1049 |
translateLabel: true |
|
1050 |
) |
|
1051 |
) |
|
1052 |
nil |
|
1053 |
nil |
|
1054 |
) |
|
1055 |
||
1056 |
"Created: / 05-09-2011 / 16:06:49 / cg" |
|
1057 |
! |
|
1058 |
||
10028 | 1059 |
mainMenu |
1060 |
"This resource specification was automatically generated |
|
1061 |
by the MenuEditor of ST/X." |
|
1062 |
||
1063 |
"Do not manually edit this!! If it is corrupted, |
|
1064 |
the MenuEditor may not be able to read the specification." |
|
1065 |
||
10682 | 1066 |
|
10028 | 1067 |
" |
10448 | 1068 |
MenuEditor new openOnClass:Tools::ChangeSetBrowser2 andSelector:#mainMenu |
1069 |
(Menu new fromLiteralArrayEncoding:(Tools::ChangeSetBrowser2 mainMenu)) startUp |
|
10028 | 1070 |
" |
1071 |
||
1072 |
<resource: #menu> |
|
1073 |
||
10682 | 1074 |
^ |
10028 | 1075 |
#(Menu |
10682 | 1076 |
( |
1077 |
(MenuItem |
|
1078 |
label: 'File' |
|
1079 |
translateLabel: true |
|
1080 |
submenu: |
|
1081 |
(Menu |
|
1082 |
( |
|
1083 |
(MenuItem |
|
1084 |
label: 'Open' |
|
1085 |
itemValue: doOpen |
|
1086 |
translateLabel: true |
|
1087 |
isVisible: allowOpenHolder |
|
1088 |
shortcutKey: Ctrlo |
|
1089 |
) |
|
1090 |
(MenuItem |
|
1091 |
label: 'Open current' |
|
1092 |
itemValue: doOpenCurrent |
|
1093 |
translateLabel: true |
|
1094 |
isVisible: allowOpenHolder |
|
1095 |
) |
|
1096 |
(MenuItem |
|
1097 |
label: 'Save' |
|
1098 |
itemValue: doSave |
|
1099 |
translateLabel: true |
|
1100 |
) |
|
1101 |
(MenuItem |
|
1102 |
label: 'Save As...' |
|
1103 |
itemValue: doSaveAs |
|
1104 |
translateLabel: true |
|
1105 |
) |
|
1106 |
(MenuItem |
|
1107 |
label: '-' |
|
1108 |
) |
|
1109 |
(MenuItem |
|
1110 |
label: 'Exit' |
|
1111 |
itemValue: closeRequest |
|
1112 |
translateLabel: true |
|
1113 |
) |
|
1114 |
) |
|
1115 |
nil |
|
1116 |
nil |
|
1117 |
) |
|
1118 |
) |
|
1119 |
(MenuItem |
|
1120 |
label: 'View' |
|
1121 |
translateLabel: true |
|
1122 |
submenu: |
|
1123 |
(Menu |
|
1124 |
( |
|
1125 |
(MenuItem |
|
1126 |
label: 'List' |
|
1127 |
translateLabel: true |
|
1128 |
choice: navigatorSpecHolder |
|
1129 |
choiceValue: oneColumnNavigatorSpec |
|
1130 |
) |
|
1131 |
(MenuItem |
|
1132 |
label: 'Hierarchical List' |
|
1133 |
translateLabel: true |
|
1134 |
choice: navigatorSpecHolder |
|
1135 |
choiceValue: hierarchicalNavigatorSpec |
|
1136 |
) |
|
1137 |
(MenuItem |
|
1138 |
label: 'Browser Like' |
|
1139 |
translateLabel: true |
|
1140 |
choice: navigatorSpecHolder |
|
1141 |
choiceValue: twoColumnNavigatorSpec |
|
1142 |
) |
|
1143 |
(MenuItem |
|
1144 |
label: '-' |
|
1145 |
) |
|
1146 |
(MenuItem |
|
1147 |
label: 'Show Deleted' |
|
1148 |
translateLabel: true |
|
1149 |
indication: showRemovedAspect |
|
1150 |
) |
|
1151 |
(MenuItem |
|
1152 |
label: 'Show Same' |
|
1153 |
translateLabel: true |
|
1154 |
indication: showSameAspect |
|
1155 |
) |
|
1156 |
) |
|
1157 |
nil |
|
1158 |
nil |
|
1159 |
) |
|
1160 |
) |
|
1161 |
(MenuItem |
|
1162 |
label: 'Loading' |
|
1163 |
translateLabel: true |
|
1164 |
submenu: |
|
1165 |
(Menu |
|
1166 |
( |
|
1167 |
(MenuItem |
|
1168 |
label: 'Set Target Package...' |
|
1169 |
itemValue: setTargetPackage |
|
1170 |
translateLabel: true |
|
1171 |
) |
|
1172 |
(MenuItem |
|
1173 |
label: 'Set Target Namespace...' |
|
1174 |
itemValue: setTargetNamespace |
|
1175 |
translateLabel: true |
|
1176 |
) |
|
1177 |
(MenuItem |
|
1178 |
label: '-' |
|
1179 |
) |
|
1180 |
(MenuItem |
|
1181 |
label: 'Update Changefile' |
|
1182 |
translateLabel: true |
|
1183 |
indication: updateChangeFileHolder |
|
1184 |
) |
|
1185 |
) |
|
1186 |
nil |
|
1187 |
nil |
|
1188 |
) |
|
1189 |
) |
|
1190 |
) |
|
1191 |
nil |
|
1192 |
nil |
|
10028 | 1193 |
) |
1194 |
! |
|
1195 |
||
1196 |
toolbarMenu |
|
1197 |
"This resource specification was automatically generated |
|
1198 |
by the MenuEditor of ST/X." |
|
1199 |
||
1200 |
"Do not manually edit this!! If it is corrupted, |
|
1201 |
the MenuEditor may not be able to read the specification." |
|
1202 |
||
1203 |
" |
|
1204 |
MenuEditor new openOnClass:Tools::ChangeSetBrowser andSelector:#toolbarMenu |
|
1205 |
(Menu new fromLiteralArrayEncoding:(Tools::ChangeSetBrowser toolbarMenu)) startUp |
|
1206 |
" |
|
1207 |
||
1208 |
<resource: #menu> |
|
1209 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1210 |
^ |
10028 | 1211 |
#(Menu |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1212 |
( |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1213 |
(MenuItem |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1214 |
activeHelpKey: fileLoad |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1215 |
label: 'Open' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1216 |
itemValue: doOpen |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1217 |
translateLabel: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1218 |
isButton: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1219 |
isVisible: allowOpenHolder |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1220 |
labelImage: (ResourceRetriever XPToolbarIconLibrary loadFromFileIcon) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1221 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1222 |
(MenuItem |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1223 |
activeHelpKey: fileSave |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1224 |
label: 'Save' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1225 |
itemValue: doSave |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1226 |
translateLabel: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1227 |
isButton: true |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1228 |
labelImage: (ResourceRetriever XPToolbarIconLibrary saveToFileIcon) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1229 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1230 |
) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1231 |
nil |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1232 |
nil |
10028 | 1233 |
) |
1234 |
! ! |
|
1235 |
||
1236 |
!ChangeSetBrowser2 class methodsFor:'plugIn spec'! |
|
1237 |
||
1238 |
aspectSelectors |
|
1239 |
"This resource specification was automatically generated |
|
1240 |
by the UIPainter of ST/X." |
|
1241 |
||
1242 |
"Do not manually edit this. If it is corrupted, |
|
1243 |
the UIPainter may not be able to read the specification." |
|
1244 |
||
1245 |
"Return a description of exported aspects; |
|
1246 |
these can be connected to aspects of an embedding application |
|
1247 |
(if this app is embedded in a subCanvas)." |
|
1248 |
||
1249 |
^ #( |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1250 |
#changesetHolder |
10028 | 1251 |
). |
1252 |
||
1253 |
! ! |
|
1254 |
||
1255 |
!ChangeSetBrowser2 methodsFor:'accessing'! |
|
1256 |
||
1257 |
acceptEnabled: aBoolean |
|
1258 |
||
1259 |
^self acceptEnabledHolder value: aBoolean |
|
1260 |
! |
|
1261 |
||
1262 |
allowOpen: aBoolean |
|
1263 |
||
1264 |
self allowOpenHolder value: aBoolean |
|
1265 |
||
1266 |
"Created: / 26-10-2010 / 23:18:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1267 |
! |
|
1268 |
||
1269 |
beHierarchical |
|
1270 |
||
1271 |
^self navigatorSpecHolder value: #hierarchicalNavigatorSpec |
|
1272 |
||
1273 |
"Modified: / 14-10-2010 / 15:52:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1274 |
! |
|
1275 |
||
1276 |
beOneColumn |
|
1277 |
||
1278 |
^self navigatorSpecHolder value: #oneColumnNavigatorSpec |
|
1279 |
||
1280 |
"Modified: / 14-10-2010 / 15:52:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1281 |
! |
|
1282 |
||
1283 |
beTwoColumn |
|
1284 |
||
1285 |
^self navigatorSpecHolder value: #twoColumnNavigatorSpec |
|
1286 |
||
1287 |
"Modified: / 14-10-2010 / 15:51:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1288 |
! |
|
1289 |
||
1290 |
changeset |
|
1291 |
||
1292 |
^self changesetHolder value |
|
1293 |
! |
|
1294 |
||
1295 |
changeset: aChangeSet |
|
1296 |
||
1297 |
self changesetHolder value: aChangeSet |
|
1298 |
! |
|
1299 |
||
10448 | 1300 |
list1View: aSubApplicationView |
1301 |
||
1302 |
list1 := aSubApplicationView application |
|
1303 |
||
1304 |
"Created: / 04-08-2011 / 17:56:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1305 |
! |
|
1306 |
||
1307 |
list2View: aSubApplicationView |
|
1308 |
||
1309 |
list2 := aSubApplicationView application |
|
1310 |
||
1311 |
"Created: / 04-08-2011 / 17:57:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1312 |
! |
|
1313 |
||
10028 | 1314 |
readOnly: aBoolean |
1315 |
||
1316 |
"Created: / 20-07-2010 / 09:48:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1317 |
! |
|
1318 |
||
10682 | 1319 |
targetNamespace:something |
1320 |
targetNamespace := something. |
|
1321 |
! |
|
1322 |
||
1323 |
targetPackage:something |
|
1324 |
targetPackage := something. |
|
1325 |
! |
|
1326 |
||
10028 | 1327 |
theSingleSelectedChange |
1328 |
||
10448 | 1329 |
| change sel | |
10028 | 1330 |
change := nil. |
10448 | 1331 |
sel := selection2Holder value. |
1332 |
sel isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1333 |
sel := selection1Holder value. |
10448 | 1334 |
]. |
1335 |
sel do: |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1336 |
[:each| |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1337 |
change ifNotNil:[nil]. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1338 |
change ifNil:[change := each]]. |
10028 | 1339 |
^change |
10448 | 1340 |
|
1341 |
"Modified: / 04-08-2011 / 18:55:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10028 | 1342 |
! |
1343 |
||
1344 |
title: aString |
|
1345 |
||
1346 |
self titleHolder value: aString |
|
1347 |
||
1348 |
"Created: / 26-10-2010 / 23:01:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1349 |
! ! |
|
1350 |
||
1351 |
!ChangeSetBrowser2 methodsFor:'accessing - defaults'! |
|
1352 |
||
1353 |
defaultTitle |
|
1354 |
^ 'No changeset' |
|
1355 |
||
1356 |
"Modified: / 08-04-2011 / 10:10:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1357 |
! ! |
|
1358 |
||
1359 |
!ChangeSetBrowser2 methodsFor:'accessing - menus'! |
|
1360 |
||
10448 | 1361 |
list1MenuHolder |
10666 | 1362 |
^ [ |
1363 |
|menu| |
|
10448 | 1364 |
|
10666 | 1365 |
menu := builder menuFor:#changeMenu1. |
1366 |
menu allItemsDo:[:item | item argument:list1 ]. |
|
1367 |
menu |
|
10448 | 1368 |
] |
10028 | 1369 |
|
10448 | 1370 |
"Created: / 04-08-2011 / 18:11:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10666 | 1371 |
"Modified (format): / 05-09-2011 / 16:07:20 / cg" |
10448 | 1372 |
! |
1373 |
||
1374 |
list2MenuHolder |
|
10666 | 1375 |
^ [ |
1376 |
|menu| |
|
10028 | 1377 |
|
10666 | 1378 |
menu := builder menuFor:#changeMenu2. |
1379 |
menu allItemsDo:[:item | item argument:list2 ]. |
|
1380 |
menu |
|
10448 | 1381 |
] |
1382 |
||
1383 |
"Created: / 04-08-2011 / 18:13:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10666 | 1384 |
"Modified (format): / 05-09-2011 / 16:07:34 / cg" |
10028 | 1385 |
! ! |
1386 |
||
1387 |
!ChangeSetBrowser2 methodsFor:'actions'! |
|
1388 |
||
1389 |
accept: source |
|
1390 |
||
1391 |
| entry | |
|
1392 |
(entry := self theSingleSelectedChange) ifNil:[^self]. |
|
1393 |
entry change isMethodCodeChange ifTrue: |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1394 |
[entry change source: source asString] |
10028 | 1395 |
|
1396 |
"Modified: / 29-11-2010 / 22:40:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1397 |
! |
|
1398 |
||
1399 |
postBuildSourceView: aView |
|
1400 |
||
10309 | 1401 |
sourceView := aView. |
1402 |
||
10345 | 1403 |
"Modified: / 19-07-2011 / 19:08:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1404 |
! ! |
1405 |
||
1406 |
!ChangeSetBrowser2 methodsFor:'aspects'! |
|
1407 |
||
1408 |
acceptEnabledHolder |
|
1409 |
"return/create the 'selectionHolder' value holder (automatically generated)" |
|
1410 |
||
1411 |
acceptEnabledHolder isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1412 |
acceptEnabledHolder := ValueHolder with: true. |
10028 | 1413 |
]. |
1414 |
^ acceptEnabledHolder |
|
1415 |
||
1416 |
"Modified: / 24-10-2009 / 19:56:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1417 |
! |
|
1418 |
||
1419 |
allowOpenHolder |
|
1420 |
"return/create the 'allowOpenHolder' value holder (automatically generated)" |
|
1421 |
||
1422 |
allowOpenHolder isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1423 |
allowOpenHolder := ValueHolder with: true. |
10028 | 1424 |
]. |
1425 |
^ allowOpenHolder |
|
1426 |
||
1427 |
"Modified: / 17-03-2011 / 22:32:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1428 |
! |
|
1429 |
||
10333 | 1430 |
changeSourceHolder |
1431 |
<resource: #uiAspect> |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1432 |
changeSourceHolder isNil ifTrue: [ |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1433 |
changeSourceHolder := nil asValue. |
10333 | 1434 |
]. |
1435 |
^ changeSourceHolder. |
|
1436 |
||
1437 |
"Modified: / 19-07-2011 / 11:54:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1438 |
! |
|
1439 |
||
10028 | 1440 |
changesetHolder |
1441 |
"return/create the 'changesetHolder' value holder (automatically generated)" |
|
1442 |
||
1443 |
changesetHolder isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1444 |
changesetHolder := ValueHolder new. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1445 |
changesetHolder addDependent:self. |
10028 | 1446 |
]. |
1447 |
^ changesetHolder |
|
1448 |
! |
|
1449 |
||
1450 |
changesetHolder:something |
|
1451 |
"set the 'changesetHolder' value holder (automatically generated)" |
|
1452 |
||
1453 |
|oldValue newValue| |
|
1454 |
||
1455 |
changesetHolder notNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1456 |
oldValue := changesetHolder value. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1457 |
changesetHolder removeDependent:self. |
10028 | 1458 |
]. |
1459 |
changesetHolder := something. |
|
1460 |
changesetHolder notNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1461 |
changesetHolder addDependent:self. |
10028 | 1462 |
]. |
1463 |
newValue := changesetHolder value. |
|
1464 |
oldValue ~~ newValue ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1465 |
self update:#value with:newValue from:changesetHolder. |
10028 | 1466 |
]. |
1467 |
! |
|
1468 |
||
1469 |
classHolder |
|
1470 |
"return/create the 'classHolder' value holder (automatically generated)" |
|
1471 |
||
1472 |
classHolder isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1473 |
classHolder := ValueHolder with:nil. |
10028 | 1474 |
]. |
1475 |
^ classHolder |
|
10345 | 1476 |
|
1477 |
"Modified: / 19-07-2011 / 19:12:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1478 |
! |
|
1479 |
||
1480 |
codeAspectHolder |
|
1481 |
"return/create the 'codeAspectHolder' value holder (automatically generated)" |
|
1482 |
||
1483 |
codeAspectHolder isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1484 |
codeAspectHolder := ValueHolder new. |
10345 | 1485 |
]. |
1486 |
^ codeAspectHolder |
|
10028 | 1487 |
! |
1488 |
||
10333 | 1489 |
imageSourceHolder |
1490 |
<resource: #uiAspect> |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1491 |
imageSourceHolder isNil ifTrue: [ |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1492 |
imageSourceHolder := nil asValue. |
10333 | 1493 |
]. |
1494 |
^ imageSourceHolder. |
|
1495 |
||
1496 |
"Created: / 19-07-2011 / 11:54:29 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1497 |
! |
|
1498 |
||
1499 |
labelAHolder |
|
1500 |
||
1501 |
^'Change' asValue |
|
1502 |
||
1503 |
"Created: / 19-07-2011 / 11:46:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1504 |
! |
|
1505 |
||
1506 |
labelBHolder |
|
1507 |
||
1508 |
^'Image' asValue |
|
1509 |
||
1510 |
"Created: / 19-07-2011 / 11:46:36 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1511 |
! |
|
1512 |
||
10448 | 1513 |
list1Holder |
1514 |
"return/create the 'list1Holder' value holder (automatically generated)" |
|
10028 | 1515 |
|
10448 | 1516 |
list1Holder isNil ifTrue:[ |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1517 |
list1Holder := ValueHolder new. |
10028 | 1518 |
]. |
10448 | 1519 |
^ list1Holder |
10028 | 1520 |
! |
1521 |
||
10448 | 1522 |
list1Holder:something |
1523 |
"set the 'list1Holder' value holder (automatically generated)" |
|
10028 | 1524 |
|
10448 | 1525 |
list1Holder := something. |
10028 | 1526 |
! |
1527 |
||
10448 | 1528 |
list2Holder |
1529 |
"return/create the 'list2Holder' value holder (automatically generated)" |
|
10028 | 1530 |
|
10448 | 1531 |
list2Holder isNil ifTrue:[ |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1532 |
list2Holder := ValueHolder new. |
10448 | 1533 |
]. |
1534 |
^ list2Holder |
|
1535 |
! |
|
10028 | 1536 |
|
10448 | 1537 |
list2Holder:something |
1538 |
"set the 'list2Holder' value holder (automatically generated)" |
|
1539 |
||
1540 |
list2Holder := something. |
|
10028 | 1541 |
! |
1542 |
||
1543 |
navigatorChangesetHolder |
|
1544 |
"return/create the 'navigatorChangesetHolder' value holder (automatically generated)" |
|
1545 |
||
1546 |
navigatorChangesetHolder isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1547 |
navigatorChangesetHolder := ValueHolder new. |
10028 | 1548 |
]. |
1549 |
^ navigatorChangesetHolder |
|
1550 |
! |
|
1551 |
||
1552 |
navigatorSpecHolder |
|
1553 |
<resource: #uiAspect> |
|
1554 |
||
1555 |
navigatorSpecHolder isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1556 |
navigatorSpecHolder := ValueHolder with: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1557 |
#hierarchicalNavigatorSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1558 |
"/#twoColumnNavigatorSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1559 |
"/#oneColumnNavigatorSpec |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1560 |
|
10028 | 1561 |
]. |
1562 |
^ navigatorSpecHolder. |
|
1563 |
||
1564 |
"Modified: / 20-11-2009 / 20:12:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1565 |
! |
|
1566 |
||
1567 |
selection1Holder |
|
1568 |
"return/create the 'selection1Holder' value holder (automatically generated)" |
|
1569 |
||
1570 |
selection1Holder isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1571 |
selection1Holder := ValueHolder new. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1572 |
selection1Holder addDependent:self. |
10028 | 1573 |
]. |
1574 |
^ selection1Holder |
|
10448 | 1575 |
! |
10028 | 1576 |
|
10448 | 1577 |
selection1Holder:something |
1578 |
"set the 'selection1Holder' value holder (automatically generated)" |
|
1579 |
||
10450 | 1580 |
|oldValue newValue| |
1581 |
||
1582 |
selection1Holder notNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1583 |
oldValue := selection1Holder value. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1584 |
selection1Holder removeDependent:self. |
10450 | 1585 |
]. |
10448 | 1586 |
selection1Holder := something. |
10450 | 1587 |
selection1Holder notNil ifTrue:[ |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1588 |
selection1Holder addDependent:self. |
10450 | 1589 |
]. |
1590 |
newValue := selection1Holder value. |
|
1591 |
oldValue ~~ newValue ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1592 |
self update:#value with:newValue from:selection1Holder. |
10450 | 1593 |
]. |
10028 | 1594 |
! |
1595 |
||
10448 | 1596 |
selection2Holder |
1597 |
"return/create the 'selection2Holder' value holder (automatically generated)" |
|
10028 | 1598 |
|
10448 | 1599 |
selection2Holder isNil ifTrue:[ |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1600 |
selection2Holder := ValueHolder new. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1601 |
selection2Holder addDependent:self. |
10028 | 1602 |
]. |
10448 | 1603 |
^ selection2Holder |
1604 |
! |
|
10028 | 1605 |
|
10448 | 1606 |
selection2Holder:something |
1607 |
"set the 'selection2Holder' value holder (automatically generated)" |
|
1608 |
||
10450 | 1609 |
|oldValue newValue| |
1610 |
||
1611 |
selection2Holder notNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1612 |
oldValue := selection2Holder value. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1613 |
selection2Holder removeDependent:self. |
10450 | 1614 |
]. |
10448 | 1615 |
selection2Holder := something. |
10450 | 1616 |
selection2Holder notNil ifTrue:[ |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1617 |
selection2Holder addDependent:self. |
10450 | 1618 |
]. |
1619 |
newValue := selection2Holder value. |
|
1620 |
oldValue ~~ newValue ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1621 |
self update:#value with:newValue from:selection2Holder. |
10450 | 1622 |
]. |
10028 | 1623 |
! |
1624 |
||
1625 |
showRemovedAspect |
|
1626 |
"return/create the 'showDeletedAspect' value holder (automatically generated)" |
|
1627 |
||
1628 |
showRemovedAspect isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1629 |
showRemovedAspect := (AspectAdaptor forAspect:#showRemoved) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1630 |
subject: self class. |
10028 | 1631 |
]. |
1632 |
^ showRemovedAspect |
|
1633 |
! |
|
1634 |
||
1635 |
showRemovedAspect:aValueHolder |
|
1636 |
showRemovedAspect := aValueHolder. |
|
1637 |
! |
|
1638 |
||
10448 | 1639 |
showSameAspect |
1640 |
"return/create the 'showSameAspect' value holder (automatically generated)" |
|
1641 |
||
1642 |
showSameAspect isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1643 |
showSameAspect := ValueHolder with: true. |
10448 | 1644 |
]. |
1645 |
^ showSameAspect |
|
1646 |
||
1647 |
"Modified: / 04-08-2011 / 18:42:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1648 |
! |
|
1649 |
||
1650 |
showSameAspect:something |
|
1651 |
"set the 'showSameAspect' value holder (automatically generated)" |
|
1652 |
||
1653 |
showSameAspect := something. |
|
1654 |
! |
|
1655 |
||
10028 | 1656 |
titleHolder |
1657 |
"return/create the 'titleHolder' value holder (automatically generated)" |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1658 |
|
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1659 |
titleHolder isNil |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1660 |
ifTrue:[ titleHolder := ValueHolder with:self defaultTitle. ]. |
10028 | 1661 |
^ titleHolder |
1662 |
||
1663 |
"Modified: / 26-10-2010 / 22:54:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10682 | 1664 |
! |
1665 |
||
1666 |
updateChangefileHolder |
|
1667 |
updateChangefileHolder isNil ifTrue:[ |
|
1668 |
updateChangefileHolder := false asValue. |
|
1669 |
]. |
|
1670 |
^ updateChangefileHolder |
|
1671 |
||
1672 |
"Created: / 07-09-2011 / 15:54:03 / cg" |
|
10028 | 1673 |
! ! |
1674 |
||
1675 |
!ChangeSetBrowser2 methodsFor:'change & update'! |
|
1676 |
||
1677 |
changesetChanged |
|
1678 |
||
1679 |
self titleHolder value: (self changeset name ? (self defaultTitle)). |
|
10448 | 1680 |
self list1Holder value: self getNavigatorChangeSet |
10028 | 1681 |
|
10448 | 1682 |
"Modified: / 04-08-2011 / 18:05:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1683 |
! |
1684 |
||
1685 |
selectionChanged |
|
1686 |
||
1687 |
| change | |
|
1688 |
change := self theSingleSelectedChange. |
|
10345 | 1689 |
(change notNil and:[change change isCompositeChange not]) ifTrue:[ |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1690 |
self classHolder value: change changeClass. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1691 |
changeSourceHolder setValue: change changeSource; changed: #value. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1692 |
imageSourceHolder setValue: change imageSource; changed: #value. |
10370 | 1693 |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1694 |
codeAspectHolder value: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1695 |
(change change isMethodCodeChange |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1696 |
ifTrue:[#method] |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1697 |
ifFalse:[#expression]). |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1698 |
self showSource: true |
10309 | 1699 |
] ifFalse:[ |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1700 |
self showSource: false. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1701 |
self classHolder value: nil. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1702 |
changeSourceHolder setValue: nil; changed: #value. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1703 |
imageSourceHolder setValue: nil; changed: #value. |
10309 | 1704 |
]. |
10028 | 1705 |
|
1706 |
"Created: / 24-10-2009 / 19:49:29 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1707 |
! |
|
1708 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1709 |
update: aspect with: param from: sender |
10028 | 1710 |
|
1711 |
sender == changesetHolder ifTrue: [ ^ self changesetChanged ]. |
|
10448 | 1712 |
sender == selection1Holder ifTrue: [ ^ self selectionChanged ]. |
1713 |
sender == selection2Holder ifTrue: [ ^ self selectionChanged ]. |
|
10028 | 1714 |
|
1715 |
"Created: / 24-10-2009 / 19:29:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1716 |
! ! |
|
1717 |
||
1718 |
!ChangeSetBrowser2 methodsFor:'interface opening'! |
|
1719 |
||
1720 |
open |
|
1721 |
||
1722 |
super open. |
|
1723 |
^self |
|
1724 |
||
1725 |
"Created: / 20-07-2010 / 09:48:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1726 |
! ! |
|
1727 |
||
1728 |
!ChangeSetBrowser2 methodsFor:'menu actions'! |
|
1729 |
||
1730 |
doOpen |
|
1731 |
||
1732 |
| file changeset | |
|
1733 |
file := Dialog requestFileName:'Select changeset' pattern:'*.chg;*.st'. |
|
1734 |
file ifNil:[^self]. |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1735 |
[changeset := ChangeSet fromFile: file] |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1736 |
on: Error |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1737 |
do: [:ex|Dialog error: 'Error when loading changeset: ',ex description. ^self]. |
10028 | 1738 |
changesetFile := file. |
1739 |
self title: file asFilename baseName asString. |
|
1740 |
self doOpen: changeset |
|
1741 |
||
1742 |
"Modified: / 08-04-2011 / 10:11:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1743 |
! |
|
1744 |
||
1745 |
doOpen: aChangeSet |
|
1746 |
||
1747 |
self changesetHolder value: aChangeSet |
|
1748 |
||
1749 |
"Created: / 05-12-2009 / 13:43:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1750 |
! |
|
1751 |
||
1752 |
doOpenCurrent |
|
1753 |
||
1754 |
self doOpen: ChangeSet current |
|
1755 |
||
1756 |
"Created: / 05-12-2009 / 13:44:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1757 |
! |
|
1758 |
||
1759 |
doSave |
|
1760 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1761 |
changesetFile |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1762 |
ifNil:[self doSaveAs] |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1763 |
ifNotNil:[self doSaveAs: changesetFile] |
10028 | 1764 |
|
1765 |
"Modified: / 24-10-2009 / 22:55:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1766 |
! |
|
1767 |
||
1768 |
doSaveAs |
|
1769 |
||
1770 |
| file | |
|
1771 |
file := Dialog requestFileName:'Select file' default: (changesetFile ? 'somechanges.chg') pattern:('*.chg'). |
|
1772 |
file ifNil:[^self]. |
|
1773 |
self doSaveAs: file. |
|
1774 |
! |
|
1775 |
||
1776 |
doSaveAs: newFile |
|
1777 |
||
1778 |
[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1779 |
| s | |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1780 |
s := newFile asFilename writeStream. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1781 |
[self changeset fileOutOn: s] ensure:[s close]. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1782 |
changesetFile := newFile. |
10028 | 1783 |
] on: Error do: |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1784 |
[:ex|Dialog warn: 'Erorr saving changes: ' , ex description] |
10682 | 1785 |
! |
1786 |
||
1787 |
setTargetNamespace |
|
1788 |
"specify an st/x namespace to be used as default" |
|
1789 |
||
1790 |
| nsName | |
|
1791 |
||
1792 |
nsName := Dialog |
|
1793 |
requestNameSpace:'Namepace to load code into:' |
|
1794 |
initialAnswer:targetNamespace. |
|
1795 |
nsName isEmptyOrNil ifTrue:[^self]. |
|
1796 |
||
1797 |
targetNamespace := nsName. |
|
1798 |
"/ self targetNamespaceNameHolder value:('Target-Namespace: ',targetNamespace). |
|
1799 |
||
1800 |
"Created: / 07-09-2011 / 12:49:42 / cg" |
|
1801 |
! |
|
1802 |
||
1803 |
setTargetPackage |
|
1804 |
"specify an st/x package identifier to be used as default" |
|
1805 |
||
1806 |
| package | |
|
1807 |
||
1808 |
package := Dialog |
|
1809 |
requestProject:'Default Smalltalk/X package to load code into:' |
|
1810 |
initialAnswer:targetPackage |
|
1811 |
suggestions:#(). |
|
1812 |
package ifNil:[^self]. |
|
1813 |
||
1814 |
targetPackage := "lastPackage := "package. |
|
1815 |
"/ self targetPackageHolder value:('Target-Package: ',targetPackage). |
|
1816 |
||
1817 |
"Created: / 07-09-2011 / 12:47:15 / cg" |
|
10028 | 1818 |
! ! |
1819 |
||
1820 |
!ChangeSetBrowser2 methodsFor:'menu actions - changes'! |
|
1821 |
||
10448 | 1822 |
changeMenuApply: changeList |
10028 | 1823 |
|
1824 |
| changesToApply | |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1825 |
changesToApply := OrderedCollection new. |
10028 | 1826 |
self changesDo:[:chg|chg removed ifFalse:[changesToApply add: chg]]. |
10448 | 1827 |
self changeMenuApplyChanges: changesToApply. |
10028 | 1828 |
|
10448 | 1829 |
"Created: / 04-08-2011 / 17:26:36 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1830 |
! |
1831 |
||
10448 | 1832 |
changeMenuApplySelection: changeList |
10028 | 1833 |
|
10450 | 1834 |
changeList selection do:[:change|self changeMenuApplyChange:change change]. |
10028 | 1835 |
|
10448 | 1836 |
"Created: / 04-08-2011 / 17:27:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1837 |
! |
1838 |
||
10448 | 1839 |
changeMenuBrowse: changeList |
10642
ce2759d1c03b
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10467
diff
changeset
|
1840 |
|changes methods classes| |
10028 | 1841 |
|
10666 | 1842 |
changeList == list1 ifTrue:[ |
1843 |
changes := selection1Holder value. |
|
1844 |
] ifFalse:[ |
|
1845 |
changes := selection2Holder value. |
|
1846 |
]. |
|
1847 |
changes := changes collect:[:c | c change]. |
|
1848 |
"/ changes := changeList listHolder value collect:[:c | c change]. |
|
10642
ce2759d1c03b
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10467
diff
changeset
|
1849 |
(changes conform:[:c | c isClassDefinitionChange]) ifTrue:[ |
ce2759d1c03b
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10467
diff
changeset
|
1850 |
classes := (changes collect:[:c | c changeClass]). |
ce2759d1c03b
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10467
diff
changeset
|
1851 |
UserPreferences current systemBrowserClass |
ce2759d1c03b
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10467
diff
changeset
|
1852 |
browseClasses:classes title:'selected monticello classes'. |
ce2759d1c03b
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10467
diff
changeset
|
1853 |
] ifFalse:[ |
10658 | 1854 |
methods := OrderedCollection new. |
1855 |
changes do:[:each | |
|
1856 |
each isCompositeChange ifTrue:[ |
|
1857 |
each changes do:[:each2 | each2 isMethodChange ifTrue:[ methods add:each2 changeMethod ]] |
|
1858 |
] ifFalse:[ |
|
1859 |
each isMethodChange ifTrue:[ |
|
1860 |
methods add:(each changeMethod). |
|
1861 |
] |
|
1862 |
] |
|
1863 |
]. |
|
1864 |
(methods includes:nil) ifTrue:[ |
|
1865 |
Dialog warn:('%1 methods are not present in the image' bindWith:(methods occurrencesOf:nil)). |
|
1866 |
methods := methods reject:[:m | m isNil]. |
|
10665
bbaa7c4154de
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10658
diff
changeset
|
1867 |
methods isEmpty ifTrue:[^ self]. |
10658 | 1868 |
]. |
10642
ce2759d1c03b
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10467
diff
changeset
|
1869 |
UserPreferences current systemBrowserClass |
ce2759d1c03b
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10467
diff
changeset
|
1870 |
browseMethods:methods title:'selected monticello methods' sort:false. |
ce2759d1c03b
changed: #changeMenuBrowse:
Claus Gittinger <cg@exept.de>
parents:
10467
diff
changeset
|
1871 |
]. |
10028 | 1872 |
|
10448 | 1873 |
"Created: / 04-08-2011 / 17:27:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10666 | 1874 |
"Modified: / 05-09-2011 / 16:17:48 / cg" |
1875 |
! |
|
1876 |
||
1877 |
changeMenuBrowseClass: changeList |
|
1878 |
|changes classes addThemChanges| |
|
1879 |
||
1880 |
changeList == list1 ifTrue:[ |
|
1881 |
changes := selection1Holder value. |
|
1882 |
] ifFalse:[ |
|
1883 |
changes := selection2Holder value. |
|
1884 |
]. |
|
1885 |
changes := changes collect:[:eachListEntry | eachListEntry change]. |
|
1886 |
||
1887 |
classes := Set new. |
|
1888 |
addThemChanges := |
|
1889 |
[:c | |
|
1890 |
c isClassDefinitionChange ifTrue:[ |
|
1891 |
classes add:c changeClass theNonMetaclass |
|
1892 |
] ifFalse:[ |
|
1893 |
c isMethodChange ifTrue:[ |
|
1894 |
classes add:c changeMethod mclass theNonMetaclass |
|
1895 |
] ifFalse:[ |
|
1896 |
c isCompositeChange ifTrue:[ |
|
1897 |
c changes do:addThemChanges |
|
1898 |
] |
|
1899 |
] |
|
1900 |
] |
|
1901 |
]. |
|
1902 |
changes do:addThemChanges. |
|
1903 |
||
1904 |
UserPreferences current systemBrowserClass |
|
1905 |
browseClasses:classes title:'selected monticello classes'. |
|
1906 |
||
1907 |
"Created: / 04-08-2011 / 17:27:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1908 |
"Created: / 05-09-2011 / 16:08:35 / cg" |
|
10028 | 1909 |
! |
1910 |
||
10448 | 1911 |
changeMenuDeleteSelection: changeList |
10028 | 1912 |
|
1913 |
self selectionDo:[:chg|chg removed: true] |
|
1914 |
||
1915 |
"Modified: / 29-10-2010 / 13:53:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10448 | 1916 |
"Created: / 04-08-2011 / 17:28:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1917 |
! |
1918 |
||
10448 | 1919 |
changeMenuInspect: changeList |
10028 | 1920 |
|
1921 |
| changes | |
|
1922 |
changes := OrderedCollection new: 1. |
|
1923 |
self selectionDo:[:chg|changes add: chg]. |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1924 |
changes size = 1 |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1925 |
ifTrue:[changes anyOne inspect] |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1926 |
ifFalse:[changes inspect]. |
10028 | 1927 |
|
10448 | 1928 |
"Created: / 04-08-2011 / 17:28:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1929 |
! |
1930 |
||
10448 | 1931 |
changeMenuInspectChangeset: changeList |
10028 | 1932 |
self changesetHolder value inspect. |
10448 | 1933 |
|
1934 |
"Created: / 04-08-2011 / 17:28:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10028 | 1935 |
! |
1936 |
||
10448 | 1937 |
changeMenuSelectAdditions: changeList |
10028 | 1938 |
|
10448 | 1939 |
self changeMenuSelectIn: changeList suchThat:[:change|change delta = #+] |
10028 | 1940 |
|
10448 | 1941 |
"Created: / 04-08-2011 / 17:29:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1942 |
! |
1943 |
||
10448 | 1944 |
changeMenuSelectAll: changeList |
10028 | 1945 |
|
10448 | 1946 |
self changeMenuSelectIn: changeList suchThat:[:change|true] |
10028 | 1947 |
|
10448 | 1948 |
"Created: / 04-08-2011 / 17:29:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1949 |
! |
1950 |
||
10448 | 1951 |
changeMenuSelectDifferences: changeList |
10028 | 1952 |
|
10448 | 1953 |
self changeMenuSelectIn: changeList suchThat:[:change|change delta = #~] |
10028 | 1954 |
|
10448 | 1955 |
"Created: / 04-08-2011 / 17:29:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1956 |
! |
1957 |
||
10448 | 1958 |
changeMenuSelectNone: changeList |
10028 | 1959 |
|
10448 | 1960 |
self changeMenuSelectIn: changeList suchThat:[:change|false] |
10028 | 1961 |
|
10448 | 1962 |
"Created: / 04-08-2011 / 17:30:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 1963 |
! |
1964 |
||
10448 | 1965 |
changeMenuSelectRemovals: changeList |
10028 | 1966 |
|
10448 | 1967 |
self changeMenuSelectIn: changeList suchThat:[:change|change delta = #-] |
10028 | 1968 |
|
10448 | 1969 |
"Modified: / 29-10-2010 / 13:18:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1970 |
"Created: / 04-08-2011 / 17:35:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10028 | 1971 |
! |
1972 |
||
10448 | 1973 |
changeMenuSelectSame: changeList |
10028 | 1974 |
|
10448 | 1975 |
self changeMenuSelectIn: changeList suchThat:[:change|change delta = #=] |
10028 | 1976 |
|
10448 | 1977 |
"Modified: / 29-10-2010 / 13:18:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1978 |
"Created: / 04-08-2011 / 17:35:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10028 | 1979 |
! |
1980 |
||
10448 | 1981 |
changeMenuSelectUsingBlock: changeList |
10028 | 1982 |
|
1983 |
|conditionBlockString conditionBlock dialog textHolder template| |
|
1984 |
||
1985 |
template := |
|
1986 |
'[:change| |
|
1987 |
"/ Define condition for selection below: |
|
1988 |
"/ change is an instance of Change |
|
1989 |
"/ change will be selected if and only if block returns true |
|
1990 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1991 |
|
10028 | 1992 |
true"/always select the change |
1993 |
] |
|
1994 |
'. |
|
1995 |
||
1996 |
LastSelectionConditionString isNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
1997 |
LastSelectionConditionString := template. |
10028 | 1998 |
]. |
1999 |
||
2000 |
||
2001 |
textHolder := ValueHolder new. |
|
2002 |
dialog := Dialog |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2003 |
forRequestText:(resources string:'Enter condition for selection') |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2004 |
lines:20 |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2005 |
columns:70 |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2006 |
initialAnswer:LastSelectionConditionString |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2007 |
model:textHolder. |
10028 | 2008 |
dialog addButton:(Button label:'Template' action:[textHolder value:template. textHolder changed:#value.]). |
2009 |
dialog open. |
|
2010 |
dialog accepted ifFalse:[^ self]. |
|
2011 |
||
2012 |
conditionBlockString := textHolder value. |
|
2013 |
LastSelectionConditionString := conditionBlockString. |
|
2014 |
||
2015 |
conditionBlock := Parser evaluate:conditionBlockString. |
|
2016 |
conditionBlock isBlock ifFalse:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2017 |
self error:'Bad selection block (syntax error?)'. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2018 |
^ self |
10028 | 2019 |
]. |
2020 |
||
10448 | 2021 |
self changeMenuSelectIn: changeList suchThat: conditionBlock |
10028 | 2022 |
|
2023 |
"Modified: / 29-10-2010 / 13:05:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10448 | 2024 |
"Created: / 04-08-2011 / 17:42:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 2025 |
! |
2026 |
||
10448 | 2027 |
changeMenuUndeleteSelection: changeList |
10028 | 2028 |
|
2029 |
self selectionDo:[:chg|chg removed: false] |
|
2030 |
||
2031 |
"Modified: / 29-10-2010 / 13:53:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10448 | 2032 |
"Created: / 04-08-2011 / 17:42:36 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2033 |
! ! |
|
2034 |
||
2035 |
!ChangeSetBrowser2 methodsFor:'menu actions - changes - helpers'! |
|
2036 |
||
2037 |
changeMenuApplyChange: aChange |
|
2038 |
||
10688
0d9b70639154
changed: #changeMenuApplyChange:
Claus Gittinger <cg@exept.de>
parents:
10682
diff
changeset
|
2039 |
"/ aChange isClassDefinitionChange ifTrue: |
0d9b70639154
changed: #changeMenuApplyChange:
Claus Gittinger <cg@exept.de>
parents:
10682
diff
changeset
|
2040 |
"/ [(Smalltalk at: aChange superClassName asSymbol) |
0d9b70639154
changed: #changeMenuApplyChange:
Claus Gittinger <cg@exept.de>
parents:
10682
diff
changeset
|
2041 |
"/ ifNil:[^self error: 'Nil superclass']]. |
10682 | 2042 |
|
2043 |
self withWaitCursorDo:[ |
|
10688
0d9b70639154
changed: #changeMenuApplyChange:
Claus Gittinger <cg@exept.de>
parents:
10682
diff
changeset
|
2044 |
(MCStXNamespaceQuery , Class nameSpaceQuerySignal) |
10682 | 2045 |
answer:(NameSpace name:(targetNamespace ? 'Smalltalk')) |
2046 |
do: [ |
|
10688
0d9b70639154
changed: #changeMenuApplyChange:
Claus Gittinger <cg@exept.de>
parents:
10682
diff
changeset
|
2047 |
(MCStXPackageQuery , Class packageQuerySignal) |
10682 | 2048 |
answer: self targetPackage |
2049 |
do: [ |
|
2050 |
MCInteractiveLoadingQuery answer: true do:[ |
|
2051 |
updateChangefileHolder value ifTrue:[ |
|
2052 |
aChange apply |
|
2053 |
] ifFalse:[ |
|
2054 |
Class withoutUpdatingChangesDo:[ |
|
2055 |
aChange apply |
|
2056 |
] |
|
2057 |
]. |
|
2058 |
] |
|
2059 |
]. |
|
2060 |
]. |
|
2061 |
]. |
|
10448 | 2062 |
|
2063 |
"Modified: / 29-10-2010 / 14:57:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10688
0d9b70639154
changed: #changeMenuApplyChange:
Claus Gittinger <cg@exept.de>
parents:
10682
diff
changeset
|
2064 |
"Modified: / 07-09-2011 / 22:24:57 / cg" |
10448 | 2065 |
! |
2066 |
||
2067 |
changeMenuApplyChanges: changesToApply |
|
2068 |
||
2069 |
| changesThatFailToApply | |
|
2070 |
||
2071 |
changesThatFailToApply := ChangeSet new. |
|
2072 |
ProgressIndicator |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2073 |
displayProgress:'Applying changes...' |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2074 |
at:(Screen default center) |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2075 |
from:200 to:400 |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2076 |
during:[:val | |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2077 |
1 to: changesToApply size do: |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2078 |
[:i| |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2079 |
val value:((100 / changesToApply size) * i) rounded. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2080 |
[self changeMenuApplyChange: (changesToApply at: i)] |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2081 |
on: Error do:[changesThatFailToApply add: (changesToApply at: i)]]] |
10448 | 2082 |
|
2083 |
"Created: / 04-08-2011 / 17:26:19 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2084 |
! |
|
2085 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2086 |
changeMenuSelectIn: changeList suchThat:conditionBlock |
10448 | 2087 |
|
2088 |
| sel | |
|
2089 |
sel := OrderedCollection new. |
|
2090 |
changeList listHolder value do: [:chg|(conditionBlock value: chg) ifTrue:[sel add: chg]]. |
|
2091 |
changeList selectionHolder value: sel. |
|
2092 |
||
2093 |
"Created: / 04-08-2011 / 17:29:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10028 | 2094 |
! ! |
2095 |
||
2096 |
!ChangeSetBrowser2 methodsFor:'private'! |
|
2097 |
||
10655 | 2098 |
changesDo:aBlock |
2099 |
self changeset do:aBlock. |
|
2100 |
||
2101 |
"Created: / 30-08-2011 / 14:30:58 / cg" |
|
2102 |
! |
|
2103 |
||
10028 | 2104 |
getNavigatorChangeSet |
2105 |
||
2106 |
| changeset | |
|
2107 |
changeset := changesetHolder value deepCopy. |
|
2108 |
(changeset isKindOf: ChangeSet) ifFalse: |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2109 |
[changeset := ChangeSet withAll: changeset]. |
10028 | 2110 |
|
2111 |
(self navigatorSpecHolder value ~= #oneColumnNavigatorSpec) |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2112 |
ifTrue:[^changeset groupByClass]. |
10028 | 2113 |
|
2114 |
"Default" |
|
2115 |
^changeset |
|
2116 |
||
2117 |
"Created: / 24-10-2009 / 19:31:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2118 |
"Modified: / 20-07-2010 / 09:46:02 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2119 |
! |
|
2120 |
||
2121 |
redrawChangeListViews |
|
2122 |
||
10448 | 2123 |
list1 notNil ifTrue:[ |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2124 |
list1 builder window allSubViewsDo: [:v|v redraw] |
10448 | 2125 |
]. |
2126 |
list2 notNil ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2127 |
list2 builder window allSubViewsDo: [:v|v redraw] |
10448 | 2128 |
]. |
10028 | 2129 |
|
2130 |
"Created: / 16-03-2011 / 22:41:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2131 |
! |
|
2132 |
||
10453 | 2133 |
selectionDo: aBlock |
2134 |
||
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2135 |
"/ | applyBlock | |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2136 |
"/ applyBlock := [:e|aBlock value: e change]. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2137 |
"/ |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2138 |
"/ selectionHolder value isEmptyOrNil ifTrue:[ |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2139 |
"/ (self navigatorChangesetHolder value ? #()) do: aBlock |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2140 |
"/ ] ifFalse:[ |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2141 |
"/ selection1Holder value isEmptyOrNil not |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2142 |
"/ ifTrue:[selection1Holder value do: applyBlock] |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2143 |
"/ ifFalse:[selectionHolder value do: applyBlock]. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2144 |
"/ ]. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2145 |
"/ self redrawChangeListViews |
10453 | 2146 |
|
2147 |
"Created: / 29-10-2010 / 13:47:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2148 |
"Modified: / 08-04-2011 / 10:15:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2149 |
"Modified: / 04-08-2011 / 19:06:31 / cg" |
|
2150 |
! |
|
2151 |
||
10309 | 2152 |
showSource: aBoolean |
2153 |
||
2154 |
| panel | |
|
2155 |
||
2156 |
||
2157 |
"Not yet implemented" |
|
2158 |
||
2159 |
^self. |
|
2160 |
||
2161 |
sourceView ifNil:[^self]. |
|
2162 |
panel := builder componentAt: #VerticalPanel. |
|
2163 |
aBoolean ifTrue:[ |
|
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2164 |
(panel subViews includes: sourceView) ifTrue:[^self]. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2165 |
panel addSubView: sourceView. |
10309 | 2166 |
] ifFalse:[ |
10467
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2167 |
(panel subViews includes: sourceView) ifFalse:[^self]. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2168 |
panel removeSubView: sourceView. |
d6bd6c9c5a1b
oops - I messed it up, when resolving conflicts...
Claus Gittinger <cg@exept.de>
parents:
10453
diff
changeset
|
2169 |
sourceView setId: nil. |
10309 | 2170 |
|
2171 |
] |
|
2172 |
||
2173 |
"Created: / 11-07-2011 / 16:06:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10682 | 2174 |
! |
10028 | 2175 |
|
10682 | 2176 |
targetPackage |
2177 |
^ targetPackage ? PackageId noProjectID |
|
10028 | 2178 |
|
10682 | 2179 |
"Created: / 07-09-2011 / 20:12:04 / cg" |
10028 | 2180 |
! ! |
2181 |
||
2182 |
!ChangeSetBrowser2 methodsFor:'queries'! |
|
2183 |
||
2184 |
canApplyChanges |
|
2185 |
||
2186 |
^true |
|
2187 |
||
2188 |
"Created: / 29-10-2010 / 13:07:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2189 |
! |
|
2190 |
||
2191 |
canDrop: somethign |
|
2192 |
||
10682 | 2193 |
self breakPoint:#jv. |
10028 | 2194 |
|
2195 |
"Created: / 20-03-2011 / 21:34:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10682 | 2196 |
"Modified: / 07-09-2011 / 20:21:15 / cg" |
10028 | 2197 |
! |
2198 |
||
10448 | 2199 |
hasChangeSelectedAndNotRemoved: changeList |
10028 | 2200 |
|
10448 | 2201 |
| sel | |
2202 |
sel := changeList selection. |
|
2203 |
sel isEmptyOrNil ifTrue:[^false]. |
|
2204 |
^(sel anySatisfy:[:each|each removed]) not |
|
10028 | 2205 |
|
10380
f2a255ec6fc9
not ifTrue -> ifFalse (trying the rewrite tool ;-)
Claus Gittinger <cg@exept.de>
parents:
10370
diff
changeset
|
2206 |
"Modified: / 24-07-2011 / 06:52:28 / cg" |
10448 | 2207 |
"Created: / 04-08-2011 / 18:23:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 2208 |
! |
2209 |
||
10448 | 2210 |
hasSingleChangeSelectedAndCanBrowse: changeList |
10028 | 2211 |
|
10448 | 2212 |
| sel | |
2213 |
sel := changeList selection. |
|
2214 |
sel isEmptyOrNil ifTrue:[^false]. |
|
2215 |
^true |
|
10028 | 2216 |
|
10448 | 2217 |
"Created: / 04-08-2011 / 18:25:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10028 | 2218 |
! ! |
2219 |
||
2220 |
!ChangeSetBrowser2 class methodsFor:'documentation'! |
|
2221 |
||
10450 | 2222 |
version |
10688
0d9b70639154
changed: #changeMenuApplyChange:
Claus Gittinger <cg@exept.de>
parents:
10682
diff
changeset
|
2223 |
^ '$Header: /cvs/stx/stx/libtool/Tools__ChangeSetBrowser2.st,v 1.19 2011-09-08 03:28:12 cg Exp $' |
10450 | 2224 |
! |
2225 |
||
10028 | 2226 |
version_CVS |
10688
0d9b70639154
changed: #changeMenuApplyChange:
Claus Gittinger <cg@exept.de>
parents:
10682
diff
changeset
|
2227 |
^ '$Header: /cvs/stx/stx/libtool/Tools__ChangeSetBrowser2.st,v 1.19 2011-09-08 03:28:12 cg Exp $' |
10028 | 2228 |
! |
2229 |
||
2230 |
version_SVN |
|
2231 |
^ '§Id: Tools__ChangeSetBrowser.st 7486 2009-10-26 22:06:24Z vranyj1 §' |
|
2232 |
! ! |