Package com.dci.intellij.dbn.data.export

Examples of com.dci.intellij.dbn.data.export.DataExportManager


    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();
    }
View Full Code Here


                getCancelAction()};
    }

    protected void doOKAction() {
        if (exportDataForm.validateEntries()) {
            DataExportManager exportManager = DataExportManager.getInstance(connectionHandler.getProject());
            DataExportInstructions exportInstructions = exportDataForm.getExportInstructions();
            exportManager.setExportInstructions(exportInstructions);
            boolean success = exportManager.exportSortableTableContent(
                    table,
                    exportInstructions,
                    connectionHandler);
            if (success) super.doOKAction();
        }
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.data.export.DataExportManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.