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.
There is a request to be able to find out when user invokes an action and how. The APIs are not really useful in this area and that is why I propose to use logging for that purpose. In fact "structured logging" as described at http://www.netbeans.org/download/dev/javadoc/org-openide-util/org/openide/util/doc-files/logging.html For that I need small API change in openide/awt.
Created attachment 32625 [details] Proposed changes in openide/awt
Seems harmless, though it will only work for actions presented using o.o.a.Actions, i.e. not all context menu items, probably no editor actions, etc.
Ok. I'll integrate on Monday
Created attachment 32865 [details] I'll add similar hook to openide/windows to catch keystrokes
IDE: [14.8.06 9:34] Committing started Checking in windows/src/org/openide/windows/TopComponent.java; /shared/data/ccvs/repository/openide/windows/src/org/openide/windows/TopComponent.java,v <-- TopComponent.java new revision: 1.15; previous revision: 1.14 done Checking in windows/src/org/openide/windows/Bundle.properties; /shared/data/ccvs/repository/openide/windows/src/org/openide/windows/Bundle.properties,v <-- Bundle.properties new revision: 1.4; previous revision: 1.3 done Checking in awt/src/org/openide/awt/Bundle.properties; /shared/data/ccvs/repository/openide/awt/src/org/openide/awt/Bundle.properties,v <-- Bundle.properties new revision: 1.5; previous revision: 1.4 done Checking in awt/src/org/openide/awt/Actions.java; /shared/data/ccvs/repository/openide/awt/src/org/openide/awt/Actions.java,v <-- Actions.java new revision: 1.12; previous revision: 1.11 done Checking in awt/arch.xml; /shared/data/ccvs/repository/openide/awt/arch.xml,v <-- arch.xml new revision: 1.5; previous revision: 1.4