Then add the code in Listing 3 to the selectionChanged method.
然后对 selectionChanged 方法添加清单 3 中的代码。
It isn't particularly interesting. However, we also see another method, selectionChanged.
它不是特别有趣;不过我们还看到了另一个方法 selectionChanged 。
The Eclipse workbench calls selectionChanged() when the user selects a new file in the navigator.
当用户选择导航器中的新文件时,Eclipse 工作台调用 selectionChanged() 。
应用推荐