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.
Summary: | Open file dialog: allow modules to specify icon and file ext. filter | ||
---|---|---|---|
Product: | utilities | Reporter: | santhosh <santhosh> |
Component: | Open File | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | STARTED --- | ||
Severity: | blocker | CC: | pzajac |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
santhosh
2003-09-29 12:32:38 UTC
It is a reasonable request to allow other modules to specify - custom icons - custom file filter(s) for the Open file dialog for files they (the modules) define. In the current sources, the set of file filters is hard-coded in method org.netbeans.modules.openfile.OpenFileAction.prepareFileChooser() and no file filter is used. The above method could look for registered icons and file filters and make the file chooser to use them. Modules could register icons and file filters via XML layers, the Open File module would aks for them using Lookup. Correction: ... and no special icons are used. *** Issue 147362 has been marked as a duplicate of this issue. *** It looks like that extension filters are still hardcoded. Especially inside PHP-only or Ruby-only IDE bundle it looks ugly. (In reply to Jiri Vagner from comment #5) > It looks like that extension filters are still hardcoded. Filters are not hardcoded any more, see bug 209998. |