Isis 3 Programmer Reference
MoveToBottomSceneWorkOrder.cpp
1 #include "IsisDebug.h"
2 #include "MoveToBottomSceneWorkOrder.h"
3 
4 #include "MosaicSceneWidget.h"
5 
6 namespace Isis {
7 
8  MoveToBottomSceneWorkOrder::MoveToBottomSceneWorkOrder(MosaicSceneWidget *scene,
9  Project *project) :
10  MosaicSceneWorkOrder(tr("Send to Back"), scene, project) {
11  }
12 
13 
14  MoveToBottomSceneWorkOrder::MoveToBottomSceneWorkOrder(Project *project) :
15  MosaicSceneWorkOrder(project) {
16  }
17 
18 
19  MoveToBottomSceneWorkOrder::MoveToBottomSceneWorkOrder(
20  const MoveToBottomSceneWorkOrder &other) : MosaicSceneWorkOrder(other) {
21  }
22 
23 
24  MoveToBottomSceneWorkOrder::~MoveToBottomSceneWorkOrder() {
25  }
26 
27 
28  MoveToBottomSceneWorkOrder *MoveToBottomSceneWorkOrder::clone() const {
29  return new MoveToBottomSceneWorkOrder(*this);
30  }
31 
32 
34  storeZPositions( scene()->moveToBottom(imageList()) );
35  }
36 
37 
39  restoreZPositions(false);
40  }
41 }
MosaicSceneWidget * scene()
Returns the MosaicSceneWidget corresponding to this work order's interal data (the MosaicSceneWidget'...
void undoExecution()
Execute the steps necessary to undo this workorder.
void restoreZPositions(bool zValuesMightBeInUse)
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
ImageList * imageList()
Returns a pointer to the ImageList for this WorkOrder.
Definition: WorkOrder.cpp:645