void () { TableUtil.stopEditing(myTable); final int count = myTable.getRowCount(); String[] urls = ArrayUtil.newStringArray(count); for (int row = 0; row < count; row++) { final TableItem item = ((MyTableModel)myTable.getModel()).getTableItemAt(row); urls[row] = item.getUrl(); } getModel().getModuleExtension(JavaModuleExternalPaths.class).setExternalAnnotationUrls(urls); fireConfigurationChanged(); }