Isis 3 Programmer Reference
TemplateEditViewWorkOrder.h
Go to the documentation of this file.
1 #ifndef TemplateEditViewWorkOrder_H
2 #define TemplateEditViewWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28  class Template;
29  class ProjectItem;
30 
43  Q_OBJECT
44  public:
48 
49  virtual TemplateEditViewWorkOrder *clone() const;
50 
51  virtual bool isExecutable(ProjectItem *projectitem);
52  virtual bool setupExecution();
53  virtual void execute();
54 
55  protected:
56  bool dependsOn(WorkOrder *other) const;
57 
58  private:
60  };
61 }
62 #endif
virtual bool setupExecution()
Attempt to retrieve the Target info.
The main project for ipce.
Definition: Project.h:289
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.
TemplateEditViewWorkOrder(Project *project)
Creates a WorkOrder that will retrieve Target info.
This work order allows the user to view and edit a template.
virtual TemplateEditViewWorkOrder * clone() const
Returns a copy of this TemplateEditViewWorkOrder instance.
bool dependsOn(WorkOrder *other) const
Determines whether another WorkOrder depends upon TemplateEditViewWorkOrder.
Represents an item of a ProjectItemModel in Qt's model-view framework.
Definition: ProjectItem.h:146
virtual void execute()
Executes this work order.
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(ProjectItem *projectitem)
Determines if we can get target info.