2078
|
1 |
"{ Package: 'stx:libtool2' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Tools }"
|
|
4 |
|
|
5 |
ResourceSpecEditor subclass:#ProjectDefinitionEditor
|
2079
|
6 |
instanceVariableNames:'definitionClass classList extensionsList selectedClassIndexHolder
|
2078
|
7 |
classesTableColumns revisionNrHolder companyNameHolder
|
|
8 |
fileMajorVersionNrHolder minorVersionNrHolder iconFileNameHolder
|
|
9 |
fileReleaseNrHolder productNameHolder majorVersionNrHolder
|
|
10 |
fileRevisionNrHolder fileDescriptionHolder releaseNrHolder
|
|
11 |
fileMinorVersionNrHolder descriptionHolder legalCopyrightHolder
|
|
12 |
isApplicationDefinitionHolder isNonGUIApplicationHolder
|
2079
|
13 |
startSinglethreadedHolder startupClassNameHolder
|
2081
|
14 |
startupSelectorHolder prerequisitesList classListHolder
|
|
15 |
extensionsListHolder prerequisitesListHolder'
|
2078
|
16 |
classVariableNames:''
|
|
17 |
poolDictionaries:''
|
|
18 |
category:'Interface-Tools'
|
|
19 |
!
|
|
20 |
|
|
21 |
Object subclass:#ClassListEntry
|
|
22 |
instanceVariableNames:'className autoloaded win32 unix'
|
|
23 |
classVariableNames:''
|
|
24 |
poolDictionaries:''
|
|
25 |
privateIn:ProjectDefinitionEditor
|
|
26 |
!
|
|
27 |
|
2079
|
28 |
Object subclass:#ExtensionsListEntry
|
|
29 |
instanceVariableNames:'className selector'
|
|
30 |
classVariableNames:''
|
|
31 |
poolDictionaries:''
|
|
32 |
privateIn:ProjectDefinitionEditor
|
|
33 |
!
|
|
34 |
|
2081
|
35 |
Object subclass:#PrerequisitesListEntry
|
|
36 |
instanceVariableNames:'package'
|
|
37 |
classVariableNames:''
|
|
38 |
poolDictionaries:''
|
|
39 |
privateIn:ProjectDefinitionEditor
|
|
40 |
!
|
|
41 |
|
2078
|
42 |
!ProjectDefinitionEditor class methodsFor:'documentation'!
|
|
43 |
|
|
44 |
documentation
|
|
45 |
"
|
|
46 |
unfinished app-definition editor
|
|
47 |
|
|
48 |
[author:]
|
|
49 |
cg (cg@FUSI)
|
|
50 |
|
|
51 |
[instance variables:]
|
|
52 |
|
|
53 |
[class variables:]
|
|
54 |
|
|
55 |
[see also:]
|
|
56 |
|
|
57 |
"
|
|
58 |
!
|
|
59 |
|
|
60 |
examples
|
|
61 |
"
|
|
62 |
Starting the application:
|
|
63 |
[exBegin]
|
|
64 |
(ProjectDefinitionEditor new
|
|
65 |
definitionClass:stx_libbasic) open
|
|
66 |
[exEnd]
|
|
67 |
|
|
68 |
[exBegin]
|
|
69 |
(ProjectDefinitionEditor new
|
|
70 |
definitionClass:bosch_dapasx_application) open
|
|
71 |
[exEnd]
|
|
72 |
"
|
|
73 |
! !
|
|
74 |
|
|
75 |
!ProjectDefinitionEditor class methodsFor:'interface specs'!
|
|
76 |
|
|
77 |
classesSpec
|
|
78 |
"This resource specification was automatically generated
|
|
79 |
by the UIPainter of ST/X."
|
|
80 |
|
|
81 |
"Do not manually edit this!! If it is corrupted,
|
|
82 |
the UIPainter may not be able to read the specification."
|
|
83 |
|
|
84 |
"
|
2080
|
85 |
UIPainter new openOnClass:Tools::ProjectDefinitionEditor andSelector:#classesSpec
|
|
86 |
Tools::ProjectDefinitionEditor new openInterface:#classesSpec
|
2078
|
87 |
"
|
|
88 |
|
|
89 |
<resource: #canvas>
|
|
90 |
|
|
91 |
^
|
|
92 |
#(FullSpec
|
|
93 |
name: classesSpec
|
|
94 |
window:
|
|
95 |
(WindowSpec
|
|
96 |
label: 'NewApplication'
|
|
97 |
name: 'NewApplication'
|
|
98 |
min: (Point 0 0)
|
|
99 |
bounds: (Rectangle 0 0 300 300)
|
|
100 |
)
|
|
101 |
component:
|
|
102 |
(SpecCollection
|
|
103 |
collection: (
|
|
104 |
(DataSetSpec
|
|
105 |
name: 'ClassesTable'
|
|
106 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1)
|
|
107 |
model: selectedClassIndexHolder
|
2080
|
108 |
menu: classListMenu
|
2078
|
109 |
hasHorizontalScrollBar: true
|
|
110 |
hasVerticalScrollBar: true
|
2081
|
111 |
dataList: classListHolder
|
2078
|
112 |
columnHolder: classesTableColumns
|
|
113 |
)
|
|
114 |
)
|
|
115 |
|
|
116 |
)
|
|
117 |
)
|
2081
|
118 |
|
|
119 |
"Modified: / 07-09-2006 / 11:35:14 / cg"
|
2078
|
120 |
!
|
|
121 |
|
|
122 |
compilationSpec
|
|
123 |
"This resource specification was automatically generated
|
|
124 |
by the UIPainter of ST/X."
|
|
125 |
|
|
126 |
"Do not manually edit this!! If it is corrupted,
|
|
127 |
the UIPainter may not be able to read the specification."
|
|
128 |
|
|
129 |
"
|
2080
|
130 |
UIPainter new openOnClass:Tools::ProjectDefinitionEditor andSelector:#compilationSpec
|
|
131 |
Tools::ProjectDefinitionEditor new openInterface:#compilationSpec
|
2078
|
132 |
"
|
|
133 |
|
|
134 |
<resource: #canvas>
|
|
135 |
|
|
136 |
^
|
|
137 |
#(FullSpec
|
|
138 |
name: compilationSpec
|
|
139 |
window:
|
|
140 |
(WindowSpec
|
|
141 |
label: 'NewApplication'
|
|
142 |
name: 'NewApplication'
|
|
143 |
min: (Point 0 0)
|
|
144 |
bounds: (Rectangle 0 0 433 300)
|
|
145 |
)
|
|
146 |
component:
|
|
147 |
(SpecCollection
|
|
148 |
collection: (
|
|
149 |
(FramedBoxSpec
|
|
150 |
label: 'Optimization'
|
|
151 |
name: 'FramedBox1'
|
2080
|
152 |
layout: (LayoutFrame 0 0 0 0 0 1 93 0)
|
2078
|
153 |
labelPosition: topLeft
|
|
154 |
translateLabel: true
|
|
155 |
component:
|
|
156 |
(SpecCollection
|
|
157 |
collection: (
|
|
158 |
(LabelSpec
|
|
159 |
label: 'STC Optimization Flags:'
|
|
160 |
name: 'Label1'
|
|
161 |
layout: (LayoutFrame 0 0.0 7 0 160 0 29 0)
|
|
162 |
translateLabel: true
|
|
163 |
adjust: right
|
|
164 |
)
|
|
165 |
(InputFieldSpec
|
|
166 |
name: 'STCOptimizationFlagsEntryField'
|
|
167 |
layout: (LayoutFrame 162 0.0 5 0 0 1.0 27 0)
|
|
168 |
model: stcOptimizationFlagsHolder
|
|
169 |
acceptOnReturn: true
|
|
170 |
acceptOnTab: true
|
|
171 |
acceptOnLostFocus: true
|
|
172 |
acceptOnPointerLeave: false
|
|
173 |
)
|
|
174 |
(LabelSpec
|
|
175 |
label: 'CC Optimization Flags:'
|
|
176 |
name: 'Label2'
|
|
177 |
layout: (LayoutFrame 0 0.0 35 0 160 0 57 0)
|
|
178 |
translateLabel: true
|
|
179 |
adjust: right
|
|
180 |
)
|
|
181 |
(InputFieldSpec
|
|
182 |
name: 'CCOptimizationFlagsEntryField'
|
|
183 |
layout: (LayoutFrame 162 0.0 33 0 0 1.0 55 0)
|
|
184 |
model: ccOptimizationFlagsHolder
|
|
185 |
acceptOnReturn: true
|
|
186 |
acceptOnTab: true
|
|
187 |
acceptOnLostFocus: true
|
|
188 |
acceptOnPointerLeave: false
|
|
189 |
)
|
|
190 |
)
|
|
191 |
|
|
192 |
)
|
|
193 |
)
|
|
194 |
(FramedBoxSpec
|
|
195 |
label: 'Includes'
|
|
196 |
name: 'FramedBox2'
|
2080
|
197 |
layout: (LayoutFrame 0 0 98 0 0 1 160 0)
|
2078
|
198 |
labelPosition: topLeft
|
|
199 |
translateLabel: true
|
|
200 |
component:
|
|
201 |
(SpecCollection
|
|
202 |
collection: (
|
|
203 |
(LabelSpec
|
|
204 |
label: 'Additional Includes:'
|
|
205 |
name: 'Label3'
|
|
206 |
layout: (LayoutFrame 0 0.0 7 0 160 0 29 0)
|
|
207 |
translateLabel: true
|
|
208 |
adjust: right
|
|
209 |
)
|
|
210 |
(InputFieldSpec
|
|
211 |
name: 'IncludeFlagsEntryField'
|
|
212 |
layout: (LayoutFrame 162 0.0 5 0 0 1.0 27 0)
|
|
213 |
model: includeFlagsHolder
|
|
214 |
acceptOnReturn: true
|
|
215 |
acceptOnTab: true
|
|
216 |
acceptOnLostFocus: true
|
|
217 |
acceptOnPointerLeave: false
|
|
218 |
)
|
|
219 |
)
|
|
220 |
|
|
221 |
)
|
|
222 |
)
|
|
223 |
)
|
|
224 |
|
|
225 |
)
|
|
226 |
)
|
|
227 |
!
|
|
228 |
|
|
229 |
descriptionSpec
|
|
230 |
"This resource specification was automatically generated
|
|
231 |
by the UIPainter of ST/X."
|
|
232 |
|
|
233 |
"Do not manually edit this!! If it is corrupted,
|
|
234 |
the UIPainter may not be able to read the specification."
|
|
235 |
|
|
236 |
"
|
|
237 |
UIPainter new openOnClass:ApplicationDefinitionBuilder andSelector:#descriptionSpec
|
|
238 |
ApplicationDefinitionBuilder new openInterface:#descriptionSpec
|
|
239 |
"
|
|
240 |
|
|
241 |
<resource: #canvas>
|
|
242 |
|
|
243 |
^
|
|
244 |
#(FullSpec
|
|
245 |
name: descriptionSpec
|
|
246 |
window:
|
|
247 |
(WindowSpec
|
|
248 |
label: 'NewApplication'
|
|
249 |
name: 'NewApplication'
|
|
250 |
min: (Point 0 0)
|
|
251 |
bounds: (Rectangle 0 0 433 300)
|
|
252 |
)
|
|
253 |
component:
|
|
254 |
(SpecCollection
|
|
255 |
collection: (
|
|
256 |
(LabelSpec
|
|
257 |
label: 'Company:'
|
|
258 |
name: 'CompanyLabel'
|
|
259 |
layout: (LayoutFrame 2 0.0 13 0 160 0 35 0)
|
|
260 |
translateLabel: true
|
|
261 |
adjust: right
|
|
262 |
)
|
|
263 |
(InputFieldSpec
|
|
264 |
name: 'CompanyEntryField'
|
|
265 |
layout: (LayoutFrame 162 0.0 12 0 -2 1.0 34 0)
|
|
266 |
model: companyNameHolder
|
|
267 |
acceptOnReturn: true
|
|
268 |
acceptOnTab: true
|
|
269 |
acceptOnLostFocus: true
|
|
270 |
acceptOnPointerLeave: false
|
|
271 |
)
|
|
272 |
(LabelSpec
|
|
273 |
label: 'Description:'
|
|
274 |
name: 'DescriptionLabel'
|
|
275 |
layout: (LayoutFrame 2 0.0 39 0 160 0 61 0)
|
|
276 |
translateLabel: true
|
|
277 |
adjust: right
|
|
278 |
)
|
|
279 |
(InputFieldSpec
|
|
280 |
name: 'DescriptionEntryField'
|
|
281 |
layout: (LayoutFrame 162 0.0 38 0 -2 1.0 60 0)
|
|
282 |
model: descriptionHolder
|
|
283 |
acceptOnReturn: true
|
|
284 |
acceptOnTab: true
|
|
285 |
acceptOnLostFocus: true
|
|
286 |
acceptOnPointerLeave: false
|
|
287 |
)
|
|
288 |
(LabelSpec
|
|
289 |
label: 'ProductName:'
|
|
290 |
name: 'ProductNameLabel'
|
|
291 |
layout: (LayoutFrame 2 0.0 65 0 160 0 87 0)
|
|
292 |
translateLabel: true
|
|
293 |
adjust: right
|
|
294 |
)
|
|
295 |
(InputFieldSpec
|
|
296 |
name: 'ProductNameEntryField'
|
|
297 |
layout: (LayoutFrame 162 0.0 64 0 -2 1.0 86 0)
|
|
298 |
model: productNameHolder
|
|
299 |
acceptOnReturn: true
|
|
300 |
acceptOnTab: true
|
|
301 |
acceptOnLostFocus: true
|
|
302 |
acceptOnPointerLeave: false
|
|
303 |
)
|
|
304 |
(LabelSpec
|
|
305 |
label: 'ProductVersion:'
|
|
306 |
name: 'ProductVersionLabel'
|
|
307 |
layout: (LayoutFrame 2 0.0 91 0 160 0 113 0)
|
|
308 |
translateLabel: true
|
|
309 |
adjust: right
|
|
310 |
)
|
|
311 |
(InputFieldSpec
|
|
312 |
name: 'MajorVersionNrEntryField'
|
|
313 |
layout: (LayoutFrame 162 0.0 90 0 182 0.0 112 0)
|
|
314 |
model: majorVersionNrHolder
|
|
315 |
type: number
|
|
316 |
acceptOnReturn: true
|
|
317 |
acceptOnTab: true
|
|
318 |
acceptOnLostFocus: true
|
|
319 |
acceptOnPointerLeave: false
|
|
320 |
)
|
|
321 |
(InputFieldSpec
|
|
322 |
name: 'MinorVersionNrEntryField'
|
|
323 |
layout: (LayoutFrame 184 0.0 90 0 204 0.0 112 0)
|
|
324 |
model: minorVersionNrHolder
|
|
325 |
type: numberOrNil
|
|
326 |
acceptOnReturn: true
|
|
327 |
acceptOnTab: true
|
|
328 |
acceptOnLostFocus: true
|
|
329 |
acceptOnPointerLeave: false
|
|
330 |
)
|
|
331 |
(InputFieldSpec
|
|
332 |
name: 'RevisionNrEntryField'
|
|
333 |
layout: (LayoutFrame 206 0.0 90 0 226 0.0 112 0)
|
|
334 |
model: revisionNrHolder
|
|
335 |
type: number
|
|
336 |
acceptOnReturn: true
|
|
337 |
acceptOnTab: true
|
|
338 |
acceptOnLostFocus: true
|
|
339 |
acceptOnPointerLeave: false
|
|
340 |
)
|
|
341 |
(InputFieldSpec
|
|
342 |
name: 'ReleaseNrEntryField'
|
|
343 |
layout: (LayoutFrame 228 0.0 90 0 248 0.0 112 0)
|
|
344 |
model: releaseNrHolder
|
|
345 |
type: number
|
|
346 |
acceptOnReturn: true
|
|
347 |
acceptOnTab: true
|
|
348 |
acceptOnLostFocus: true
|
|
349 |
acceptOnPointerLeave: false
|
|
350 |
)
|
|
351 |
(LabelSpec
|
|
352 |
label: 'LegalCopyright:'
|
|
353 |
name: 'LegalCopyrightLabel'
|
|
354 |
layout: (LayoutFrame 2 0.0 119 0 160 0 141 0)
|
|
355 |
translateLabel: true
|
|
356 |
adjust: right
|
|
357 |
)
|
|
358 |
(InputFieldSpec
|
|
359 |
name: 'LegalCopyrightEntryField'
|
|
360 |
layout: (LayoutFrame 162 0.0 118 0 -2 1.0 140 0)
|
|
361 |
model: legalCopyrightHolder
|
|
362 |
acceptOnReturn: true
|
|
363 |
acceptOnTab: true
|
|
364 |
acceptOnLostFocus: true
|
|
365 |
acceptOnPointerLeave: false
|
|
366 |
)
|
|
367 |
(LabelSpec
|
|
368 |
label: 'FileDescriptionDescription:'
|
|
369 |
name: 'FileDescriptionLabel'
|
|
370 |
layout: (LayoutFrame 2 0.0 161 0 160 0 183 0)
|
|
371 |
translateLabel: true
|
|
372 |
adjust: right
|
|
373 |
)
|
|
374 |
(InputFieldSpec
|
|
375 |
name: 'FileDescriptionEntryField'
|
|
376 |
layout: (LayoutFrame 162 0.0 160 0 -2 1.0 182 0)
|
|
377 |
model: fileDescriptionHolder
|
|
378 |
acceptOnReturn: true
|
|
379 |
acceptOnTab: true
|
|
380 |
acceptOnLostFocus: true
|
|
381 |
acceptOnPointerLeave: false
|
|
382 |
)
|
|
383 |
(LabelSpec
|
|
384 |
label: 'FileVersion:'
|
|
385 |
name: 'FileVersionLabel'
|
|
386 |
layout: (LayoutFrame 2 0.0 187 0 160 0 209 0)
|
|
387 |
translateLabel: true
|
|
388 |
adjust: right
|
|
389 |
)
|
|
390 |
(InputFieldSpec
|
|
391 |
name: 'FileMajorVersionNrEntryField'
|
|
392 |
layout: (LayoutFrame 162 0.0 186 0 182 0.0 208 0)
|
|
393 |
model: fileMajorVersionNrHolder
|
|
394 |
type: number
|
|
395 |
acceptOnReturn: true
|
|
396 |
acceptOnTab: true
|
|
397 |
acceptOnLostFocus: true
|
|
398 |
acceptOnPointerLeave: false
|
|
399 |
)
|
|
400 |
(InputFieldSpec
|
|
401 |
name: 'FileMinorVersionNrEntryField'
|
|
402 |
layout: (LayoutFrame 184 0.0 186 0 204 0.0 208 0)
|
|
403 |
model: fileMinorVersionNrHolder
|
|
404 |
type: number
|
|
405 |
acceptOnReturn: true
|
|
406 |
acceptOnTab: true
|
|
407 |
acceptOnLostFocus: true
|
|
408 |
acceptOnPointerLeave: false
|
|
409 |
)
|
|
410 |
(InputFieldSpec
|
|
411 |
name: 'FileRevisionNrEntryField'
|
|
412 |
layout: (LayoutFrame 206 0.0 186 0 226 0.0 208 0)
|
|
413 |
model: fileRevisionNrHolder
|
|
414 |
type: number
|
|
415 |
acceptOnReturn: true
|
|
416 |
acceptOnTab: true
|
|
417 |
acceptOnLostFocus: true
|
|
418 |
acceptOnPointerLeave: false
|
|
419 |
)
|
|
420 |
(InputFieldSpec
|
|
421 |
name: 'FileReleaseNrEntryField'
|
|
422 |
layout: (LayoutFrame 228 0.0 186 0 248 0.0 208 0)
|
|
423 |
model: fileReleaseNrHolder
|
|
424 |
type: number
|
|
425 |
acceptOnReturn: true
|
|
426 |
acceptOnTab: true
|
|
427 |
acceptOnLostFocus: true
|
|
428 |
acceptOnPointerLeave: false
|
|
429 |
)
|
|
430 |
(LabelSpec
|
|
431 |
label: 'Icon Filename:'
|
|
432 |
name: 'IconFileNameLabel'
|
|
433 |
layout: (LayoutFrame 2 0.0 236 0 160 0 258 0)
|
|
434 |
visibilityChannel: isApplicationDefinitionHolder
|
|
435 |
translateLabel: true
|
|
436 |
adjust: right
|
|
437 |
)
|
|
438 |
(InputFieldSpec
|
|
439 |
name: 'IconFileNameEntryField'
|
|
440 |
layout: (LayoutFrame 162 0.0 234 0 -2 1.0 256 0)
|
|
441 |
visibilityChannel: isApplicationDefinitionHolder
|
|
442 |
model: iconFilenameHolder
|
|
443 |
acceptOnReturn: true
|
|
444 |
acceptOnTab: true
|
|
445 |
acceptOnLostFocus: true
|
|
446 |
acceptOnPointerLeave: false
|
|
447 |
)
|
|
448 |
)
|
|
449 |
|
|
450 |
)
|
|
451 |
)
|
|
452 |
!
|
|
453 |
|
|
454 |
extensionsSpec
|
|
455 |
"This resource specification was automatically generated
|
|
456 |
by the UIPainter of ST/X."
|
|
457 |
|
|
458 |
"Do not manually edit this!! If it is corrupted,
|
|
459 |
the UIPainter may not be able to read the specification."
|
|
460 |
|
|
461 |
"
|
|
462 |
UIPainter new openOnClass:ApplicationDefinitionEditor andSelector:#extensionsSpec
|
|
463 |
ApplicationDefinitionEditor new openInterface:#extensionsSpec
|
|
464 |
"
|
|
465 |
|
|
466 |
<resource: #canvas>
|
|
467 |
|
|
468 |
^
|
|
469 |
#(FullSpec
|
|
470 |
name: extensionsSpec
|
|
471 |
window:
|
|
472 |
(WindowSpec
|
|
473 |
label: 'NewApplication'
|
|
474 |
name: 'NewApplication'
|
|
475 |
min: (Point 0 0)
|
|
476 |
bounds: (Rectangle 0 0 300 300)
|
|
477 |
)
|
|
478 |
component:
|
|
479 |
(SpecCollection
|
|
480 |
collection: (
|
|
481 |
(DataSetSpec
|
|
482 |
name: 'ExtensionsTable'
|
|
483 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1)
|
|
484 |
model: selectedExtensionIndexHolder
|
|
485 |
hasHorizontalScrollBar: true
|
|
486 |
hasVerticalScrollBar: true
|
2081
|
487 |
dataList: extensionsListHolder
|
2078
|
488 |
columnHolder: extensionsTableColumns
|
|
489 |
)
|
|
490 |
)
|
|
491 |
|
|
492 |
)
|
|
493 |
)
|
2081
|
494 |
|
|
495 |
"Modified: / 07-09-2006 / 11:35:17 / cg"
|
2078
|
496 |
!
|
|
497 |
|
|
498 |
prerequisitesSpec
|
|
499 |
"This resource specification was automatically generated
|
|
500 |
by the UIPainter of ST/X."
|
|
501 |
|
|
502 |
"Do not manually edit this!! If it is corrupted,
|
|
503 |
the UIPainter may not be able to read the specification."
|
|
504 |
|
|
505 |
"
|
|
506 |
UIPainter new openOnClass:ApplicationDefinitionEditor andSelector:#extensionsSpec
|
|
507 |
ApplicationDefinitionEditor new openInterface:#extensionsSpec
|
|
508 |
"
|
|
509 |
|
|
510 |
<resource: #canvas>
|
|
511 |
|
|
512 |
^
|
|
513 |
#(FullSpec
|
|
514 |
name: extensionsSpec
|
|
515 |
window:
|
|
516 |
(WindowSpec
|
|
517 |
label: 'NewApplication'
|
|
518 |
name: 'NewApplication'
|
|
519 |
min: (Point 0 0)
|
|
520 |
bounds: (Rectangle 0 0 300 300)
|
|
521 |
)
|
|
522 |
component:
|
|
523 |
(SpecCollection
|
|
524 |
collection: (
|
|
525 |
(DataSetSpec
|
|
526 |
name: 'ExtensionsTable'
|
|
527 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1)
|
|
528 |
model: selectedPrerequisitesIndexHolder
|
|
529 |
hasHorizontalScrollBar: true
|
|
530 |
hasVerticalScrollBar: true
|
2081
|
531 |
dataList: prerequisitesListHolder
|
2078
|
532 |
columnHolder: prerequisitesTableColumns
|
|
533 |
)
|
|
534 |
)
|
|
535 |
|
|
536 |
)
|
|
537 |
)
|
|
538 |
|
|
539 |
"Created: / 05-09-2006 / 13:21:32 / cg"
|
2081
|
540 |
"Modified: / 07-09-2006 / 11:35:20 / cg"
|
2078
|
541 |
!
|
|
542 |
|
|
543 |
startupSpec
|
|
544 |
"This resource specification was automatically generated
|
|
545 |
by the UIPainter of ST/X."
|
|
546 |
|
|
547 |
"Do not manually edit this!! If it is corrupted,
|
|
548 |
the UIPainter may not be able to read the specification."
|
|
549 |
|
|
550 |
"
|
2080
|
551 |
UIPainter new openOnClass:Tools::ProjectDefinitionEditor andSelector:#startupSpec
|
|
552 |
Tools::ProjectDefinitionEditor new openInterface:#startupSpec
|
2078
|
553 |
"
|
|
554 |
|
|
555 |
<resource: #canvas>
|
|
556 |
|
|
557 |
^
|
|
558 |
#(FullSpec
|
|
559 |
name: startupSpec
|
|
560 |
window:
|
|
561 |
(WindowSpec
|
|
562 |
label: 'NewApplication'
|
|
563 |
name: 'NewApplication'
|
|
564 |
min: (Point 0 0)
|
|
565 |
bounds: (Rectangle 0 0 433 300)
|
|
566 |
)
|
|
567 |
component:
|
|
568 |
(SpecCollection
|
|
569 |
collection: (
|
|
570 |
(FramedBoxSpec
|
|
571 |
label: 'Startup'
|
|
572 |
name: 'FramedBox1'
|
2080
|
573 |
layout: (LayoutFrame 0 0 0 0 0 1 93 0)
|
2078
|
574 |
labelPosition: topLeft
|
|
575 |
translateLabel: true
|
|
576 |
component:
|
|
577 |
(SpecCollection
|
|
578 |
collection: (
|
|
579 |
(LabelSpec
|
|
580 |
label: 'Startup Class:'
|
|
581 |
name: 'Label1'
|
|
582 |
layout: (LayoutFrame 0 0.0 7 0 160 0 29 0)
|
|
583 |
translateLabel: true
|
|
584 |
adjust: right
|
|
585 |
)
|
|
586 |
(InputFieldSpec
|
|
587 |
name: 'StartupClassEntryField'
|
|
588 |
layout: (LayoutFrame 162 0.0 5 0 0 1.0 27 0)
|
2079
|
589 |
model: startupClassNameHolder
|
2078
|
590 |
acceptOnReturn: true
|
|
591 |
acceptOnTab: true
|
|
592 |
acceptOnLostFocus: true
|
|
593 |
acceptOnPointerLeave: false
|
|
594 |
)
|
|
595 |
(LabelSpec
|
|
596 |
label: 'Startup Selector:'
|
|
597 |
name: 'Label2'
|
|
598 |
layout: (LayoutFrame 0 0.0 35 0 160 0 57 0)
|
|
599 |
translateLabel: true
|
|
600 |
adjust: right
|
|
601 |
)
|
|
602 |
(InputFieldSpec
|
|
603 |
name: 'StartupSelectorEntryField'
|
|
604 |
layout: (LayoutFrame 162 0.0 33 0 0 1.0 55 0)
|
|
605 |
model: startupSelectorHolder
|
|
606 |
acceptOnReturn: true
|
|
607 |
acceptOnTab: true
|
|
608 |
acceptOnLostFocus: true
|
|
609 |
acceptOnPointerLeave: false
|
|
610 |
)
|
|
611 |
)
|
|
612 |
|
|
613 |
)
|
|
614 |
)
|
|
615 |
(FramedBoxSpec
|
|
616 |
label: 'Execution'
|
|
617 |
name: 'FramedBox2'
|
2080
|
618 |
layout: (LayoutFrame 0 0 97 0 0 1 160 0)
|
2078
|
619 |
labelPosition: topLeft
|
|
620 |
translateLabel: true
|
|
621 |
component:
|
|
622 |
(SpecCollection
|
|
623 |
collection: (
|
|
624 |
(CheckBoxSpec
|
|
625 |
label: 'Non-GUI Application'
|
|
626 |
name: 'CheckBox1'
|
|
627 |
layout: (LayoutFrame 0 0.0 7 0 0 0.5 29 0)
|
|
628 |
model: isNonGUIApplicationHolder
|
|
629 |
translateLabel: true
|
|
630 |
)
|
|
631 |
(CheckBoxSpec
|
|
632 |
label: 'Singlethreaded'
|
|
633 |
name: 'CheckBox2'
|
|
634 |
layout: (LayoutFrame 0 0.5 7 0 0 1 29 0)
|
|
635 |
enableChannel: isNonGUIApplicationHolder
|
|
636 |
model: startSinglethreadedHolder
|
|
637 |
translateLabel: true
|
|
638 |
)
|
|
639 |
)
|
|
640 |
|
|
641 |
)
|
|
642 |
)
|
|
643 |
)
|
|
644 |
|
|
645 |
)
|
|
646 |
)
|
|
647 |
!
|
|
648 |
|
|
649 |
windowSpec
|
|
650 |
"This resource specification was automatically generated
|
|
651 |
by the UIPainter of ST/X."
|
|
652 |
|
|
653 |
"Do not manually edit this!! If it is corrupted,
|
|
654 |
the UIPainter may not be able to read the specification."
|
|
655 |
|
|
656 |
"
|
|
657 |
UIPainter new openOnClass:ApplicationDefinitionBuilder andSelector:#windowSpec
|
|
658 |
ApplicationDefinitionBuilder new openInterface:#windowSpec
|
|
659 |
ApplicationDefinitionBuilder open
|
|
660 |
"
|
|
661 |
|
|
662 |
<resource: #canvas>
|
|
663 |
|
|
664 |
^
|
|
665 |
#(FullSpec
|
|
666 |
name: windowSpec
|
|
667 |
window:
|
|
668 |
(WindowSpec
|
|
669 |
label: 'ApplicationDefinitionBuilder'
|
|
670 |
name: 'ApplicationDefinitionBuilder'
|
|
671 |
min: (Point 10 10)
|
|
672 |
max: (Point 1024 768)
|
|
673 |
bounds: (Rectangle 0 0 596 339)
|
|
674 |
menu: mainMenu
|
|
675 |
)
|
|
676 |
component:
|
|
677 |
(SpecCollection
|
|
678 |
collection: (
|
|
679 |
(NoteBookViewSpec
|
|
680 |
name: 'NoteBook1'
|
|
681 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1)
|
|
682 |
model: selectedTabIndexHolder
|
|
683 |
menu: tabList
|
|
684 |
useIndex: true
|
|
685 |
)
|
|
686 |
)
|
|
687 |
|
|
688 |
)
|
|
689 |
)
|
|
690 |
|
|
691 |
"Modified: / 03-09-2006 / 10:57:33 / cg"
|
|
692 |
! !
|
|
693 |
|
|
694 |
!ProjectDefinitionEditor class methodsFor:'list specs'!
|
|
695 |
|
2079
|
696 |
tabList
|
|
697 |
^ self tabListForApplication.
|
|
698 |
|
|
699 |
"Created: / 06-09-2006 / 13:38:03 / cg"
|
|
700 |
!
|
|
701 |
|
2078
|
702 |
tabListForApplication
|
|
703 |
"This resource specification was automatically generated
|
|
704 |
by the TabListEditor of ST/X."
|
|
705 |
|
|
706 |
"Do not manually edit this!! If it is corrupted,
|
|
707 |
the TabListEditor may not be able to read the specification."
|
|
708 |
|
|
709 |
"
|
|
710 |
TabListEditor new openOnClass: self andSelector:#tabList
|
|
711 |
"
|
|
712 |
|
|
713 |
<resource: #tabList>
|
|
714 |
|
|
715 |
^ #(
|
|
716 |
(TabItem
|
2079
|
717 |
label: 'Description'
|
|
718 |
minorKey: descriptionSpec
|
|
719 |
)
|
|
720 |
(TabItem
|
2078
|
721 |
label: 'Classes'
|
|
722 |
createNewBuilder: false
|
|
723 |
translateLabel: true
|
|
724 |
minorKey: classesSpec
|
|
725 |
)
|
|
726 |
(TabItem
|
|
727 |
label: 'Extensions'
|
|
728 |
minorKey: extensionsSpec
|
|
729 |
)
|
|
730 |
(TabItem
|
|
731 |
label: 'Prerequisites'
|
|
732 |
minorKey: prerequisitesSpec
|
|
733 |
)
|
|
734 |
(TabItem
|
|
735 |
label: 'Compilation'
|
|
736 |
minorKey: compilationSpec
|
|
737 |
)
|
|
738 |
(TabItem
|
|
739 |
label: 'Startup'
|
|
740 |
minorKey: startupSpec
|
|
741 |
)
|
|
742 |
)
|
|
743 |
|
|
744 |
collect:[:aTab| TabItem new fromLiteralArrayEncoding:aTab ]
|
|
745 |
|
|
746 |
"Created: / 05-09-2006 / 16:24:48 / cg"
|
2079
|
747 |
"Modified: / 06-09-2006 / 18:44:34 / cg"
|
2078
|
748 |
!
|
|
749 |
|
|
750 |
tabListForLibrary
|
|
751 |
"This resource specification was automatically generated
|
|
752 |
by the TabListEditor of ST/X."
|
|
753 |
|
|
754 |
"Do not manually edit this!! If it is corrupted,
|
|
755 |
the TabListEditor may not be able to read the specification."
|
|
756 |
|
|
757 |
"
|
|
758 |
TabListEditor new openOnClass: self andSelector:#tabList
|
|
759 |
"
|
|
760 |
|
|
761 |
<resource: #tabList>
|
|
762 |
|
|
763 |
^ #(
|
|
764 |
(TabItem
|
2079
|
765 |
label: 'Description'
|
|
766 |
minorKey: descriptionSpec
|
|
767 |
)
|
|
768 |
(TabItem
|
2078
|
769 |
label: 'Classes'
|
|
770 |
createNewBuilder: false
|
|
771 |
translateLabel: true
|
|
772 |
minorKey: classesSpec
|
|
773 |
)
|
|
774 |
(TabItem
|
|
775 |
label: 'Extensions'
|
|
776 |
minorKey: extensionsSpec
|
|
777 |
)
|
|
778 |
(TabItem
|
|
779 |
label: 'Prerequisites'
|
|
780 |
minorKey: prerequisitesSpec
|
|
781 |
)
|
|
782 |
(TabItem
|
|
783 |
label: 'Compilation'
|
|
784 |
minorKey: compilationSpec
|
|
785 |
)
|
|
786 |
)
|
|
787 |
|
|
788 |
collect:[:aTab| TabItem new fromLiteralArrayEncoding:aTab ]
|
|
789 |
|
|
790 |
"Created: / 05-09-2006 / 16:24:52 / cg"
|
2079
|
791 |
"Modified: / 06-09-2006 / 18:44:38 / cg"
|
2078
|
792 |
! !
|
|
793 |
|
|
794 |
!ProjectDefinitionEditor class methodsFor:'menu specs'!
|
|
795 |
|
|
796 |
classListMenu
|
|
797 |
"This resource specification was automatically generated
|
|
798 |
by the MenuEditor of ST/X."
|
|
799 |
|
|
800 |
"Do not manually edit this!! If it is corrupted,
|
|
801 |
the MenuEditor may not be able to read the specification."
|
|
802 |
|
|
803 |
"
|
2082
|
804 |
MenuEditor new openOnClass:Tools::ProjectDefinitionEditor andSelector:#classListMenu
|
|
805 |
(Menu new fromLiteralArrayEncoding:(Tools::ProjectDefinitionEditor classListMenu)) startUp
|
2078
|
806 |
"
|
|
807 |
|
|
808 |
<resource: #menu>
|
|
809 |
|
|
810 |
^
|
|
811 |
#(Menu
|
|
812 |
(
|
|
813 |
(MenuItem
|
2082
|
814 |
enabled: hasDefinitionClassHolder
|
2078
|
815 |
label: 'Generate'
|
|
816 |
itemValue: menuGenerateClassList
|
|
817 |
translateLabel: true
|
|
818 |
)
|
|
819 |
(MenuItem
|
|
820 |
label: '-'
|
|
821 |
)
|
|
822 |
(MenuItem
|
2082
|
823 |
enabled: hasDefinitionClassHolder
|
2078
|
824 |
label: 'Add...'
|
|
825 |
itemValue: menuAddClass
|
|
826 |
translateLabel: true
|
|
827 |
)
|
|
828 |
(MenuItem
|
2082
|
829 |
enabled: hasDefinitionClassHolder
|
2078
|
830 |
label: 'Remove...'
|
|
831 |
itemValue: menuRemoveClass
|
|
832 |
translateLabel: true
|
|
833 |
)
|
|
834 |
)
|
|
835 |
nil
|
|
836 |
nil
|
|
837 |
)
|
|
838 |
!
|
|
839 |
|
|
840 |
extensionsListMenu
|
|
841 |
"This resource specification was automatically generated
|
|
842 |
by the MenuEditor of ST/X."
|
|
843 |
|
|
844 |
"Do not manually edit this!! If it is corrupted,
|
|
845 |
the MenuEditor may not be able to read the specification."
|
|
846 |
|
|
847 |
"
|
2082
|
848 |
MenuEditor new openOnClass:Tools::ProjectDefinitionEditor andSelector:#extensionsListMenu
|
|
849 |
(Menu new fromLiteralArrayEncoding:(Tools::ProjectDefinitionEditor extensionsListMenu)) startUp
|
2078
|
850 |
"
|
|
851 |
|
|
852 |
<resource: #menu>
|
|
853 |
|
|
854 |
^
|
|
855 |
#(Menu
|
|
856 |
(
|
|
857 |
(MenuItem
|
2082
|
858 |
enabled: hasDefinitionClassHolder
|
2078
|
859 |
label: 'Generate'
|
|
860 |
itemValue: menuGenerateExtensionsList
|
|
861 |
translateLabel: true
|
|
862 |
)
|
|
863 |
(MenuItem
|
|
864 |
label: '-'
|
|
865 |
)
|
|
866 |
(MenuItem
|
2082
|
867 |
enabled: hasDefinitionClassHolder
|
2078
|
868 |
label: 'Add...'
|
|
869 |
itemValue: menuAddExtension
|
|
870 |
translateLabel: true
|
|
871 |
)
|
|
872 |
(MenuItem
|
2082
|
873 |
enabled: hasDefinitionClassHolder
|
2078
|
874 |
label: 'Remove...'
|
|
875 |
itemValue: menuRemoveExtension
|
|
876 |
translateLabel: true
|
|
877 |
)
|
|
878 |
)
|
|
879 |
nil
|
|
880 |
nil
|
|
881 |
)
|
|
882 |
!
|
|
883 |
|
|
884 |
mainMenu
|
|
885 |
"This resource specification was automatically generated
|
|
886 |
by the MenuEditor of ST/X."
|
|
887 |
|
|
888 |
"Do not manually edit this!! If it is corrupted,
|
|
889 |
the MenuEditor may not be able to read the specification."
|
|
890 |
|
|
891 |
"
|
2082
|
892 |
MenuEditor new openOnClass:Tools::ProjectDefinitionEditor andSelector:#mainMenu
|
|
893 |
(Menu new fromLiteralArrayEncoding:(Tools::ProjectDefinitionEditor mainMenu)) startUp
|
2078
|
894 |
"
|
|
895 |
|
|
896 |
<resource: #menu>
|
|
897 |
|
|
898 |
^
|
|
899 |
#(Menu
|
|
900 |
(
|
|
901 |
(MenuItem
|
|
902 |
label: 'File'
|
|
903 |
translateLabel: true
|
|
904 |
submenu:
|
|
905 |
(Menu
|
|
906 |
(
|
|
907 |
(MenuItem
|
|
908 |
label: 'New'
|
|
909 |
itemValue: menuNew
|
|
910 |
translateLabel: true
|
|
911 |
)
|
|
912 |
(MenuItem
|
|
913 |
label: '-'
|
|
914 |
)
|
|
915 |
(MenuItem
|
|
916 |
label: 'Open...'
|
|
917 |
itemValue: menuOpen
|
|
918 |
translateLabel: true
|
|
919 |
)
|
|
920 |
(MenuItem
|
|
921 |
label: '-'
|
|
922 |
)
|
|
923 |
(MenuItem
|
2082
|
924 |
enabled: hasDefinitionClassHolder
|
2078
|
925 |
label: 'Save'
|
|
926 |
itemValue: menuSave
|
|
927 |
translateLabel: true
|
|
928 |
)
|
|
929 |
(MenuItem
|
2082
|
930 |
enabled: hasDefinitionClassHolder
|
2078
|
931 |
label: 'Save As...'
|
|
932 |
itemValue: menuSaveAs
|
|
933 |
translateLabel: true
|
|
934 |
)
|
|
935 |
(MenuItem
|
|
936 |
label: '-'
|
|
937 |
)
|
|
938 |
(MenuItem
|
|
939 |
label: 'Exit'
|
|
940 |
itemValue: closeRequest
|
|
941 |
translateLabel: true
|
|
942 |
)
|
|
943 |
)
|
|
944 |
nil
|
|
945 |
nil
|
|
946 |
)
|
|
947 |
)
|
|
948 |
(MenuItem
|
2082
|
949 |
label: 'Definition'
|
|
950 |
translateLabel: true
|
|
951 |
submenu:
|
|
952 |
(Menu
|
|
953 |
(
|
|
954 |
(MenuItem
|
|
955 |
enabled: hasDefinitionClassHolder
|
|
956 |
label: 'Generate Definitions'
|
|
957 |
itemValue: menuGenerateProjectDefinitions
|
|
958 |
translateLabel: true
|
|
959 |
)
|
|
960 |
)
|
|
961 |
nil
|
|
962 |
nil
|
|
963 |
)
|
|
964 |
)
|
|
965 |
(MenuItem
|
2078
|
966 |
label: 'Classes'
|
|
967 |
translateLabel: true
|
|
968 |
isVisible: classesMenuVisibleHolder
|
|
969 |
submenuChannel: classListMenu
|
|
970 |
keepLinkedMenu: true
|
|
971 |
)
|
|
972 |
(MenuItem
|
|
973 |
label: 'Extensions'
|
|
974 |
translateLabel: true
|
|
975 |
isVisible: extensionsMenuVisibleHolder
|
|
976 |
submenuChannel: extensionsListMenu
|
|
977 |
keepLinkedMenu: true
|
|
978 |
)
|
|
979 |
(MenuItem
|
|
980 |
label: 'Prerequisites'
|
|
981 |
translateLabel: true
|
|
982 |
isVisible: prerequisitesMenuVisibleHolder
|
|
983 |
submenuChannel: prerequisitesListMenu
|
|
984 |
keepLinkedMenu: true
|
|
985 |
)
|
|
986 |
(MenuItem
|
|
987 |
label: 'Help'
|
|
988 |
translateLabel: true
|
|
989 |
startGroup: right
|
|
990 |
submenu:
|
|
991 |
(Menu
|
|
992 |
(
|
|
993 |
(MenuItem
|
|
994 |
label: 'Documentation'
|
|
995 |
itemValue: openDocumentation
|
|
996 |
translateLabel: true
|
|
997 |
)
|
|
998 |
(MenuItem
|
|
999 |
label: '-'
|
|
1000 |
)
|
|
1001 |
(MenuItem
|
|
1002 |
label: 'About this Application...'
|
|
1003 |
itemValue: openAboutThisApplication
|
|
1004 |
translateLabel: true
|
|
1005 |
)
|
|
1006 |
)
|
|
1007 |
nil
|
|
1008 |
nil
|
|
1009 |
)
|
|
1010 |
)
|
|
1011 |
)
|
|
1012 |
nil
|
|
1013 |
nil
|
|
1014 |
)
|
|
1015 |
!
|
|
1016 |
|
|
1017 |
prerequisitesListMenu
|
|
1018 |
"This resource specification was automatically generated
|
|
1019 |
by the MenuEditor of ST/X."
|
|
1020 |
|
|
1021 |
"Do not manually edit this!! If it is corrupted,
|
|
1022 |
the MenuEditor may not be able to read the specification."
|
|
1023 |
|
|
1024 |
"
|
2082
|
1025 |
MenuEditor new openOnClass:Tools::ProjectDefinitionEditor andSelector:#prerequisitesListMenu
|
|
1026 |
(Menu new fromLiteralArrayEncoding:(Tools::ProjectDefinitionEditor prerequisitesListMenu)) startUp
|
2078
|
1027 |
"
|
|
1028 |
|
|
1029 |
<resource: #menu>
|
|
1030 |
|
|
1031 |
^
|
|
1032 |
#(Menu
|
|
1033 |
(
|
|
1034 |
(MenuItem
|
2082
|
1035 |
enabled: hasDefinitionClassHolder
|
2078
|
1036 |
label: 'Generate'
|
|
1037 |
itemValue: menuGeneratePrerequisitesList
|
|
1038 |
translateLabel: true
|
|
1039 |
)
|
|
1040 |
(MenuItem
|
|
1041 |
label: '-'
|
|
1042 |
)
|
|
1043 |
(MenuItem
|
2082
|
1044 |
enabled: hasDefinitionClassHolder
|
2078
|
1045 |
label: 'Add...'
|
|
1046 |
itemValue: menuAddPrerequisite
|
|
1047 |
translateLabel: true
|
|
1048 |
)
|
|
1049 |
(MenuItem
|
2082
|
1050 |
enabled: hasDefinitionClassHolder
|
2078
|
1051 |
label: 'Remove...'
|
|
1052 |
itemValue: menuRemovePrerequisite
|
|
1053 |
translateLabel: true
|
|
1054 |
)
|
|
1055 |
)
|
|
1056 |
nil
|
|
1057 |
nil
|
|
1058 |
)
|
|
1059 |
! !
|
|
1060 |
|
|
1061 |
!ProjectDefinitionEditor class methodsFor:'tableColumns specs'!
|
|
1062 |
|
|
1063 |
classesTableColumns
|
|
1064 |
"This resource specification was automatically generated
|
|
1065 |
by the DataSetBuilder of ST/X."
|
|
1066 |
|
|
1067 |
"Do not manually edit this!! If it is corrupted,
|
|
1068 |
the DataSetBuilder may not be able to read the specification."
|
|
1069 |
|
|
1070 |
"
|
2079
|
1071 |
DataSetBuilder new openOnClass:Tools::ProjectDefinitionEditor andSelector:#classesTableColumns
|
2078
|
1072 |
"
|
|
1073 |
|
|
1074 |
<resource: #tableColumns>
|
|
1075 |
|
|
1076 |
^#(
|
|
1077 |
(DataSetColumnSpec
|
|
1078 |
label: 'Auto'
|
|
1079 |
labelButtonType: Button
|
|
1080 |
rendererType: CheckToggle
|
|
1081 |
model: autoloaded
|
2079
|
1082 |
canSelect: false
|
2078
|
1083 |
)
|
|
1084 |
(DataSetColumnSpec
|
|
1085 |
label: 'Win32'
|
|
1086 |
labelButtonType: Button
|
|
1087 |
rendererType: CheckToggle
|
|
1088 |
model: win32
|
2079
|
1089 |
canSelect: false
|
2078
|
1090 |
)
|
|
1091 |
(DataSetColumnSpec
|
|
1092 |
label: 'Unix'
|
|
1093 |
labelButtonType: Button
|
|
1094 |
rendererType: CheckToggle
|
|
1095 |
model: unix
|
2079
|
1096 |
canSelect: false
|
2078
|
1097 |
)
|
|
1098 |
(DataSetColumnSpec
|
|
1099 |
label: 'Class'
|
2080
|
1100 |
labelAlignment: left
|
2078
|
1101 |
labelButtonType: Button
|
|
1102 |
model: className
|
2079
|
1103 |
canSelect: false
|
2078
|
1104 |
)
|
|
1105 |
)
|
|
1106 |
|
|
1107 |
!
|
|
1108 |
|
|
1109 |
extensionsTableColumns
|
|
1110 |
"This resource specification was automatically generated
|
|
1111 |
by the DataSetBuilder of ST/X."
|
|
1112 |
|
|
1113 |
"Do not manually edit this!! If it is corrupted,
|
|
1114 |
the DataSetBuilder may not be able to read the specification."
|
|
1115 |
|
|
1116 |
"
|
2079
|
1117 |
DataSetBuilder new openOnClass:Tools::ProjectDefinitionEditor andSelector:#extensionsTableColumns
|
2078
|
1118 |
"
|
|
1119 |
|
|
1120 |
<resource: #tableColumns>
|
|
1121 |
|
|
1122 |
^#(
|
|
1123 |
(DataSetColumnSpec
|
|
1124 |
label: 'Class'
|
2080
|
1125 |
labelAlignment: left
|
2078
|
1126 |
labelButtonType: Button
|
|
1127 |
model: className
|
2079
|
1128 |
canSelect: false
|
2078
|
1129 |
)
|
|
1130 |
(DataSetColumnSpec
|
|
1131 |
label: 'Selector'
|
2080
|
1132 |
labelAlignment: left
|
2078
|
1133 |
labelButtonType: Button
|
|
1134 |
model: selector
|
2079
|
1135 |
canSelect: false
|
2078
|
1136 |
)
|
|
1137 |
)
|
|
1138 |
|
|
1139 |
!
|
|
1140 |
|
|
1141 |
prerequisitesTableColumns
|
|
1142 |
"This resource specification was automatically generated
|
|
1143 |
by the DataSetBuilder of ST/X."
|
|
1144 |
|
|
1145 |
"Do not manually edit this!! If it is corrupted,
|
|
1146 |
the DataSetBuilder may not be able to read the specification."
|
|
1147 |
|
|
1148 |
"
|
2080
|
1149 |
DataSetBuilder new openOnClass:Tools::ProjectDefinitionEditor andSelector:#prerequisitesTableColumns
|
2078
|
1150 |
"
|
|
1151 |
|
|
1152 |
<resource: #tableColumns>
|
|
1153 |
|
|
1154 |
^#(
|
|
1155 |
(DataSetColumnSpec
|
|
1156 |
label: 'Package'
|
2080
|
1157 |
labelAlignment: left
|
2078
|
1158 |
labelButtonType: Button
|
|
1159 |
model: package
|
|
1160 |
)
|
|
1161 |
)
|
|
1162 |
|
|
1163 |
! !
|
|
1164 |
|
|
1165 |
!ProjectDefinitionEditor methodsFor:'accessing'!
|
|
1166 |
|
|
1167 |
definitionClass
|
|
1168 |
^ definitionClass
|
|
1169 |
|
|
1170 |
"Created: / 04-09-2006 / 16:30:09 / cg"
|
|
1171 |
!
|
|
1172 |
|
|
1173 |
definitionClass:aClass
|
|
1174 |
definitionClass := aClass.
|
2082
|
1175 |
self refetchDefinitionValues.
|
2078
|
1176 |
|
|
1177 |
"Created: / 04-09-2006 / 16:30:18 / cg"
|
2082
|
1178 |
"Modified: / 07-09-2006 / 12:26:57 / cg"
|
2080
|
1179 |
!
|
|
1180 |
|
|
1181 |
specClass:aClass
|
|
1182 |
super specClass:aClass.
|
|
1183 |
self definitionClass:aClass theNonMetaclass.
|
|
1184 |
|
|
1185 |
"Created: / 06-09-2006 / 19:24:10 / cg"
|
2078
|
1186 |
! !
|
|
1187 |
|
|
1188 |
!ProjectDefinitionEditor methodsFor:'aspects'!
|
|
1189 |
|
2081
|
1190 |
classListHolder
|
|
1191 |
classListHolder isNil ifTrue:[
|
|
1192 |
classListHolder := #() asValue.
|
2078
|
1193 |
].
|
2081
|
1194 |
^ classListHolder.
|
2078
|
1195 |
|
2081
|
1196 |
"Created: / 07-09-2006 / 11:34:35 / cg"
|
2078
|
1197 |
!
|
|
1198 |
|
|
1199 |
classesTableColumns
|
|
1200 |
classesTableColumns isNil ifTrue:[
|
|
1201 |
classesTableColumns := self class classesTableColumns asValue.
|
|
1202 |
].
|
|
1203 |
^ classesTableColumns.
|
|
1204 |
|
|
1205 |
"Modified: / 04-09-2006 / 17:58:09 / cg"
|
|
1206 |
!
|
|
1207 |
|
|
1208 |
companyNameHolder
|
|
1209 |
companyNameHolder isNil ifTrue:[
|
|
1210 |
companyNameHolder := ValueHolder new.
|
|
1211 |
].
|
|
1212 |
^ companyNameHolder.
|
|
1213 |
|
|
1214 |
"Created: / 04-09-2006 / 17:58:02 / cg"
|
|
1215 |
!
|
|
1216 |
|
|
1217 |
descriptionHolder
|
|
1218 |
descriptionHolder isNil ifTrue:[
|
|
1219 |
descriptionHolder := ValueHolder new.
|
|
1220 |
].
|
|
1221 |
^ descriptionHolder.
|
|
1222 |
|
|
1223 |
"Modified: / 04-09-2006 / 17:58:15 / cg"
|
|
1224 |
!
|
|
1225 |
|
2081
|
1226 |
extensionsListHolder
|
|
1227 |
extensionsListHolder isNil ifTrue:[
|
|
1228 |
extensionsListHolder := #() asValue.
|
2079
|
1229 |
].
|
2081
|
1230 |
^ extensionsListHolder.
|
2079
|
1231 |
|
2081
|
1232 |
"Created: / 07-09-2006 / 11:34:50 / cg"
|
2079
|
1233 |
!
|
|
1234 |
|
2078
|
1235 |
fileDescriptionHolder
|
|
1236 |
fileDescriptionHolder isNil ifTrue:[
|
|
1237 |
fileDescriptionHolder := ValueHolder new.
|
|
1238 |
].
|
|
1239 |
^ fileDescriptionHolder.
|
|
1240 |
|
|
1241 |
"Modified: / 04-09-2006 / 17:58:19 / cg"
|
|
1242 |
!
|
|
1243 |
|
|
1244 |
fileMajorVersionNrHolder
|
|
1245 |
"automatically generated by UIPainter ..."
|
|
1246 |
|
|
1247 |
"*** the code below creates a default model when invoked."
|
|
1248 |
"*** (which may not be the one you wanted)"
|
|
1249 |
"*** Please change as required and accept it in the browser."
|
|
1250 |
"*** (and replace this comment by something more useful ;-)"
|
|
1251 |
|
|
1252 |
fileMajorVersionNrHolder isNil ifTrue:[
|
|
1253 |
fileMajorVersionNrHolder := ValueHolder new.
|
|
1254 |
"/ if your app needs to be notified of changes, uncomment one of the lines below:
|
|
1255 |
"/ fileMajorVersionNrHolder addDependent:self.
|
|
1256 |
"/ fileMajorVersionNrHolder onChangeSend:#fileMajorVersionNrHolderChanged to:self.
|
|
1257 |
].
|
|
1258 |
^ fileMajorVersionNrHolder.
|
|
1259 |
!
|
|
1260 |
|
|
1261 |
fileMinorVersionNrHolder
|
|
1262 |
"automatically generated by UIPainter ..."
|
|
1263 |
|
|
1264 |
"*** the code below creates a default model when invoked."
|
|
1265 |
"*** (which may not be the one you wanted)"
|
|
1266 |
"*** Please change as required and accept it in the browser."
|
|
1267 |
"*** (and replace this comment by something more useful ;-)"
|
|
1268 |
|
|
|