Reputation: 4943
I'm developing plugin for IDEA. It need to select public abstract methods with no parameters, and allow user to choose subset of them. I found MemberChooser dialog, but cannot see similar thing for methods.
So if I have List<PsiMethod> how to show dialog for choosing subset of them?
Upvotes: 1
Views: 221
Reputation: 40378
You can use MemberChooser.selectElements
with your list.
That is, if you create a PsiMethodMember
from each PsiMethod
.
Upvotes: 2