Class ConfigSectionBackupRestoreSWT

    • Field Detail

      • shell

        private org.eclipse.swt.widgets.Shell shell
    • Constructor Detail

      • ConfigSectionBackupRestoreSWT

        public ConfigSectionBackupRestoreSWT()
    • Method Detail

      • configSectionCreate

        public void configSectionCreate​(org.eclipse.swt.widgets.Composite parent,
                                        java.util.Map<ParameterImpl,​BaseSwtParameter> mapParamToSwtParam)
        Description copied from interface: BaseConfigSectionSWT
        Adjust the configuration panel here. Please be mindful of small screen resolutions.
        Specified by:
        configSectionCreate in interface BaseConfigSectionSWT
        Parameters:
        parent - The parent of your configuration panel
        mapParamToSwtParam - Link non-Swt Parameter to SwtParameter. Use BaseConfigSection.getPluginParam(String) to find the SwtParameter with key used when adding the non-Swt parameter. Key is usually they config key, or a manual key passed in on add()
      • doManualBackup

        private void doManualBackup​(BackupManager backup_manager,
                                    java.lang.Runnable stats_updater)
      • restoreBackup

        private void restoreBackup()
      • updateInfoParams

        private static void updateInfoParams​(BackupManager backup_manager,
                                             java.util.Map<java.lang.String,​ParameterImpl> mapParams)
      • runBackup

        private static void runBackup​(BackupManager backup_manager,
                                      java.lang.String path,
                                      java.lang.Runnable stats_updater)