author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 30 Jan 2012 17:49:41 +0000 | |
branch | jv |
changeset 12128 | a7ff7d66ee85 |
parent 12125 | 0c49a3b13e43 |
child 12200 | 807a52b94f2a |
permissions | -rw-r--r-- |
12128
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
1 |
" |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
3 |
All Rights Reserved |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
4 |
|
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
5 |
This software is furnished under a license and may be used |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
6 |
only in accordance with the terms of that license and with the |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
7 |
inclusion of the above copyright notice. This software may not |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
8 |
be provided or otherwise made available to, or used by, any |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
9 |
other person. No title to or ownership of the software is |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
10 |
hereby transferred. |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
11 |
" |
12125 | 12 |
"{ Package: 'stx:libtool' }" |
10193 | 13 |
|
14 |
"{ NameSpace: Tools }" |
|
15 |
||
16 |
SimpleDialog subclass:#ChangeSetSelectionDialog |
|
17 |
instanceVariableNames:'specHolder specLabelList specLabelIndexHolder |
|
18 |
specEditorSpecHolder' |
|
19 |
classVariableNames:'' |
|
20 |
poolDictionaries:'' |
|
21 |
category:'Interface-Dialogs' |
|
22 |
! |
|
23 |
||
12128
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
24 |
!ChangeSetSelectionDialog class methodsFor:'documentation'! |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
25 |
|
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
26 |
copyright |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
27 |
" |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
28 |
COPYRIGHT (c) 2006 by eXept Software AG |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
29 |
All Rights Reserved |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
30 |
|
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
31 |
This software is furnished under a license and may be used |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
32 |
only in accordance with the terms of that license and with the |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
33 |
inclusion of the above copyright notice. This software may not |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
34 |
be provided or otherwise made available to, or used by, any |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
35 |
other person. No title to or ownership of the software is |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
36 |
hereby transferred. |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
37 |
" |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
38 |
! ! |
10193 | 39 |
|
40 |
!ChangeSetSelectionDialog class methodsFor:'instance creation'! |
|
41 |
||
42 |
requestChangeSet: title |
|
43 |
||
44 |
| dialog | |
|
45 |
dialog := self new. |
|
46 |
^(dialog open) |
|
47 |
ifTrue:[dialog specHolder value changeSet] |
|
48 |
ifFalse:[nil]. |
|
49 |
||
50 |
"Created: / 06-07-2011 / 10:52:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
51 |
! ! |
|
52 |
||
53 |
!ChangeSetSelectionDialog class methodsFor:'interface specs'! |
|
54 |
||
55 |
windowSpec |
|
56 |
"This resource specification was automatically generated |
|
57 |
by the UIPainter of ST/X." |
|
58 |
||
59 |
"Do not manually edit this!! If it is corrupted, |
|
60 |
the UIPainter may not be able to read the specification." |
|
61 |
||
62 |
" |
|
63 |
UIPainter new openOnClass:Tools::ChangeSetSelectionDialog andSelector:#windowSpec |
|
64 |
Tools::ChangeSetSelectionDialog new openInterface:#windowSpec |
|
65 |
Tools::ChangeSetSelectionDialog open |
|
66 |
" |
|
67 |
||
68 |
<resource: #canvas> |
|
69 |
||
70 |
^ |
|
71 |
#(FullSpec |
|
72 |
name: windowSpec |
|
73 |
window: |
|
74 |
(WindowSpec |
|
75 |
label: 'Select Changeset' |
|
76 |
name: 'Select Changeset' |
|
77 |
min: (Point 10 10) |
|
78 |
bounds: (Rectangle 0 0 631 436) |
|
79 |
) |
|
80 |
component: |
|
81 |
(SpecCollection |
|
82 |
collection: ( |
|
83 |
(UISubSpecification |
|
84 |
name: 'Content' |
|
85 |
layout: (LayoutFrame 0 0 0 0 0 1 -30 1) |
|
86 |
minorKey: windowSpecForEmbedding |
|
87 |
) |
|
88 |
(HorizontalPanelViewSpec |
|
89 |
name: 'ButtonPanel' |
|
90 |
layout: (LayoutFrame 0 0 -30 1 0 1 0 1) |
|
91 |
horizontalLayout: fitSpace |
|
92 |
verticalLayout: center |
|
93 |
horizontalSpace: 3 |
|
94 |
verticalSpace: 2 |
|
95 |
reverseOrderIfOKAtLeft: true |
|
96 |
component: |
|
97 |
(SpecCollection |
|
98 |
collection: ( |
|
99 |
(ActionButtonSpec |
|
100 |
label: 'Cancel' |
|
101 |
name: 'Button2' |
|
102 |
translateLabel: true |
|
103 |
model: doCancel |
|
104 |
extent: (Point 311 22) |
|
105 |
) |
|
106 |
(ActionButtonSpec |
|
107 |
label: 'OK' |
|
108 |
name: 'Button1' |
|
109 |
translateLabel: true |
|
110 |
model: doAccept |
|
111 |
enableChannel: doAcceptEnabledHolder |
|
112 |
extent: (Point 311 22) |
|
113 |
) |
|
114 |
) |
|
115 |
||
116 |
) |
|
117 |
) |
|
118 |
) |
|
119 |
||
120 |
) |
|
121 |
) |
|
122 |
! |
|
123 |
||
124 |
windowSpecForEmbedding |
|
125 |
"This resource specification was automatically generated |
|
126 |
by the UIPainter of ST/X." |
|
127 |
||
128 |
"Do not manually edit this!! If it is corrupted, |
|
129 |
the UIPainter may not be able to read the specification." |
|
130 |
||
131 |
" |
|
132 |
UIPainter new openOnClass:Tools::ChangeSetSelectionDialog andSelector:#windowSpecForEmbedding |
|
133 |
Tools::ChangeSetSelectionDialog new openInterface:#windowSpecForEmbedding |
|
134 |
" |
|
135 |
||
136 |
<resource: #canvas> |
|
137 |
||
138 |
^ |
|
139 |
#(FullSpec |
|
140 |
name: windowSpecForEmbedding |
|
141 |
window: |
|
142 |
(WindowSpec |
|
143 |
label: 'Select Changeset (embedding)' |
|
144 |
name: 'Select Changeset (embedding)' |
|
145 |
min: (Point 10 10) |
|
146 |
bounds: (Rectangle 0 0 406 337) |
|
147 |
) |
|
148 |
component: |
|
149 |
(SpecCollection |
|
150 |
collection: ( |
|
151 |
(LabelSpec |
|
152 |
label: 'Source:' |
|
153 |
name: 'SpecTypeLabel' |
|
154 |
layout: (LayoutFrame 3 0 3 0 100 0 25 0) |
|
155 |
translateLabel: true |
|
156 |
adjust: left |
|
157 |
) |
|
158 |
(PopUpListSpec |
|
159 |
label: 'Select...' |
|
160 |
name: 'SpecType' |
|
161 |
layout: (LayoutFrame 103 0 3 0 -3 1 25 0) |
|
162 |
tabable: true |
|
163 |
model: specLabelIndexHolder |
|
164 |
menu: specLabelList |
|
165 |
useIndex: true |
|
166 |
) |
|
167 |
(SubCanvasSpec |
|
168 |
name: 'SubCanvas1' |
|
169 |
layout: (LayoutFrame 3 0 30 0 -3 1 0 1) |
|
170 |
hasHorizontalScrollBar: false |
|
171 |
hasVerticalScrollBar: false |
|
172 |
specHolder: specEditorSpecHolder |
|
173 |
createNewBuilder: false |
|
174 |
) |
|
175 |
) |
|
176 |
||
177 |
) |
|
178 |
) |
|
179 |
! ! |
|
180 |
||
181 |
!ChangeSetSelectionDialog class methodsFor:'interface specs - editors'! |
|
182 |
||
183 |
editorSpecForDirectory |
|
184 |
"This resource specification was automatically generated |
|
185 |
by the UIPainter of ST/X." |
|
186 |
||
187 |
"Do not manually edit this!! If it is corrupted, |
|
188 |
the UIPainter may not be able to read the specification." |
|
189 |
||
190 |
" |
|
191 |
UIPainter new openOnClass:Tools::ChangeSetSelectionDialog andSelector:#editorSpecForDirectory |
|
192 |
Tools::ChangeSetSelectionDialog new openInterface:#editorSpecForDirectory |
|
193 |
" |
|
194 |
||
195 |
<resource: #canvas> |
|
196 |
||
197 |
^ |
|
198 |
#(FullSpec |
|
199 |
name: editorSpecForDirectory |
|
200 |
window: |
|
201 |
(WindowSpec |
|
202 |
label: 'Directory Spec Editor' |
|
203 |
name: 'Directory Spec Editor' |
|
204 |
min: (Point 10 10) |
|
205 |
bounds: (Rectangle 0 0 441 310) |
|
206 |
) |
|
207 |
component: |
|
208 |
(SpecCollection |
|
209 |
collection: ( |
|
210 |
(FilenameInputFieldSpec |
|
211 |
name: 'Directory' |
|
212 |
layout: (LayoutFrame 103 0 0 0 0 1 22 0) |
|
213 |
model: directoryAspect |
|
214 |
acceptOnPointerLeave: true |
|
215 |
viewClassName: FilenameWidgetWithHistory |
|
216 |
) |
|
217 |
(LabelSpec |
|
218 |
label: 'Directory:' |
|
219 |
name: 'Label1' |
|
220 |
layout: (LayoutFrame 0 0 3 0 100 0 22 0) |
|
221 |
translateLabel: true |
|
222 |
adjust: left |
|
223 |
) |
|
224 |
) |
|
225 |
||
226 |
) |
|
227 |
) |
|
228 |
! |
|
229 |
||
230 |
editorSpecForPackage |
|
231 |
"This resource specification was automatically generated |
|
232 |
by the UIPainter of ST/X." |
|
233 |
||
234 |
"Do not manually edit this!! If it is corrupted, |
|
235 |
the UIPainter may not be able to read the specification." |
|
236 |
||
237 |
" |
|
238 |
UIPainter new openOnClass:Tools::ChangeSetSelectionDialog andSelector:#editorSpecForPackage |
|
239 |
Tools::ChangeSetSelectionDialog new openInterface:#editorSpecForPackage |
|
240 |
" |
|
241 |
||
242 |
<resource: #canvas> |
|
243 |
||
244 |
^ |
|
245 |
#(FullSpec |
|
246 |
name: 'editorSpecForPackage' |
|
247 |
window: |
|
248 |
(WindowSpec |
|
249 |
label: 'Package Spec Editor' |
|
250 |
name: 'Package Spec Editor' |
|
251 |
min: (Point 10 10) |
|
252 |
bounds: (Rectangle 0 0 441 310) |
|
253 |
) |
|
254 |
component: |
|
255 |
(SpecCollection |
|
256 |
collection: ( |
|
257 |
(LabelSpec |
|
258 |
label: 'Package:' |
|
259 |
name: 'Label1' |
|
260 |
layout: (LayoutFrame 0 0 3 0 100 0 22 0) |
|
261 |
translateLabel: true |
|
262 |
adjust: left |
|
263 |
) |
|
264 |
(InputFieldSpec |
|
265 |
name: 'EntryField1' |
|
266 |
layout: (LayoutFrame 103 0 0 0 -25 1 25 0) |
|
267 |
model: packageAspect |
|
268 |
acceptOnReturn: true |
|
269 |
acceptOnTab: true |
|
270 |
acceptOnPointerLeave: true |
|
271 |
entryCompletionBlock: packageCompletionBlock |
|
272 |
) |
|
273 |
(ActionButtonSpec |
|
274 |
label: '...' |
|
275 |
name: 'Button1' |
|
276 |
layout: (LayoutFrame -25 1 0 0 0 1 25 0) |
|
277 |
translateLabel: true |
|
278 |
model: selectPackage |
|
279 |
) |
|
280 |
) |
|
281 |
||
282 |
) |
|
283 |
) |
|
284 |
! ! |
|
285 |
||
286 |
!ChangeSetSelectionDialog class methodsFor:'plugIn spec'! |
|
287 |
||
288 |
aspectSelectors |
|
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 |
"Return a description of exported aspects; |
|
296 |
these can be connected to aspects of an embedding application |
|
297 |
(if this app is embedded in a subCanvas)." |
|
298 |
||
299 |
^ #( |
|
300 |
#specHolder |
|
301 |
). |
|
302 |
||
303 |
"Modified: / 06-07-2011 / 10:57:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
304 |
! ! |
|
305 |
||
306 |
!ChangeSetSelectionDialog methodsFor:'actions'! |
|
307 |
||
308 |
selectPackage |
|
309 |
<resource: #uiCallback> |
|
310 |
||
311 |
self packageAspect value: |
|
312 |
(Dialog requestProject:'Select package' |
|
313 |
initialAnswer:nil |
|
314 |
suggestions:#()) |
|
315 |
||
316 |
"Modified: / 06-07-2011 / 10:43:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
317 |
! ! |
|
318 |
||
319 |
!ChangeSetSelectionDialog methodsFor:'aspects'! |
|
320 |
||
321 |
doAcceptEnabledHolder |
|
322 |
||
323 |
<resource: #uiAspect> |
|
324 |
||
325 |
|holder| |
|
326 |
||
327 |
(holder := builder bindingAt:#doAcceptEnabledHolder) isNil ifTrue:[ |
|
328 |
holder := (AspectAdaptor forAspect:#notNil) |
|
329 |
subjectChannel: self specHolder. |
|
330 |
builder aspectAt:#doAcceptEnabledHolder put:holder. |
|
331 |
]. |
|
332 |
^ holder. |
|
333 |
||
334 |
"Created: / 06-07-2011 / 10:48:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
335 |
! |
|
336 |
||
337 |
specEditorSpecHolder |
|
338 |
"return/create the 'specEditorSpecHolder' value holder (automatically generated)" |
|
339 |
||
340 |
specEditorSpecHolder isNil ifTrue:[ |
|
341 |
specEditorSpecHolder := ValueHolder new. |
|
342 |
]. |
|
343 |
^ specEditorSpecHolder |
|
344 |
! |
|
345 |
||
346 |
specHolder |
|
347 |
"return/create the 'specHolder' value holder (automatically generated)" |
|
348 |
||
349 |
specHolder isNil ifTrue:[ |
|
350 |
specHolder := ValueHolder new. |
|
351 |
specHolder addDependent:self. |
|
352 |
]. |
|
353 |
^ specHolder |
|
354 |
! |
|
355 |
||
356 |
specHolder:something |
|
357 |
"set the 'specHolder' value holder (automatically generated)" |
|
358 |
||
359 |
|oldValue newValue| |
|
360 |
||
361 |
specHolder notNil ifTrue:[ |
|
362 |
oldValue := specHolder value. |
|
363 |
specHolder removeDependent:self. |
|
364 |
]. |
|
365 |
specHolder := something. |
|
366 |
specHolder notNil ifTrue:[ |
|
367 |
specHolder addDependent:self. |
|
368 |
]. |
|
369 |
newValue := specHolder value. |
|
370 |
oldValue ~~ newValue ifTrue:[ |
|
371 |
self update:#value with:newValue from:specHolder. |
|
372 |
]. |
|
373 |
! |
|
374 |
||
375 |
specLabelIndexHolder |
|
376 |
"return/create the 'specLabelIndexHolder' value holder (automatically generated)" |
|
377 |
||
378 |
specLabelIndexHolder isNil ifTrue:[ |
|
379 |
specLabelIndexHolder := ValueHolder new. |
|
380 |
specLabelIndexHolder addDependent:self. |
|
381 |
]. |
|
382 |
^ specLabelIndexHolder |
|
383 |
! |
|
384 |
||
385 |
specLabelIndexHolder:something |
|
386 |
"set the 'specLabelIndexHolder' value holder (automatically generated)" |
|
387 |
||
388 |
|oldValue newValue| |
|
389 |
||
390 |
specLabelIndexHolder notNil ifTrue:[ |
|
391 |
oldValue := specLabelIndexHolder value. |
|
392 |
specLabelIndexHolder removeDependent:self. |
|
393 |
]. |
|
394 |
specLabelIndexHolder := something. |
|
395 |
specLabelIndexHolder notNil ifTrue:[ |
|
396 |
specLabelIndexHolder addDependent:self. |
|
397 |
]. |
|
398 |
newValue := specLabelIndexHolder value. |
|
399 |
oldValue ~~ newValue ifTrue:[ |
|
400 |
self update:#value with:newValue from:specLabelIndexHolder. |
|
401 |
]. |
|
402 |
! |
|
403 |
||
404 |
specLabelList |
|
405 |
<resource: #uiAspect> |
|
406 |
||
407 |
"automatically generated by UIPainter ..." |
|
408 |
||
409 |
"*** the code below creates a default model when invoked." |
|
410 |
"*** (which may not be the one you wanted)" |
|
411 |
"*** Please change as required and accept it in the browser." |
|
412 |
"*** (and replace this comment by something more useful ;-)" |
|
413 |
||
414 |
specLabelList isNil ifTrue:[ |
|
415 |
specLabelList := List withAll: |
|
416 |
(ChangeSetSpec specClasses collect:[:cls|cls label]) |
|
417 |
||
418 |
]. |
|
419 |
^ specLabelList. |
|
420 |
||
421 |
"Modified: / 05-07-2011 / 23:35:19 / jv" |
|
422 |
"Created: / 06-07-2011 / 09:49:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
423 |
! ! |
|
424 |
||
425 |
!ChangeSetSelectionDialog methodsFor:'aspects - spec'! |
|
426 |
||
427 |
directoryAspect |
|
428 |
<resource: #uiAspect> |
|
429 |
||
430 |
|holder| |
|
431 |
||
432 |
(holder := builder bindingAt:#directoryAspect) isNil ifTrue:[ |
|
433 |
holder := (AspectAdaptor forAspect:#directory) |
|
434 |
subjectChannel: self specHolder. |
|
435 |
builder aspectAt:#directoryAspect put:holder. |
|
436 |
]. |
|
437 |
^ holder. |
|
438 |
||
439 |
"Modified: / 06-07-2011 / 10:28:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
440 |
! |
|
441 |
||
442 |
packageAspect |
|
443 |
<resource: #uiAspect> |
|
444 |
||
445 |
|holder| |
|
446 |
||
447 |
(holder := builder bindingAt:#packageAspect) isNil ifTrue:[ |
|
448 |
holder := (AspectAdaptor forAspect:#package) |
|
449 |
subjectChannel: self specHolder. |
|
450 |
builder aspectAt:#packageAspect put:holder. |
|
451 |
]. |
|
452 |
^ holder. |
|
453 |
||
454 |
"Created: / 06-07-2011 / 10:28:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
455 |
! |
|
456 |
||
457 |
packageCompletionBlock |
|
458 |
||
459 |
^DoWhatIMeanSupport packageNameEntryCompletionBlock |
|
460 |
||
461 |
"Created: / 06-07-2011 / 10:45:02 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
462 |
! ! |
|
463 |
||
464 |
!ChangeSetSelectionDialog methodsFor:'change & update'! |
|
465 |
||
466 |
update:something with:aParameter from:changedObject |
|
467 |
changedObject == specLabelIndexHolder |
|
468 |
ifTrue: |
|
469 |
[ self updateSpec. |
|
470 |
^ self. ]. |
|
471 |
changedObject == specHolder |
|
472 |
ifTrue: |
|
473 |
[ self updateSpecEditor. |
|
474 |
^ self. ]. |
|
475 |
super |
|
476 |
update:something |
|
477 |
with:aParameter |
|
478 |
from:changedObject |
|
479 |
||
480 |
"Modified: / 05-07-2011 / 23:53:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
481 |
! |
|
482 |
||
483 |
updateSpec |
|
484 |
|changeSetSpecClass changeSetSpec| |
|
485 |
||
486 |
changeSetSpecClass := ChangeSetSpec specClasses |
|
487 |
at:specLabelIndexHolder value. |
|
488 |
changeSetSpec := changeSetSpecClass new. |
|
489 |
self specHolder value:changeSetSpec. |
|
490 |
||
491 |
"Created: / 05-07-2011 / 23:51:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
492 |
! |
|
493 |
||
494 |
updateSpecEditor |
|
495 |
||
496 |
| spec | |
|
497 |
spec := self specHolder value. |
|
498 |
spec ifNil:[ |
|
499 |
self specEditorSpecHolder value: nil |
|
500 |
] ifNotNil:[ |
|
501 |
self specEditorSpecHolder value: spec editorSpecSelector |
|
502 |
] |
|
503 |
||
504 |
"Created: / 05-07-2011 / 23:53:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
505 |
! ! |
|
506 |
||
507 |
!ChangeSetSelectionDialog class methodsFor:'documentation'! |
|
508 |
||
509 |
version_CVS |
|
12125 | 510 |
^ '§Header: /cvs/stx/stx/libtool/Tools__ChangeSetSelectionDialog.st,v 1.2 2011/10/02 19:52:17 stefan Exp §' |
12128
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
511 |
! |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
512 |
|
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
513 |
version_SVN |
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
514 |
^ '$Id: Tools__ChangeSetSelectionDialog.st 7854 2012-01-30 17:49:41Z vranyj1 $' |
12125 | 515 |
! ! |