Hi Markus,
ConnectAction is not using key-modifiers at all. Key-modifiers are used
by ExtendedConnectAction.
It is not possible to change the key-modifier used by
ExtendedConnectAction using the current API. Therefore I have entered an
issue #103289 on "graph" module to support it. Even thought the change
would be backward-compatible, it would be a API change and therefore it
would take some time to put it into the library.
Workaround:
If you are compiling your NetBeans Platform from sources, you can look
at
NBCVS/graph/lib/src/org/netbeans/modules/visual/action/ExtendedConnectAction.java.
At line 48, there is a key modifier specified for the
ExtendedConnectAction. You can change yourself then run "ant" at
"NBCVS/graph/lib" directory.
Regards,
David
Markus Härnvi wrote:
Hi!
How can I change the key used for ConnectAction from Control to
Command when running on Macintosh?
/Markus