This document lists changes made to the Templates
API. Please ask on the
firstname.lastname@example.org mailing list
if you have any questions about the details of a
change, or are wondering how to convert existing code to be compatible.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.api.templates > 1.20
In addition to provide
CreateFromTemplateHandler which overtakes the
CreateFromTemplateDecorator can participate in
file creation doing pre- and post-creation tasks and edits either in the created file
or other files.
TemplateRegistration; made by: jtulach; issues: #268677
FileBuilder; made by: sdedic; issues: #
TemplateRegistration; made by: jtulach; issues: #246133
HTML UI API for Java
revision 1.1 supports technolgy identifiers. Now they can
be used via
annotation as well.
openide.filesystems.templatesmodule; see javadoc for FileBuilder for details.
org.netbeans.api.templates.TemplateRegistration; made by: jhavlin; issues: #239028
By default, files created from templates have name preinitialized to "new" + template name. TemplateRegistration.targetName can be used to customize how the file name will be preinitialized.
Built on April 20 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.