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