GXT : How to customize TabPanel close context menu
问题 I have a GXT(3.0.1) TabPanel with many tabs. This TabPanel has an out-of-the-box CloseContextMenu with 2 options : Close this tab Close all other tabs In order to react to "close tab" events and be able to eventually cancel them, I use some BeforeCloseHandler. What I need : When the user closes one tab, be able to display a confirmation dialog for this tab. When the user chooses to close all other tabs, display one unique confirmation for all tabs. The problem : The BeforeCloseHandler is