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