CreateFromTemplateAttributes
in openide.filesystems.templates
instead.public interface CreateFromTemplateAttributesProvider
smart templating. Implementations of this class can be registered in the global
Lookup
and allows anyone provide additional parameters to each CreateFromTemplateHandler
s
when a template is instantiating.
Read more in the howto document.
Since templating system need not to depend on Data Systems APIs, the relevant interfaces
were moved to the openide.filesystems.templates
module. This interface has been kept
for backward compatibility and DataSystems provide a compatibility bridge, which allows
old providers to participate. Module writers are encouraged to implement
CreateFromTemplateAttributes
instead.Modifier and Type | Method and Description |
---|---|
Map<String,?> |
attributesFor(DataObject template,
DataFolder target,
String name)
Deprecated.
Called when a template is about to be instantiated to provide additional
values to the
CreateFromTemplateHandler that will handle the
template instantiation. |
Map<String,?> attributesFor(DataObject template, DataFolder target, String name)
CreateFromTemplateHandler
that will handle the
template instantiation.template
- the template that is being processedtarget
- the destination foldername
- the name of the object to create