/** @see genj.edit.actions.AbstractChange#change() */ protected Context execute(Gedcom gedcom, ActionEvent event) throws GedcomException { for (Fam fam : fams) fam.swapSpouses(); return null; }
/** Constructor */ public SwapSpouses(Fam family) { super(family.getGedcom(), family.getImage(false), resources.getString("swap.spouses")); fams = Collections.singletonList(family); }