void () { myModel.data.clear(); for (Map.Entry<VirtualFile, T> e : myMappings.getMappings().entrySet()) { if (e.getKey() == null) continue; myModel.data.add(pair(e.getKey(), e.getValue())); } for (Mapping<T> prop : myDefaultProps) { myDefaultVals.put(prop.name, prop.getter.get()); } for (Runnable runnable : myResetRunnables) { runnable.run(); } int[] rows = myTable.getSelectedRows(); myModel.fireTableDataChanged(); selectRows(rows, false); }