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