Checks if this plugin should be displayed when files are selected. @return true to display this plugin when files are selected.
| 267 | // @return true to display this plugin when files are selected. |
| 268 | // |
| 269 | bool PipelinePlugin::ShowForFiles() const noexcept(false) |
| 270 | { |
| 271 | // This is stored in pipeline options. |
| 272 | bool showForFiles = Plugin::ShowForFiles(); |
| 273 | const Pipeline* pPipeline = GetPipeline(); |
| 274 | if (pPipeline != nullptr) { |
| 275 | PipelineOptions options; |
| 276 | pPipeline->ModifyOptions(options); |
| 277 | showForFiles = options.GetShowForFiles(); |
| 278 | } |
| 279 | return showForFiles; |
| 280 | } |
| 281 | |
| 282 | // |
| 283 | // Checks if this plugin should be displayed when folders are selected. |
nothing calls this directly
no test coverage detected