Isis Developer Reference
CubeDnViewWorkOrder.h
Go to the documentation of this file.
1#ifndef CubeDnViewWorkOrder_H
2#define CubeDnViewWorkOrder_H
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "WorkOrder.h"
13
14namespace Isis {
15 class ImageList;
16 class Project;
17 class ShapeList;
18
45 Q_OBJECT
46 public:
50
51 virtual CubeDnViewWorkOrder *clone() const;
52
53 virtual bool isExecutable(ImageList *images);
54 virtual bool isExecutable(ShapeList *shapes);
55
56 bool isUndoable() const;
57
58 bool setupExecution();
59 void execute();
60
61 protected:
62 bool dependsOn(WorkOrder *other) const;
63
64 private:
65 CubeDnViewWorkOrder &operator=(const CubeDnViewWorkOrder &rhs);
66 };
67}
68#endif
This work order is designed to bring up a qview-like view for a small number of cubes.
Definition CubeDnViewWorkOrder.h:44
virtual CubeDnViewWorkOrder * clone() const
This method clones the CubeDnViewWorkOrder.
Definition CubeDnViewWorkOrder.cpp:59
CubeDnViewWorkOrder(Project *project)
This method sets the text of the work order.
Definition CubeDnViewWorkOrder.cpp:34
bool setupExecution()
This method asks the user what view they want to see their cube list in.
Definition CubeDnViewWorkOrder.cpp:100
bool dependsOn(WorkOrder *other) const
This method returns true if other depends on a CubeDnViewWorkOrder.
Definition CubeDnViewWorkOrder.cpp:179
void execute()
This method adds a new CubeDnView to the project's directory and then adds currentItem() to that.
Definition CubeDnViewWorkOrder.cpp:153
~CubeDnViewWorkOrder()
Destructor.
Definition CubeDnViewWorkOrder.cpp:51
virtual bool isExecutable(ImageList *images)
This check is used by Directory::supportedActions(DataType data).
Definition CubeDnViewWorkOrder.cpp:70
Internalizes a list of images and allows for operations on the entire list.
Definition ImageList.h:55
The main project for ipce.
Definition Project.h:289
Internalizes a list of shapes and allows for operations on the entire list.
Definition ShapeList.h:33
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.
Definition WorkOrder.cpp:1298
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16