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();
}
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();
}
Aggregations