Bug 204452 - EditorActionRegistration annotation improvements
Summary: EditorActionRegistration annotation improvements
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Miloslav Metelka
Keywords: PLAN
Depends on:
Blocks: 204686
  Show dependency tree
Reported: 2011-10-31 13:05 UTC by Miloslav Metelka
Modified: 2012-10-13 02:12 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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): 
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.