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 - Support same shortcut for (a bit) different actions in different contexts
Summary: Support same shortcut for (a bit) different actions in different contexts
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://openide.netbeans.org/servlets/...
Keywords:
Depends on:
Blocks: 17597 21239 23697 58412
  Show dependency tree
 
Reported: 2002-03-05 13:47 UTC by _ pkuzel
Modified: 2010-10-13 12:51 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.