public interface CreateFromTemplateAttributesProvider
smart templating. Implementations of this class can be registered in the global
Lookupand allows anyone provide additional parameters to each
CreateFromTemplateHandlers 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.templatesmodule. 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
|Modifier and Type||Method and Description|
Called when a template is about to be instantiated to provide additional values to the
Map<String,?> attributesFor(DataObject template, DataFolder target, String name)
CreateFromTemplateHandlerthat will handle the template instantiation.
template- the template that is being processed
target- the destination folder
name- the name of the object to create
Built on March 28 2015. | Portions Copyright 1997-2015 Oracle. All rights reserved.