org.gudy.azureus2.pluginsimpl.local.ui.config
Class ConfigSectionHolder

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ui.config.ConfigSectionHolder
All Implemented Interfaces:
ConfigSection

public class ConfigSectionHolder
extends Object
implements ConfigSection


Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.config.ConfigSection
SECTION_CONNECTION, SECTION_FILES, SECTION_INTERFACE, SECTION_PLUGINS, SECTION_ROOT, SECTION_TRACKER, SECTION_TRANSFER
 
Constructor Summary
protected ConfigSectionHolder(ConfigSection _section, PluginInterface _pi)
           
 
Method Summary
 void configSectionDelete()
          Config view is closing
 String configSectionGetName()
          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.
 String configSectionGetParentSection()
          Returns section you want your configuration panel to be under.
 void configSectionSave()
          User selected Save.
 PluginInterface getPluginInterface()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigSectionHolder

protected ConfigSectionHolder(ConfigSection _section,
                              PluginInterface _pi)
Method Detail

configSectionGetParentSection

public String configSectionGetParentSection()
Description copied from interface: ConfigSection
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.

Specified by:
configSectionGetParentSection in interface ConfigSection

configSectionGetName

public String configSectionGetName()
Description copied from interface: ConfigSection
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.

Specified by:
configSectionGetName in interface ConfigSection
Returns:
The name of the configuration section

configSectionSave

public void configSectionSave()
Description copied from interface: ConfigSection
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.

Specified by:
configSectionSave in interface ConfigSection

configSectionDelete

public void configSectionDelete()
Description copied from interface: ConfigSection
Config view is closing

Specified by:
configSectionDelete in interface ConfigSection

getPluginInterface

public PluginInterface getPluginInterface()