Isis 3 Programmer Reference
CloseProjectWorkOrder.h
Go to the documentation of this file.
1 #ifndef CloseProjectWorkOrder_H
2 #define CloseProjectWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28 
49  Q_OBJECT
50  public:
54 
55  virtual CloseProjectWorkOrder *clone() const;
56 
57  virtual bool isExecutable();
58  bool setupExecution();
59  void execute();
60 
61 
62  signals:
63 
64  private:
65  CloseProjectWorkOrder &operator=(const CloseProjectWorkOrder &rhs);
66  };
67 }
68 
69 #endif // CloseProjectWorkOrder_H
The main project for ipce.
Definition: Project.h:289
virtual bool isExecutable()
This method will always return true.
This opens a project that's saved on disk.
CloseProjectWorkOrder(Project *project)
This method sets the text of the work order to Close Project and sets setCreatesCleanState to true...
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.
virtual CloseProjectWorkOrder * clone() const
This method clones the CloseProjectWorkOrder.
bool setupExecution()
If WorkOrder::execute() returns true, then this method returns true.
void execute()
Clear the current Project
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