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 34344 - No simple way to select SourceDescr. as inputs for BuildDescr.
Summary: No simple way to select SourceDescr. as inputs for BuildDescr.
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@projects
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-06-12 13:21 UTC by Jaroslav Tulach
Modified: 2004-04-19 16:32 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Look for ContainersList that I have written (6.38 KB, patch)
2003-06-12 13:22 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2003-06-12 13:21:47 UTC
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.
Comment 1 Jaroslav Tulach 2003-06-12 13:22:26 UTC
Created attachment 10670 [details]
Look for ContainersList that I have written
Comment 2 Vitezslav Stejskal 2003-06-12 13:36:46 UTC
I like reports with patches! Thx.
Comment 3 Vitezslav Stejskal 2003-06-12 17:19:44 UTC
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.
Comment 4 Vitezslav Stejskal 2003-11-26 14:42:03 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.
Comment 5 Vitezslav Stejskal 2003-11-26 14:58:01 UTC
--> VERIFIED