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 125855 - Provide support of org.netbeans.spi.project.LookupProvider to CND projects
Summary: Provide support of org.netbeans.spi.project.LookupProvider to CND projects
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 169256 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-23 15:47 UTC by Maria Tishkova
Modified: 2010-03-23 05:11 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maria Tishkova 2008-01-23 15:47:36 UTC
New APIs in NetBeans6.0 provide the possibility to add new logical folder to the existing project type  and new panels
to project properties (see http://platform.netbeans.org/tutorials/60/nbm-projectextension.html).

CND projects doesn't provide such functionality that makes impossible for 3d party contributors to use this spi for
adding new Logical Folder to CND projects.
Comment 1 Thomas Preisler 2008-01-23 16:47:16 UTC
Sounds like a good idea but changce it to an enhancement. It is not really a bug.
Comment 2 Jesse Grodnik 2008-02-07 21:06:51 UTC
We need to fix this to improve our support for D-Light.

It's an enhancement from the perspective of our current focus; however we need to accommodate support of new project types.
Comment 3 Jesse Grodnik 2008-03-25 16:39:28 UTC
There is a workaround for the absence of the requested API. This does however need to be addressed for the next NetBeans
release.
Comment 4 Thomas Preisler 2009-04-14 19:11:36 UTC
Changing to enhancement. Will need to re-implement a good portion of the options panel to accommodate this requirement.
Comment 5 Thomas Preisler 2009-06-23 08:30:11 UTC
See also http://www.netbeans.org/issues/show_bug.cgi?id=167508
Comment 6 Vladimir Voskresensky 2010-03-18 13:29:56 UTC
*** Bug 169256 has been marked as a duplicate of this bug. ***
Comment 7 Vladimir Voskresensky 2010-03-18 13:31:29 UTC
should be possible to use annotation like @LookupProvider.Registration(projectTypes=@LookupProvider.Registration.ProjectType(id="org-netbeans-modules-ant-freeform", 
position=400))
Comment 8 Vladimir Voskresensky 2010-03-22 07:04:31 UTC
use annotation based registration or layer-based registration:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=37966420eab3
Comment 9 Quality Engineering 2010-03-23 05:11:16 UTC
Integrated into 'main-golden', will be available in build *201003230200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/37966420eab3
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #125855 Provide support of org.netbeans.spi.project.LookupProvider to CND projects
- use @org.netbeans.spi.project.LookupProvider.Registration or put provider in layer.xml