- public void doUserChangeAdressChoice (final Contact contact) throws UnhandledUserChoiceException {\r
- // Ask the user for editing [name], [a]ddress or [other] data\r
- char choice = this.enterChar(new char[]{'n', 'a', 'o', 'x'}, "Welchen Daten möchten Sie ändern? (n=Namensdaten, a=Anschriftsdaten, o=Andere, x=Zurück zur Hauptauswahl) ");\r
-\r
- // @TODO Get rid of this ugly switch block, too\r
- switch (choice) {\r
- case 'n': // Name data\r
- this.getContactManager().changeNameData(contact);\r
- break;\r
-\r
- case 'a': // Address data\r
- this.getContactManager().changeAddressData(contact);\r
- break;\r
-\r
- case 'o': // Other data\r
- this.getContactManager().changeOtherData(contact);\r
- break;\r