283 verticalSpace: 3 |
275 verticalSpace: 3 |
284 component: |
276 component: |
285 (SpecCollection |
277 (SpecCollection |
286 collection: ( |
278 collection: ( |
287 (ViewSpec |
279 (ViewSpec |
288 name: 'Box1' |
280 name: 'Arg1Box' |
289 uuid: '5fb0e6d4-89f6-11e9-8df0-b8f6b1108e05' |
281 uuid: '5fb0e6d4-89f6-11e9-8df0-b8f6b1108e05' |
290 visibilityChannel: arg1BoxVisible |
282 visibilityChannel: arg1BoxVisible |
291 component: |
283 component: |
292 (SpecCollection |
284 (SpecCollection |
293 collection: ( |
285 collection: ( |
294 (WorkspaceSpec |
286 (WorkspaceSpec |
295 name: 'Arg1Editor' |
287 name: 'Arg1Editor' |
296 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
288 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) activeHelpKey: arg1Value |
297 activeHelpKey: arg1Value |
|
298 uuid: '5fb0e7ce-89f6-11e9-8df0-b8f6b1108e05' |
289 uuid: '5fb0e7ce-89f6-11e9-8df0-b8f6b1108e05' |
299 tabable: true |
290 tabable: true |
300 hasHorizontalScrollBar: true |
291 hasHorizontalScrollBar: true |
301 hasVerticalScrollBar: true |
292 hasVerticalScrollBar: true |
302 miniScrollerHorizontal: true |
293 miniScrollerHorizontal: true |
303 miniScrollerVertical: true |
294 miniScrollerVertical: true |
304 autoHideScrollBars: true |
295 autoHideScrollBars: true |
305 hasKeyboardFocusInitially: false |
296 hasKeyboardFocusInitially: false |
306 postBuildCallback: argument1WidgetCreated: |
297 postBuildCallback: argument1WidgetCreated: |
307 ) |
|
308 ) |
298 ) |
309 |
299 ) |
310 ) |
300 ) extent: (Point 87 45) |
311 extent: (Point 87 45) |
301 ) |
312 ) |
|
313 (ViewSpec |
302 (ViewSpec |
314 name: 'Box2' |
303 name: 'Arg2Box' |
315 uuid: '5fb0e9b8-89f6-11e9-8df0-b8f6b1108e05' |
304 uuid: '5fb0e9b8-89f6-11e9-8df0-b8f6b1108e05' |
316 visibilityChannel: arg2BoxVisible |
305 visibilityChannel: arg2BoxVisible |
317 component: |
306 component: |
318 (SpecCollection |
307 (SpecCollection |
319 collection: ( |
308 collection: ( |
320 (WorkspaceSpec |
309 (WorkspaceSpec |
321 name: 'TextEditor5' |
310 name: 'Arg2Editor' |
322 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
311 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) activeHelpKey: arg2Value |
323 activeHelpKey: arg2Value |
|
324 uuid: '5fb0eabc-89f6-11e9-8df0-b8f6b1108e05' |
312 uuid: '5fb0eabc-89f6-11e9-8df0-b8f6b1108e05' |
325 tabable: true |
313 tabable: true |
326 hasHorizontalScrollBar: true |
314 hasHorizontalScrollBar: true |
327 hasVerticalScrollBar: true |
315 hasVerticalScrollBar: true |
328 miniScrollerHorizontal: true |
316 miniScrollerHorizontal: true |
329 miniScrollerVertical: true |
317 miniScrollerVertical: true |
330 autoHideScrollBars: true |
318 autoHideScrollBars: true |
331 hasKeyboardFocusInitially: false |
319 hasKeyboardFocusInitially: false |
332 postBuildCallback: argument2WidgetCreated: |
320 postBuildCallback: argument2WidgetCreated: |
333 ) |
|
334 ) |
321 ) |
335 |
322 ) |
336 ) |
323 ) extent: (Point 87 46) |
337 extent: (Point 87 46) |
324 ) |
338 ) |
|
339 (ViewSpec |
325 (ViewSpec |
340 name: 'Box3' |
326 name: 'Arg3Box' |
341 uuid: '5fb0ec74-89f6-11e9-8df0-b8f6b1108e05' |
327 uuid: '5fb0ec74-89f6-11e9-8df0-b8f6b1108e05' |
342 visibilityChannel: arg3BoxVisible |
328 visibilityChannel: arg3BoxVisible |
343 component: |
329 component: |
344 (SpecCollection |
330 (SpecCollection |
345 collection: ( |
331 collection: ( |
346 (WorkspaceSpec |
332 (WorkspaceSpec |
347 name: 'TextEditor6' |
333 name: 'Arg3Editor' |
348 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
334 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) activeHelpKey: arg3Value |
349 activeHelpKey: arg3Value |
|
350 uuid: '5fb0ed64-89f6-11e9-8df0-b8f6b1108e05' |
335 uuid: '5fb0ed64-89f6-11e9-8df0-b8f6b1108e05' |
351 tabable: true |
336 tabable: true |
352 hasHorizontalScrollBar: true |
337 hasHorizontalScrollBar: true |
353 hasVerticalScrollBar: true |
338 hasVerticalScrollBar: true |
354 miniScrollerHorizontal: true |
339 miniScrollerHorizontal: true |
355 miniScrollerVertical: true |
340 miniScrollerVertical: true |
356 autoHideScrollBars: true |
341 autoHideScrollBars: true |
357 hasKeyboardFocusInitially: false |
342 hasKeyboardFocusInitially: false |
358 postBuildCallback: argument3WidgetCreated: |
343 postBuildCallback: argument3WidgetCreated: |
359 ) |
|
360 ) |
344 ) |
361 |
345 ) |
362 ) |
346 ) extent: (Point 87 45) |
363 extent: (Point 87 45) |
|
364 ) |
|
365 ) |
347 ) |
366 |
348 ) |
367 ) |
349 ) extent: (Point 87 142) |
368 extent: (Point 87 142) |
350 ) |
369 ) |
|
370 (WorkspaceSpec |
351 (WorkspaceSpec |
371 name: 'AnswerEditor' |
352 name: 'AnswerEditor' |
372 activeHelpKey: answerValue |
353 activeHelpKey: answerValue |
373 uuid: '5fb0ef30-89f6-11e9-8df0-b8f6b1108e05' |
354 uuid: '5fb0ef30-89f6-11e9-8df0-b8f6b1108e05' |
374 tabable: true |
355 tabable: true |
376 hasVerticalScrollBar: true |
357 hasVerticalScrollBar: true |
377 miniScrollerHorizontal: true |
358 miniScrollerHorizontal: true |
378 miniScrollerVertical: true |
359 miniScrollerVertical: true |
379 autoHideScrollBars: true |
360 autoHideScrollBars: true |
380 hasKeyboardFocusInitially: false |
361 hasKeyboardFocusInitially: false |
381 extent: (Point 87 142) |
362 extent: (Point 87 142) postBuildCallback: messageAnswerWidgetCreated: |
382 postBuildCallback: messageAnswerWidgetCreated: |
|
383 ) |
|
384 ) |
363 ) |
385 |
364 ) |
386 ) |
365 ) |
387 ) |
|
388 ) |
366 ) |
389 |
367 ) |
390 ) |
368 ) |
391 ) |
369 ) |
392 (ViewSpec |
370 (ViewSpec |
393 name: 'ReceiverArgBoxActionBox' |
371 name: 'ReceiverArgBoxActionBox' |
394 layout: (LayoutFrame 0 0 -30 1 0 1 0 1) |
372 layout: (LayoutFrame 0 0 -30 1 0 1 0 1) uuid: '5fb0f0fc-89f6-11e9-8df0-b8f6b1108e05' |
395 uuid: '5fb0f0fc-89f6-11e9-8df0-b8f6b1108e05' |
|
396 component: |
373 component: |
397 (SpecCollection |
374 (SpecCollection |
398 collection: ( |
375 collection: ( |
399 (ActionButtonSpec |
376 (ActionButtonSpec |
400 label: 'Clear' |
377 label: 'Clear' |
401 name: 'ClearButton' |
378 name: 'ClearButton' |
402 layout: (LayoutFrame 5 0 0 0 -5 0.5 0 1) |
379 layout: (LayoutFrame 5 0 0 0 -5 0.5 0 1) activeHelpKey: clearButton |
403 activeHelpKey: clearButton |
|
404 uuid: '5fb0f214-89f6-11e9-8df0-b8f6b1108e05' |
380 uuid: '5fb0f214-89f6-11e9-8df0-b8f6b1108e05' |
405 translateLabel: true |
381 translateLabel: true |
406 model: clear |
382 model: clear |
407 ) |
383 ) |
408 (ActionButtonSpec |
384 (ActionButtonSpec |
409 label: 'Search' |
385 label: 'Search' |
410 name: 'SearchButton' |
386 name: 'SearchButton' |
411 layout: (LayoutFrame 5 0.5 0 0 -5 1 0 1) |
387 layout: (LayoutFrame 5 0.5 0 0 -5 1 0 1) activeHelpKey: startSearchButton |
412 activeHelpKey: startSearchButton |
|
413 uuid: '5fb0f52a-89f6-11e9-8df0-b8f6b1108e05' |
388 uuid: '5fb0f52a-89f6-11e9-8df0-b8f6b1108e05' |
414 translateLabel: true |
389 translateLabel: true |
415 tabable: true |
390 tabable: true |
416 model: search |
391 model: search |
417 ) |
|
418 ) |
392 ) |
419 |
393 ) |
420 ) |
394 ) |
421 ) |
|
422 ) |
395 ) |
423 |
396 ) |
424 ) |
397 ) |
425 ) |
398 ) |
426 (ViewSpec |
399 (ViewSpec |
427 name: 'SelectorFinderBox' |
400 name: 'SelectorFinderBox' |
428 uuid: '5fb0f714-89f6-11e9-8df0-b8f6b1108e05' |
401 uuid: '5fb0f714-89f6-11e9-8df0-b8f6b1108e05' |
429 component: |
402 component: |
430 (SpecCollection |
403 (SpecCollection |
431 collection: ( |
404 collection: ( |
432 (ViewSpec |
405 (ViewSpec |
433 name: 'MatchActionBox' |
406 name: 'MatchActionBox' |
434 layout: (LayoutFrame 0 0 0 0 0 1 90 0) |
407 layout: (LayoutFrame 0 0 0 0 0 1 90 0) uuid: '5fb0f818-89f6-11e9-8df0-b8f6b1108e05' |
435 uuid: '5fb0f818-89f6-11e9-8df0-b8f6b1108e05' |
|
436 component: |
408 component: |
437 (SpecCollection |
409 (SpecCollection |
438 collection: ( |
410 collection: ( |
439 (LabelSpec |
411 (LabelSpec |
440 label: 'Selector Pattern:' |
412 label: 'Selector Pattern:' |
441 name: 'SelectorPatternLabel' |
413 name: 'SelectorPatternLabel' |
442 layout: (LayoutFrame 0 0 0 0 0 1 25 0) |
414 layout: (LayoutFrame 0 0 0 0 0 1 25 0) uuid: '5fb0f908-89f6-11e9-8df0-b8f6b1108e05' |
443 uuid: '5fb0f908-89f6-11e9-8df0-b8f6b1108e05' |
|
444 translateLabel: true |
415 translateLabel: true |
445 adjust: left |
416 adjust: left |
446 ) |
417 ) |
447 (InputFieldSpec |
418 (InputFieldSpec |
448 name: 'SelectorPattern' |
419 name: 'SelectorPattern' |
449 layout: (LayoutFrame 2 0 -54 1 -2 1 -29 1) |
420 layout: (LayoutFrame 2 0 -54 1 -2 1 -29 1) activeHelpKey: selectorPattern |
450 activeHelpKey: selectorPattern |
|
451 uuid: '5fb0fa70-89f6-11e9-8df0-b8f6b1108e05' |
421 uuid: '5fb0fa70-89f6-11e9-8df0-b8f6b1108e05' |
452 model: selectorPatternHolder |
422 model: selectorPatternHolder |
453 immediateAccept: true |
423 immediateAccept: true |
454 acceptOnReturn: true |
424 acceptOnReturn: true |
455 acceptOnTab: true |
425 acceptOnTab: true |
456 acceptOnPointerLeave: true |
426 acceptOnPointerLeave: true |
457 ) |
427 ) |
458 (ActionButtonSpec |
428 (ActionButtonSpec |
459 label: 'Search' |
429 label: 'Search' |
460 name: 'SearchPatternButton' |
430 name: 'SearchPatternButton' |
461 layout: (LayoutFrame 5 0.5 -25 1 -5 1 0 1) |
431 layout: (LayoutFrame 5 0.5 -25 1 -5 1 0 1) activeHelpKey: startSearchPatternButton |
462 activeHelpKey: startSearchPatternButton |
|
463 uuid: '5fb0fea8-89f6-11e9-8df0-b8f6b1108e05' |
432 uuid: '5fb0fea8-89f6-11e9-8df0-b8f6b1108e05' |
464 translateLabel: true |
433 translateLabel: true |
465 tabable: true |
434 tabable: true |
466 model: searchPatternMatchesInBackground |
435 model: searchPatternMatchesInBackground |
467 ) |
|
468 ) |
436 ) |
469 |
437 ) |
470 ) |
438 ) |
471 ) |
439 ) |
472 (SequenceViewSpec |
440 (SequenceViewSpec |
473 name: 'ResultList' |
441 name: 'ResultList' |
474 layout: (LayoutFrame 0 0 94 0 0 1 0 1) |
442 layout: (LayoutFrame 0 0 94 0 0 1 0 1) activeHelpKey: implementorsFound |
475 activeHelpKey: implementorsFound |
|
476 uuid: '5fb1009c-89f6-11e9-8df0-b8f6b1108e05' |
443 uuid: '5fb1009c-89f6-11e9-8df0-b8f6b1108e05' |
477 model: selectedImplementorsHolder |
444 model: selectedImplementorsHolder |
478 menu: resultListMenu |
445 menu: resultListMenu |
479 hasHorizontalScrollBar: true |
446 hasHorizontalScrollBar: true |
480 hasVerticalScrollBar: true |
447 hasVerticalScrollBar: true |
481 autoHideScrollBars: true |
448 autoHideScrollBars: true |
482 useIndex: true |
449 useIndex: true |
483 sequenceList: resultHolder |
450 sequenceList: resultHolder |
484 ) |
|
485 ) |
451 ) |
486 |
452 ) |
487 ) |
453 ) |
488 ) |
|
489 ) |
454 ) |
490 |
455 ) |
491 ) |
456 ) handles: (Any 0.28000000000000003 1.0) |
492 handles: (Any 0.28000000000000003 1.0) |
457 ) |
493 ) |
|
494 (VariableVerticalPanelSpec |
458 (VariableVerticalPanelSpec |
495 name: 'RightBox' |
459 name: 'RightBox' |
496 uuid: '5fb103c6-89f6-11e9-8df0-b8f6b1108e05' |
460 uuid: '5fb103c6-89f6-11e9-8df0-b8f6b1108e05' |
497 component: |
461 component: |
498 (SpecCollection |
462 (SpecCollection |
499 collection: ( |
463 collection: ( |
500 (SequenceViewSpec |
464 (SequenceViewSpec |
501 name: 'ImplementorsList' |
465 name: 'ImplementorsList' |
502 uuid: '5fb10524-89f6-11e9-8df0-b8f6b1108e05' |
466 uuid: '5fb10524-89f6-11e9-8df0-b8f6b1108e05' |
503 model: selectedClassOfResultHolder |
467 model: selectedClassOfResultIndexHolder |
504 menu: implementorListMenu |
468 menu: implementorListMenu |
505 hasHorizontalScrollBar: true |
469 hasHorizontalScrollBar: true |
506 hasVerticalScrollBar: true |
470 hasVerticalScrollBar: true |
507 autoHideScrollBars: true |
471 autoHideScrollBars: true |
508 doubleClickSelector: openBrowserOn: |
472 doubleClickSelector: openBrowserOn: |
509 valueChangeSelector: selectedClassOfResultHolderChanged |
473 valueChangeSelector: selectedClassOfResultIndexHolderChanged |
510 useIndex: false |
474 useIndex: true |
511 sequenceList: classOfResultHolder |
475 sequenceList: classOfResultNameListHolder |
512 ) |
476 ) |
513 (ViewSpec |
477 (ViewSpec |
514 name: 'Box4' |
478 name: 'Box4' |
515 uuid: '4698d744-a993-11e9-b8a4-b8f6b1108e05' |
479 uuid: '4698d744-a993-11e9-b8a4-b8f6b1108e05' |
516 component: |
480 component: |
517 (SpecCollection |
481 (SpecCollection |
518 collection: ( |
482 collection: ( |
519 (CodeViewSpec |
483 (CodeViewSpec |
520 name: 'CodeView' |
484 name: 'CodeView' |
521 layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
485 layout: (LayoutFrame 0 0 0 0 0 1 0 1) uuid: '5fb106dc-89f6-11e9-8df0-b8f6b1108e05' |
522 uuid: '5fb106dc-89f6-11e9-8df0-b8f6b1108e05' |
|
523 model: codeHolder |
486 model: codeHolder |
524 hasHorizontalScrollBar: true |
487 hasHorizontalScrollBar: true |
525 hasVerticalScrollBar: true |
488 hasVerticalScrollBar: true |
526 autoHideScrollBars: true |
489 autoHideScrollBars: true |
527 hasKeyboardFocusInitially: false |
490 hasKeyboardFocusInitially: false |
528 viewClassName: 'codeViewClass' |
491 viewClassName: 'codeViewClass' |
529 postBuildCallback: sourceCodeWidgetCreated: |
492 postBuildCallback: sourceCodeWidgetCreated: |
530 ) |
|
531 ) |
493 ) |
532 |
494 ) |
533 ) |
495 ) |
534 ) |
|
535 ) |
496 ) |
536 |
497 ) |
537 ) |
498 ) handles: (Any 0.5 1.0) |
538 handles: (Any 0.5 1.0) |
|
539 ) |
|
540 ) |
499 ) |
541 |
500 ) |
542 ) |
501 ) handles: (Any 0.33000000000000002 1.0) |
543 handles: (Any 0.33000000000000002 1.0) |
|
544 ) |
|
545 ) |
502 ) |
546 |
503 ) |
547 ) |
504 ) |
548 ) |
505 ) |
549 ! |
506 ! |
550 |
507 |
551 windowSpec_old |
508 windowSpec_old |
552 "This resource specification was automatically generated |
509 "This resource specification was automatically generated |
553 by the UIPainter of ST/X." |
510 by the UIPainter of ST/X." |
554 |
511 |
555 "Do not manually edit this!! If it is corrupted, |
512 "Do not manually edit this!! If it is corrupted, |
556 the UIPainter may not be able to read the specification." |
513 the UIPainter may not be able to read the specification." |
557 |
514 |
558 " |
515 " |
559 UIPainter new openOnClass:MethodFinderWindow andSelector:#windowSpec |
516 UIPainter new openOnClass:MethodFinderWindow andSelector:#windowSpec_old |
560 MethodFinderWindow new openInterface:#windowSpec |
517 MethodFinderWindow new openInterface:#windowSpec_old |
561 MethodFinderWindow open |
|
562 " |
518 " |
563 |
519 |
564 <resource: #canvas> |
520 <resource: #canvas> |
565 |
521 |
566 ^ |
522 ^ |
567 #(FullSpec |
523 #(FullSpec |
568 name: windowSpec |
524 name: #'windowSpec_old' |
|
525 uuid: '92a85286-e499-11e9-8918-10ddb1cc5928' |
569 window: |
526 window: |
570 (WindowSpec |
527 (WindowSpec |
571 label: 'MethodFinder' |
528 label: 'MethodFinder' |
572 name: 'MethodFinder' |
529 name: 'MethodFinder' |
573 bounds: (Rectangle 0 0 920 690) |
530 uuid: '92a85542-e499-11e9-8918-10ddb1cc5928' |
574 menu: menu |
531 bounds: (Rectangle 0 0 920 690) menu: menu |
575 icon: defaultIcon |
532 icon: defaultIcon |
576 ) |
533 ) component: |
577 component: |
|
578 (SpecCollection |
534 (SpecCollection |
579 collection: ( |
535 collection: ( |
580 (VariableHorizontalPanelSpec |
536 (VariableHorizontalPanelSpec |
581 name: 'VariableHorizontalPanel1' |
537 name: 'VariableHorizontalPanel1' |
582 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
538 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) uuid: '92a857b8-e499-11e9-8918-10ddb1cc5928' |
583 snapMode: both |
539 snapMode: both |
584 component: |
540 component: |
585 (SpecCollection |
541 (SpecCollection |
586 collection: ( |
542 collection: ( |
587 (ViewSpec |
543 (ViewSpec |
588 name: 'LeftBox' |
544 name: 'LeftBox' |
|
545 uuid: '92a85998-e499-11e9-8918-10ddb1cc5928' |
589 level: 1 |
546 level: 1 |
590 component: |
547 component: |
591 (SpecCollection |
548 (SpecCollection |
592 collection: ( |
549 collection: ( |
593 (ViewSpec |
550 (ViewSpec |
594 name: 'ReceiverArgBox' |
551 name: 'ReceiverArgBox' |
595 layout: (LayoutFrame 0 0 0 0 0 1 -100 0.5) |
552 layout: (LayoutFrame 0 0 0 0 0 1 -100 0.5) uuid: '92a85ad8-e499-11e9-8918-10ddb1cc5928' |
596 component: |
553 component: |
597 (SpecCollection |
554 (SpecCollection |
598 collection: ( |
555 collection: ( |
599 (LabelSpec |
556 (LabelSpec |
600 label: 'Receiver' |
557 label: 'Receiver' |
601 name: 'ReceiverLabel' |
558 name: 'ReceiverLabel' |
602 layout: (LayoutFrame 0 0 0 0 0 0.34000000000000002 28 0) |
559 layout: (LayoutFrame 0 0 0 0 0 0.34000000000000002 28 0) uuid: '92a85bd2-e499-11e9-8918-10ddb1cc5928' |
603 translateLabel: true |
560 translateLabel: true |
604 ) |
561 ) |
605 (ComboListSpec |
562 (ComboListSpec |
606 name: 'AllowedArguments' |
563 name: 'AllowedArguments' |
607 layout: (LayoutFrame 0 0.34000000000000002 1 0 0 0.64000000000000046 28 0) |
564 layout: (LayoutFrame 0 0.34000000000000002 1 0 0 0.64000000000000046 28 0) activeHelpKey: argumentCount |
608 activeHelpKey: argumentCount |
565 uuid: '92a85d8a-e499-11e9-8918-10ddb1cc5928' |
609 model: argCountHolder |
566 model: argCountHolder |
610 comboList: argCountList |
567 comboList: argCountList |
611 useIndex: true |
568 useIndex: true |
612 ) |
569 ) |
613 (LabelSpec |
570 (LabelSpec |
614 label: 'Answer' |
571 label: 'Answer' |
615 name: 'MessageAnswerLabel' |
572 name: 'MessageAnswerLabel' |
616 layout: (LayoutFrame 0 0.64000000000000046 0 0 0 1 28 0) |
573 layout: (LayoutFrame 0 0.64000000000000046 0 0 0 1 28 0) activeHelpKey: arg1Value |
617 activeHelpKey: arg1Value |
574 uuid: '92a85f4c-e499-11e9-8918-10ddb1cc5928' |
618 translateLabel: true |
575 translateLabel: true |
619 ) |
576 ) |
620 (HorizontalPanelViewSpec |
577 (HorizontalPanelViewSpec |
621 name: 'HorizontalPanel1' |
578 name: 'HorizontalPanel1' |
622 layout: (LayoutFrame 0 0 30 0 0 1 0 1) |
579 layout: (LayoutFrame 0 0 30 0 0 1 0 1) uuid: '92a860aa-e499-11e9-8918-10ddb1cc5928' |
623 horizontalLayout: fit |
580 horizontalLayout: fit |
624 verticalLayout: fit |
581 verticalLayout: fit |
625 horizontalSpace: 3 |
582 horizontalSpace: 3 |
626 verticalSpace: 3 |
583 verticalSpace: 3 |
627 component: |
584 component: |
628 (SpecCollection |
585 (SpecCollection |
629 collection: ( |
586 collection: ( |
630 (WorkspaceSpec |
587 (WorkspaceSpec |
631 name: 'ReceiverEditor' |
588 name: 'ReceiverEditor' |
632 activeHelpKey: receiverValue |
589 activeHelpKey: receiverValue |
|
590 uuid: '92a8626c-e499-11e9-8918-10ddb1cc5928' |
633 tabable: true |
591 tabable: true |
634 hasHorizontalScrollBar: true |
592 hasHorizontalScrollBar: true |
635 hasVerticalScrollBar: true |
593 hasVerticalScrollBar: true |
636 miniScrollerHorizontal: true |
594 miniScrollerHorizontal: true |
637 miniScrollerVertical: true |
595 miniScrollerVertical: true |
638 autoHideScrollBars: true |
596 autoHideScrollBars: true |
639 hasKeyboardFocusInitially: false |
597 hasKeyboardFocusInitially: false |
640 extent: (Point 110 214) |
598 extent: (Point 111 214) postBuildCallback: receiverWidgetCreated: |
641 postBuildCallback: receiverWidgetCreated: |
599 ) |
642 ) |
|
643 (VerticalPanelViewSpec |
600 (VerticalPanelViewSpec |
644 name: 'VerticalPanel1' |
601 name: 'VerticalPanel1' |
|
602 uuid: '92a864f6-e499-11e9-8918-10ddb1cc5928' |
645 horizontalLayout: fit |
603 horizontalLayout: fit |
646 verticalLayout: fit |
604 verticalLayout: fit |
647 horizontalSpace: 3 |
605 horizontalSpace: 3 |
648 verticalSpace: 3 |
606 verticalSpace: 3 |
649 component: |
607 component: |
650 (SpecCollection |
608 (SpecCollection |
651 collection: ( |
609 collection: ( |
652 (ViewSpec |
610 (ViewSpec |
653 name: 'Box1' |
611 name: 'Arg1Box' |
|
612 uuid: '92a8667c-e499-11e9-8918-10ddb1cc5928' |
654 visibilityChannel: arg1BoxVisible |
613 visibilityChannel: arg1BoxVisible |
655 component: |
614 component: |
656 (SpecCollection |
615 (SpecCollection |
657 collection: ( |
616 collection: ( |
658 (WorkspaceSpec |
617 (WorkspaceSpec |
659 name: 'Arg1Editor' |
618 name: 'Arg1Editor' |
660 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
619 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) activeHelpKey: arg1Value |
661 activeHelpKey: arg1Value |
620 uuid: '92a8678a-e499-11e9-8918-10ddb1cc5928' |
662 tabable: true |
621 tabable: true |
663 hasHorizontalScrollBar: true |
622 hasHorizontalScrollBar: true |
664 hasVerticalScrollBar: true |
623 hasVerticalScrollBar: true |
665 miniScrollerHorizontal: true |
624 miniScrollerHorizontal: true |
666 miniScrollerVertical: true |
625 miniScrollerVertical: true |
667 autoHideScrollBars: true |
626 autoHideScrollBars: true |
668 hasKeyboardFocusInitially: false |
627 hasKeyboardFocusInitially: false |
669 postBuildCallback: argument1WidgetCreated: |
628 postBuildCallback: argument1WidgetCreated: |
670 ) |
|
671 ) |
629 ) |
672 |
630 ) |
673 ) |
631 ) extent: (Point 111 69) |
674 extent: (Point 110 69) |
632 ) |
675 ) |
|
676 (ViewSpec |
633 (ViewSpec |
677 name: 'Box2' |
634 name: 'Arg2Box' |
|
635 uuid: '92a86974-e499-11e9-8918-10ddb1cc5928' |
678 visibilityChannel: arg2BoxVisible |
636 visibilityChannel: arg2BoxVisible |
679 component: |
637 component: |
680 (SpecCollection |
638 (SpecCollection |
681 collection: ( |
639 collection: ( |
682 (WorkspaceSpec |
640 (WorkspaceSpec |
683 name: 'TextEditor5' |
641 name: 'Arg2Editor' |
684 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
642 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) activeHelpKey: arg2Value |
685 activeHelpKey: arg2Value |
643 uuid: '92a86a6e-e499-11e9-8918-10ddb1cc5928' |
686 tabable: true |
644 tabable: true |
687 hasHorizontalScrollBar: true |
645 hasHorizontalScrollBar: true |
688 hasVerticalScrollBar: true |
646 hasVerticalScrollBar: true |
689 miniScrollerHorizontal: true |
647 miniScrollerHorizontal: true |
690 miniScrollerVertical: true |
648 miniScrollerVertical: true |
691 autoHideScrollBars: true |
649 autoHideScrollBars: true |
692 hasKeyboardFocusInitially: false |
650 hasKeyboardFocusInitially: false |
693 postBuildCallback: argument2WidgetCreated: |
651 postBuildCallback: argument2WidgetCreated: |
694 ) |
|
695 ) |
652 ) |
696 |
653 ) |
697 ) |
654 ) extent: (Point 111 70) |
698 extent: (Point 110 70) |
655 ) |
699 ) |
|
700 (ViewSpec |
656 (ViewSpec |
701 name: 'Box3' |
657 name: 'Arg3Box' |
|
658 uuid: '92a86c30-e499-11e9-8918-10ddb1cc5928' |
702 visibilityChannel: arg3BoxVisible |
659 visibilityChannel: arg3BoxVisible |
703 component: |
660 component: |
704 (SpecCollection |
661 (SpecCollection |
705 collection: ( |
662 collection: ( |
706 (WorkspaceSpec |
663 (WorkspaceSpec |
707 name: 'TextEditor6' |
664 name: 'Arg3Editor' |
708 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
665 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) activeHelpKey: arg3Value |
709 activeHelpKey: arg3Value |
666 uuid: '92a86d20-e499-11e9-8918-10ddb1cc5928' |
710 tabable: true |
667 tabable: true |
711 hasHorizontalScrollBar: true |
668 hasHorizontalScrollBar: true |
712 hasVerticalScrollBar: true |
669 hasVerticalScrollBar: true |
713 miniScrollerHorizontal: true |
670 miniScrollerHorizontal: true |
714 miniScrollerVertical: true |
671 miniScrollerVertical: true |
715 autoHideScrollBars: true |
672 autoHideScrollBars: true |
716 hasKeyboardFocusInitially: false |
673 hasKeyboardFocusInitially: false |
717 postBuildCallback: argument3WidgetCreated: |
674 postBuildCallback: argument3WidgetCreated: |
718 ) |
|
719 ) |
675 ) |
720 |
676 ) |
721 ) |
677 ) extent: (Point 111 69) |
722 extent: (Point 110 69) |
|
723 ) |
|
724 ) |
678 ) |
725 |
679 ) |
726 ) |
680 ) extent: (Point 111 214) |
727 extent: (Point 110 214) |
681 ) |
728 ) |
|
729 (WorkspaceSpec |
682 (WorkspaceSpec |
730 name: 'AnswerEditor' |
683 name: 'AnswerEditor' |
731 activeHelpKey: answerValue |
684 activeHelpKey: answerValue |
|
685 uuid: '92a86ef6-e499-11e9-8918-10ddb1cc5928' |
732 tabable: true |
686 tabable: true |
733 hasHorizontalScrollBar: true |
687 hasHorizontalScrollBar: true |
734 hasVerticalScrollBar: true |
688 hasVerticalScrollBar: true |
735 miniScrollerHorizontal: true |
689 miniScrollerHorizontal: true |
736 miniScrollerVertical: true |
690 miniScrollerVertical: true |
737 autoHideScrollBars: true |
691 autoHideScrollBars: true |
738 hasKeyboardFocusInitially: false |
692 hasKeyboardFocusInitially: false |
739 extent: (Point 110 214) |
693 extent: (Point 111 214) postBuildCallback: messageAnswerWidgetCreated: |
740 postBuildCallback: messageAnswerWidgetCreated: |
|
741 ) |
|
742 ) |
694 ) |
743 |
695 ) |
744 ) |
696 ) |
745 ) |
|
746 ) |
697 ) |
747 |
698 ) |
748 ) |
699 ) |
749 ) |
700 ) |
750 (ViewSpec |
701 (ViewSpec |
751 name: 'ReceiverArgBoxActionBox' |
702 name: 'ReceiverArgBoxActionBox' |
752 layout: (LayoutFrame 0 0 -98 0.5 0 1 -75 0.5) |
703 layout: (LayoutFrame 0 0 -98 0.5 0 1 -75 0.5) uuid: '92a870cc-e499-11e9-8918-10ddb1cc5928' |
753 component: |
704 component: |
754 (SpecCollection |
705 (SpecCollection |
755 collection: ( |
706 collection: ( |
756 (ActionButtonSpec |
707 (ActionButtonSpec |
757 activeHelpKey: clearButton |
|
758 label: 'Clear' |
708 label: 'Clear' |
759 name: 'Button2' |
709 name: 'Button2' |
760 layout: (LayoutFrame 5 0 0 0 -5 0.5 0 1) |
710 layout: (LayoutFrame 5 0 0 0 -5 0.5 0 1) activeHelpKey: clearButton |
|
711 uuid: '92a871d0-e499-11e9-8918-10ddb1cc5928' |
761 translateLabel: true |
712 translateLabel: true |
762 model: clear |
713 model: clear |
763 ) |
714 ) |
764 (ActionButtonSpec |
715 (ActionButtonSpec |
765 activeHelpKey: startSearchButton |
|
766 label: 'Search' |
716 label: 'Search' |
767 name: 'Button1' |
717 name: 'Button1' |
768 layout: (LayoutFrame 5 0.5 0 0 -5 1 0 1) |
718 layout: (LayoutFrame 5 0.5 0 0 -5 1 0 1) activeHelpKey: startSearchButton |
|
719 uuid: '92a8740a-e499-11e9-8918-10ddb1cc5928' |
769 translateLabel: true |
720 translateLabel: true |
770 tabable: true |
721 tabable: true |
771 model: search |
722 model: search |
772 ) |
|
773 ) |
723 ) |
774 |
724 ) |
775 ) |
725 ) |
776 ) |
726 ) |
777 (ViewSpec |
727 (ViewSpec |
778 name: 'MatchActionBox' |
728 name: 'MatchActionBox' |
779 layout: (LayoutFrame 0 0 -70 0.5 0 1 10 0.5) |
729 layout: (LayoutFrame 0 0 -70 0.5 0 1 10 0.5) uuid: '92a875e0-e499-11e9-8918-10ddb1cc5928' |
780 component: |
730 component: |
781 (SpecCollection |
731 (SpecCollection |
782 collection: ( |
732 collection: ( |
783 (LabelSpec |
733 (LabelSpec |
784 label: 'Selector Pattern:' |
734 label: 'Selector Pattern:' |
785 name: 'Label1' |
735 name: 'Label1' |
786 layout: (LayoutFrame 0 0 0 0 0 0.5 25 0) |
736 layout: (LayoutFrame 0 0 0 0 0 0.5 25 0) uuid: '92a876e4-e499-11e9-8918-10ddb1cc5928' |
787 translateLabel: true |
737 translateLabel: true |
788 adjust: left |
738 adjust: left |
789 ) |
739 ) |
790 (InputFieldSpec |
740 (InputFieldSpec |
791 name: 'EntryField1' |
741 name: 'EntryField1' |
792 layout: (LayoutFrame 2 0 -54 1 -2 1 -29 1) |
742 layout: (LayoutFrame 2 0 -54 1 -2 1 -29 1) uuid: '92a87838-e499-11e9-8918-10ddb1cc5928' |
793 model: selectorPatternHolder |
743 model: selectorPatternHolder |
794 immediateAccept: true |
744 immediateAccept: true |
795 acceptOnReturn: true |
745 acceptOnReturn: true |
796 acceptOnTab: true |
746 acceptOnTab: true |
797 acceptOnPointerLeave: true |
747 acceptOnPointerLeave: true |
798 ) |
748 ) |
799 (ActionButtonSpec |
749 (ActionButtonSpec |
800 label: 'Search' |
750 label: 'Search' |
801 name: 'Button4' |
751 name: 'Button4' |
802 layout: (LayoutFrame 5 0.5 -25 1 -5 1 0 1) |
752 layout: (LayoutFrame 5 0.5 -25 1 -5 1 0 1) uuid: '92a87a9a-e499-11e9-8918-10ddb1cc5928' |
803 translateLabel: true |
753 translateLabel: true |
804 tabable: true |
754 tabable: true |
805 model: searchPatternMatchesInBackground |
755 model: searchPatternMatchesInBackground |
806 ) |
|
807 ) |
756 ) |
808 |
757 ) |
809 ) |
758 ) |
810 ) |
759 ) |
811 (SequenceViewSpec |
760 (SequenceViewSpec |
812 name: 'ResultList' |
761 name: 'ResultList' |
813 layout: (LayoutFrame 0 0 15 0.5 0 1 0 1) |
762 layout: (LayoutFrame 0 0 15 0.5 0 1 0 1) uuid: '92a87c66-e499-11e9-8918-10ddb1cc5928' |
814 model: selectedImplementorsHolder |
763 model: selectedImplementorsHolder |
815 menu: resultListMenu |
764 menu: resultListMenu |
816 hasHorizontalScrollBar: true |
765 hasHorizontalScrollBar: true |
817 hasVerticalScrollBar: true |
766 hasVerticalScrollBar: true |
818 autoHideScrollBars: true |
767 autoHideScrollBars: true |
819 useIndex: true |
768 useIndex: true |
820 sequenceList: resultHolder |
769 sequenceList: resultHolder |
821 ) |
|
822 ) |
770 ) |
823 |
771 ) |
824 ) |
772 ) |
825 ) |
773 ) |
826 (VariableVerticalPanelSpec |
774 (VariableVerticalPanelSpec |
827 name: 'VariableVerticalPanel1' |
775 name: 'VariableVerticalPanel1' |
|
776 uuid: '92a87e78-e499-11e9-8918-10ddb1cc5928' |
828 component: |
777 component: |
829 (SpecCollection |
778 (SpecCollection |
830 collection: ( |
779 collection: ( |
831 (SequenceViewSpec |
780 (SequenceViewSpec |
832 name: 'List2' |
781 name: 'List2' |
833 model: selectedClassOfResultHolder |
782 uuid: '92a87fd6-e499-11e9-8918-10ddb1cc5928' |
|
783 model: selectedClassOfResultIndexHolder |
834 menu: implementorListMenu |
784 menu: implementorListMenu |
835 hasHorizontalScrollBar: true |
785 hasHorizontalScrollBar: true |
836 hasVerticalScrollBar: true |
786 hasVerticalScrollBar: true |
837 autoHideScrollBars: true |
787 autoHideScrollBars: true |
838 doubleClickSelector: openBrowserOn: |
788 doubleClickSelector: openBrowserOn: |
839 valueChangeSelector: selectedClassOfResultHolderChanged |
789 valueChangeSelector: selectedClassOfResultIndexHolderChanged |
840 useIndex: false |
790 useIndex: true |
841 sequenceList: classOfResultHolder |
791 sequenceList: classOfResultNameListHolder |
842 ) |
792 ) |
843 (CodeViewSpec |
793 (CodeViewSpec |
844 name: 'CodeView' |
794 name: 'CodeView' |
|
795 uuid: '92a88184-e499-11e9-8918-10ddb1cc5928' |
845 model: codeHolder |
796 model: codeHolder |
846 hasHorizontalScrollBar: true |
797 hasHorizontalScrollBar: true |
847 hasVerticalScrollBar: true |
798 hasVerticalScrollBar: true |
848 autoHideScrollBars: true |
799 autoHideScrollBars: true |
849 hasKeyboardFocusInitially: false |
800 hasKeyboardFocusInitially: false |
|
801 viewClassName: 'codeViewClass' |
850 postBuildCallback: sourceCodeWidgetCreated: |
802 postBuildCallback: sourceCodeWidgetCreated: |
851 viewClassName: 'codeViewClass' |
|
852 ) |
|
853 ) |
803 ) |
854 |
804 ) |
855 ) |
805 ) handles: (Any 0.5 1.0) |
856 handles: (Any 0.5 1.0) |
|
857 ) |
|
858 ) |
806 ) |
859 |
807 ) |
860 ) |
808 ) handles: (Any 0.37 1.0) |
861 handles: (Any 0.37391304347826104 1.0) |
|
862 ) |
|
863 ) |
809 ) |
864 |
810 ) |
865 ) |
811 ) |
866 ) |
812 ) |
867 |
|
868 "Modified: / 19-07-2019 / 12:01:12 / Claus Gittinger" |
|
869 ! ! |
813 ! ! |
870 |
814 |
871 !MethodFinderWindow class methodsFor:'menu specs'! |
815 !MethodFinderWindow class methodsFor:'menu specs'! |
872 |
816 |
873 helpMenu |
817 helpMenu |
1354 selectedImplementorChanged |
1308 selectedImplementorChanged |
1355 self updateImplementorsOf:selectedImplementorsHolder value |
1309 self updateImplementorsOf:selectedImplementorsHolder value |
1356 ! |
1310 ! |
1357 |
1311 |
1358 updateImplementorsOf:anInteger |
1312 updateImplementorsOf:anInteger |
1359 "Request the implementors of the selected argument provided by aNumber. |
1313 "Request the implementors of the selected argument provided by aNumber (index in list). |
1360 Return the receiver." |
1314 Return the receiver." |
1361 |
1315 |
1362 |methods classList aNumber| |
1316 |methods classList classNameList aNumber| |
1363 |
1317 |
1364 (anInteger isNil) ifTrue:[ |
1318 (anInteger isNil or:[anInteger == 0]) ifTrue:[ |
1365 ^ self |
1319 ^ self |
1366 ]. |
1320 ]. |
|
1321 |
1367 aNumber := anInteger ? 1. |
1322 aNumber := anInteger ? 1. |
1368 methods := SystemBrowser |
1323 methods := SystemBrowser |
1369 findImplementorsOf:(resultSelectors at:aNumber) |
1324 findImplementorsOf:(resultSelectors at:aNumber) |
1370 in:Smalltalk allClasses |
1325 in:Smalltalk allClasses |
1371 ignoreCase:false. |
1326 ignoreCase:false. |
1372 methods := methods asOrderedCollection. |
1327 methods := methods asOrderedCollection. |
1373 classList := methods collect:[:m | m mclass name , ' ' , m selector ]. |
1328 classList := methods collect:[:m | m mclass name , ' ' , m selector ]. |
1374 classList := self markMatchingClasses:(resultSelectors at:aNumber) |
1329 classList := self markMatchingClasses:(resultSelectors at:aNumber) classesWithSelector:classList. |
1375 classesWithSelector:classList. |
1330 |
|
1331 classNameList := classList with:methods collect:[:s1 :m | s1 , ' ' , ('{' , m category , '}') allGray ]. |
|
1332 |
1376 "/ now classList contains a list of <className> <selector>, |
1333 "/ now classList contains a list of <className> <selector>, |
1377 "/ where the one which is responsible for the selected result is marked (bold) |
1334 "/ where the one which is responsible for the selected result is marked (bold) |
1378 self classOfResultHolder value:classList. |
1335 self classOfResultListHolder value:classList. |
|
1336 self classOfResultNameListHolder value:classNameList. |
1379 |
1337 |
1380 "/ initially select the bold one |
1338 "/ initially select the bold one |
1381 classList notEmptyOrNil ifTrue:[ |
1339 classList notEmptyOrNil ifTrue:[ |
1382 |receiversMethodEntryInClass| |
1340 |idx receiversMethodEntryInClass| |
1383 |
1341 |
|
1342 idx := classList findFirst:#isText. |
|
1343 idx == 0 ifTrue:[ |
|
1344 "/ not found; select the first |
|
1345 idx := 1. |
|
1346 ]. |
1384 receiversMethodEntryInClass := classList detect:#isText ifNone:nil. |
1347 receiversMethodEntryInClass := classList detect:#isText ifNone:nil. |
1385 receiversMethodEntryInClass notNil ifTrue:[ |
1348 self selectedClassOfResultIndexHolder value:idx. |
1386 self selectedClassOfResultHolder value:receiversMethodEntryInClass. |
1349 self selectedClassOfResultIndexHolderChanged. |
1387 ] ifFalse:[ |
|
1388 self selectedClassOfResultHolder value:(classList first). |
|
1389 ]. |
|
1390 self selectedClassOfResultHolderChanged. |
|
1391 ] ifFalse:[ |
1350 ] ifFalse:[ |
1392 self selectedClassOfResultHolder value:nil. |
1351 self selectedClassOfResultIndexHolder value:nil. |
1393 ]. |
1352 ]. |
1394 |
1353 |
1395 "Modified (comment): / 24-06-2012 / 18:41:45 / cg" |
1354 "Modified (comment): / 24-06-2012 / 18:41:45 / cg" |
1396 "Modified: / 08-06-2019 / 15:39:49 / Claus Gittinger" |
1355 "Modified: / 08-06-2019 / 15:39:49 / Claus Gittinger" |
1397 ! |
1356 ! |
1398 |
1357 |
1399 updateListAfterPatternSearch:resultList |
1358 updateListAfterPatternSearch:resultList |
1400 |searchPattern idx| |
1359 |searchPattern idx| |
1401 |
1360 |
1402 self classOfResultHolder value:nil. |
1361 self classOfResultListHolder value:nil. |
1403 self codeHolder value:nil. |
1362 self codeHolder value:nil. |
1404 self resultHolder value:resultList. |
1363 self resultHolder value:resultList. |
1405 |
1364 |
1406 searchPattern := self selectorPatternHolder value. |
1365 searchPattern := self selectorPatternHolder value. |
1407 "/ is the search pattern in the list (i.e. a perfect match)? |
1366 "/ is the search pattern in the list (i.e. a perfect match)? |
1773 HTMLDocumentView openFullOnDocumentationFile:'tools/misc/TOP.html#METHODFINDER' |
1743 HTMLDocumentView openFullOnDocumentationFile:'tools/misc/TOP.html#METHODFINDER' |
1774 ! ! |
1744 ! ! |
1775 |
1745 |
1776 !MethodFinderWindow methodsFor:'private'! |
1746 !MethodFinderWindow methodsFor:'private'! |
1777 |
1747 |
|
1748 argStringAndValueFromEditorContents:editorContents |
|
1749 |associationKey associationValue| |
|
1750 |
|
1751 associationValue := Compiler |
|
1752 evaluate:editorContents |
|
1753 ifFail:[ |
|
1754 Dialog information:'Bad value in the answer field'. |
|
1755 AbortOperationRequest raise. |
|
1756 ]. |
|
1757 ((self isExpression:editorContents) or:[ associationValue isNil]) ifTrue:[ |
|
1758 "looks if an expression is typed in" |
|
1759 associationKey := associationValue printString |
|
1760 ] ifFalse:[ |
|
1761 associationKey := editorContents |
|
1762 ]. |
|
1763 ^ (associationKey -> associationValue). |
|
1764 ! |
|
1765 |
1778 argumentEditorsContents |
1766 argumentEditorsContents |
1779 "Determine how many text editors of the arguments are used and store the result |
1767 "Determine how many text editors of the arguments are used and store the result |
1780 as argCounter. The result being the minimum between how many editors have |
1768 as argCounter. The result being the minimum between how many editors have |
1781 expressions in and how many are displayed. |
1769 expressions in and how many are displayed. |
1782 |
1770 |
1783 Add each argument string (key)and the evaluated version (value) to an Ordered Dictionary |
1771 Add each argument string (key)and the evaluated version (value) to an Ordered Dictionary |
1784 from each of the text editors. |
1772 from each of the text editors. |
1785 |
1773 |
1786 Return the OrderedDictionary with the expressions from all the text editors. " |
1774 Return the OrderedDictionary with the expressions from all the text editors. " |
1787 |
1775 |
1788 | tempArguments argCounter tempArgument1Editor tempArgument2Editor tempArgument3Editor |
1776 | tempArguments argCounter |
1789 associationKey associationValue| |
1777 tempArgument1EditorContents tempArgument2EditorContents tempArgument3EditorContents | |
1790 |
1778 |
1791 argCounter:=0. |
1779 argCounter:=0. |
1792 |
1780 |
1793 tempArgument1Editor:= (self cleanInputs: argument1Editor contents). |
1781 tempArgument1EditorContents := (self cleanInputs: argument1Editor contents). |
1794 tempArgument2Editor:= (self cleanInputs: argument2Editor contents). |
1782 tempArgument2EditorContents := (self cleanInputs: argument2Editor contents). |
1795 tempArgument3Editor:= (self cleanInputs: argument3Editor contents). |
1783 tempArgument3EditorContents := (self cleanInputs: argument3Editor contents). |
1796 |
1784 |
1797 tempArgument1Editor = '' ifFalse:[argCounter:=argCounter +1]. |
1785 tempArgument1EditorContents = '' ifFalse:[argCounter := argCounter +1]. |
1798 tempArgument2Editor = '' ifFalse:[argCounter:=argCounter +1]. |
1786 tempArgument2EditorContents = '' ifFalse:[argCounter := argCounter +1]. |
1799 tempArgument3Editor = '' ifFalse:[argCounter:=argCounter +1]. |
1787 tempArgument3EditorContents = '' ifFalse:[argCounter := argCounter +1]. |
1800 |
1788 |
1801 argCounter:= (argCounter min: (self argCountHolder value -1)). |
1789 argCounter:= (argCounter min: (self argCountHolder value -1)). |
1802 tempArguments:= OrderedDictionary new:argCounter. |
1790 tempArguments:= OrderedDictionary new:argCounter. |
1803 |
1791 |
1804 (argCounter value >= 1) ifTrue:[ |
1792 (argCounter value >= 1) ifTrue:[ |
1805 associationValue:= (Compiler evaluate: tempArgument1Editor). |
1793 tempArguments add:(self argStringAndValueFromEditorContents:tempArgument1EditorContents) |
1806 ((self isExpression:tempArgument1Editor) or:[ associationValue isNil]) ifTrue:[ |
|
1807 "looks if an expression is typed in" |
|
1808 associationKey:=associationValue printString |
|
1809 ] ifFalse:[ |
|
1810 associationKey:=tempArgument1Editor |
|
1811 ]. |
|
1812 tempArguments add: associationKey-> associationValue. |
|
1813 ]. |
1794 ]. |
1814 (argCounter value >= 2) ifTrue:[ |
1795 (argCounter value >= 2) ifTrue:[ |
1815 associationValue:= (Compiler evaluate: tempArgument2Editor). |
1796 tempArguments add:(self argStringAndValueFromEditorContents:tempArgument2EditorContents) |
1816 (((self isExpression:tempArgument2Editor) or:[ associationValue isNil])) ifTrue:[ |
1797 ]. |
1817 "looks if an expression is typed in" |
|
1818 associationKey:=associationValue printString |
|
1819 ] ifFalse:[ |
|
1820 associationKey:=tempArgument2Editor |
|
1821 ]. |
|
1822 tempArguments add: associationKey-> associationValue |
|
1823 ]. |
|
1824 |
|
1825 (argCounter value >= 3) ifTrue:[ |
1798 (argCounter value >= 3) ifTrue:[ |
1826 associationValue:= (Compiler evaluate: tempArgument3Editor). |
1799 tempArguments add:(self argStringAndValueFromEditorContents:tempArgument3EditorContents) |
1827 ((self isExpression:tempArgument3Editor) or:[ associationValue isNil]) ifTrue:[ |
|
1828 "looks if an expression is typed in" |
|
1829 associationKey:=associationValue printString |
|
1830 ] ifFalse:[ |
|
1831 associationKey:=tempArgument3Editor |
|
1832 ]. |
|
1833 tempArguments add: associationKey-> associationValue |
|
1834 ]. |
1800 ]. |
1835 |
1801 |
1836 |
1802 |
1837 ^tempArguments |
1803 ^tempArguments |
1838 ! |
1804 ! |
1839 |
1805 |
1840 extractClassAndSelectorFrom:anArgument |
1806 extractClassAndSelectorFrom:anArgument |
1841 "Opens browser on theArgument of a specific class. anArgument being a string with the |
1807 "extracts the class and selector from a list entry, |
1842 Class and the selector upon which the browser is to be opened. Return the receiver." |
1808 which contains the classname and selector sep'd by a space. |
|
1809 Return an association" |
1843 |
1810 |
1844 |aClass aSelector x theArgument marker| |
1811 |aClass aSelector x theArgument marker| |
1845 |
1812 |
1846 anArgument isNil ifTrue:[ |
1813 anArgument isNil ifTrue:[ |
1847 ^ nil |
1814 ^ nil |