Isis 3 Programmer 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.
This work order allows the user to view and edit a template.
virtual bool setupExecution()
Attempt to retrieve the Target info.
TemplateEditViewWorkOrder(Project *project)
Creates a WorkOrder that will retrieve Target info.
virtual bool isExecutable(ProjectItem *projectitem)
Determines if we can get target info.
virtual void execute()
Executes this work order.
virtual TemplateEditViewWorkOrder * clone() const
Returns a copy of this TemplateEditViewWorkOrder instance.
bool dependsOn(WorkOrder *other) const
Determines whether another WorkOrder depends upon TemplateEditViewWorkOrder.
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.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16