Isis 3.0
Home
Footprint2DViewWorkOrder.h
Go to the documentation of this file.
1 #ifndef Footprint2DViewWorkOrder_H
2 #define Footprint2DViewWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28  class ImageList;
29  class Project;
30  class ShapeList;
51  Q_OBJECT
52  public:
56 
57  virtual Footprint2DViewWorkOrder *clone() const;
58 
59  virtual bool isExecutable(ImageList *images);
60  virtual bool isExecutable(ShapeList *shapes);
61  bool execute();
62 
63  protected:
64  bool dependsOn(WorkOrder *other) const;
65  void syncRedo();
66  void syncUndo();
67 
68  private:
70  };
71 }
72 #endif
73 
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
virtual bool isExecutable(ImageList *images)
This method returns true if one of an image in ImageList images isFootprintable.
Definition: Footprint2DViewWorkOrder.cpp:83
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
void syncUndo()
This method is designed to be implemented by children work orders.
Definition: Footprint2DViewWorkOrder.cpp:214
void syncRedo()
This methods adds the current item to Footprint2DView.
Definition: Footprint2DViewWorkOrder.cpp:195
~Footprint2DViewWorkOrder()
Destructor.
Definition: Footprint2DViewWorkOrder.cpp:63
bool execute()
This method calls WorkOrder's execute.
Definition: Footprint2DViewWorkOrder.cpp:117
View an image list's footprints in a footprint view.
Definition: Footprint2DViewWorkOrder.h:50
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
bool dependsOn(WorkOrder *other) const
This method returns whether or not other depends on a Footprint2DViewWorkOrder.
Definition: Footprint2DViewWorkOrder.cpp:186
virtual Footprint2DViewWorkOrder * clone() const
This method clones the current Footprint2DViewWorkOrder and returns it.
Definition: Footprint2DViewWorkOrder.cpp:71
Footprint2DViewWorkOrder(Project *project)
Constructor.
Definition: Footprint2DViewWorkOrder.cpp:47