Isis Developer 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
ProjectItem.h
Isis::TemplateEditViewWorkOrder::clone
virtual TemplateEditViewWorkOrder * clone() const
Returns a copy of this TemplateEditViewWorkOrder instance.
Definition: TemplateEditViewWorkOrder.cpp:77
Isis::WorkOrder::setupExecution
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Project.h
Isis::Directory::templateEditorViews
QList< TemplateEditorWidget * > templateEditorViews()
Accessor for the list of TemplateEditorWidgets currently available.
Definition: Directory.cpp:1395
Isis::WorkOrder::m_isSavedToHistory
bool m_isSavedToHistory
Set the work order to be shown in the HistoryTreeWidget.
Definition: WorkOrder.h:537
Directory.h
Isis::WorkOrder::setInternalData
void setInternalData(QStringList data)
Sets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1318
TemplateEditViewWorkOrder.h
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
QStringList
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::Project::directory
Directory * directory() const
Returns the directory associated with this Project.
Definition: Project.cpp:1229
Isis::TemplateEditViewWorkOrder
This work order allows the user to view and edit a template.
Definition: TemplateEditViewWorkOrder.h:42
TemplateEditorWidget.h
WorkOrder.h
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::WorkOrder::m_isUndoable
bool m_isUndoable
Set the workorder to be undoable/redoable This is defaulted to true - his will allow the workorder to...
Definition: WorkOrder.h:523
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::Template::fileName
QString fileName() const
Get the file name that this Template represents.
Definition: Template.cpp:50
Isis::TemplateEditViewWorkOrder::~TemplateEditViewWorkOrder
~TemplateEditViewWorkOrder()
The Destructor.
Definition: TemplateEditViewWorkOrder.cpp:69
Isis::Template
Definition: Template.h:30
Isis::WorkOrder::getTemplate
Template * getTemplate()
WorkOrder::getTemplate.
Definition: WorkOrder.cpp:736
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::IException
Isis exception class.
Definition: IException.h:91
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Isis::TemplateEditViewWorkOrder::execute
virtual void execute()
Executes this work order.
Definition: TemplateEditViewWorkOrder.cpp:139
Isis::WorkOrder::internalData
QStringList internalData() const
Gets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1377
Template.h
Isis::Directory::addTemplateEditorView
TemplateEditorWidget * addTemplateEditorView(Template *currentTemplate)
Add template editor view widget to the window.
Definition: Directory.cpp:966
Isis::TemplateEditorWidget
Widget for displaying information about a target.
Definition: TemplateEditorWidget.h:35
Isis::ProjectItem::getTemplate
Template * getTemplate() const
Returns the Template stored in the data of the item.
Definition: ProjectItem.cpp:516
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
Isis::ProjectItem::isTemplate
bool isTemplate() const
Definition: ProjectItem.cpp:602