169 |
169 |
170 #basicsArgument |
170 #basicsArgument |
171 'An argument passed to above selector, if it is a 1 or a 2 argument selector.' |
171 'An argument passed to above selector, if it is a 1 or a 2 argument selector.' |
172 |
172 |
173 #basicsIndication |
173 #basicsIndication |
174 'A boolean value holder, a boolean evaluating block, or a boolean returning selector for specifying indication state.' |
174 'A boolean holder, a boolean block, or a boolean method, specifying the indication state.' |
|
175 |
|
176 #basicsChoice |
|
177 'A boolean holder, a boolean block, or a boolean method, specifying the choices state.' |
|
178 |
|
179 #basicsChoiceValue |
|
180 'That choices value (typically number or symbol).' |
175 |
181 |
176 #basicsIsButton |
182 #basicsIsButton |
177 'Turns on/off a button behavior.' |
183 'Turns on/off a button behavior.' |
178 |
184 |
179 #basicsLabel |
185 #basicsLabel |
180 'Label of the item.' |
186 'Label of the item.' |
181 |
187 |
|
188 #basicsKey |
|
189 'Internal key of the item (optional, for programmed accesses).' |
|
190 |
182 #basicsMenu |
191 #basicsMenu |
183 'A value holder providing the sub menu to be opened if item is selected.' |
192 'A value holder providing the sub menu to be opened if item is selected.' |
184 |
193 |
185 #basicsMenuArgument |
194 #basicsMenuArgument |
186 'An argument passed with the menu selector.' |
195 'An argument passed with the menu selector.' |
204 'Index of the access character position of the textual label (optional).' |
213 'Index of the access character position of the textual label (optional).' |
205 |
214 |
206 #detailsEnabled |
215 #detailsEnabled |
207 'Aspect or binding providing a boolean value holder for the enable-state of the menu item.' |
216 'Aspect or binding providing a boolean value holder for the enable-state of the menu item.' |
208 |
217 |
|
218 #detailsStartGroup |
|
219 'Specify start of a right-aligned item group.' |
|
220 |
209 #detailsVisibility |
221 #detailsVisibility |
210 'Aspect or binding providing a boolean value holder for the visibility-state of the menu item.' |
222 'Aspect or binding providing a boolean value holder for the visibility-state of the menu item.' |
211 |
223 |
212 #fileLoad |
224 #fileLoad |
213 'Opens a dialog to select and load a menu spec from a class.' |
225 'Opens a dialog to select and load a menu spec from a class.' |
235 |
247 |
236 #imageRetriever |
248 #imageRetriever |
237 'Class implementing the image resource method. If no class is given, the current application class will be taken.' |
249 'Class implementing the image resource method. If no class is given, the current application class will be taken.' |
238 |
250 |
239 #imageSelector |
251 #imageSelector |
240 'Selector returning an image.' |
252 'Selector returning an image (sent to above or the application).' |
|
253 |
|
254 #imageImageList |
|
255 'Currently existing image resources.' |
241 |
256 |
242 #test |
257 #test |
243 'Displays the current menu (layout test).' |
258 'Displays the current menu (layout test).' |
244 ) |
259 ) |
245 |
260 |
246 "Modified: / 8.8.1998 / 02:37:32 / cg" |
261 "Modified: / 18.8.1998 / 16:19:13 / cg" |
247 ! ! |
262 ! ! |
248 |
263 |
249 !MenuEditor class methodsFor:'image specs'! |
264 !MenuEditor class methodsFor:'image specs'! |
250 |
265 |
251 linkSubmenuImage |
266 linkSubmenuImage |
350 #collection: |
365 #collection: |
351 #( |
366 #( |
352 #(#LabelSpec |
367 #(#LabelSpec |
353 #name: 'nameKeyLabel' |
368 #name: 'nameKeyLabel' |
354 #layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) |
369 #layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) |
|
370 #activeHelpKey: #basicsKey |
355 #label: 'Name Key:' |
371 #label: 'Name Key:' |
356 #adjust: #right |
372 #adjust: #right |
357 #resizeForLabel: true |
373 #resizeForLabel: true |
358 ) |
374 ) |
359 #(#InputFieldSpec |
375 #(#InputFieldSpec |
360 #name: 'nameKeyField' |
376 #name: 'nameKeyField' |
361 #layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) |
377 #layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) |
|
378 #activeHelpKey: #basicsKey |
362 #tabable: true |
379 #tabable: true |
363 #model: #nameKey |
380 #model: #nameKey |
364 #group: #inputGroup |
381 #group: #inputGroup |
365 #type: #symbolOrNil |
382 #type: #symbolOrNil |
366 #acceptOnReturn: false |
383 #acceptOnReturn: false |
367 #acceptOnTab: false |
384 #acceptOnTab: false |
368 ) |
385 ) |
369 #(#LabelSpec |
386 #(#LabelSpec |
370 #name: 'labelLabel' |
387 #name: 'labelLabel' |
371 #layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) |
388 #layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) |
|
389 #activeHelpKey: #basicsLabel |
372 #label: 'Label:' |
390 #label: 'Label:' |
373 #adjust: #right |
391 #adjust: #right |
374 #resizeForLabel: true |
392 #resizeForLabel: true |
375 ) |
393 ) |
376 #(#InputFieldSpec |
394 #(#InputFieldSpec |
455 #label: 'Is Button' |
476 #label: 'Is Button' |
456 ) |
477 ) |
457 #(#LabelSpec |
478 #(#LabelSpec |
458 #name: 'choiceLabel' |
479 #name: 'choiceLabel' |
459 #layout: #(#AlignmentOrigin 107 0 180 0 1 0.5) |
480 #layout: #(#AlignmentOrigin 107 0 180 0 1 0.5) |
|
481 #activeHelpKey: #basicsChoice |
460 #label: 'Choice:' |
482 #label: 'Choice:' |
461 #translateLabel: true |
483 #translateLabel: true |
462 #adjust: #right |
484 #adjust: #right |
463 #resizeForLabel: true |
485 #resizeForLabel: true |
464 ) |
486 ) |
465 #(#InputFieldSpec |
487 #(#InputFieldSpec |
466 #name: 'choiceField' |
488 #name: 'choiceField' |
467 #layout: #(#LayoutFrame 110 0 169 0 -5 1.0 191 0) |
489 #layout: #(#LayoutFrame 110 0 169 0 -5 1.0 191 0) |
468 #activeHelpKey: #basicsIndication |
490 #activeHelpKey: #basicsChoice |
469 #enableChannel: #choiceEnabled |
491 #enableChannel: #choiceEnabled |
470 #tabable: true |
492 #tabable: true |
471 #model: #choice |
493 #model: #choice |
472 #group: #inputGroup |
494 #group: #inputGroup |
473 #type: #symbolOrNil |
495 #type: #symbolOrNil |
474 #acceptOnReturn: false |
496 #acceptOnReturn: false |
475 #acceptOnTab: false |
497 #acceptOnTab: false |
476 ) |
498 ) |
477 #(#LabelSpec |
499 #(#LabelSpec |
478 #name: 'choiceValueLabel' |
500 #name: 'choiceValueLabel' |
|
501 #activeHelpKey: #basicsChoiceValue |
479 #layout: #(#AlignmentOrigin 107 0 205 0 1 0.5) |
502 #layout: #(#AlignmentOrigin 107 0 205 0 1 0.5) |
480 #label: 'Value:' |
503 #label: 'Value:' |
481 #translateLabel: true |
504 #translateLabel: true |
482 #adjust: #right |
505 #adjust: #right |
483 #resizeForLabel: true |
506 #resizeForLabel: true |
484 ) |
507 ) |
485 #(#InputFieldSpec |
508 #(#InputFieldSpec |
486 #name: 'choiceValueField' |
509 #name: 'choiceValueField' |
487 #layout: #(#LayoutFrame 110 0 194 0 -5 1.0 216 0) |
510 #layout: #(#LayoutFrame 110 0 194 0 -5 1.0 216 0) |
488 #activeHelpKey: #basicsIndication |
511 #activeHelpKey: #basicsChoiceValue |
489 #enableChannel: #choiceValueEnabled |
512 #enableChannel: #choiceValueEnabled |
490 #tabable: true |
513 #tabable: true |
491 #model: #choiceValue |
514 #model: #choiceValue |
492 #group: #inputGroup |
515 #group: #inputGroup |
493 #type: #smalltalkObject |
516 #type: #smalltalkObject |
911 #group: #inputGroup |
937 #group: #inputGroup |
912 ) |
938 ) |
913 #(#LabelSpec |
939 #(#LabelSpec |
914 #name: 'StartGroupLabel' |
940 #name: 'StartGroupLabel' |
915 #layout: #(#AlignmentOrigin 107 0 111 0 1 0.5) |
941 #layout: #(#AlignmentOrigin 107 0 111 0 1 0.5) |
|
942 #activeHelpKey: #detailsStartGroup |
916 #label: 'Start Group:' |
943 #label: 'Start Group:' |
917 #adjust: #right |
944 #adjust: #right |
918 #resizeForLabel: true |
945 #resizeForLabel: true |
919 ) |
946 ) |
920 #(#PopUpListSpec |
947 #(#PopUpListSpec |
921 #name: 'StartGroupPopUp' |
948 #name: 'StartGroupPopUp' |
|
949 #activeHelpKey: #detailsStartGroup |
922 #layout: #(#LayoutFrame 110 0 100 0 -5 1.0 122 0) |
950 #layout: #(#LayoutFrame 110 0 100 0 -5 1.0 122 0) |
923 #label: 'PopUpList' |
951 #label: 'PopUpList' |
924 #tabable: true |
952 #tabable: true |
925 #model: #startGroup |
953 #model: #startGroup |
926 #menu: |
954 #menu: |
1037 #tabable: true |
1068 #tabable: true |
1038 #model: #doEditImage |
1069 #model: #doEditImage |
1039 ) |
1070 ) |
1040 #(#SequenceViewSpec |
1071 #(#SequenceViewSpec |
1041 #name: 'systemOrUserImagesList' |
1072 #name: 'systemOrUserImagesList' |
|
1073 #activeHelpKey: #imageImageList |
1042 #layout: #(#LayoutFrame 110 0 67 0 0 0.6 200 0) |
1074 #layout: #(#LayoutFrame 110 0 67 0 0 0.6 200 0) |
1043 #model: #selectionOfImage |
1075 #model: #selectionOfImage |
1044 #menu: #menuEditImage |
1076 #menu: #menuEditImage |
1045 #hasHorizontalScrollBar: true |
1077 #hasHorizontalScrollBar: true |
1046 #hasVerticalScrollBar: true |
1078 #hasVerticalScrollBar: true |