05_developer_tutorials:dev-guide:embedded-file-object
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| 05_developer_tutorials:dev-guide:embedded-file-object [2025/02/19 15:51] – removed - external edit (Unknown date) 127.0.0.1 | 05_developer_tutorials:dev-guide:embedded-file-object [2025/02/19 15:51] (current) – ↷ Page moved from 04_developer_documentation:dev-guide:embedded-file-object to 05_developer_tutorials:dev-guide:embedded-file-object gaetan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Custom object persistence ====== | ||
| + | |||
| + | GroIMP require Nodes, Node's attributes, and SCOs to be manageable by the persistence manager, to process the save/ load/ query operations. | ||
| + | |||
| + | GroIMP define its own [[01_user_documentation: | ||
| + | |||
| + | Usually the persistence is handled in memory (except when the project is saved), but GroIMP provides a way to integrate it with file persistence (the object is written/ | ||
| + | |||
| + | ===== Embedded objects ===== | ||
| + | |||
| + | In GroIMP embedded objects are objects whose persistence is pushed in a file. | ||
| + | |||
| + | EmbeddedSharedObject (ESO) is a class, thus the object needs to extends it. | ||
| + | The ESO create on the fly and manage an EmbeddedFileObject (EFO). | ||
| + | |||
| + | The object that extends ESO need to implements the following methods: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | |||
| + | Check [[02_user_tutorials: | ||
| + | |||
