Package de.chris_soft.fyllgen.widget.dialog

Examples of de.chris_soft.fyllgen.widget.dialog.PersonChoiceShell


   */
  public void handleEvent(Event event) {
    // Aktuelle Person merken.
    Person child = Family.instance.getCurrentPerson();

    PersonChoiceShell pcs = new PersonChoiceShell(GUI.instance.shell, "Elternteil hinzuf�gen",
        "Als Elternteil eintragen", "Neues Elternteil erzeugen", 2, false, null, false);

    // Verschiedene Personen raus nehmen.
    pcs.removePerson(child);
    for (Person person : child.getChildren()) {
      pcs.removePerson(person);
    }
    for (Person person : child.getParents()) {
      pcs.removePerson(person);
    }

    pcs.open();

    // Erzeugtes oder vorhandenes und nun eingetragenes Elternteil.
    Person parent = null;

    if (pcs.personChoice != null) {
View Full Code Here

TOP

Related Classes of de.chris_soft.fyllgen.widget.dialog.PersonChoiceShell

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.