Changes between Version 15 and Version 16 of PromotEditorTest
- Timestamp:
- Jul 22, 2009, 11:05:35 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PromotEditorTest
v15 v16 41 41 12. !EditDetailsDialog (see [wiki:ProMoTVarEditorTest detailed tests]) 42 42 13. Open the !EditDetailsDialog for the slot "not_r1_r2_a2", add a documentation string and set the 'ignore_in_export' variable to the value '1', save and close (see test 12). Then select the slots "!r1", "!r2", "not_r1_r2_a2", "not_lr" and "a2" and press 'Ctrl + C' and 'Ctrl + V'. The slots "!r10", "!r20", "not_lr0" "not_r1_r2_a20" and "a20" are created and connected like the original. Check via the !EditDetailsDialog or in the mdl that "not_r1_r2_a20" has the value '1' for the variable 'ignore_in_export' and the same documentation string like "not_r1_r2_a2". Open the visual editor for the class "nucleus" and also press 'Ctrl + V', the slots are created, check again the names variables and documentation. 43 14. Select the slot "nucleus" and choose from the menu 'Tools'->'Elevate Module Content'. Three slots named "k3p1_k3p2_tf1" "tf1" and "drain" are created and the ports of the gate are connected to the gates "k3p1" and "k3p2". The class nucleus is deleted. TODO: check if docu and variables are transfered..43 14. Open the visual editor for the class "nucleus", open the !EditDetailsDialog for the slot "k3p1_k3p2_tf1" and change the variable "ignore_in_export" to the value "1", the variable "output.a" to the value "2" and add a documentation String. Save and close the dialog and the editor for "nucleus". Select the slot "nucleus" and choose from the menu 'Tools'->'Elevate Module Content'. Three slots named "k3p1_k3p2_tf1" "tf1" and "drain" are created and the ports of the gate are connected to the gates "k3p1" and "k3p2". The class nucleus is deleted. Now open the !EditDetailsDialog and check if the docu and variables are transfered. 44 44 15. Edit the variables and docu of "not_r1_r2_a2" like in test 13. Select the slots "!r1", "!r2", "not_r1_r2_a2", "not_lr" and "a2" and choose from the menu 'Tools'->'Create Class From Selection', press OK in the class name dialog. The new class with the name "new_submodule_of_cell" is created and contains the selected slots, check via !EditDetailsDialog or in the mdl that the variables and docu for "not_r1_r2_a2" is transfered and the previously selected slots are deleted from the class cell. 45 45 16. Choose from the menu 'Model'->'Export Graphics'->'Save Graphics to EPS', choose a target directory for the export, type a name and click to 'Save'. Repeat for the formats gif and gif-icon. Check the created files.