Files
gnatstudio/docs/programmers_guide/modules.rst
Adrien Boulanger b0cd2f9a38 S910-005: Rename gps into gnatstudio in the documentation
Change-Id: Ie0c113907b044055764b471efd852891bb97f5be
2019-09-12 17:40:05 +02:00

25 lines
1.1 KiB
ReStructuredText

***********************
The GNAT Studio modules
***********************
GNAT Studio is organized around the concept of modules. The only part of
GNAT Studio that is mandatory is its kernel, all the other tools,
menus and features are provided in optional modules.
Although currently all modules have to be loaded at startup, some proof of
concept for dynamically loadable module was implemented, and will most likely
be part of a future version of GNAT Studio.
Every new feature you implement will be part of one or more modules. We will
go through the details of creating new modules all along this manual, starting
from a simple Hello World module to more advanced features like providing
new shell or python commands.
Generally speaking, a module provides a limited set of features, and adds
new GUI features in the GNAT Studio interface, like menus, toolbar buttons,
contextual menu entries, new windows,... As much as possible, a menu shouldn't
directly depend on any other module, only on the GNAT Studio kernel itself.
See the file :file:`gps-kernel-modules.ads` for more information on modules.