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 实现了选择提供器接口并能够向工作台部分站点传播选择事件。
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并将它作为选择提供器添加到工作台站点。
应用推荐