Debian Codegraph @

envisage/api.py

raw ◀ ▶
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:`~.ExtensionPoint`
44 - :class:`~.ExtensionPointBinding`
45 - :func:`~.bind_extension_point`
46 - :func:`~.unbind_extension_point`
47 - :class:`~.ExtensionProvider`
48 - :class:`~.ExtensionPointChangedEvent`
49 - :class:`~.ImportManager`
50 - :class:`~.Plugin`
51 - :class:`~.PluginActivator`
52 - :class:`~.PluginExtensionRegistry`
53 - :class:`~.PluginManager`
54 - :class:`~.ProviderExtensionRegistry`
55 - :class:`~.Service`
56 - :class:`~.ServiceOffer`
57 - :class:`~.ServiceRegistry`
58
59 Exceptions
60 ----------
61
62 - :class:`~.NoSuchServiceError`
63 - :class:`~.UnknownExtension`
64 - :class:`~.UnknownExtensionPoint`
65
66 """
67
68 from .application import Application
69 from .core_plugin import CorePlugin
70 from .extension_point import ExtensionPoint
71 from .extension_point_binding import (
72 bind_extension_point,
73 ExtensionPointBinding,
74 unbind_extension_point,
75 )
76 from .extension_point_changed_event import ExtensionPointChangedEvent
77 from .extension_provider import ExtensionProvider
78 from .extension_registry import ExtensionRegistry
79 from .i_application import IApplication
80 from .i_extension_point import IExtensionPoint
81 from .i_extension_point_user import IExtensionPointUser
82 from .i_extension_provider import IExtensionProvider
83 from .i_extension_registry import IExtensionRegistry
84 from .i_import_manager import IImportManager
85 from .i_plugin import IPlugin
86 from .i_plugin_activator import IPluginActivator
87 from .i_plugin_manager import IPluginManager
88 from .i_service_registry import IServiceRegistry
89 from .ids import (
90 BINDINGS,
91 COMMANDS,
92 PREFERENCES,
93 PREFERENCES_CATEGORIES,
94 PREFERENCES_PANES,
95 SERVICE_OFFERS,
96 TASK_EXTENSIONS,
97 TASKS,
98 )
99 from .import_manager import ImportManager
100 from .plugin import Plugin
101 from .plugin_activator import PluginActivator
102 from .plugin_extension_registry import PluginExtensionRegistry
103 from .plugin_manager import PluginManager
104 from .provider_extension_registry import ProviderExtensionRegistry
105 from .service import Service
106 from .service_offer import ServiceOffer
107 from .service_registry import NoSuchServiceError, ServiceRegistry
108 from .unknown_extension import UnknownExtension
109 from .unknown_extension_point import UnknownExtensionPoint