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 82133 - Log when user invokes an action
Summary: Log when user invokes an action
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks: 82854
  Show dependency tree
 
Reported: 2006-08-08 09:05 UTC by Jaroslav Tulach
Modified: 2008-12-22 20:57 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed changes in openide/awt (4.47 KB, patch)
2006-08-08 09:06 UTC, Jaroslav Tulach
Details | Diff
I'll add similar hook to openide/windows to catch keystrokes (2.73 KB, patch)
2006-08-13 05:33 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2006-08-08 09:05:39 UTC
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.
Comment 1 Jaroslav Tulach 2006-08-08 09:06:31 UTC
Created attachment 32625 [details]
Proposed changes in openide/awt
Comment 2 Jesse Glick 2006-08-08 20:24:28 UTC
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.
Comment 3 Jaroslav Tulach 2006-08-11 16:42:29 UTC
Ok. I'll integrate on Monday
Comment 4 Jaroslav Tulach 2006-08-13 05:33:17 UTC
Created attachment 32865 [details]
I'll add similar hook to openide/windows to catch keystrokes
Comment 5 Jaroslav Tulach 2006-08-14 08:35:30 UTC
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