envisage.resource.i_resource_manager module

The resource manager interface.

class envisage.resource.i_resource_manager.IResourceManager[source]

Bases: traits.has_traits.Interface

The resource manager interface.

file(url)[source]

Return a readable file-like object for the specified url.

Raise a ‘NoSuchResourceError’ if the resource does not exist.

e.g.:

manager.file('pkgfile://acme.ui.workbench/preferences.ini')