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 189809 - Action wizard shall generate @EditorActionRegistration
Summary: Action wizard shall generate @EditorActionRegistration
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
Depends on: 189558
  Show dependency tree
Reported: 2010-08-24 14:38 UTC by Jaroslav Tulach
Modified: 2015-09-17 10:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2010-08-24 14:38:18 UTC
While working on new @ActionReference annotation (bug 189558) I have noticed that the wizard allows action to be registered into editor's popup menu, but only via layer.

Since there is @EditorActionRegistration, would it not be nicer if the wizard use it as well? You can reuse the infrastructure created for bug 189558, so the change shall not be that complicated.

Btw. don't forget to add (compile time) dependency on appropriate library, when generating the code.
Comment 1 Martin Balin 2015-09-17 10:59:41 UTC
Report from old NetBeans version. Due to code changes since it was reported likely to not happen. Feel free to reopen if happens in 8.0.2 or 8.1.