How can I listening to the click of toolwindow?

已回答

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

0

com.intellij.openapi.wm.ex.ToolWindowManagerListener

Please do not post in multiple threads.

0

It works!

I override the stateChanged method and distinguish different tool windows by their ids.

Thank you so much.

0

请先登录再写评论。