1 #ifndef ViewControlNet3DWorkOrder_H
2 #define ViewControlNet3DWorkOrder_H
The main project for cnetsuite.
Definition: Project.h:105
~ViewControlNet3DWorkOrder()
The Destructor.
Definition: ViewControlNet3DWorkOrder.cpp:59
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
virtual bool isExecutable(ControlList *controls)
Determines if there is a control net to display.
Definition: ViewControlNet3DWorkOrder.cpp:79
ViewControlNet3DWorkOrder(Project *project)
Creates a WorkOrder that will display a control net.
Definition: ViewControlNet3DWorkOrder.cpp:41
void syncRedo()
Redisplays the control net.
Definition: ViewControlNet3DWorkOrder.cpp:120
This is a child of class WorkOrder which is used for anything that performs an action in a Project...
Definition: ViewControlNet3DWorkOrder.h:40
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
virtual ViewControlNet3DWorkOrder * clone() const
Returns a copy of this ViewControlNet3DWorkOrder instance.
Definition: ViewControlNet3DWorkOrder.cpp:67
bool execute()
Attempts to display a control network in 3D.
Definition: ViewControlNet3DWorkOrder.cpp:88
void syncUndo()
Deletes the last view.
Definition: ViewControlNet3DWorkOrder.cpp:128
bool dependsOn(WorkOrder *other) const
Determines whether a WorkOrder depends upon ViewControlNet3DWorkOrder.
Definition: ViewControlNet3DWorkOrder.cpp:111