Action Finder/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
This tool attempts to find action blocks which generate a given result when provided with given input values. |
This tool attempts to find action blocks which generate a given result when provided with given input values. |
||
[[Datei:NewActionPopUpMenu.png|thumbnail|200px|Popup Menu in Diagram Editor]] |
|||
The tool is opened via the "''New Step''" dialog in the diagram editor (the button at the top-right). |
The tool is opened via the "''New Step''" dialog in the diagram editor (the button at the top-right). |
||
[[Datei: |
[[Datei:OpenActionFinderInNewActionDialog.png|thumbnail|200px|New Step Dialog in Diagram Editor]] |
||
In the search dialog, click on "Search by Result": |
In the search dialog, click on "Search by Result": |
||
[[Datei: |
[[Datei:ActionFinderDialog1.png|thumbnail|200px|Action Finder]] |
||
The action finder presents fields to enter the input value(s) ("''Arguments''") at the top left, |
The action finder presents fields to enter the input value(s) ("''Arguments''") at the top left, |
||
the expected output value ("'Answer''") and a search button. |
the expected output value ("'Answer''") and a search button. |
||
Results of the search are found at the right side. |
Results of the search are found at the right side. |
||
[[Datei:ActionFinderDialog1.png|thumb|300px|Action Finder]] |
|||
=== Using the Action Finder === |
=== Using the Action Finder === |
||
Zeile 20: | Zeile 18: | ||
* first choose the number of input pins (in this case 2) in the top-left drop down list |
* first choose the number of input pins (in this case 2) in the top-left drop down list |
||
* enter the two input values |
* enter the two input values 'hello' and 'world'. For now, these must be given as Smalltalk literals (i.e. single quoted for strings). |
||
* enter the expected output value |
* enter the expected output value 'helloworld' |
||
* click on "''Search''" |
* click on "''Search''" |
||
⚫ | |||
⚫ | |||
Then,<br> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
;Click on "''New Step''" to get the action placed into your diagram |
|||
⚫ | |||
Aktuelle Version vom 16. August 2023, 10:56 Uhr
This tool attempts to find action blocks which generate a given result when provided with given input values.
The tool is opened via the "New Step" dialog in the diagram editor (the button at the top-right).
In the search dialog, click on "Search by Result":
The action finder presents fields to enter the input value(s) ("Arguments") at the top left, the expected output value ("'Answer") and a search button. Results of the search are found at the right side.
Using the Action Finder[Bearbeiten]
Assume that you need to find an action block to concatenate two strings. I.e. you need an action with 2 input pins where we want to provide the values "hello" and "world", and which should generate "helloworld" at its output pin:
- first choose the number of input pins (in this case 2) in the top-left drop down list
- enter the two input values 'hello' and 'world'. For now, these must be given as Smalltalk literals (i.e. single quoted for strings).
- enter the expected output value 'helloworld'
- click on "Search"
Then,
- the set of actions which generate that result will be shown in left-bottom list.
- Select an entry to see the action in the right area:
- Click on "New Step" to get the action placed into your diagram
Back to Online Documentation.
Back to Tools.