How to detect the selected package in Package View? Follow Forums Migration User Created January 13, 2004 02:46 Someone tell me that this can get the select package.but it only return only of them. So how can i get all selected packages from package view?
You might want to try
PsiElement[] p = (PsiElement[])event.getDataContext().getData("psi.Element.array");
I didn't use it myself yet, but I found this
"psi.Element", "psi.Element.array" - current PSI element(s) in project view/commander etc.
here
http://www.intellij.org/twiki/bin/view/Main/PsiIntroduction
Sascha
PeterGC wrote:
>
>