| 6114 | } |
| 6115 | |
| 6116 | void |
| 6117 | LayoutViewBase::menu_activated (const std::string &symbol) |
| 6118 | { |
| 6119 | // Try the plugin declarations if the view is the top-level dispatcher |
| 6120 | if (dispatcher () == this) { |
| 6121 | for (tl::Registrar<lay::PluginDeclaration>::iterator cls = tl::Registrar<lay::PluginDeclaration>::begin (); cls != tl::Registrar<lay::PluginDeclaration>::end (); ++cls) { |
| 6122 | if (cls->menu_activated (symbol)) { |
| 6123 | return; |
| 6124 | } |
| 6125 | } |
| 6126 | } |
| 6127 | |
| 6128 | // distribute the menu item call on the plugins - one should take it. |
| 6129 | for (std::vector<lay::Plugin *>::const_iterator p = plugins ().begin (); p != plugins ().end (); ++p) { |
| 6130 | (*p)->menu_activated (symbol); |
| 6131 | } |
| 6132 | } |
| 6133 | |
| 6134 | void |
| 6135 | LayoutViewBase::update_content_for_cv (int /*cellview_index*/) |
no test coverage detected