While you use RSA to model your data model and applications, you have to look at the tooling that EMF provides for creating an EMF model for generating code.
当您使用RSA模型化您的数据模型和应用程序时,必须先来看一下EMF为创建一个用于产生代码的EMF模型所提供的工具。
The EMF provides a feature to support files in this format.
EMF提供了一个特性来支持这种格式的文件。
By default, EMF does not use dynamic templates when generating code for models.
默认情况下,在为模型生成代码时,EMF不会使用动态模板。
The code listings below show how to define a model using EMF.
下面的代码清单说明了如何使用EMF定义模型。
Entire books have been written about EMF, so I won't go into any detail here.
由于已经有一些关于EMF的完整书籍,所以我不会再谈更多的细节。
Figure 2 shows an example of the EMF tree view with the EMF element properties view below it.
图2显示了EMF树形视图的一个示例,其下文是一个EMF元素属性视图。
Let's jump right into the code to see what EMF can really do.
现在让我们直接进入代码中,看看EMF到底能做些什么。
Then we will extend this simple plug-in to display EMF model content.
然后扩展这个简单的插件以显示EMF模型内容。
The corresponding EMF model recognizes the global element instance Listing 8 shows.
相应的EMF模型识别清单 8中的全局元素实例。
This will synchronize the EMF-generated model with the model description.
这实现了用EMF生成的模型与模型描述之间的同步。
The framework contains these item providers for the various EMF model types.
框架包含了用于各种EMF模型类型的项目提供程序。
Already, EMF is used within many successful projects and is continuing to grow.
EMF已经在很多成功的项目中得到应用,它正在蓬勃成长。
EMF supports multiple ways of defining a model.
EMF支持通过多种方法定义模型。
These classes represent the EMF resource factory.
这些类表示EMF资源工厂。
MTF is designed to perform transformations on EMF models, but it also provides a way to adapt non-EMF classes.
MTF的设计是对EMF模型进行转换,但是它也提供了改写非emf类的方法。
Once the parser is implemented and creates the valid EMF model instance, it must be bound into the EMF resources factory.
实现解析器并创建有效的EMF模型实例之后,必须将它绑定到EMF资源工厂中。
Now that the model has been transformed into an EMF model, EMF can be fully leveraged on the model.
现在此模型已经被转换到EMF模型,EMF可以在这个模型中被充分利用。
Please note that this is an abstract EMF class.
请注意,这是一个抽象的EMF类。
We just want the images and text that the EMF model provides.
我们只需要EMF模型所提供的图像和文本。
Those classes are generated by the EMF framework.
这些类是由EMF框架生成的。
As stated previously, we will use the EMF API to maximize performance.
如前所述,我们将使用EMFAPI来最大程度地提高性能。
The implementation of SDO is essentially a thin layer (facade) over EMF and is packaged and shipped as part of the EMF project.
SDO实现基本上是EMF中的一小层(方面),它是作为EMF项目的一部分打包和提供的。
In a similar way, EMF generates basic editors for EMF models.
通过类似的方法,EMF生成适用于emf模型的基本编辑器。
Note: If you don't have an EMF project, create one first.
注意:如果还没有EMF项目,就先创建一个。
EMF also includes generic reusable classes for building EMF model editors.
EMF还包括用来构建emf模型编辑器的一般的重用类。
See Resources for more information on EMF and SDOs.
参阅资源来查看关于EMF和SDO 的更多信息。
To create the complete EMF model, use the supplied EMF wizards.
要创建一个完全的EMF模型,你可以使用所提供的EMF向导。
MTF applies these concepts to EMF models.
MTF把这些概念应用于EMF模型。
These technologies over time -if found useful -eventually graduate into EMF.
这些技术随着时间的推移——如果发现有用——最终将逐步演化为emf。
First, we have built EMF projects for EAML and SA. Then, we have used EMF to implement bi-directional transformations between EAML and SA.
首先,我们为EAML及SA建立EMF项目,然后,我们使用EMF实现了在EAML及SA之间的双向转换。
应用推荐