Пример #1
0
        public static ObservableCollection <INavigationItem> GetNavigationAccordionData(NavigationAccordionViewModel inNAVM)
        {
            ObservableCollection <INavigationItem> ret = new ObservableCollection <INavigationItem>();

            // startPage
            ret.Add(new NavigationItem("StartPage", inNAVM));
            // List
            NavigationItem temp = new NavigationItem("Personen", inNAVM);

            temp.AppendNewSubItem("Person anlegen");
            temp.AppendNewSubItem("Person ändern");
            temp.AppendNewSubItem("Person löschen");
            ret.Add(temp);
            temp = new NavigationItem("Konten", inNAVM);
            temp.AppendNewSubItem("Konto einsehen");
            temp.AppendNewSubItem("Konto anlegen");
            temp.AppendNewSubItem("Transaktion ausführen");
            temp.AppendNewSubItem("Bierliste eintragen");
            temp.AppendNewSubItem("Barliste eintragen");
            temp.AppendNewSubItem("Aktivenessen abrechnen");
            ret.Add(temp);
            temp = new NavigationItem("Semester", inNAVM);
            temp.AppendNewSubItem("Semester ändern");
            temp.AppendNewSubItem("Veranstaltung planen");
            temp.AppendNewSubItem("Schicht erstellen");
            temp.AppendNewSubItem("Schicht einteilen");
            temp.AppendNewSubItem("Entschuldigungen bearbeiten");
            temp.AppendNewSubItem("Einteilen");
            ret.Add(temp);
            temp = new NavigationItem("Lernmaterial", inNAVM);
            temp.AppendNewSubItem("Lernmaterial anschauen");
            temp.AppendNewSubItem("Lernmaterial erstellen");
            temp.AppendNewSubItem("Lehrer suchen");
            ret.Add(temp);
            temp = new NavigationItem("Verbindungen", inNAVM);
            temp.AppendNewSubItem("Verbindung ansehen");
            temp.AppendNewSubItem("Verbindung anlegen");
            temp.AppendNewSubItem("Dachverband ansehen");
            temp.AppendNewSubItem("Dachverband anlegen");
            temp.AppendNewSubItem("Zugehörigkeit erstellen");
            ret.Add(temp);
            temp = new NavigationItem("Hochschulen", inNAVM);
            temp.AppendNewSubItem("Hochschule erstellen");
            temp.AppendNewSubItem("Hochschule ändern");
            temp.AppendNewSubItem("Studiengang erstellen");
            temp.AppendNewSubItem("Studiengang ändern");
            temp.AppendNewSubItem("Studiengang wechseln");
            return(ret);
        }