User Tools

Site Tools


01_user_documentation:03_interacting_with_groimp:08_parameter:03_hook

This is an old revision of the document!


Hooks

Hooks are functions that are called during the execution of a project life cycle. While most hooks are declared by the platform developers, some can be declared within an XL project. Such hooks require to extends specific classes.

RunAfterSave

The classes that implements the interface RunAfterSave will automatically execute the method public void save(RegistryContext ctx) when the project is saved.

Note: the method is called when the project is saved. Not when it is recompiled. (Saving at recompilation is optional). Saving a file in the project might not save the project, (it might only trigger the recompilation).

RunAfterLoad

Every classes that implements RunAfterLoad will execute the method public void load(RegistryContext ctx) when the project is loaded.

01_user_documentation/03_interacting_with_groimp/08_parameter/03_hook.1760346991.txt.gz · Last modified: 2025/10/13 11:16 by gaetan