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.
Since the project contents is defined by project's containers and there is nothing like project base directories defined the platform projects should not have getBaseDirs method. The Platform projects will compute result of Project.findAll method using containers registered in the project. There will be defined special MIME type and ProjectContentDescriptor which projects-core infrastructure will use for this computation. The projects-ide infra should define container of this MIME type and compute its contents according to the containers of MIME_PROJECT_SOURCE type registered in the project by natures. There might be neccessary to define similar mechanism as BaseDirs for 'Object Selection dialogs', this will be discussed.
UPGRADE: (it's provisional, right solution will be found soon) 1. for selection objects outside of the project use RepositoryNodeFactory.getDefault().repository(DataFilter.ALL); 2. for selection objects in the project use new LookNode(project, null, ProjectUtil.lookSelector());
done