Create the supply-chain EMF model.
创建供应链emf模型。
Create a new EMF model from ecore.
从ecore创建一个新的emf模型。
Create an EMF project.
创建一个EMF项目。
Click EMF project and select next.
单击e MF project并选择next。
Alternatives for creating the EMF model.
创建EMF模型的可选方案。
Listing 2. Initializing the EMF package.
清单2 .初始化emf包。
MTF applies these concepts to EMF models.
MTF把这些概念应用于EMF模型。
Create a custom EMF resources factory.
创建自定义e MF资源工厂。
EMF supports multiple ways of defining a model.
EMF支持通过多种方法定义模型。
Please note that this is an abstract EMF class.
请注意,这是一个抽象的 EMF 类。
EMF and SDO both deal with data representation.
EMF和SDO都可以处理数据表示。
Those classes are generated by the EMF framework.
这些类是由 EMF 框架生成的。
See Resources for more information on EMF and SDOs.
参阅 资源来查看关于 EMF 和 SDO 的更多信息。
These classes represent the EMF resource factory.
这些类表示EMF资源工厂。
Let's start at the beginning: loading an EMF model.
让我们从头开始:加载emf模型。
The code listings below show how to define a model using EMF.
下面的代码清单说明了如何使用EMF定义模型。
Let's jump right into the code to see what EMF can really do.
现在让我们直接进入代码中,看看EMF到底能做些什么。
We just want the images and text that the EMF model provides.
我们只需要EMF模型所提供的图像和文本。
Note: If you don't have an EMF project, create one first.
注意:如果还没有EMF项目,就先创建一个。
The EMF-generated code is no throw-away solution, either.
EMF 生成的代码也不是一种只配丢进垃圾箱的解决方案。
The code that EMF produces is also an SDO implementation.
EMF 生成的代码也是 SDO 实现。
The EMF provides a feature to support files in this format.
EMF 提供了一个特性来支持这种格式的文件。
In a similar way, EMF generates basic editors for EMF models.
通过类似的方法,EMF生成适用于emf模型的基本编辑器。
To create the complete EMF model, use the supplied EMF wizards.
要创建一个完全的EMF模型,你可以使用所提供的EMF向导。
Then we will extend this simple plug-in to display EMF model content.
然后扩展这个简单的插件以显示EMF模型内容。
As stated previously, we will use the EMF API to maximize performance.
如前所述,我们将使用EMF API来最大程度地提高性能。
To generate the EMF plug-ins from the EMF model file, do the following.
要从模型文件生成e MF插件,请执行以下操作。
The framework contains these item providers for the various EMF model types.
框架包含了用于各种EMF模型类型的项目提供程序。
Entire books have been written about EMF, so I won't go into any detail here.
由于已经有一些关于EMF的完整书籍,所以我不会再谈更多的细节。
This will synchronize the EMF-generated model with the model description.
这实现了用EMF生成的模型与模型描述之间的同步。