1 #ifndef CnetEditorViewWorkOrder_H
2 #define CnetEditorViewWorkOrder_H
The main project for cnetsuite.
Definition: Project.h:105
virtual CnetEditorViewWorkOrder * clone() const
Definition: CnetEditorViewWorkOrder.cpp:57
~CnetEditorViewWorkOrder()
Definition: CnetEditorViewWorkOrder.cpp:53
virtual bool isExecutable(ControlList *controls)
Re-implement this method if your work order utilizes a control for data in order to operate...
Definition: CnetEditorViewWorkOrder.cpp:62
Maintains a list of Controls so that control nets can easily be copied from one Project to another...
Definition: ControlList.h:34
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
bool dependsOn(WorkOrder *other) const
This is a virtual function whose role in child classes is to determine if this WorkOrder deppends on ...
Definition: CnetEditorViewWorkOrder.cpp:83
bool execute()
The (child) implementation of this method should prompt the user/gather state by any means necessary...
Definition: CnetEditorViewWorkOrder.cpp:71
void syncRedo()
This method is designed to be implemented by children work orders.
Definition: CnetEditorViewWorkOrder.cpp:89
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
void syncUndo()
This method is designed to be implemented by children work orders.
Definition: CnetEditorViewWorkOrder.cpp:96
This work order allows the user to open a cnet editor (table) view of a single control network...
Definition: CnetEditorViewWorkOrder.h:36
CnetEditorViewWorkOrder(Project *project)
Definition: CnetEditorViewWorkOrder.cpp:42