Package com.dci.intellij.dbn.data.ui.table.resultSet

Examples of com.dci.intellij.dbn.data.ui.table.resultSet.ResultSetTable


        ResultSetDataModel dataModel = executionResult.getTableModel(argument);
        RecordViewInfo recordViewInfo = new RecordViewInfo(
                executionResult.getResultName(),
                executionResult.getResultIcon());

        ResultSetTable resultTable = new ResultSetTable(dataModel, true, recordViewInfo);
        resultTable.setPreferredScrollableViewportSize(new Dimension(500, -1));

        resultPanel.setBorder(IdeBorderFactory.createBorder());
        resultScrollPane.setViewportView(resultTable);
        resultScrollPane.setRowHeaderView(resultTable.getTableGutter());
        resultScrollPane.getViewport().setBackground(resultTable.getBackground());

        JPanel panel = new JPanel();
        panel.setBorder(UIUtil.getTableHeaderCellBorder());
        resultScrollPane.setCorner(ScrollPaneConstants.UPPER_LEFT_CORNER, panel);
View Full Code Here


    @Override
    public void actionPerformed(AnActionEvent e) {
        StatementExecutionCursorResult executionResult = getExecutionResult(e);
        if (executionResult != null) {
            ResultSetTable table = executionResult.getResultTable();
            ExportDataDialog dialog = new ExportDataDialog(table, executionResult);
            dialog.show();
        }
    }
View Full Code Here

                                executionResult.getResultIcon());
            }
        }.start();

        resultPanel.setBorder(IdeBorderFactory.createBorder());
        resultTable = new ResultSetTable(executionResult.getTableModel(), true, recordViewInfo);

        resultScrollPane.setViewportView(resultTable);
        resultScrollPane.setRowHeaderView(resultTable.getTableGutter());
        resultScrollPane.getViewport().setBackground(resultTable.getBackground());
View Full Code Here

    public void reloadTableModel() {
        new SimpleLaterInvocator() {
            public void execute() {
                if (executionResult != null) {
                    resultTable = new ResultSetTable(executionResult.getTableModel(), true, recordViewInfo);
                    resultScrollPane.setViewportView(resultTable);
                    resultScrollPane.setRowHeaderView(resultTable.getTableGutter());
                }
            }
        }.start();
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.data.ui.table.resultSet.ResultSetTable

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.