| 125 | } |
| 126 | |
| 127 | PopupMenu Module::getCommandMenu(int offset, CommandContext context) |
| 128 | { |
| 129 | PopupMenu m = defManager->getCommandMenu(offset, context); |
| 130 | m.addSeparator(); |
| 131 | templateManager->defManager->addCommandsToMenu(&m, offset + 500, context); |
| 132 | m.addItem(offset + 401, "Script callback"); |
| 133 | return m; |
| 134 | } |
| 135 | |
| 136 | CommandDefinition* Module::getCommandDefinitionForItemID(int itemID) |
| 137 | { |
no test coverage detected