envisage.ui.workbench.workbench_window module

An extensible workbench window.

class envisage.ui.workbench.workbench_window.WorkbenchWindow(*args, **kwargs)[source]

Bases: WorkbenchWindow

An extensible workbench window.

ACTION_SETS = 'envisage.ui.workbench.action_sets'
PERSPECTIVES = 'envisage.ui.workbench.perspectives'
SERVICE_OFFERS = 'envisage.ui.workbench.service_offers'
VIEWS = 'envisage.ui.workbench.views'
action_sets = <traits.trait_types.List object>
application = <traits.trait_types.Delegate object>
extension_registry = <traits.traits.ForwardProperty object>
get_service(protocol, query='', minimize='', maximize='')[source]

Return at most one service that matches the specified query.

get_service_properties(service_id)[source]

Return the dictionary of properties associated with a service.

get_services(protocol, query='', minimize='', maximize='')[source]

Return all services that match the specified query.

register_service(protocol, obj, properties=None)[source]

Register a service.

service_registry = <traits.trait_types.Instance object>
set_service_properties(service_id, properties)[source]

Set the dictionary of properties associated with a service.

unregister_service(service_id)[source]

Unregister a service.