Database Explorer: custom shortcut or action
Gregor Kovač <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAEmrpnbCTadH1dpygis8GOYwtXMM8bSpgKHZ64+iRH8XHooZKA@mail.gmail.com> |
Hi!
I'm creating an application that uses Database Explorer functionality to
register database drivers, connections, ...
I have two problems with it:
- I don't know how to register a keyboard shortcut for an action that
Database Explorer provides. Action is called "Execute Command" and it opens
an SQL Editor.
- if I create my own action and put a keyboard shortcut on it I don't know
how to open the SQL Editor. I imagine it is done via SQLEditorSupport
class, but the package that this class is in seens to be private.
Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~