Revision as of 13:56, 7 October 2012 by Markiewb (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

How do I register a "ProjectCustomizer" to multiple project types?

Use the @Registrations annotation to group the multiple @Registration annotations.

For example

    @ProjectCustomizer.CompositeCategoryProvider.Registration(projectType = "org-netbeans-modules-java-j2seproject"),
    @ProjectCustomizer.CompositeCategoryProvider.Registration(projectType = "org-netbeans-modules-web-project"),
    @ProjectCustomizer.CompositeCategoryProvider.Registration(projectType = "org-netbeans-modules-maven")
public class MyPluginPanelProvider implements ProjectCustomizer.CompositeCategoryProvider {

Applies to: NetBeans IDE 7.x Platforms: All


Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo