Isis 3 Programmer Reference
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 
57  class CubeDnViewWorkOrder : public WorkOrder {
58  Q_OBJECT
59  public:
63 
64  virtual CubeDnViewWorkOrder *clone() const;
65 
66  virtual bool isExecutable(ImageList *images);
67  virtual bool isExecutable(ShapeList *shapes);
68 
69  bool isUndoable() const;
70 
71  bool setupExecution();
72  void execute();
73 
74  protected:
75  bool dependsOn(WorkOrder *other) const;
76 
77  private:
78  CubeDnViewWorkOrder &operator=(const CubeDnViewWorkOrder &rhs);
79  };
80 }
81 #endif
Internalizes a list of shapes and allows for operations on the entire list.
Definition: ShapeList.h:33
bool setupExecution()
This method asks the user what view they want to see their cube list in.
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
This work order is designed to bring up a qview-like view for a small number of cubes.
CubeDnViewWorkOrder(Project *project)
This method sets the text of the work order.
bool dependsOn(WorkOrder *other) const
This method returns true if other depends on a CubeDnViewWorkOrder
void execute()
This method adds a new CubeDnView to the project's directory and then adds currentItem() to that...
virtual CubeDnViewWorkOrder * clone() const
This method clones the CubeDnViewWorkOrder.
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:322
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1314
virtual bool isExecutable(ImageList *images)
This check is used by Directory::supportedActions(DataType data).