FileDocCategorySizeDatePackage
ConfigSection.javaAPI DocAzureus 3.0.3.42572Wed Jan 11 11:27:30 GMT 2006org.gudy.azureus2.plugins.ui.config

ConfigSection

public interface ConfigSection
Base class for adding "ConfigSection"s.

This class does nothing. Extend the subinterfaces to add a section to a particular type of view (currently only SWT is supported).

Fields Summary
public static final String
SECTION_ROOT
Configuration panel will be added to main configuration view area
public static final String
SECTION_PLUGINS
Configuration panel will be added to the plugins view area.
public static final String
SECTION_TRACKER
public static final String
SECTION_FILES
public static final String
SECTION_INTERFACE
public static final String
SECTION_CONNECTION
public static final String
SECTION_TRANSFER
Constructors Summary
Methods Summary
public voidconfigSectionDelete()
Config view is closing

public java.lang.StringconfigSectionGetName()
In order for the plugin to display its section correctly, a key in the Plugin language file will need to contain ConfigView.section.<configSectionGetName() result>=The Section name.

return
The name of the configuration section

public java.lang.StringconfigSectionGetParentSection()
Returns section you want your configuration panel to be under. See SECTION_* constants. To add a subsection to your own ConfigSection, return the configSectionGetName result of your parent.

public voidconfigSectionSave()
User selected Save. All saving of non-plugin tabs have been completed, as well as saving of plugins that implement org.gudy.azureus2.plugins.ui.config parameters.