org.netbeans.api.web.webmodule 1.9

org.netbeans.modules.web.spi.webmodule
Interface WebPrivilegedTemplates


public interface WebPrivilegedTemplates

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.


Method Summary
 String[] getPrivilegedTemplates(WebModule webModule)
          Returns the list of templates which should be added in the initial "privileged" list when created a new file.
 

Method Detail

getPrivilegedTemplates

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 extended by a framework and then appropriate templates for the framework can be offered in the list of privileged list of templates.
Returns:
full paths to privileged templates, e.g. Templates/Other/XmlFile.xml; never null.

org.netbeans.api.web.webmodule 1.9

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