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

Examples of com.dci.intellij.dbn.execution.statement.result.ui.StatementViewerPopup


    public void actionPerformed(AnActionEvent e) {
        getMessagesTree().grabFocus();
        StatementExecutionMessageNode execMessageNode = (StatementExecutionMessageNode) getMessagesTree().getSelectionPath().getLastPathComponent();
        StatementExecutionResult executionResult = execMessageNode.getExecutionMessage().getExecutionResult();
        StatementViewerPopup statementViewer = new StatementViewerPopup(executionResult);
        statementViewer.show((Component) e.getInputEvent().getSource());
    }
View Full Code Here


    @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

                if (event.getClickCount() > 1 ) {
                    Object value = selectionPath.getLastPathComponent();
                    if (value instanceof StatementExecutionMessageNode) {
                        StatementExecutionMessageNode execMessageNode = (StatementExecutionMessageNode) value;
                        StatementExecutionResult executionResult = execMessageNode.getExecutionMessage().getExecutionResult();
                        StatementViewerPopup statementViewer = new StatementViewerPopup(executionResult);
                        statementViewer.show(event.getComponent(), event.getPoint());
                        event.consume();
                    }
                } else {
                    Object value = selectionPath.getLastPathComponent();
                    navigateToCode(value);
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.execution.statement.result.ui.StatementViewerPopup

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.