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.
I am writing JavaDoc build target that needs to select some SourceDescriptor(s) that will be the input for the target. I have found no simple way to do that. Should not there be some? If so, how to do it? I tried to display list of all SourceDescriptors by visualizing ContentsList object: ContainersList sources = ContainersList.findFor (project).search ( SourceDescriptor.MIME_PROJECT_SOURCE ); ExplorerPanel ep = new ExplorerPanel (); ep.add (new org.openide.explorer.view.BeanTreeView ()); ep.getExplorerManager().setRootContext(new org.netbeans.api.looks.LookNode ( sources, null, org.netbeans.api.projects.ide.ProjectUtil.lookSelector(project) )); but there seems to be no look for ContentsList.
Created attachment 10670 [details] Look for ContainersList that I have written
I like reports with patches! Thx.
BTW, using ListView wouldn't require to define visualization of the CL itself (it doesn't display the root node). And anyway it's more appropriate UI in this situation.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped.
--> VERIFIED