org.netbeans.modules.java.j2seproject/1 1.53.0 46

org.netbeans.modules.java.j2seproject.api
Interface J2SECategoryExtensionProvider


public interface J2SECategoryExtensionProvider

Provider of component that will be added to customizer panel of category specified by getCategory() return value. Component will be used for additional customization of a set of additional properties not customized by standard J2SE Project controls. Implementation of the interface should be registered using ProjectServiceProvider.

Since:
1.46

Nested Class Summary
static interface J2SECategoryExtensionProvider.ConfigChangeListener
          Callback listener for setting properties that are changed by interaction with the component
static class J2SECategoryExtensionProvider.ExtensibleCategory
          Enumeration of categories for which extension is currently allowed
 
Method Summary
 void configUpdated(Map<String,String> props)
          Method is called when properties exposed by the provided component get changed externally and the component needs to be updated accordingly
 JComponent createComponent(Project proj, J2SECategoryExtensionProvider.ConfigChangeListener listener)
          Provides component that is added to the customizer panel of j2seproject selected by getCategory() return value
 J2SECategoryExtensionProvider.ExtensibleCategory getCategory()
          Provides identifier of category whose panel should be extended by this component provider
 

Method Detail

getCategory

J2SECategoryExtensionProvider.ExtensibleCategory getCategory()
Provides identifier of category whose panel should be extended by this component provider


createComponent

JComponent createComponent(Project proj,
                           J2SECategoryExtensionProvider.ConfigChangeListener listener)
Provides component that is added to the customizer panel of j2seproject selected by getCategory() return value

Parameters:
proj - project to create the customizer component for
listener - listener to be notified when properties should be updated

configUpdated

void configUpdated(Map<String,String> props)
Method is called when properties exposed by the provided component get changed externally and the component needs to be updated accordingly

Parameters:
props - all properties (shared + private); properites are not evaluated

org.netbeans.modules.java.j2seproject/1 1.53.0 46

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.