org.gudy.azureus2.plugins.ui.config
Interface ConfigSection

All Known Subinterfaces:
UISWTConfigSection
All Known Implementing Classes:
BasicPluginConfigImpl, ConfigSectionBackupRestore, ConfigSectionConnection, ConfigSectionConnectionAdvanced, ConfigSectionConnectionDNS, ConfigSectionConnectionEncryption, ConfigSectionConnectionProxy, ConfigSectionDownloading, ConfigSectionFile, ConfigSectionFileMove, ConfigSectionFilePerformance, ConfigSectionFileTorrents, ConfigSectionFileTorrentsDecoding, ConfigSectionHolder, ConfigSectionInterface, ConfigSectionInterfaceAlerts, ConfigSectionInterfaceColor, ConfigSectionInterfaceDisplay, ConfigSectionInterfaceLanguage, ConfigSectionInterfaceLegacy, ConfigSectionInterfacePassword, ConfigSectionInterfaceStart, ConfigSectionInterfaceTables, ConfigSectionIPFilter, ConfigSectionLogging, ConfigSectionMode, ConfigSectionPlugins, ConfigSectionQueue, ConfigSectionSecurity, ConfigSectionSeeding, ConfigSectionSeedingAutoStarting, ConfigSectionSeedingFirstPriority, ConfigSectionSeedingIgnore, ConfigSectionSharing, ConfigSectionStartShutdown, ConfigSectionStats, ConfigSectionTracker, ConfigSectionTrackerClient, ConfigSectionTrackerServer, ConfigSectionTransfer, ConfigSectionTransferAutoSpeed, ConfigSectionTransferAutoSpeedBeta, ConfigSectionTransferAutoSpeedSelect, ConfigSectionTransferLAN

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).


Field Summary
static java.lang.String SECTION_CONNECTION
           
static java.lang.String SECTION_FILES
           
static java.lang.String SECTION_INTERFACE
           
static java.lang.String SECTION_PLUGINS
          Configuration panel will be added to the plugins view area.
static java.lang.String SECTION_ROOT
          Configuration panel will be added to main configuration view area
static java.lang.String SECTION_TRACKER
           
static java.lang.String SECTION_TRANSFER
           
 
Method Summary
 void configSectionDelete()
          Config view is closing
 java.lang.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.
 java.lang.String configSectionGetParentSection()
          Returns section you want your configuration panel to be under.
 void configSectionSave()
          User selected Save.
 

Field Detail

SECTION_ROOT

static final java.lang.String SECTION_ROOT
Configuration panel will be added to main configuration view area

See Also:
Constant Field Values

SECTION_PLUGINS

static final java.lang.String SECTION_PLUGINS
Configuration panel will be added to the plugins view area.

See Also:
Constant Field Values

SECTION_TRACKER

static final java.lang.String SECTION_TRACKER
See Also:
Constant Field Values

SECTION_FILES

static final java.lang.String SECTION_FILES
See Also:
Constant Field Values

SECTION_INTERFACE

static final java.lang.String SECTION_INTERFACE
See Also:
Constant Field Values

SECTION_CONNECTION

static final java.lang.String SECTION_CONNECTION
See Also:
Constant Field Values

SECTION_TRANSFER

static final java.lang.String SECTION_TRANSFER
See Also:
Constant Field Values
Method Detail

configSectionGetParentSection

java.lang.String configSectionGetParentSection()
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.


configSectionGetName

java.lang.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.

Returns:
The name of the configuration section

configSectionSave

void configSectionSave()
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.


configSectionDelete

void configSectionDelete()
Config view is closing