Provides a custom menu for the plugin CSIRO::Tools::WorkflowToolsPlugin within the Workspace editor.
#include <Tools/workflowtoolspluginmenu.h>
◆ WorkflowToolsPluginMenu()
Creates a menu which is inserted into the menu bar of the Workspace editor.
◆ ~WorkflowToolsPluginMenu()
◆ addExternalWorkflowDock()
void addExternalWorkflowDock |
( |
| ) |
|
|
protected |
◆ createMenu()
◆ destroy()
Subclasses will almost always implement this function simply as a call to the delete
operator, or to some kind of factory singleton which does this. Since PluginMenu subclass objects are usually instantiated by a singleton within the plugin, the destroy() function is necessary to ensure that the plugin also deletes instances.
Implements PluginMenu.
◆ getMenuName()
QString getMenuName |
( |
| ) |
const |
|
overridevirtual |
- Returns
- You must implement this and supply a title for your menu.
Implements PluginMenu.
◆ isTopLevelMenu()
bool isTopLevelMenu |
( |
| ) |
const |
|
overridevirtual |
The menu can be either directly inserted into the main menu bar or inserted as a submenu into a "Plugins" menu. The base class implementation returns true: override this to return false
Reimplemented from PluginMenu.
◆ onCurrentWorkflowChanged
void onCurrentWorkflowChanged |
( |
const QString & |
workflowFileName | ) |
|
|
overrideslot |
◆ runAnalyseWorkflowStructure
void runAnalyseWorkflowStructure |
( |
| ) |
|
|
slot |
◆ startWorkspaceAnalyseApp
void startWorkspaceAnalyseApp |
( |
| ) |
|
|
slot |
◆ dockManager_