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

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


    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());
    }

    public void update(AnActionEvent e) {
        boolean enabled =
                getMessagesTree().getSelectionPath() != null &&
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());
        }
    }

    @Override
    public void update(AnActionEvent e) {
View Full Code Here

                    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
Copyright © 2018 www.massapi.com. 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.