PyConfigureExceptionDialog dialog = new PyConfigureExceptionDialog(getShell(), "",
new PyExceptionListProvider(), new LabelProvider(), "");
dialog.setInitialElementSelections(PyExceptionBreakPointManager.getInstance().getExceptionsList());
dialog.setTitle("Add Python Exception Breakpoint");
if (dialog.open() == PyConfigureExceptionDialog.OK) {
Object[] selectedItems = dialog.getResult();
String[] exceptionArray;
if (selectedItems != null) {
exceptionArray = new String[selectedItems.length];