Workspace 6.21.5
Public Member Functions | List of all members
EnableAllConnectionsCmd Class Reference

Command class for enabling all connections.

#include <Workspace/DataExecution/UndoCommands/enableallconnectionscmd.h>

Inheritance diagram for EnableAllConnectionsCmd:
[legend]

Public Member Functions

 EnableAllConnectionsCmd (Workspace &workspace, bool enableNested)
 
void redo () override
 
void undo () override
 

Constructor & Destructor Documentation

◆ EnableAllConnectionsCmd()

EnableAllConnectionsCmd ( Workspace workspace,
bool  enableNested 
)
Parameters
workspacethe Workspace on which the command is to operate
enableNestedwhether to also enable connections in nested workflows

Initialises the "enable all connections" undo command.

Member Function Documentation

◆ redo()

void redo ( )
override

Enables all of the specified connections.

◆ undo()

void undo ( )
override

Disables all of the specified connections.