I have a custom implementation of FileHistoryPanel using PanelWithActionsAndCloseButton. I use the Standard VCS Tool Window to show this panel and the setup works for me. Except for one case.
I need fine grained control over when the history data is to be refreshed after it has been marked as stale. Specifically this has to happen when the custom FileHistoryPanel implementation becomes visible in the VCS tool window. This can happen as a result of either activation of the VCS tool window or when the tab corresponding to the particular panel is selected. How can I trap this event?
Does the FileHistoryPanel.refresh() correspond to this? Exactly when is this called? I have tried trapping the call of this method but I notice that it is never called by the framework.