• In the contents EditPart, we used an XY layout manager.

    内容EditPart我们使用XY布局管理器

    youdao

  • This EditPart is referred to as the contents of the viewer.

    这个EditPart称为查看器内容

    youdao

  • Implementing the connection EditPart is relatively straightforward.

    实现连接EditPart比较简单的

    youdao

  • The EditPart either supports, prevents, or ignores a given request.

    EditPart 可能支持阻止给定请求,可能忽略给定请求。

    youdao

  • GEF allows you to add property sheet support either on the EditPart or in the model.

    GEF允许EditPart模型中添加特性支持

    youdao

  • The first EditPart you write is the EditPart that corresponds to the diagram itself.

    编写第一EditPart本身对应EditPart

    youdao

  • Listing 5 shows the additions to the node EditPart implementation for model notification.

    清单5显示节点EditPart实现添加模型通知内容。

    youdao

  • The viewer then USES its factory to construct the contents EditPart for that input object.

    然后查看器可以使用自己工厂构造用于输入对象内容EditPart

    youdao

  • The connection EditPart shouldn't know anything about the figures being used by the nodes.

    连接EditPart应当知道节点使用任何信息。

    youdao

  • First, configure the viewer with your own EditPart factory to construct the EditParts from Step 3.

    首先利用自己EditPart工厂配置查看器,第 3构造EditPart

    youdao

  • The EditPart also observes the model, and updates the view to reflect changes in the model's state.

    EditPart观察模型更新视图反映模型状态中的变化

    youdao

  • If the user undoes a delete, it is a different EditPart that is recreated to represent the restored object.

    如果用户撤销了一个删除操作那么用于表示被恢复对象重新创建的EditPart与原先的EditPart不同的。

    youdao

  • Note that a connection is referred to by the nodes at each end, but that its EditPart need only be created once.

    注意连接端的节点引用EditPart只需创建一次

    youdao

  • It corresponds to the top-most element in the model and is parented by the viewer's root EditPart (see Figure 4).

    对应模型顶部的元素,并且其父元素为查看器editpart(参见图4)。

    youdao

  • The methods that take a connection are the ones used when setting the anchors on an existing connection EditPart.

    连接(connection)为参数方法现有连接EditPart设置使用的方法。

    youdao

  • It corresponds to the top-most element in the model, and is parented by the viewer's root EditPart (see Figure 4).

    对应模型顶部的元素并且其父元素为查看器editpart(请参阅图4)。

    youdao

  • The method refreshVisuals() is called only once during the initialization of the EditPart and is never called again.

    方法refreshVisuals()EditPart初始化过程调用一次并且决不再次调用。

    youdao

  • Therefore, you must indicate, either in the connection EditPart or in the node implementations, which anchors to use.

    因此必须连接EditPart节点实现表明使用哪些

    youdao

  • Listing 1 shows a sample contents EditPart that creates an opaque figure that will position its children using the XYLayout.

    清单1显示了样本内容EditPart,它创建了不透明类型图形,后者使用XYLayout定位其子图。

    youdao

  • When that listener receives a change, it will look up the affected EditPart (s), and then re-dispatch the change appropriately.

    侦听器接收更改时,查找影响的EditPart然后适当地重新分派该更改。

    youdao

  • If your application USES distributed notification, each EditPart will typically add its own listeners to whichever model objects affect it.

    如果应用程序使用了分布式通知,那么每个EditPart通常都将自己侦听器添加任何一个影响它的模型对象

    youdao

  • In some situations, the EditPart may add itself as a listener to the figure, but it will only be known about as a listener, not as the EditPart.

    某些情形中EditPart可能会自己作为侦听添加图形但是认为是侦听器,而不是EditPart

    youdao

  • Each controller, or EditPart as they are called here, is responsible both for mapping the model to its view, and for making changes to the model.

    每个控制器(本文所谓EditPart)负责模型映射视图负责模型进行更改

    youdao

  • Let's assume your EditPart is going to use a label as its figure and that the model provides a name, icon, and connections going to and from the label.

    我们假定EditPart使用Label作为图形,并且您模型提供名称图标以及标签之间的连接

    youdao

  • When writing the EditPart implementation later, it is trivial to indicate that the contents pane should be used as the parent for all children elements.

    稍后编写EditPart实现并不一定表明应该内容窗格用作所有元素元素。

    youdao

  • Let's assume your EditPart is going to use a label as its figure, and that the model provides a name, icon, and connections going to and from the label.

    我们假定EditPart使用Label作为图形并且模型提供名称图标以及与标签之间的连接

    youdao

  • Another reason is that when the user is creating a connection, the connection EditPart doesn't exist, so the node must be able to show feedback on its own.

    另一个原因用户创建连接时,连接EditPart存在的,因此节点必须能够自己显示反馈

    youdao

  • Another reason is that when the user is creating a connection, the connection EditPart doesn't exist, so the node must be able to show feedback on its own.

    另一个原因用户创建连接时,连接EditPart存在的,因此节点必须能够自己显示反馈

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定