*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Mon, 22 Jul 2019 16:53:15 +0200
changeset 3718 28252bcf11ad
parent 3717 26224649d91c
child 3719 4a8a3dc10ed8
*** empty log message ***
resources/shows/MethodFinder_de.show
resources/shows/MethodFinder_en.show
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/resources/shows/MethodFinder_de.show	Mon Jul 22 16:53:15 2019 +0200
@@ -0,0 +1,70 @@
+#(
+	show: 'Diese kleine Präsentation zeigt ihnen, wie man eine Methode findet, wenn das gewünschte ergebnis bekannt ist'
+	wait 0.5
+	show: 'Zum Beispiel beantwortet dieses Tool die Frage: "welche Funktion sortiert mir eine Liste", oder "wie bekomme ich einen String mit Großbuchstaben".'
+
+	intro
+
+	(unless: ( isEmpty: ReceiverEditor ) do:(
+	    (showing: 'um die Eingabefelder zu löschen, drücken sie auf den "Clear" Knopf' do:(
+		    fastMoveTo: ClearButton
+		    click
+	    ))
+	))
+
+	( showing: 'zuerst wählen sie die Anzahl der Argumente,' do:(
+	    moveTo: AllowedArguments
+	    select: '1 argument'
+	))
+	(showing: 'dann gehen sie zum "Empfänger" Feld' do:(
+	    moveTo: ReceiverEditor
+	    click
+	))
+	wait: 0.5
+	(showing: 'und geben einen Wert ein' do:(
+	    type: '10'
+	))
+	wait: 0.5
+	(showing: 'dann zum feld für das erste Argument' do:(
+	    moveTo: Arg1Editor
+	    click
+	))
+	wait: 0.5
+	(showing: 'und geben einen Wert für das Argument ein' do:(
+	    type: '1'
+	))
+	wait: 0.5
+	(showing: 'zuletzt gehen sie zum Feld für die Antwort"' do:(
+	    fastMoveTo: AnswerEditor
+	    click
+	))
+	(showing: 'und geben das erwartete Ergebnis ein' do:(
+	    type: '11'
+	))
+	wait: 0.5
+	(showing: 'zuletzt, klicken Sie auf den  "Suchen" Knopf' do:(
+	    fastMoveTo: SearchButton
+	    click
+	))
+	show: 'jetzt wird nach KOmbinationen gesucht, welche das gewünschte Ergebnis liefern'
+	fastMoveTo: ResultList
+	show: 'und passende Codefragmente werden in der Liste darunter angezeigt'
+	wait: 0.5
+	show: 'wenn darin eine Zeile angewählt wird,'
+	wait: 0.5
+	selectIndex: 2
+	wait: 0.5
+	fastMoveTo: ImplementorsList
+	show: 'werden die Implementierungen in der Liste rechts oben gezeigt'
+	wait: 0.5
+	show: 'wird darin ein Eintrag gewählt,'
+	selectIndex: 1
+	wait: 0.5
+	show: 'erscheint der Quellcode der Implementierung im unteren Editorfenster'
+	fastMoveTo: CodeView
+	wait: 0.5
+	show: 'Vielen Dank für Ihre Aufmerksamkeit'
+)
+
+    "Created: / 18-07-2019 / 21:59:06 / Claus Gittinger"
+    "Modified: / 19-07-2019 / 16:52:01 / Claus Gittinger"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/resources/shows/MethodFinder_en.show	Mon Jul 22 16:53:15 2019 +0200
@@ -0,0 +1,68 @@
+#(
+	show: 'this little presentation shows, how to find a method when the desired result is known'
+	wait 0.5
+	show: 'Questions answered by this tool are: "which function will sort a list", or "how do I get a string in upper case".'
+
+	intro
+
+	(unless: ( isEmpty: ReceiverEditor ) do:(
+	    (showing: 'you can clear the fields - by pressing the "Clear" button' do:(
+		    fastMoveTo: ClearButton
+		    click
+	    ))
+	))
+
+	( showing: 'start by choosing the number of arguments,' do:(
+	    moveTo: AllowedArguments
+	    select: '1 argument'
+	))
+	(showing: 'Click into the "receiver" field' do:(
+	    moveTo: ReceiverEditor
+	    click
+	))
+	wait: 0.5
+	(showing: 'Enter a value (or expression) into "receiver" field' do:(
+	    type: '10'
+	))
+	wait: 0.5
+	(showing: 'Click into the "first argument" field' do:(
+	    moveTo: Arg1Editor
+	    click
+	))
+	wait: 0.5
+	(showing: 'and enter a value for the argument' do:(
+	    type: '1'
+	))
+	wait: 0.5
+	(showing: 'Click into the "answer" field' do:(
+	    fastMoveTo: AnswerEditor
+	    click
+	))
+	(showing: 'Enter the expected result value into the "answer" field' do:(
+	    type: '11'
+	))
+	wait: 0.5
+	(showing: 'and finally, Click on the "search" button' do:(
+	    fastMoveTo: SearchButton
+	    click
+	))
+	show: 'now, the finder searches for combinations that produce the desired result'
+	fastMoveTo: ResultList
+	show: 'and present code which would produce it in the answer list below'
+	show: 'if you select any item there,'
+	wait: 0.5
+	selectIndex: 2
+	wait: 0.5
+	fastMoveTo: ImplementorsList
+	show: 'the implementations will be shown in the top right implementor list'
+	show: 'if you select any item there,'
+	selectIndex: 1
+	wait: 0.5
+	show: 'the implementation is shown in the bottom code editor'
+	fastMoveTo: CodeView
+	wait: 0.5
+	show: 'Thank you for watching, indeed'
+)
+
+    "Created: / 18-07-2019 / 21:59:06 / Claus Gittinger"
+    "Modified: / 19-07-2019 / 16:52:01 / Claus Gittinger"