86 | | Menus:: XXX |
87 | | don't forget right click menu --- different depending on selected item |
| 86 | Menus:: By right-clicking on specific entities of a class widget, a menu will open and offer several possibilities to edit and refactor program entities. All operations are done with the help of Squeak's refactoring engine. ''Please note, these changes will also be reflected in source code, immediately.''' |
| 87 | * ''Class name:'' Rename or delete class. Furthermore, add variables, method, and category as well as create accessors. |
| 88 | * ''Variables:'' Add, rename, and delete variable. Also, create accessors. |
| 89 | * ''Method categories:'' Rename category and add method. |
| 90 | * ''Methods:'' Rename and delete method. Add, remove, and inline parameter. |
89 | | Line:: There are two kinds of lines between class widgets (based on UML). First, associations represent instance variables and their applied types. For example, in the figure above the spellChecker variable of !CodeSpellChecker includes a Hunspell object. The arrow heads represent the navigation/access directions. Here, Hunspell objects are not able to access !CodeSpellChecker objects through this variable. Second, inheritance relationships between classes are represented by a line with an unfilled triangle at the end. |
| 92 | In order to change source code, drag'n'drop the method name and edit the corresponding source code in the opened method widget. |
| 93 | |
| 94 | Line:: There are two kinds of lines between class widgets (based on UML). First, associations represent instance variables and their applied types. For example, in the figure above the spellChecker variable of !CodeSpellChecker includes a Hunspell object. The arrow heads represent the navigation/access directions and the labels show the name and cardinality. Here, Hunspell objects are not able to access !CodeSpellChecker objects through this variable. Second, inheritance relationships between classes are represented by a line with an unfilled triangle at the end. |