站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

CreateFromTemplateAttributesProvider (Datasystems API) - NetBeans API Javadoc (Current Development Version)

org.openide.loaders 6.4

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 CreateFromTemplateHandlers when a template is instantiating. Read more in the howto document.

Since:
6.3

Method Summary
 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.
 

Method Detail

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 processed
target - the destition folder
name - the name of the object to create
Returns:
map of named objects, or null

org.openide.loaders 6.4

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.