To design a TableViewer demo application, you must create a data model class.
要设计TableViewer演示应用程序,您必须创建数据模型类。
The view chooses to register the JFace TableViewer that it created, as a selection provider for two reasons.
这个视图将它创建的JFaceTableViewer注册为选择提供器有两个原因。
The TableViewer implements the selection provider interface and can source selection events to the workbench part site.
TableViewer 实现了选择提供器接口并能够向工作台部分站点传播选择事件。
This code enables any UI selection changes in the TableViewer to propagate to the page and finally to the interested consumer views.
这些代码使TableViewer中的任何UI选择改变能够传播到页面,并最终传播到对这种事件感兴趣的消费者视图。
The code snippet in Listing 2 shows the createPartControl() method of a view that creates a JFace TableViewer and adds it as a selection provider to the workbench site.
清单2中的代码片段显示一个视图的createPartControl()方法,这个方法创建一个JFaceTableViewer并将它作为选择提供器添加到工作台站点。
The code snippet in Listing 2 shows the createPartControl() method of a view that creates a JFace TableViewer and adds it as a selection provider to the workbench site.
清单2中的代码片段显示一个视图的createPartControl()方法,这个方法创建一个JFaceTableViewer并将它作为选择提供器添加到工作台站点。
应用推荐