@@ -0,0 +1,1520 @@
+/*%0A * Copyright (c) 2005-2010 Grameen Foundation USA%0A * All rights reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or%0A * implied. See the License for the specific language governing%0A * permissions and limitations under the License.%0A *%0A * See also http://www.apache.org/licenses/LICENSE-2.0.html for an%0A * explanation of the license and how it is applied.%0A */%0A%0Apackage org.mifos.ui.core.controller;%0A%0Aimport java.util.LinkedList;%0Aimport java.util.List;%0A%0A%0Apublic class AdminBreadcrumbBuilder %7B%0A%0A    private final List%3CBreadCrumbsLinks%3E breadcrumbs = new LinkedList%3CBreadCrumbsLinks%3E();%0A%0A    public AdminBreadcrumbBuilder withLink(String message, String link) %7B%0A%0A        BreadCrumbsLinks breadCrumb = new BreadCrumbsLinks();%0A        breadCrumb.setMessage(message);%0A        breadCrumb.setLink(link);%0A        breadcrumbs.add(breadCrumb);%0A        return this;%0A    %7D%0A%0A    public List%3CBreadCrumbsLinks%3E build() %7B%0A%0A        BreadCrumbsLinks root = new BreadCrumbsLinks();%0A        root.setMessage(%22admin%22);%0A        root.setLink(%22AdminAction.do?method=load%22);%0A%0A        breadcrumbs.add(0, root);%0A        return breadcrumbs;%0A    %7D%0A%7D

add builder for admin breadcrumbs