How can I listening to the click of toolwindow? Follow
Answered
I am developing an Android Studio Plugin, I have added a new ToolWindowFactory at the right side of Android Studio. Now I want to listen for click events on this toolbar(listening to the Window show and hide),how can I do this?
Thank you.
Chentao
Please sign in to leave a comment.
com.intellij.openapi.wm.ex.ToolWindowManagerListener
Please do not post in multiple threads.
It works!
I override the stateChanged method and distinguish different tool windows by their ids.
Thank you so much.