Package de.chris_soft.fyllgen.widget

Examples of de.chris_soft.fyllgen.widget.FamilyModel


   *          Wechsel fragen, (2) unbedingt wechseln falls notwendig.
   */
  public void setCurrentPerson(Person person, int askForViewChange) {
    // Erstmal pr�fen, ob wir eventuell das Modell anpassen m�ssen.
    FamilyComposite familyComposite = GUI.instance.getFamilyComposite();
    FamilyModel familyModel = familyComposite.getFamilyModel();
    if (askForViewChange > 0 && !(familyModel instanceof FamilyModelStandard)) {
      String quest = "Wollen Sie in die Standardansicht wechseln?";
      if (askForViewChange == 2 || SwtUtilities.askYesNo(GUI.instance.shell, quest, "Ansichtenwechsel?")) {
        familyComposite.setFamilyModel(new FamilyModelStandard(familyComposite));
      }
View Full Code Here

TOP

Related Classes of de.chris_soft.fyllgen.widget.FamilyModel

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.