Search in sources :

Example 1 with SQLQueryParameterRegistry

use of org.jkiss.dbeaver.model.sql.registry.SQLQueryParameterRegistry in project dbeaver by serge-rider.

the class SQLQueryParameterBindDialog method okPressed.

@Override
protected void okPressed() {
    SQLQueryParameterRegistry registry = SQLQueryParameterRegistry.getInstance();
    for (SQLQueryParameterRegistry.ParameterInfo param : savedParamValues.values()) {
        registry.setParameter(param.name, param.value);
    }
    registry.save();
    if (hideIfSetCheck != null) {
        getDialogBoundsSettings().put(PARAM_HIDE_IF_SET, hideIfSetCheck.getSelection());
    }
    super.okPressed();
}
Also used : SQLQueryParameterRegistry(org.jkiss.dbeaver.model.sql.registry.SQLQueryParameterRegistry)

Example 2 with SQLQueryParameterRegistry

use of org.jkiss.dbeaver.model.sql.registry.SQLQueryParameterRegistry in project dbeaver by dbeaver.

the class SQLQueryParameterBindDialog method okPressed.

@Override
protected void okPressed() {
    SQLQueryParameterRegistry registry = SQLQueryParameterRegistry.getInstance();
    for (SQLQueryParameterRegistry.ParameterInfo param : savedParamValues.values()) {
        registry.setParameter(param.name, param.value);
    }
    registry.save();
    if (hideIfSetCheck != null) {
        getDialogBoundsSettings().put(PARAM_HIDE_IF_SET, hideIfSetCheck.getSelection());
    }
    super.okPressed();
}
Also used : SQLQueryParameterRegistry(org.jkiss.dbeaver.model.sql.registry.SQLQueryParameterRegistry)

Aggregations

SQLQueryParameterRegistry (org.jkiss.dbeaver.model.sql.registry.SQLQueryParameterRegistry)2