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

Undoable command to load contents into a new Workspace operation.

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

Inheritance diagram for LoadWorkflowCmd:
[legend]

Public Member Functions

 LoadWorkflowCmd (Workspace &parentWorkspace, QUuid &id, const QString &filePath, bool loadExtReference)
 
void redo () override
 
void undo () override
 

Constructor & Destructor Documentation

◆ LoadWorkflowCmd()

LoadWorkflowCmd ( Workspace parentWorkspace,
QUuid &  id,
const QString &  filePath,
bool  loadExtReference 
)
Parameters
parentWorkspaceThe parent workflow where this command will add a new Workspace operation.
idThe id that will be set for the new Workspace operation.
filePathFile path to the workflow that will be loaded into the new Workspace operation.
loadExtReferenceSet to true to load the workflow as an external reference.

Member Function Documentation

◆ redo()

void redo ( )
override

◆ undo()

void undo ( )
override