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: | File|Open -- mount needed filesystems without any dialogs | ||
---|---|---|---|
Product: | utilities | Reporter: | Jan Benway <benway> |
Component: | Code | Assignee: | issues@utilities <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues, jglick |
Priority: | P3 | Keywords: | UI |
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Proposed fix. |
Description
Jan Benway
2002-05-07 18:19:41 UTC
Utilities module implements this. What if the selected file is not a Java source file? In that case a different dialog is displayed - no guess is possible. What should be done there? When I open a text file, no dialog is displayed, it just mounts the directory it is in. So it already follows the behavior described here. When I open a zip file, it brings up a dialog asking if I want to mount it, yes or no. If I say no, it does nothing. I think we could eliminate this dialog, and just mount the zip (why else would I ask to open it?) What other file types should I try to see other dialogs? Re. opening a text file - OK, I thought there was a dialog for that, but maybe it got deleted long ago. Re. ZIP files - agreed. Re. other file types - I think that's it. Created attachment 5739 [details]
Proposed fix.
Fixed in main trunk, please review. Thanks. Patch looks reasonable to me. BTW about the patch itself - (1) when commenting out code using a bundle key, it is a good idea to comment out the bundle key too, so it is clear it is not in active use; (2) /* ... */ block comments are sometimes nicer for commenting something out in a patch, as CVS treats them as just adding two lines, rather than replacing every line in the block with a //-commented-out version - this makes the patch text look clearer, and will make cvs annotate work better in the future. |