getDialogModel().addQuery(queryName, query);
}
setSelectedQuery(selectedQuery);
final OlapConnectionProvider currentJNDISource = dataFactory.getConnectionProvider();
final JdbcConnectionDefinition definition = getConnectionPanel().createConnectionDefinition(currentJNDISource);
getDialogModel().addConnection(definition);
getDialogModel().getConnections().setSelectedItem(definition);
getDialogModel().setJdbcUserField(dataFactory.getJdbcUserField());