Apache NetBeans Wiki Index

Note: These pages are being reviewed.

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

=== Apache Migration Information

The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.

This page was exported from http://wiki.netbeans.org/DevFaqActionAddProjectCustomizerToMultipleTypes , that was last modified by NetBeans user Markiewb on 2012-10-07T13:56:52Z.

NOTE: This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.