• Keep a clean separation between EditPart and figure.

    保持EditPart图形之间“彻底”的分离

    youdao

  • They should avoid referencing an EditPart or figure.

    它们应当避免引用EditPart图形

    youdao

  • Don't reference the model or EditPart from the figure.

    不要图形引用模型EditPart

    youdao

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

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

    youdao

  • The figure should not have access to the EditPart or model.

    图形应该具有EditPart模型访问权

    youdao

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

    这个EditPart称为查看器内容

    youdao

  • This happens when a request for a command is sent to the EditPart.

    命令请求发送给EditPart时就会发生这种情况。

    youdao

  • Implementing the connection EditPart is relatively straightforward.

    实现连接EditPart比较简单的

    youdao

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

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

    youdao

  • Next, we'll bridge the model and view with the controller, or EditPart.

    接下来我们控制器EditPart模型视图之间架起桥梁

    youdao

  • It turns out, this is basically all you do in the EditPart class itself.

    结果表明,基本上editpart类自身所有工作。

    youdao

  • Once you implement this method, you are pretty much done with your EditPart.

    一旦实现方法,您几乎已经完成EditPart

    youdao

  • It is possible (but not a good idea) to have the EditPart build everything itself.

    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

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

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

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