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 - FileObject parameter for getPrivilegedTemplates()
Summary: FileObject parameter for getPrivilegedTemplates()
Status: RESOLVED DUPLICATE of bug 55329
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hrebejk
Depends on:
Reported: 2005-04-21 00:08 UTC by Mark Dey
Modified: 2005-04-21 18:54 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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 ***