• To design a TreeViewer demo application, you must create your node class as your data model.

    要设计TreeViewer演示应用程序,您必须创建节点类作为数据模型。

    youdao

  • First, we create one TreeViewer that can display NBA or MLB players according to your choice.

    首先,创建一个可以根据选择显示NBA或MLB球员的TreeViewer。

    youdao

  • The idea is that a TreeViewer knows about the root element of the tree that it is going to display.

    这里的想法是TreeViewer知道要显示的树的根元素。

    youdao

  • Just like the TreeViewer, it has an input (a root object), a content provider, and a label provider.

    和TreeViewer一样,它有输入(根对象)、内容提供程序和标签提供程序。

    youdao

  • Then we set the desired layout of this tree and add the tree content provider and tree label provider instance to this TreeViewer.

    然后设定此树的期望布局并向此TreeViewer中添加树内容提供程序和树标签提供程序实例。

    youdao

  • The TreeViewer doesn't talk to the domain objects directly. Instead, it uses another object called a ContentProvider, and this object uses your domain objects, as shown in Figure 7.

    TreeViewer并不直接使用域对象 —而是使用另一个名为ContentProvider 的对象,这个对象才使用域对象,如图 7 所示。

    youdao

  • The TreeViewer doesn't talk to the domain objects directly. Instead, it uses another object called a ContentProvider, and this object uses your domain objects, as shown in Figure 7.

    TreeViewer并不直接使用域对象 —而是使用另一个名为ContentProvider 的对象,这个对象才使用域对象,如图 7 所示。

    youdao

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

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

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