org.netbeans.modules.projectuiapi/1 1.51.1 8

org.netbeans.spi.project.ui
Interface PrivilegedTemplates


public interface PrivilegedTemplates

List of templates which should be in the initial "privileged" list when making a new file. An instance should be placed in Project.getLookup() to affect the privileged list for that project.

Since 1.28, the PrivilegedTemplates instance can also reside in active node's lookup and such instance will be used instead of the default one.

For more information about registering templates see overview of org.netbeans.spi.project.ui.templates.support package.

See Also:
CommonProjectActions

Method Summary
 String[] getPrivilegedTemplates()
          Lists privileged templates.
 

Method Detail

getPrivilegedTemplates

String[] getPrivilegedTemplates()
Lists privileged templates.

Returns:
full paths to privileged templates, e.g. Templates/Other/XmlFile.xml

org.netbeans.modules.projectuiapi/1 1.51.1 8

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.