Turn tasks into components
This MR explores what is required to make smtk::task::Task
inherit smtk::resource::Component
. The motivation is to allow operations to more easily modify a project's workflows and report results that way.
The changes here are incomplete, but enough to get tasks working with the modified inheritance. The remaining work includes (but is not limited to):
- Adaptor should also inherit
smtk::resource::Component
. The task manager does not currently have its parent resource/project set.The project does not implement methods to find tasks by UUID or search string.Deserialization is tested and works, but serialization is untested. In both cases, some remedial work should be done to clean up unused code now that UUIDs serve as persistent (not ephemeral) task IDs.- Operations should be created to change the active task.
- It might be wise to refactor the observers currently triggered by
smtk/task/Instances
into an operation observer that notifies of changes in reported tasks.
Edited by David Thompson