Then add the code in Listing 3 to the selectionChanged method.
然后对 selectionChanged 方法添加清单 3 中的代码。
The Eclipse workbench calls selectionChanged() when the user selects a new file in the navigator.
当用户选择导航器中的新文件时,Eclipse 工作台调用 selectionChanged() 。
The selectionChanged method helps you detect which partner is selected and how many partners are selected.
selectionChanged 方法帮助您检测选中了哪个合作伙伴、选中了多少个合作伙伴。
应用推荐