The code will leverage the UML2 API to read the model, and JET technology to help you write the transformation itself and export the text to filesystem resources.
代码将会通过UML2API来读取模型,通过JET技术帮助您编写转换程序以及将文本导出到文件系统资产中。
Create an example Model-to-Text transformation.
建立一个示例模型到文本的转换。
Only select the sample Model-To-Text transformation plug-in in the Workspace Plug-ins tree.
在工作空间插件树中只选择模型到文本转换示例插件。
For example, a transformation that transforms a UML model to text would require that the Modeling perspective be usable in the run-time workbench.
比如说,一个把UML模型转化为文本的转换需要建模视图在运行时工作台中是可使用的。
By using JET transformations, you can quickly and easily generate a template-based model-to-text transformation.
通过使用JET转换,您就可以快速且轻松地生成基于模板的模型到文本的转换。
By using JET transformations, you can quickly and easily generate a template-based model-to-text transformation.
通过使用JET转换,您就可以快速且轻松地生成基于模板的模型到文本的转换。
应用推荐