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 String SECTION_CONNECTION
           
static String SECTION_FILES
           
static String SECTION_INTERFACE
           
static String SECTION_PLUGINS
          Configuration panel will be added to the plugins view area.
static String SECTION_ROOT
          Configuration panel will be added to main configuration view area
static String SECTION_TRACKER
           
static String SECTION_TRANSFER
           
 
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.
 

Field Detail

SECTION_ROOT

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

See Also:
Constant Field Values

SECTION_PLUGINS

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

See Also:
Constant Field Values

SECTION_TRACKER

static final String SECTION_TRACKER
See Also:
Constant Field Values

SECTION_FILES

static final String SECTION_FILES
See Also:
Constant Field Values

SECTION_INTERFACE

static final String SECTION_INTERFACE
See Also:
Constant Field Values

SECTION_CONNECTION

static final String SECTION_CONNECTION
See Also:
Constant Field Values

SECTION_TRANSFER

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

configSectionGetParentSection

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

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