1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
<%@ jet package="org.eclipse.emf.codegen.ecore.templates.model" imports="org.eclipse.emf.codegen.ecore.genmodel.*" class="PluginProperties"%>
<%
/**
* Copyright (c) 2002-2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* IBM - Initial API and implementation
*/
%>
<%GenModel genModel = (GenModel)argument;%>
<%@ include file="../Header.propertiesjetinc"%>
pluginName = <%=genModel.getModelBundleName()%>
providerName = <%=genModel.getModelBundleVendorName()%>
<%boolean first = true; for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
<%if (genPackage.isContentType()) {%>
<%if (first) { first = false;%>
<%}%>
_UI_<%=genPackage.getPrefix()%>_content_type = <%=genPackage.getPrefix()%> File
<%}%>
<%}%>
|