Skip to content

ExcelStandardModelProvider Example

iks github user edited this page Apr 28, 2015 · 12 revisions

This is how a factory class for a domain object can be built using Excel data:

Press [Ctrl]+ to zoom in and [Ctrl]- to zoom out.

The Excel Data must be organised as a matrix and its excel sheet as well as the its upper left cell must be referenced in the file '<application root dir>/input/ExcelStandarsModelProvider/_excel.properties'. The use of the ExcelStandardModelProvider must be defined in the model file of the StandardModelProvider (metainfo useExtensionPlugin ExcelStandardModelProvider). If class and attributes match (green and blue ellipses), the excel data is added to the model file, making the metainfos ("User1", "User2", ...) available to each attribute in the template file.

For more information see ExcelStandardModelProvider and MOGLiCC JavaBean Group.


[Back] (https://github.com/iks-github/MOGLiCodeCreator/wiki/Hello-World-Simple-Example)

Clone this wiki locally