<%-- /******************************************************************************* * Copyright (c) 2012-2014 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 * Yves Schubert - switch to bootstrap 3, integration with spinnerwithinphty *******************************************************************************/ --%> <%@tag description="Models Requirement and Capability Definitions" pageEncoding="UTF-8"%> <%@attribute name="labelForSingleItem" required="true" %> <%@attribute name="url" required="true"%> <%@attribute name="allSubResources" required="true" type="java.util.List" description="All available req-/cap-defs" %> <%@attribute name="allTypes" required="true" type="java.util.Collection" description="All available types of req-/cap-def" %> <%@attribute name="typeClass" required="true" type="java.lang.Class" description="The class of the type" %> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="ct" tagdir="/WEB-INF/tags/common" %> <%@taglib prefix="con" tagdir="/WEB-INF/tags/constraints" %> <%@taglib prefix="o" tagdir="/WEB-INF/tags/common/orioneditor"%> <%@taglib prefix="t" tagdir="/WEB-INF/tags" %> <%@taglib prefix="w" uri="http://www.eclipse.org/winery/repository/functions"%> <%@taglib prefix="wc" uri="http://www.eclipse.org/winery/functions"%>
name type lower bound upper bound constraints
${r.def.name} ${wc:qname2href(pageContext.request.contextPath, typeClass, r.type)} ${w:renderMinInstances(r.def.lowerBound)} ${w:renderMaxInstances(r.def.upperBound)}
<%-- Editing a set of constraints --%> <%-- Editing a single constraint --%>