%--
/*******************************************************************************
* Copyright (c) 2012-2013, 2015 University of Stuttgart.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and the Apache License 2.0 which both accompany this distribution,
* and are available at http://www.eclipse.org/legal/epl-v10.html
* and http://www.apache.org/licenses/LICENSE-2.0
*
* Contributors:
* Oliver Kopp - initial API and implementation and/or initial documentation
*******************************************************************************/
--%>
<%@tag description="Wrapper for resources, which are backed by definitions and thus offer an XML div" pageEncoding="UTF-8"%>
<%--
quick hack to avoid specifying windowtitle at elements having it.name, too.
TODO: check why in this class a check on it.name is done, although there is componentinstancewithname.tag
--%>
<%@attribute name="windowtitle" description="If it.name is not available, this parameter should be given"%>
<%@attribute name="selected" required="true"%>
<%@attribute name="cssClass" required="true"%>
<%@attribute name="image" required="false"%>
<%@attribute name="libs" fragment="true" %>
<%@attribute name="subMenus" required="false" type="java.util.List" description="list of SubMenuData objects stating the content of the submenus. The first submenu is used as default page. Subpage #xml must not be included, it is added automatically."%>
<%@attribute name="implementationFor" description="In case the component instance is an implementation for another type, the link (a href) to the type is put here"%>
<%@attribute name="type" description="In case the component instance is a template, the link (a href) to the type is put here"%>
<%@attribute name="twolines" required="false" description="if set, two lines are required for the tabs"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="w" uri="http://www.eclipse.org/winery/repository/functions" %>
<%@taglib prefix="t" tagdir="/WEB-INF/tags" %>
twolines">
<%-- Quick hack to enable usage of this tag at adminresource --%>
<%@ include file="/jsp/componentnaming.jspf" %>