use of org.gephi.desktop.datalab.general.actions.CSVExportUI in project gephi by gephi.
the class DataTableTopComponent method showCSVExportUI.
private void showCSVExportUI(Table table, boolean edgesTable, String fileName) {
CSVExportUI csvUI = new CSVExportUI(table, edgesTable);
DialogDescriptor dd = new DialogDescriptor(csvUI, csvUI.getDisplayName());
if (DialogDisplayer.getDefault().notify(dd).equals(DialogDescriptor.OK_OPTION)) {
DataTableTopComponent.exportTableAsCSV(this, this.visibleOnly, table, edgesTable, csvUI.getSelectedSeparator(), csvUI.getSelectedCharset(), csvUI.getSelectedColumnsIndexes(), fileName);
}
csvUI.unSetup();
}
Aggregations