Debian Codegraph @

envisage/api.py

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 # (C) Copyright 2007-2025 Enthought, Inc., Austin, TX
2 # All rights reserved.
3 #
4 # This software is provided without warranty under the terms of the BSD
5 # license included in LICENSE.txt and may be redistributed only under
6 # the conditions described in the aforementioned license. The license
7 # is also available online at http://www.enthought.com/licenses/BSD.txt
8 #
9 # Thanks for using Enthought open source!
10
11 """
12 Primary API for envisage
13
14 Interfaces
15 ----------
16
17 - :class:`~.IApplication`
18 - :class:`~.IExtensionPoint`
19 - :class:`~.IExtensionPointUser`
20 - :class:`~.IExtensionProvider`
21 - :class:`~.IExtensionRegistry`
22 - :class:`~.IImportManager`
23 - :class:`~.IPlugin`
24 - :class:`~.IPluginActivator`
25 - :class:`~.IPluginManager`
26 - :class:`~.IServiceRegistry`
27
28 Constants
29 ---------
30 - :data:`~.BINDINGS`
31 - :data:`~.COMMANDS`
32 - :data:`~.PREFERENCES`
33 - :data:`~.PREFERENCES_CATEGORIES`
34 - :data:`~.PREFERENCES_PANES`
35 - :data:`~.SERVICE_OFFERS`
36 - :data:`~.TASKS`
37 - :data:`~.TASK_EXTENSIONS`
38
39 Application, plugin and related classes
40 ---------------------------------------
41 - :class:`~.Application`
42 - :class:`~.CorePlugin`
43 - :class:`~.EggPluginManager`
44 - :class:`~.ExtensionPoint`
45 - :class:`~.ExtensionPointBinding`
46 - :func:`~.bind_extension_point`
47 - :func:`~.unbind_extension_point`
48 - :class:`~.ExtensionProvider`
49 - :class:`~.ExtensionPointChangedEvent`
50 - :class:`~.ImportManager`
51 - :class:`~.Plugin`
52 - :class:`~.PluginActivator`
53 - :class:`~.PluginExtensionRegistry`
54 - :class:`~.PluginManager`
55 - :class:`~.ProviderExtensionRegistry`
56 - :class:`~.Service`
57 - :class:`~.ServiceOffer`
58 - :class:`~.ServiceRegistry`
59
60 Exceptions
61 ----------
62
63 - :class:`~.NoSuchServiceError`
64 - :class:`~.UnknownExtension`
65 - :class:`~.UnknownExtensionPoint`
66
67 """
68
69 from .application import Application
70 from .core_plugin import CorePlugin
71 from .egg_plugin_manager import EggPluginManager
72 from .extension_point import ExtensionPoint
73 from .extension_point_binding import (
74 bind_extension_point,
75 ExtensionPointBinding,
76 unbind_extension_point,
77 )
78 from .extension_point_changed_event import ExtensionPointChangedEvent
79 from .extension_provider import ExtensionProvider
80 from .extension_registry import ExtensionRegistry
81 from .i_application import IApplication
82 from .i_extension_point import IExtensionPoint
83 from .i_extension_point_user import IExtensionPointUser
84 from .i_extension_provider import IExtensionProvider
85 from .i_extension_registry import IExtensionRegistry
86 from .i_import_manager import IImportManager
87 from .i_plugin import IPlugin
88 from .i_plugin_activator import IPluginActivator
89 from .i_plugin_manager import IPluginManager
90 from .i_service_registry import IServiceRegistry
91 from .ids import (
92 BINDINGS,
93 COMMANDS,
94 PREFERENCES,
95 PREFERENCES_CATEGORIES,
96 PREFERENCES_PANES,
97 SERVICE_OFFERS,
98 TASK_EXTENSIONS,
99 TASKS,
100 )
101 from .import_manager import ImportManager
102 from .plugin import Plugin
103 from .plugin_activator import PluginActivator
104 from .plugin_extension_registry import PluginExtensionRegistry
105 from .plugin_manager import PluginManager
106 from .provider_extension_registry import ProviderExtensionRegistry
107 from .service import Service
108 from .service_offer import ServiceOffer
109 from .service_registry import NoSuchServiceError, ServiceRegistry
110 from .unknown_extension import UnknownExtension
111 from .unknown_extension_point import UnknownExtensionPoint