Attributes
- ACTION_SETS
Extension point Ids.
ACTION_SETS = 'enthought.envisage.ui.workbench.action_sets'
- action_sets
The action sets that provide the toolbars, menus groups and actions used in the window.
action_sets = List(Instance(ActionSet))
- application
The application that the window is part of.
This is equivalent to 'self.workbench.application', and is provided just as a convenience since windows often want access to the application.
application = Delegate('workbench', modify = True)
- extension_registry
The extension registry that the object's extension points are stored in.
extension_registry = Property(Instance(IExtensionRegistry))
- PERSPECTIVES
PERSPECTIVES = 'enthought.envisage.ui.workbench.perspectives'
- SERVICE_OFFERS
SERVICE_OFFERS = 'enthought.envisage.ui.workbench.service_offers'
- service_registry
The service registry for 'per window' services.
service_registry = Instance(IServiceRegistry, factory = ServiceRegistry)
- VIEWS
VIEWS = 'enthought.envisage.ui.workbench.views'
Method summary
- __action_manager_builder_default(self)
- get_service(self, protocol, query = '', minimize = '', maximize = '')
- get_service_properties(self, service_id)
- get_services(self, protocol, query = '', minimize = '', maximize = '')
- register_service(self, protocol, obj, properties = None)
- set_service_properties(self, service_id, properties)
- unregister_service(self, service_id)
Methods
- __action_manager_builder_default(self)
Trait initializer.
- get_service(self, protocol, query = '', minimize = '', maximize = '')
Return at most one service that matches the specified query.
- get_service_properties(self, service_id)
Return the dictionary of properties associated with a service.
- get_services(self, protocol, query = '', minimize = '', maximize = '')
Return all services that match the specified query.
- register_service(self, protocol, obj, properties = None)
Register a service.
- set_service_properties(self, service_id, properties)
Set the dictionary of properties associated with a service.
- unregister_service(self, service_id)
Unregister a service.