| 118 | } |
| 119 | |
| 120 | CommandDefinition* Module::getCommandDefinitionFor(StringRef menu, StringRef name) |
| 121 | { |
| 122 | if (menu == templateManager->menuName) return templateManager->defManager->getCommandDefinitionFor(menu, name); |
| 123 | if (name == String("Script callback")) return scriptCommanDef.get(); |
| 124 | return defManager->getCommandDefinitionFor(menu, name); |
| 125 | } |
| 126 | |
| 127 | PopupMenu Module::getCommandMenu(int offset, CommandContext context) |
| 128 | { |
no test coverage detected