DevFaqActionAddProjectCustomizerToMultipleTypes

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

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

For example

@ProjectCustomizer.CompositeCategoryProvider.Registrations({
    @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

See http://platform.netbeans.org/tutorials/nbm-projecttype.html#projectcustomizer

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