How to translate data from a specific to a generic data model

From EdnaWiki
Jump to: navigation, search

If for example a control plugin from one project (e.g. mxv1) wants to use a plugin from another project (e.g. mxPluginExec) a translation is needed between the mxv1 data model and the plugin's specific data model.

Since the translation between the project data model and the plugin's specific data model can be useful for many control plugins it is probably a good idea to gather all such translation into a single "handler" which is placed in the projects src directory.

See http://www.edna-site.org/svn/trunk/edna/mxv1/src for examples of mxv1 handlers of mxPluginExec specific data models.