2 /*******************************************************************************
3 * Copyright (c) 2012-2013 University of Stuttgart.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * and the Apache License 2.0 which both accompany this distribution,
7 * and are available at http://www.eclipse.org/legal/epl-v10.html
8 * and http://www.apache.org/licenses/LICENSE-2.0
11 * Oliver Kopp - initial API and implementation and/or initial documentation
12 *******************************************************************************/
14 <%@taglib prefix="t" tagdir="/WEB-INF/tags" %>
15 <%@page import="org.eclipse.winery.repository.resources.SubMenuData"%>
18 java.util.List<SubMenuData> subMenus = new java.util.ArrayList<SubMenuData>();
22 data = new SubMenuData("#namespaces", "Namespaces");
25 data = new SubMenuData("#repository", "Repository");
28 data = new SubMenuData("#planlanguages", "Plan Languages");
31 data = new SubMenuData("#plantypes", "Plan Types");
34 data = new SubMenuData("#constrainttypes", "Constraint Types");
38 <%-- TODO: do not use componentinstance, but introduce a layer inbetween componentinstance.tag and genericpage.tag --%>
40 <t:componentinstance windowtitle="Admin" cssClass="mainContentContainer admin" selected="admin" subMenus="<%=subMenus%>">
41 </t:componentinstance>