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