| 1 |
<%@ jet package="org.eclipse.emf.codegen.ecore.templates.edit" imports="java.util.* org.eclipse.emf.codegen.ecore.genmodel.*" class="PluginProperties"%> |
| 2 |
<% |
| 3 |
/** |
| 4 |
* Copyright (c) 2002-2007 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; /* Trick to import java.util.* without warnings */Iterator.class.getName();%> |
| 15 |
<%@ include file="../Header.propertiesjetinc"%> |
| 16 |
|
| 17 |
pluginName = <%=genModel.getEditBundleName()%> |
| 18 |
providerName = <%=genModel.getEditBundleVendorName()%> |
| 19 |
<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%> |
| 20 |
|
| 21 |
<%if (genModel.isCreationCommands()) {%> |
| 22 |
_UI_CreateChild_text = {0} |
| 23 |
_UI_CreateChild_text2 = {1} <%if (genModel.isCreationSubmenus()) {%>| <%}%>{0} |
| 24 |
_UI_CreateChild_text3 = {1} |
| 25 |
_UI_CreateChild_tooltip = Create New {0} Under {1} Feature |
| 26 |
_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. |
| 27 |
_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. |
| 28 |
|
| 29 |
<%}%> |
| 30 |
_UI_PropertyDescriptor_description = The {0} of the {1} |
| 31 |
|
| 32 |
<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%> |
| 33 |
<%if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) { %> |
| 34 |
<%for (GenClass genClass : genPackage.getGenClasses()) {%> |
| 35 |
_UI_<%=genClass.getName()%>_type = <%=genClass.getFormattedName()%> |
| 36 |
<%}%> |
| 37 |
<%}%> |
| 38 |
<%}%> |
| 39 |
_UI_Unknown_type = Object |
| 40 |
|
| 41 |
_UI_Unknown_datatype= Value |
| 42 |
|
| 43 |
<%for (GenFeature genFeature : genModel.getFilteredAllGenFeatures()) { String description = genFeature.getPropertyDescription();%> |
| 44 |
_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_feature = <%=genFeature.getFormattedName()%> |
| 45 |
<%if (description != null && description.length() > 0) {%> |
| 46 |
_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_description = <%=description%> |
| 47 |
<%}%> |
| 48 |
<%}%> |
| 49 |
_UI_Unknown_feature = Unspecified |
| 50 |
|
| 51 |
<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%> |
| 52 |
<%if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {%> |
| 53 |
<%for (GenEnum genEnum : genPackage.getGenEnums()) {%> |
| 54 |
<%for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {%> |
| 55 |
_UI_<%=genEnum.getName()%>_<%=genEnumLiteral.getName()%>_literal = <%=genEnumLiteral.getLiteral()%> |
| 56 |
<%}%> |
| 57 |
<%}%> |
| 58 |
<%}%> |
| 59 |
<%}%> |
| 60 |
<%for (String category : genModel.getPropertyCategories()) {%> |
| 61 |
<%=genModel.getPropertyCategoryKey(category)%> = <%=category%> |
| 62 |
<%}%> |
| 63 |
<%}%> |