Debian Codegraph @

envisage/ids.py

raw
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 """ This module redefines the Extension Point IDs and Service IDs defined on
12 Plugins provided by Envisage. Note that this module does not contain IDs
13 defined by all of the Plugins available in Envisage.
14
15 The Plugins themselves remain the ground truth for the IDs. This module is
16 simply a convenient location from which the user can import the IDs.
17 """
18
19 #### Extension Points #########################################################
20
21 #: Extension Point to contribute preference files, defined on the
22 #: ``CorePlugin``.
23 PREFERENCES = "envisage.preferences"
24
25 #: Extension Point to contribute ``ServiceOffer`` s, defined on the
26 #: ``CorePlugin``.
27 SERVICE_OFFERS = "envisage.service_offers"
28
29 # NOTE : The other PythonShellPlugin defines extension points with the same ID.
30 #: Extension Point to contribute name/value pairs that will be bound to the
31 #: ``PythonShell``, defined on the ``PythonShellPlugin``.
32 BINDINGS = "envisage.plugins.python_shell.bindings"
33
34 #: Extension Point to contribute commands that will be executed in the
35 #: ``PythonShell``, defined on the ``PythonShellPlugin``.
36 COMMANDS = "envisage.plugins.python_shell.commands"
37
38 #: Extension Point to contribute preferences categories, defined on the
39 #: ``TasksPlugin``.
40 PREFERENCES_CATEGORIES = "envisage.ui.tasks.preferences_categories"
41
42 #: Extension Point to contribute preference panes, defined on the
43 #: ``TasksPlugin``.
44 PREFERENCES_PANES = "envisage.ui.tasks.preferences_panes"
45
46 #: Extension Point to contribute task factories, defined on the
47 #: ``TasksPlugin``.
48 TASKS = "envisage.ui.tasks.tasks"
49
50 #: Extension Point to contribute task extensions, defined on the
51 #: ``TasksPlugin``.
52 TASK_EXTENSIONS = "envisage.ui.tasks.task_extensions"