Hi, all! I would like to amend a bit Structure View tab and add possibility to copy/paste/move methods using that tool. Currently I've found only StructureViewPopupMenu which apears by right click on element. But I've not found how I could add new button to StructureView panel. Is it possible?
If so, how can I enable/disable that button if selection is empty?
Also I've found the way to obtain PsiElement from AnAction event, which is related to current selection in StructureView, but how can I get list of provided elements?
And last but not least) How can I override standard action from menu?