File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef CloseProjectWorkOrder_H
2 #define CloseProjectWorkOrder_H
56 #endif // CloseProjectWorkOrder_H
Saves a project to disk (File->Save Project...)
Definition: SaveProjectWorkOrder.h:47
~CloseProjectWorkOrder()
Destructor.
Definition: CloseProjectWorkOrder.cpp:47
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
virtual CloseProjectWorkOrder * clone() const
This method clones the CloseProjectWorkOrder.
Definition: CloseProjectWorkOrder.cpp:56
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
bool m_isSavedToHistory
Set the work order to be shown in the HistoryTreeWidget.
Definition: WorkOrder.h:537
void execute()
@description Clear the current Project
Definition: CloseProjectWorkOrder.cpp:106
void save(QXmlStreamWriter &stream) const
: Saves a WorkOrder to a data stream.
Definition: WorkOrder.cpp:544
void clear()
Function to clear out all values in a project essentially making it a new project object.
Definition: Project.cpp:459
This opens a project that's saved on disk.
Definition: CloseProjectWorkOrder.h:35
The main project for ipce.
Definition: Project.h:289
void addToProject(WorkOrder *)
This executes the WorkOrder and stores it in the project.
Definition: Project.cpp:2598
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
virtual bool isExecutable()
This method will always return true.
Definition: CloseProjectWorkOrder.cpp:65
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
void setCreatesCleanState(bool createsCleanState)
Declare that this work order is saving the project.
Definition: WorkOrder.cpp:1663
CloseProjectWorkOrder(Project *project)
This method sets the text of the work order to Close Project and sets setCreatesCleanState to true.
Definition: CloseProjectWorkOrder.cpp:28
void setClean(bool value)
Function to change the clean state of the project.
Definition: Project.cpp:1595
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
bool setupExecution()
If WorkOrder::execute() returns true, then this method returns true.
Definition: CloseProjectWorkOrder.cpp:75