Class ConfigSectionHolder
- java.lang.Object
-
- com.biglybt.ui.config.ConfigSectionImpl
-
- com.biglybt.pifimpl.local.ui.config.ConfigSectionHolder
-
- All Implemented Interfaces:
BaseConfigSection
public class ConfigSectionHolder extends ConfigSectionImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.biglybt.ui.config.ConfigSectionImpl
ConfigSectionImpl.ConfigDetailsCallback
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ref.WeakReference<PluginInterface>
pi
private BaseConfigSection
section
-
Fields inherited from class com.biglybt.ui.config.ConfigSectionImpl
L10N_SECTION_PREFIX, mapPluginParams
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConfigSectionHolder(BaseConfigSection _section, PluginInterface _pi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build()
void
deleteConfigSection()
Config view is closingPluginInterface
getPluginInterface()
void
requestRebuild()
Request the UI to rebuild this config section.void
saveConfigSection()
User selected Save.-
Methods inherited from class com.biglybt.ui.config.ConfigSectionImpl
add, add, add, add, findPluginParamKey, getConfigSectionID, getMaxUserMode, getMinUserMode, getParamArray, getParentSectionID, getPluginParam, getSectionNameKey, getSectionNameKey, guessParamName, isBuilt, postBuild, search, setDefaultUITypesForAdd, setDefaultUserModeForAdd, setRebuildRunner
-
-
-
-
Field Detail
-
section
private BaseConfigSection section
-
pi
private java.lang.ref.WeakReference<PluginInterface> pi
-
-
Constructor Detail
-
ConfigSectionHolder
protected ConfigSectionHolder(BaseConfigSection _section, PluginInterface _pi)
-
-
Method Detail
-
build
public void build()
-
saveConfigSection
public void saveConfigSection()
Description copied from interface:BaseConfigSection
User selected Save. All saving of non-plugin tabs have been completed, as well as saving of plugins that implement com.biglybt.pif.ui.config parameters.- Specified by:
saveConfigSection
in interfaceBaseConfigSection
- Overrides:
saveConfigSection
in classConfigSectionImpl
-
deleteConfigSection
public void deleteConfigSection()
Description copied from interface:BaseConfigSection
Config view is closing- Specified by:
deleteConfigSection
in interfaceBaseConfigSection
- Overrides:
deleteConfigSection
in classConfigSectionImpl
-
requestRebuild
public void requestRebuild()
Description copied from interface:BaseConfigSection
Request the UI to rebuild this config section. For SWT, all SWT objects will be disposed and recreated.- Specified by:
requestRebuild
in interfaceBaseConfigSection
- Overrides:
requestRebuild
in classConfigSectionImpl
-
getPluginInterface
public PluginInterface getPluginInterface()
-
-