exopy.tasks.tasks.base_views module

Definition of the base views for the tasks.

If need be one can inherit from an enamldef class to build a new class using class.

class exopy.tasks.tasks.base_views.BaseTaskView(parent=None, **kwargs)

Bases: exopy.utils.enaml_destroy_hook.add_destroy_hook.<locals>.Destroyable

Base class for all task views.

refresh
root

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

task

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

class exopy.tasks.tasks.base_views.ComplexTaskView(parent=None, **kwargs)

Bases: exopy.tasks.tasks.base_views.BaseTaskView

View for complex tasks.

editor
refresh
class exopy.tasks.tasks.base_views.RootTaskView(parent=None, **kwargs)

Bases: exopy.tasks.tasks.base_views.BaseTaskView

Special view for the root task.

This view must always exists as it is responsible for managing the views for the whole hierarchy.

core

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

create_new_task
discard_view
get_interfaces_for
refresh
view_for