final String script = dataFactory.getScript(queryName);
dialogModel.addQuery(queryName, query, scriptLanguage, script);
}
dialogModel.setSelectedQuery(selectedQueryName);
final OlapConnectionProvider currentJNDISource = dataFactory.getConnectionProvider();
final JdbcConnectionDefinition definition = getConnectionPanel().createConnectionDefinition(currentJNDISource);
getDialogModel().addConnection(definition);
getDialogModel().getConnections().setSelectedItem(definition);
getDialogModel().setJdbcUserField(dataFactory.getJdbcUserField());