super(messagesTree, "View SQL statement", Icons.EXEC_RESULT_VIEW_STATEMENT);
}
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());
}