Interface BaseConfigSection

    • Method Detail

      • getPluginParam

        ParameterImpl getPluginParam​(java.lang.String key)
      • getParentSectionID

        java.lang.String getParentSectionID()
        Returns section you want your configuration panel to be under. See BasicPluginConfigModel.SECTION_* constants. To add a subsection to your own ConfigSection, return the getConfigSectionID result of your parent.
      • getConfigSectionID

        java.lang.String getConfigSectionID()
        In order for the plugin to display its section correctly, a key in the Plugin language file will need to contain ConfigView.section.<getConfigSectionID() result>=The Section name.
        Returns:
        The name of the configuration section
      • saveConfigSection

        void saveConfigSection()
        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.
      • deleteConfigSection

        void deleteConfigSection()
        Config view is closing
      • getMaxUserMode

        int getMaxUserMode()
        Indicate if additional options are available to display a hint to the users
        Returns:
        the highest user mode that reveals additional options (0 = Beginner, 1 = Intermediate, 2 = Advanced)
      • requestRebuild

        void requestRebuild()
        Request the UI to rebuild this config section. For SWT, all SWT objects will be disposed and recreated.
      • build

        void build()
      • postBuild

        void postBuild()
      • isBuilt

        boolean isBuilt()
      • getSectionNameKey

        java.lang.String getSectionNameKey()
      • search

        java.util.List<Parameter> search​(java.util.regex.Pattern regex)