resources/shows/MethodFinder_en.show
author Claus Gittinger <cg@exept.de>
Mon, 22 Jul 2019 16:53:15 +0200
changeset 3718 28252bcf11ad
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3718
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
#(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
	show: 'this little presentation shows, how to find a method when the desired result is known'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
	wait 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
	show: 'Questions answered by this tool are: "which function will sort a list", or "how do I get a string in upper case".'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
	intro
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
	(unless: ( isEmpty: ReceiverEditor ) do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
	    (showing: 'you can clear the fields - by pressing the "Clear" button' do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
		    fastMoveTo: ClearButton
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
		    click
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
	    ))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
	))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	( showing: 'start by choosing the number of arguments,' do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	    moveTo: AllowedArguments
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	    select: '1 argument'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	(showing: 'Click into the "receiver" field' do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	    moveTo: ReceiverEditor
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
	    click
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
	wait: 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
	(showing: 'Enter a value (or expression) into "receiver" field' do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
	    type: '10'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
	))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
	wait: 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
	(showing: 'Click into the "first argument" field' do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
	    moveTo: Arg1Editor
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
	    click
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
	))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
	wait: 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
	(showing: 'and enter a value for the argument' do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
	    type: '1'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
	))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
	wait: 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
	(showing: 'Click into the "answer" field' do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
	    fastMoveTo: AnswerEditor
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
	    click
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
	))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
	(showing: 'Enter the expected result value into the "answer" field' do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
	    type: '11'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
	))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
	wait: 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
	(showing: 'and finally, Click on the "search" button' do:(
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
	    fastMoveTo: SearchButton
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
	    click
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
	))
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
	show: 'now, the finder searches for combinations that produce the desired result'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
	fastMoveTo: ResultList
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
	show: 'and present code which would produce it in the answer list below'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
	show: 'if you select any item there,'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
	wait: 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
	selectIndex: 2
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
	wait: 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
	fastMoveTo: ImplementorsList
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
	show: 'the implementations will be shown in the top right implementor list'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
	show: 'if you select any item there,'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
	selectIndex: 1
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
	wait: 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
	show: 'the implementation is shown in the bottom code editor'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
	fastMoveTo: CodeView
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
	wait: 0.5
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
	show: 'Thank you for watching, indeed'
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
)
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
    "Created: / 18-07-2019 / 21:59:06 / Claus Gittinger"
28252bcf11ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
    "Modified: / 19-07-2019 / 16:52:01 / Claus Gittinger"