Isis 3 Programmer Reference
CnetEditorViewWorkOrder.h
1#ifndef CnetEditorViewWorkOrder_H
2#define CnetEditorViewWorkOrder_H
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "WorkOrder.h"
13
14namespace Isis {
15class ControlList;
16class Directory;
17class Project;
18
39 Q_OBJECT
40 public:
44
45 virtual CnetEditorViewWorkOrder *clone() const;
46
47 virtual bool isExecutable(ControlList *controls);
48 bool setupExecution();
49
50 protected:
51 bool dependsOn(WorkOrder *other) const;
52 void execute();
53 void undoExecution();
54
55 private:
57 };
58}
59#endif
This work order allows the user to open a cnet editor (table) view of a single control network.
virtual bool isExecutable(ControlList *controls)
Re-implement this method if your work order utilizes a control for data in order to operate.
bool dependsOn(WorkOrder *other) const
Indicate workorder dependency This is a virtual function whose role in child classes is to determine ...
void undoExecution()
Execute the steps necessary to undo this workorder.
bool setupExecution()
This sets up the state for the work order.
void execute()
Execute the workorder.
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition ControlList.h:44
The main project for ipce.
Definition Project.h:289
Provide Undo/redo abilities, serialization, and history for an operation.
Definition WorkOrder.h:311
Project * project() const
Returns the Project this WorkOrder is attached to.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16