| 13 | public: |
| 14 | MyTool() : RibbonMenuItem( "My Tool" ) {} |
| 15 | virtual bool action() override |
| 16 | { |
| 17 | showModal( "Hello World!", MR::NotificationType::Info ); |
| 18 | return false; // true will lead Viewer to keep this tool activated in ribbon |
| 19 | } |
| 20 | }; |
| 21 | |
| 22 | class MyStateTool : public StatePlugin |
nothing calls this directly
no test coverage detected