##// END OF EJS Templates
Unplot menu (3): handles 'Unplot' menu when entering a tab or a zone...
Alexandre Leroux -
r299:257ddf015a9e
parent child
Show More
@@ -36,6 +36,7 struct GenerateVariableMenuOperation::GenerateVariableMenuOperationPrivate {
36 36 {
37 37 // Opens a new menu associated to the node
38 38 m_PlotMenuBuilder.addMenu(container.name());
39 m_UnplotMenuBuilder.addMenu(container.name());
39 40 }
40 41
41 42 template <typename ActionFun>
@@ -92,6 +93,7 void GenerateVariableMenuOperation::visitLeave(VisualizationWidget *widget)
92 93 void GenerateVariableMenuOperation::visitEnter(VisualizationTabWidget *tabWidget)
93 94 {
94 95 if (tabWidget) {
96 // 'Plot' and 'Unplot' menus
95 97 impl->visitNodeEnter(*tabWidget);
96 98 }
97 99 else {
@@ -116,6 +118,7 void GenerateVariableMenuOperation::visitLeave(VisualizationTabWidget *tabWidget
116 118 void GenerateVariableMenuOperation::visitEnter(VisualizationZoneWidget *zoneWidget)
117 119 {
118 120 if (zoneWidget) {
121 // 'Plot' and 'Unplot' menus
119 122 impl->visitNodeEnter(*zoneWidget);
120 123 }
121 124 else {
General Comments 0
You need to be logged in to leave comments. Login now