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