private ExportDataDialog(ResultSetTable table, @Nullable DBObject sourceObject, ConnectionHandler connectionHandler) {
super(connectionHandler.getProject(), "Export Data", true);
this.table = table;
this.connectionHandler = connectionHandler;
DataExportManager exportManager = DataExportManager.getInstance(connectionHandler.getProject());
DataExportInstructions instructions = exportManager.getExportInstructions();
boolean hasSelection = table.getSelectedRowCount() > 1 || table.getSelectedColumnCount() > 1;
instructions.setBaseName(table.getName());
exportDataForm = new ExportDataForm(instructions, hasSelection, connectionHandler, sourceObject);
init();
}