Isis Developer Reference
SetActiveImageListWorkOrder.h
Go to the documentation of this file.
1#ifndef SetActiveImageListWorkOrder_H
2#define SetActiveImageListWorkOrder_H
23#include "WorkOrder.h"
24
25namespace Isis {
26 class ImageList;
27
53 Q_OBJECT
54 public:
58
59 virtual SetActiveImageListWorkOrder *clone() const;
60
61 virtual bool isExecutable(ImageList *imageList);
62
63 virtual bool setupExecution();
64 virtual void execute();
65
66 private:
68 };
69}
70#endif
Internalizes a list of images and allows for operations on the entire list.
Definition ImageList.h:55
The main project for ipce.
Definition Project.h:289
This is a child of class WorkOrder which is used for anything that performs an action in a Project.
Definition SetActiveImageListWorkOrder.h:52
~SetActiveImageListWorkOrder()
The Destructor.
Definition SetActiveImageListWorkOrder.cpp:59
virtual bool setupExecution()
Simply calls the parent WorkOrder::setupExecution().
Definition SetActiveImageListWorkOrder.cpp:100
virtual void execute()
Executes this work order.
Definition SetActiveImageListWorkOrder.cpp:110
virtual SetActiveImageListWorkOrder * clone() const
Returns a copy of this SetActiveImageListWorkOrder instance.
Definition SetActiveImageListWorkOrder.cpp:67
SetActiveImageListWorkOrder(Project *project)
Creates a not undable WorkOrder that will set the active ImageList in the project.
Definition SetActiveImageListWorkOrder.cpp:37
virtual bool isExecutable(ImageList *imageList)
Determines if we can set this imageList as active.
Definition SetActiveImageListWorkOrder.cpp:78
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
ImageList * imageList()
Returns a pointer to the ImageList for this WorkOrder.
Definition WorkOrder.cpp:629
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16