当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
CreateFromTemplateAttributesProvider (Datasystems API) - NetBeans API Javadoc (Current Development Version)
org.openide.loaders
Interface CreateFromTemplateAttributesProvider
public interface CreateFromTemplateAttributesProvider
This is an interface for 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:
- 6.3
attributesFor
Map<String,?> attributesFor(DataObject template,
DataFolder target,
String name)
- Called when a template is about to be instantiated to provide additional
values to the
CreateFromTemplateHandler
that will handle the
template instantiation.
- Parameters:
template
- the template that is being processedtarget
- the destition foldername
- the name of the object to create
- Returns:
- map of named objects, or null