Skip to content

Add a node-based task-editor panel.

David Thompson requested to merge dcthomp/smtk:task-node into master

Show and raise the task panel when loading a project; tasks are illustrated as nodes in a graph whose edges are dependencies and task-adaptors.

This also:

  • Adds task styles to the smtk::task::Manager and makes the attribute-editor panel respond to active task changes that provide an attribute view style.

  • Renames project plugins to make room for a "base" plugin. Now the two paraview-dependent plugins are named

    • smtkPQCoreProjectPlugin – registers GUI functionality but does not create GUI elements.
    • smtkPQGuiProjectPlugin – add GUI elements to application.

    We also now register only the project manager and other core classes (that have no Qt/ParaView dependencies) in a new "core" project plugin.

  • Fixes an issue with GatherResources warnings. Warnings were being emitted even when attribute IDs were discovered because finding an ID never reset the warning flag.

  • Fixes a FillOutAttributes initialization issue; unless a task was set to autoconfigure, it would never report being properly configured (even if its serialized configuration included resource ids as needed).

  • Ensures application state is available when reading resources. We pass the smtk::common::Managers instance from the ReadResource operation to the internal Read operation it creates so that they can access application state. This is required for projects whose task managers need access to at least a resource::Manager in order to find external components specified by UUID in their configuration.

  • Fixes a task deserialization issue. When tasks are written, there is no guarantee they will be ordered by monotonically increasing ID. Take this into account when restoring saved state through a new method that allows callers to specify (rather than be assigned) a swizzle ID.

Co-authored-By: John Tourtellott john.tourtellott@kitware.com Co-authored-By: David Thompson david.thompson@kitware.com

Merge request reports