Package com.dci.intellij.dbn.execution.statement.result

Examples of com.dci.intellij.dbn.execution.statement.result.StatementExecutionCursorResult


        return null;
    }

    @Override
    public void update(AnActionEvent e) {
        StatementExecutionCursorResult executionResult = getExecutionResult(e);
        e.getPresentation().setEnabled(executionResult != null);
    }
View Full Code Here


        super("Export data", Icons.DATA_EXPORT);
    }

    @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

        super("View record", Icons.EXEC_RESULT_VIEW_RECORD);
    }

    @Override
    public void actionPerformed(AnActionEvent e) {
        StatementExecutionCursorResult executionResult = getExecutionResult(e);
        if (executionResult != null) {
            executionResult.getResultTable().showRecordViewDialog();
        }
    }
View Full Code Here

        }
    }

    @Override
    public void update(AnActionEvent e) {
        StatementExecutionCursorResult executionResult = getExecutionResult(e);
        boolean enabled = executionResult != null && executionResult.getResultTable().getSelectedColumn() > -1;
        e.getPresentation().setEnabled(enabled);
        e.getPresentation().setText("View record");
    }
View Full Code Here

        super("View SQL statement", Icons.FILE_BLOCK_SQL);
    }

    @Override
    public void actionPerformed(AnActionEvent e) {
        StatementExecutionCursorResult executionResult = getExecutionResult(e);
        if (executionResult != null) {
            StatementViewerPopup statementViewer = new StatementViewerPopup(executionResult);
            statementViewer.show((Component) e.getInputEvent().getSource());
        }
    }
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.execution.statement.result.StatementExecutionCursorResult

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.