This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21184

Summary: Support same shortcut for (a bit) different actions in different contexts
Product: platform Reporter: _ pkuzel <pkuzel>
Component: ActionsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: blocker CC: dpavlica, issues
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: All   
URL: http://openide.netbeans.org/servlets/ReadMsg?msgId=238231&listName=dev
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 17597, 21239, 23697, 58412    

Description _ pkuzel 2002-03-05 13:47:23 UTC
I am looking for way how to share global shortcuts by mutualy enabled actions.

E.g. XML module wish to use:
F9       for CheckAction
Shift+F9 for ValidateAction
F6       for TransformAction

but it clashes with Java shortcuts.
Comment 1 _ pkuzel 2002-03-06 12:53:11 UTC
All mayor XML tools use shortcuts - see XML Spy for example: F7, F8
and F10. These also clashes with currently assigned actions while they
are mutually exclusive with XML actions.
Comment 2 Marek Grummich 2002-07-22 11:14:07 UTC
Set target milestone to TBD
Comment 3 Marek Grummich 2002-07-22 11:17:32 UTC
Set target milestone to TBD
Comment 4 Jiri Rechtacek 2004-04-23 10:49:24 UTC
Assigned to new owner.
Comment 5 Quality Engineering 2008-12-23 14:22:25 UTC
This issue had *1 votes* before move to platform component
Comment 6 Jaroslav Tulach 2010-10-13 12:51:35 UTC
Sort of supported by use of 
http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/Actions.html#callback(java.lang.String, javax.swing.Action, boolean, java.lang.String, java.lang.String, boolean)

You just need those two "(a bit) different actions" agree on a common key.