ProjectView selection listener
Hi, I would like to change context/data in my plugin window according to the file selected in project view. Something like structure view that is sensitive for file selection in project/package...etc view. I have searched on this site, on google and I could not find any solution. If you have any idea I would be grateful.
Please sign in to leave a comment.
Actually, ProjectView contains several panes (Project, Packages and other scopes).
Every pane contains own JTree. And it is a bad idea to add a listener to each of them, but you can request a selected object at any time:
For example, NavBarUpdateQueue updates a state of Navigation Bar every 100ms.
Thanks a lot it helped.
SelectionListener is for editor
what's the project select listener