This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 58131

Summary: FileObject parameter for getPrivilegedTemplates()
Product: projects Reporter: Mark Dey <markdey>
Component: Generic Projects UIAssignee: Petr Hrebejk <phrebejk>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: markdey
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Mark Dey 2005-04-21 00:08:13 UTC
Use case: the project's logical view filters the list of priviliged templates
based on the folder to which a new file is being added. For example, allows only
JSP pages to be added to a web folder, only Java things to a java package, etc. 

Requesting an extension to the current PrivilegedTemplates SPI, for example:

public String[] getPrivilegedTemplates(FileObject fo)
Comment 1 Jesse Glick 2005-04-21 18:54:55 UTC

*** This issue has been marked as a duplicate of 55329 ***