Class representing actions that can be taken with regards to top-evel Workspace inputs/outputs.
#include <Workspace/Presentation/connectworkspacetotopleveloperationactions.h>
Inherits QObject.
◆ ConnectionType
Enumerator |
---|
TypeInput | |
TypeOutput | |
◆ connect()
- Parameters
-
workspace | The workspace we are adding inputs/outputs to. |
topLevelOperation | The source operation in the root workspace to connect to. |
connectionType | Specify whether to connect to the top level using WorkspaceInputs or WorkspaceOutputs. |
newOpCoords | Coordinates of the the new operation. |
Creates a WorkspaceOutput or WorkspaceInput at each level of the Workspace hierarchy in order to connect the specified workspace all the way to a specific operation in a root workflow.
- Returns
- The newly created WorkspaceInput or WorkspaceOutput operation connected all the way to the source operation in the root workflow.
◆ populateMenu()
- Parameters
-
menu | Menu where actions will be added to. |
rootWorkspace | Root worfklow. |
connectionType | Specify where the source connection port is a Input or Output. |
dataFactoryRestriction | Specify the source connection ports data type to restrict valid target operations in the Root workflow. |
- Returns
- A list of new actions to connect to valid top level operations.