Add Alt + F7 as shortcut to an action in Netbeans platform

Viewed 390

I am developing a programming tool on the Netbeans Platform. In that, I have an action to find usages and I want to add Alt + F7 as a shortcut to fire my action. I have implemented this for Alt + F3 and some other shortcuts.

But in this case, Alt + F7 is already used in the Netbeans Platform to find usages.

How can I override Alt + F7 ?

Here is what I have already done:

@ActionRegistration(displayName = "#CTL_FindUsagesAction")
@ActionReferences(value = {
    @ActionReference(path = "Shortcuts", name = "A-F7"),
2 Answers
Related