Search in sources :

Example 1 with ViewExceptionDialog

use of org.jkiss.dbeaver.ui.dialogs.ViewExceptionDialog in project dbeaver by serge-rider.

the class StatusDetailsDialog method openWarning.

private void openWarning() {
    TableItem[] selection = warnTable.getSelection();
    if (selection.length == 0) {
        return;
    }
    Throwable error = (Throwable) selection[0].getData();
    ViewExceptionDialog veDialog = new ViewExceptionDialog(getShell(), error);
    veDialog.open();
}
Also used : ViewExceptionDialog(org.jkiss.dbeaver.ui.dialogs.ViewExceptionDialog) TableItem(org.eclipse.swt.widgets.TableItem)

Aggregations

TableItem (org.eclipse.swt.widgets.TableItem)1 ViewExceptionDialog (org.jkiss.dbeaver.ui.dialogs.ViewExceptionDialog)1