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 226220

Summary: Add EditorActionRegistration.noKeyBinding and EditorActionRegistration.noIconInMenu annotation fields
Product: editor Reporter: Miloslav Metelka <mmetelka>
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED FIXED    
Severity: normal Keywords: API_REVIEW_FAST
Priority: P2    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Attachments: Patch with version increase, apichanges and tests

Description Miloslav Metelka 2013-02-17 10:21:13 UTC
Default values will be false for both properties.
noKeyBinding means that the action will not be visible in Tools->Options->Keymap.
noIconInMenu means that a possible icon that the action may have will not be added to menu items (it will only be present in toolbar presenters).
The annotation fields will translate into "no-keybinding" and "noIconInMenu" action properties and they are handled appropriately by appropriate options and presenters.
Comment 1 Miloslav Metelka 2013-02-17 12:03:26 UTC
Created attachment 131481 [details]
Patch with version increase, apichanges and tests
Comment 2 Miloslav Metelka 2013-02-17 12:05:27 UTC
I would like to ask for fasttrack review.
Comment 3 Miloslav Metelka 2013-02-25 13:51:15 UTC
http://hg.netbeans.org/jet-main/rev/e182112edec5
Comment 4 Quality Engineering 2013-02-26 05:24:02 UTC
Integrated into 'main-golden', will be available in build *201302252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e182112edec5
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #226220 - Add EditorActionRegistration.noKeyBinding and EditorActionRegistration.noIconInMenu annotation fields.