| 1 | = ProMoT Variable Editor (Edit Details) = |
| 2 | |
| 3 | (single changes/combination of changes) |
| 4 | |
| 5 | == Before == |
| 6 | * Load the logical library [[BR]] '/Promot/trunk/promot/kb/SignalTransd/structure/struct-ana-library.mdl' |
| 7 | * Load the logical toymodel from tutorial [[BR]] '/Promot/trunk/promot/kb/SignalTransd/structure/toymodel_tutorial/LOAD_toymodel.mdl' |
| 8 | |
| 9 | * Open the Visual Editor for the browser tree node "cell" by double click. |
| 10 | * Open details dialog (in context menu: Edit Details) for element 'k2' |
| 11 | |
| 12 | == Tests == |
| 13 | |
| 14 | * View --> All Slot Variables: Toggle Show/Hide in table |
| 15 | * View --> Value etc.: Toggle Show/Hide column 'Value etc.' in table |
| 16 | |
| 17 | Tests in Table: |
| 18 | * Drag arbitrary column in table to new position |
| 19 | * Columns 'Value' and '!DontOptimize' are editable |
| 20 | * Only Rows with leaves in the tree are editable |
| 21 | * Cells in column '!DontOptimize' accept only value 'true' or 'false' otherwise the value is reset to old value |
| 22 | |
| 23 | Test in Save/Close (using button 'Close and 'Save' or menu items 'Details-->Save' and 'Details-->Close'): |
| 24 | * Without edits 'Close' operation enforces no additional dialog |
| 25 | * With edits 'Close' operation enforces an additional dialog 'Save, Discard, Cancel' |
| 26 | * 'Save' operation reset the dialog to the 'no edits' status. Hence a subsequent 'Close' operation (without edits) enforces no additional dialog. |
| 27 | |
| 28 | * Change slot name of 'k2' from 'k2' to 'k2test', perform 'Save' operation, the label of element 'k2' in the editor is changed accordingly |
| 29 | * Change slot class of 'k2' from 'kinase' to 'phosphatase', perform 'Save' operation, the icon of element 'k2' in the editor is changed accordingly |
| 30 | * Change Documentation of 'k2' from ' ' to '!DocuTest'. |
| 31 | |
| 32 | * Change 'Value' of variable "map_number" of "k2" from '1' to '3', perform 'Save' operation |
| 33 | * Change '!DontOptimize' of variable "defval" of "k2" from 'false' to 'true', perform 'Save' operation |
| 34 | * For testing perform 'Close' operation, reopen details dialog for element 'k2' |