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 }
Isis::MosaicSceneWorkOrder::scene
MosaicSceneWidget * scene()
Returns the MosaicSceneWidget corresponding to this work order's interal data (the MosaicSceneWidget'...
Definition: MosaicSceneWorkOrder.cpp:50
Isis::WorkOrder::imageList
ImageList * imageList()
Returns a pointer to the ImageList for this WorkOrder.
Definition: WorkOrder.cpp:631
Isis::MoveToBottomSceneWorkOrder::execute
void execute()
Execute the workorder.
Definition: MoveToBottomSceneWorkOrder.cpp:33
Isis::MoveToBottomSceneWorkOrder::undoExecution
void undoExecution()
Execute the steps necessary to undo this workorder.
Definition: MoveToBottomSceneWorkOrder.cpp:38
Isis::MosaicSceneWorkOrder::restoreZPositions
void restoreZPositions(bool zValuesMightBeInUse)
Definition: MosaicSceneWorkOrder.cpp:67
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16