Isis 3.0 Programmer Reference
Back | Home
CubeDnViewWorkOrder.h
Go to the documentation of this file.
1 #ifndef CubeDnViewWorkOrder_H
2 #define CubeDnViewWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28  class ImageList;
29  class Project;
30  class ShapeList;
31 
47  class CubeDnViewWorkOrder : public WorkOrder {
48  Q_OBJECT
49  public:
53 
54  virtual CubeDnViewWorkOrder *clone() const;
55 
56  virtual bool isExecutable(ImageList *images);
57  virtual bool isExecutable(ShapeList *shapes);
58 
59  bool execute();
60 
61  protected:
62  bool dependsOn(WorkOrder *other) const;
63  void syncRedo();
64 
65  private:
66  CubeDnViewWorkOrder &operator=(const CubeDnViewWorkOrder &rhs);
67  };
68 }
69 #endif
70 
Internalizes a list of shapes and allows for operations on the entire list.
Definition: ShapeList.h:33
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:44
The main project for cnetsuite.
Definition: Project.h:105
This work order is designed to bring up a qview-like view for a small number of cubes.
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
CubeDnViewWorkOrder(Project *project)
This method sets the text of the work order.
void syncRedo()
This method adds a new CubeDnView to the project's directory and then adds currentItem() to that...
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
bool execute()
If WorkOrder::execute() returns true, then this method returns true.
virtual CubeDnViewWorkOrder * clone() const
This method clones the CubeDnViewWorkOrder.
bool dependsOn(WorkOrder *other) const
This method returns true if other depends on a CubeDnViewWorkOrder.
virtual bool isExecutable(ImageList *images)
This check is used by Directory::supportedActions(DataType data).

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:17:07