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
Isis::TemplateEditViewWorkOrder::clone
virtual TemplateEditViewWorkOrder * clone() const
Returns a copy of this TemplateEditViewWorkOrder instance.
Definition: TemplateEditViewWorkOrder.cpp:77
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Isis::TemplateEditViewWorkOrder::TemplateEditViewWorkOrder
TemplateEditViewWorkOrder(Project *project)
Creates a WorkOrder that will retrieve Target info.
Definition: TemplateEditViewWorkOrder.cpp:46
Isis::TemplateEditViewWorkOrder::isExecutable
virtual bool isExecutable(ProjectItem *projectitem)
Determines if we can get target info.
Definition: TemplateEditViewWorkOrder.cpp:92
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::TemplateEditViewWorkOrder
This work order allows the user to view and edit a template.
Definition: TemplateEditViewWorkOrder.h:42
Isis::TemplateEditViewWorkOrder::dependsOn
bool dependsOn(WorkOrder *other) const
Determines whether another WorkOrder depends upon TemplateEditViewWorkOrder.
Definition: TemplateEditViewWorkOrder.cpp:156
Isis::TemplateEditViewWorkOrder::setupExecution
virtual bool setupExecution()
Attempt to retrieve the Target info.
Definition: TemplateEditViewWorkOrder.cpp:119
Isis::TemplateEditViewWorkOrder::~TemplateEditViewWorkOrder
~TemplateEditViewWorkOrder()
The Destructor.
Definition: TemplateEditViewWorkOrder.cpp:69
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::TemplateEditViewWorkOrder::execute
virtual void execute()
Executes this work order.
Definition: TemplateEditViewWorkOrder.cpp:139
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ProjectItem
Represents an item of a ProjectItemModel in Qt's model-view framework.
Definition: ProjectItem.h:134