| org.netbeans.modules.web.spi.webmodule.WebPrivilegedTemplates
WebPrivilegedTemplates | public interface WebPrivilegedTemplates (Code) | | List of templates which should be in the initial "privileged" list
when creating a new file. An instance should be placed in the
j2ee/webtier/templates folder in a module layer.
author: Petr Pisl |
Method Summary | |
public String[] | getPrivilegedTemplates(WebModule webModule) Returns the list of templates which should be added in the initial "privileged" list
when created a new file.
Parameters: webModule - the web module to return the templates for.For example, it can be used to find out whether the web module is extendedby a framework and then appropriate templates for the framework can be offeredin the list of privileged list of templates. |
getPrivilegedTemplates | public String[] getPrivilegedTemplates(WebModule webModule)(Code) | | Returns the list of templates which should be added in the initial "privileged" list
when created a new file.
Parameters: webModule - the web module to return the templates for.For example, it can be used to find out whether the web module is extendedby a framework and then appropriate templates for the framework can be offeredin the list of privileged list of templates. full paths to privileged templates, e.g. Templates/Other/XmlFile.xml; never null. |
|
|