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 204452

Summary: EditorActionRegistration annotation improvements
Product: editor Reporter: Miloslav Metelka <mmetelka>
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal Keywords: PLAN
Priority: P2    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 204686    

Description Miloslav Metelka 2011-10-31 13:05:34 UTC
EAR should support "directCreation" attribute to construct the target action directly without AlwaysEnabledAction wrapper. This would allow for declarative registration even for actions implementing Presenter.* interfaces and actions with non-trivial constructors and enabled status treatment.
Comment 1 Miloslav Metelka 2012-10-11 12:19:27 UTC
Initial improvements of AbstractEditorAction and EditorActionRegistrationProcessor allow to get rid of extra presenter action (the AEA itself implements the presenters): 
http://hg.netbeans.org/jet-main/rev/2de1bba7e81d
Comment 2 Quality Engineering 2012-10-13 02:12:54 UTC
Integrated into 'main-golden', will be available in build *201210130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2de1bba7e81d
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #204452 - EditorActionRegistration annotation improvements - initial improvements of AbstractEditorAction.