Re: Actions as popup menu
markiewb <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.devel |
|---|---|
| Message-ID | <[email protected]> |
First find out the module, where the layer entry comes from and then add a dependency to that module. It's useful to have the NetBeans sources checked out or to use Github for this. This way your module is loaded after the other module and your layer.xml has a higher priority than the other layer.xml entries. Best regards, markiewb ----- Ursprungligt meddelande ----- Från: "linesb" <[email protected]> Skickat: 22.12.2015 12:17 Till: "[email protected]" <[email protected]> Ämne: [nbdev] Actions as popup menu Thank you for the answer. Are you saying I should add this dependency in the layer.xml file? How do I go on about doing that? markiewb wrote: > Yes I think so. Redefine the action in the layer.xml and use a different shortcut. And add a dependency to the module where the action is originally defined. This way your layer.xml has priority over the original while the files are merged at startup > > Best regards, markiewb > > FrÃ¥n: linesb (address-removed) > Skickat: ‎19.‎12.‎2015 08:56 > Till: address-removed (address-removed) > Ämne: [nbdev] Actions as popup menu > > > Another question: > > Is it possible to change the default key shortcut of a netbeans system action in a file instead of going to the keymap?