Search in sources :

Example 1 with PostgreDatabaseRestoreSettings

use of org.jkiss.dbeaver.ext.postgresql.tasks.PostgreDatabaseRestoreSettings in project dbeaver by serge-rider.

the class PostgreRestoreWizardPageSettings method saveState.

@Override
public void saveState() {
    PostgreDatabaseRestoreSettings settings = wizard.getSettings();
    settings.setFormat(PostgreDatabaseBackupSettings.ExportFormat.values()[formatCombo.getSelectionIndex()]);
    settings.setInputFile(inputFileText.getText());
    settings.setCleanFirst(cleanFirstButton.getSelection());
    settings.setNoOwner(noOwnerCheck.getSelection());
}
Also used : PostgreDatabaseRestoreSettings(org.jkiss.dbeaver.ext.postgresql.tasks.PostgreDatabaseRestoreSettings)

Example 2 with PostgreDatabaseRestoreSettings

use of org.jkiss.dbeaver.ext.postgresql.tasks.PostgreDatabaseRestoreSettings in project dbeaver by dbeaver.

the class PostgreRestoreWizardPageSettings method saveState.

@Override
public void saveState() {
    PostgreDatabaseRestoreSettings settings = wizard.getSettings();
    settings.setFormat(PostgreDatabaseBackupSettings.ExportFormat.values()[formatCombo.getSelectionIndex()]);
    settings.setInputFile(inputFileText.getText());
    settings.setCleanFirst(cleanFirstButton.getSelection());
    settings.setNoOwner(noOwnerCheck.getSelection());
}
Also used : PostgreDatabaseRestoreSettings(org.jkiss.dbeaver.ext.postgresql.tasks.PostgreDatabaseRestoreSettings)

Aggregations

PostgreDatabaseRestoreSettings (org.jkiss.dbeaver.ext.postgresql.tasks.PostgreDatabaseRestoreSettings)2