public interface ComponentWithMnemonics
In terms of Swing 'scope' for mnemonic is whole RootPaneContainer like JFrame of JDialog but main IDE frame is too complex and cannot be considered as 'single UI'. So there should be some user-friendly 'scopes' or 'contexts'.
For example, in focused editor global action with some alt+{char} shortcut is more preferable than the same alt+{char} mnemonic presented inside tool window (and vise versa, when focus comes to the tool window namely mnemonic is expected to be more preferable).