Finally, after some intensive work, I’ve been able to create the desired template. I find a way to make the template work nicely within the Global Embed of the IDE without templates and compiles errors. We can add as many class objects as we want, also multiple instances of the same class. In addition, for each instance of the template, we may set the compiler project definitions. It was very interesting as well as challenging to create.
In the Global Embed within the app contact example, you will find all template extension instances of the classes under Global Objects|ABC Objects|Joliciel Class. In each GlobalEmbedObject template extension instance, I’ve used the Clarion object classes as an example for the base class and the Contact solutions. Furthermore, use comments and local declaration methods and property within jcDB(dbAuditmanager) with some statements at the program set up in the main source and in the UpdateContact procedure; however, this is to see the declarations, sources code generation and running method class calls. If necessary, the project symbol needed for the compiler project options may be set within each template extension. The good thing having this assigns here we know which symbol definition represents the class of the embedded object and its status. You’ll find more notes about the template extension under,"Extension Important Note,” “Project Symbol Settings Explained,” “Export File Explained” Tabs.
You may download the template and application example on how it is implemented.
Here’s the GitHub link for the example and template source
- JolicielClassGlobal.TPL template file
- JolicielClassGlobal.TPW extension file