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.
Project bridge implementation (and possibly other ones) need to create a CreateDescriptor in order to bridge project-local CreateFromAttribute providers to the general Lookup. It also needs to manipulate the contents of CreateDescriptor (or create new instnaces) and add attributes as they are collected from individual Providers, similar to what the CreateFromTemplateImpl does during the processing. I propose to add two methods which would: 1/ create a forked FileBuilder, inheriting the same parameters as the original. 2/ allow to get a CreateDescriptor describing the current FileBuilder state See the attachment for the proposed changes.
Created attachment 153322 [details] Proposed changes
The patch contains changes to api.templates module + application in the project system.
Last call, if there are no objections, I'll integrate the patch tomorrow.
(In reply to Svata Dedic from comment #3) > Last call, if there are no objections, I'll integrate the patch tomorrow. Go ahead! :)
Will be pushed as jet-main#6dff401f1554
Integrated into 'main-silver', will be available in build *201505140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6dff401f1554 User: Svata Dedic <sdedic@netbeans.org> Log: #252016: added support for template attribute composition