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 43285 - All project/files views should consult VisibilityQuery
Summary: All project/files views should consult VisibilityQuery
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: API, UI
: 43450 (view as bug list)
Depends on:
Blocks: 41535 42008
  Show dependency tree
 
Reported: 2004-05-14 16:25 UTC by Martin Entlicher
Modified: 2004-08-13 12:11 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2004-05-14 16:25:06 UTC
After VisibilityQuery was introduced, all
filesystems will stop filtering any files.
Therefore it's necessary to filter all non visible
files by the views.
Comment 1 Martin Entlicher 2004-05-14 16:26:58 UTC
Issue #42050 depends on this, the Explorer is flooded by a lot of
files which should be filtered as soon as VcsFileSystem stops the
filtering.
Comment 2 Martin Entlicher 2004-05-14 16:32:13 UTC
I'm sorry, I've mentioned a wrong issue. Issue #42008 depends on this.
Comment 3 Jesse Glick 2004-05-14 20:38:41 UTC
Sure. Certainly PackageViewChildren should consult it, and I guess
there should be some utility in projects/projectuiapi to produce a
Node which displays a plain folder view with ignored files excluded.
(Impl could simply use DataFolder.createFolderNode(DataFilter).) Then
the logical views of all netbeans.org project types should be updated
to use the new method for folder views. Probably the New File folder
chooser should also use it or VQ directly, to exclude hidden folders
like "CVS".

TBD whether the Files view should use it or not. Jano, any preference?
I am inclined to say yes (but don't use it in All Files).
Comment 4 Jesse Glick 2004-05-14 20:39:08 UTC
Radek this is probably of interest to you too.
Comment 5 jrojcek 2004-05-17 08:34:01 UTC
I think "CVS" folder should also be hidden in Files window. In All Files window, it might/
should show up.
Comment 6 Jesse Glick 2004-05-17 17:08:40 UTC
OK, so that implies some utility method to display a folder tree with
hidden files suppressed. (I guess for now only data object primary
files should be considered - no clear behavior for the case that
secondary files have different visibility than the primary file, so
just ignore that.)
Comment 7 Petr Hrebejk 2004-05-24 09:33:00 UTC
*** Issue 43450 has been marked as a duplicate of this issue. ***
Comment 8 Petr Hrebejk 2004-05-26 12:30:23 UTC
Implemented. Although does not listen on the changes in the
VisibiltyQuery. See issue #43869