Isis 3.0 Programmer Reference
Home
RemoveImagesWorkOrder.h
Go to the documentation of this file.
1 #ifndef RemoveImagesWorkOrder_H
2 #define RemoveImagesWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28  class ImageList;
29  class Project;
30 
39  Q_OBJECT
40  public:
44 
45  virtual RemoveImagesWorkOrder *clone() const;
46 
47  virtual bool isExecutable(ImageList *images);
48 
49  bool execute();
50 
51  protected:
52  void syncRedo();
53 // void syncUndo();
54 
55  private:
56  RemoveImagesWorkOrder &operator=(const RemoveImagesWorkOrder &rhs);
57 
58  };
59 }
60 #endif
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
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
bool execute()
The (child) implementation of this method should prompt the user/gather state by any means necessary...
virtual bool isExecutable(ImageList *images)
Determines if we can remove this ImageList.
Removes selected images from current project.
void syncRedo()
This method is designed to be implemented by children work orders.