getText should be implemented in child classes, and should return either a string that will make up a menu item label or a list of strings which will make numerous menu items. These menu items will be added to the root menu
(self, callingWindow, context, mainItem, selection)
| 211 | |
| 212 | @abstractmethod |
| 213 | def _baseGetText(self, callingWindow, context, mainItem, selection): |
| 214 | """ |
| 215 | getText should be implemented in child classes, and should return either |
| 216 | a string that will make up a menu item label or a list of strings which |
| 217 | will make numerous menu items. |
| 218 | |
| 219 | These menu items will be added to the root menu |
| 220 | """ |
| 221 | raise NotImplementedError |
| 222 | |
| 223 | @abstractmethod |
| 224 | def _baseGetSubMenu(self, callingWindow, context, mainItem, selection, rootMenu, i, pitem): |