Package cz.muni.fi.pa165.library.web_layer.adminPages

Source Code of cz.muni.fi.pa165.library.web_layer.adminPages.MenuAdminPanel

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package cz.muni.fi.pa165.library.web_layer.adminPages;

import cz.muni.fi.pa165.library.web_layer.adminPages.Book.ShowAllBook;
import cz.muni.fi.pa165.library.web_layer.adminPages.RegistrationLibrarianForm;
import cz.muni.fi.pa165.library.web_layer.adminPages.Borrow.ShowAllBorrow;
import cz.muni.fi.pa165.library.web_layer.adminPages.Reader.ShowAllReader;
import cz.muni.fi.pa165.library.web_layer.adminPages.reservation.ShowAllReservation;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.panel.Panel;



/**
*
* @author dulinka
*/
public class MenuAdminPanel extends Panel {
    public MenuAdminPanel(String id) {
  super(id);
        add(new BookmarkablePageLink<>("addAllBook", ShowAllBook.class));
        add(new BookmarkablePageLink<>("addAllReservation", ShowAllReservation.class));
        add(new BookmarkablePageLink<>("addAllReader", ShowAllReader.class));
        add(new BookmarkablePageLink<>("addAllBorrow", ShowAllBorrow.class));
        add(new BookmarkablePageLink("registrationLink", RegistrationLibrarianForm.class));
    }
}
TOP

Related Classes of cz.muni.fi.pa165.library.web_layer.adminPages.MenuAdminPanel

TOP
Copyright © 2018 www.massapi.com. 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.