pyface.tasks.action.task_action_manager_builder module

class pyface.tasks.action.task_action_manager_builder.TaskActionManagerBuilder[source]

Bases: ActionManagerBuilder

ActionManagerBuilder for Tasks.

This provides some additional convenience methods for extracting schema information from a task and using it to build menu bar and toolbar managers directly.

task = Instance(Task)

The Task to build menubars and toolbars for.

additions = Property(List(SchemaAddition), observe='task.extra_actions')

The schema additions provided by the Task.


Create a menu bar manager from the task’s menu bar schema and additions.


Create tool bar managers from the tasks’s tool bar schemas and additions.