Search in sources :

Example 1 with OracleScriptExecuteSettings

use of org.jkiss.dbeaver.ext.oracle.tasks.OracleScriptExecuteSettings in project dbeaver by serge-rider.

the class OracleScriptExecuteWizardPageSettings method saveState.

@Override
public void saveState() {
    super.saveState();
    OracleScriptExecuteSettings settings = wizard.getSettings();
    List<DBSObject> selectedConnections = settings.getDatabaseObjects();
    settings.setDataSourceContainer(selectedConnections.isEmpty() ? null : selectedConnections.get(0).getDataSource().getContainer());
    settings.setInputFile(inputFileText.getText());
}
Also used : DBSObject(org.jkiss.dbeaver.model.struct.DBSObject) OracleScriptExecuteSettings(org.jkiss.dbeaver.ext.oracle.tasks.OracleScriptExecuteSettings)

Example 2 with OracleScriptExecuteSettings

use of org.jkiss.dbeaver.ext.oracle.tasks.OracleScriptExecuteSettings in project dbeaver by dbeaver.

the class OracleScriptExecuteWizardPageSettings method saveState.

@Override
public void saveState() {
    super.saveState();
    OracleScriptExecuteSettings settings = wizard.getSettings();
    List<DBSObject> selectedConnections = settings.getDatabaseObjects();
    settings.setDataSourceContainer(selectedConnections.isEmpty() ? null : selectedConnections.get(0).getDataSource().getContainer());
    settings.setInputFile(inputFileText.getText());
}
Also used : DBSObject(org.jkiss.dbeaver.model.struct.DBSObject) OracleScriptExecuteSettings(org.jkiss.dbeaver.ext.oracle.tasks.OracleScriptExecuteSettings)

Aggregations

OracleScriptExecuteSettings (org.jkiss.dbeaver.ext.oracle.tasks.OracleScriptExecuteSettings)2 DBSObject (org.jkiss.dbeaver.model.struct.DBSObject)2