| 1 |
<%@ jet package="org.eclipse.emf.codegen.ecore.templates.editor" imports="java.util.* org.eclipse.emf.codegen.ecore.genmodel.*" class="PluginProperties"%> |
| 2 |
<% |
| 3 |
/** |
| 4 |
* Copyright (c) 2002-2006 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.getEditorBundleName()%> |
| 18 |
providerName = <%=genModel.getEditorBundleVendorName()%> |
| 19 |
<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%> |
| 20 |
|
| 21 |
<%boolean hasMultiPageEditor = false;%> |
| 22 |
<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {if (genPackage.isMultipleEditorPages()) { hasMultiPageEditor = true; }%> |
| 23 |
_UI_<%=genPackage.getEditorClassName()%>_menu = &<%=genPackage.getPrefix()%> Editor |
| 24 |
<%}%> |
| 25 |
|
| 26 |
<%if (genModel.isCreationCommands()) {%> |
| 27 |
_UI_CreateChild_menu_item = &New Child |
| 28 |
_UI_CreateSibling_menu_item = N&ew Sibling |
| 29 |
|
| 30 |
<%}%> |
| 31 |
_UI_ShowPropertiesView_menu_item = Show &Properties View |
| 32 |
_UI_RefreshViewer_menu_item = &Refresh |
| 33 |
|
| 34 |
_UI_SelectionPage_label = Selection |
| 35 |
<%if (hasMultiPageEditor) {%> |
| 36 |
_UI_ParentPage_label = Parent |
| 37 |
_UI_ListPage_label = List |
| 38 |
_UI_TreePage_label = Tree |
| 39 |
_UI_TablePage_label = Table |
| 40 |
_UI_TreeWithColumnsPage_label = Tree with Columns |
| 41 |
_UI_ObjectColumn_label = Object |
| 42 |
_UI_SelfColumn_label = Self |
| 43 |
<%}%> |
| 44 |
|
| 45 |
_UI_NoObjectSelected = Selected Nothing |
| 46 |
_UI_SingleObjectSelected = Selected Object: {0} |
| 47 |
_UI_MultiObjectSelected = Selected {0} Objects |
| 48 |
|
| 49 |
_UI_OpenEditorError_label = Open Editor |
| 50 |
|
| 51 |
_UI_Wizard_category = Example EMF Model Creation Wizards |
| 52 |
|
| 53 |
_UI_CreateModelError_message = Problems encountered in file "{0}" |
| 54 |
|
| 55 |
<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%> |
| 56 |
<%if (genPackage.isGenerateModelWizard()) {%> |
| 57 |
_UI_<%=genPackage.getModelWizardClassName()%>_label = <%=genPackage.getPrefix()%> Model |
| 58 |
_UI_<%=genPackage.getModelWizardClassName()%>_description = Create a new <%=genPackage.getPrefix()%> model |
| 59 |
|
| 60 |
<%}%> |
| 61 |
_UI_<%=genPackage.getEditorClassName()%>_label = <%=genPackage.getPrefix()%> Model Editor |
| 62 |
|
| 63 |
_UI_<%=genPackage.getEditorClassName()%>FilenameDefaultBase = My |
| 64 |
_UI_<%=genPackage.getEditorClassName()%>FilenameExtensions = <%=genPackage.getFileExtensions()%> |
| 65 |
|
| 66 |
<%}%> |
| 67 |
_UI_Wizard_label = New |
| 68 |
|
| 69 |
_WARN_FilenameExtension = The file name must end in ''.{0}'' |
| 70 |
_WARN_FilenameExtensions = The file name must have one of the following extensions: {0} |
| 71 |
|
| 72 |
_UI_ModelObject = &Model Object |
| 73 |
_UI_XMLEncoding = &XML Encoding |
| 74 |
_UI_XMLEncodingChoices = <%=genModel.getXMLEncodingChoices()%> |
| 75 |
<%if (genModel.isRichClientPlatform()) {%> |
| 76 |
_UI_Wizard_initial_object_description = Specify a file name and select a model object to create |
| 77 |
<%} else {%> |
| 78 |
_UI_Wizard_initial_object_description = Select a model object to create |
| 79 |
<%}%> |
| 80 |
|
| 81 |
_UI_FileConflict_label = File Conflict |
| 82 |
_WARN_FileConflict = There are unsaved changes that conflict with changes made outside the editor. Do you wish to discard this editor's changes? |
| 83 |
|
| 84 |
<%if (genModel.isRichClientPlatform()) {%> |
| 85 |
_UI_<%=genModel.getEditorAdvisorClassName()%>_ActionSet_label = <%=genModel.getModelName()%> Action Set |
| 86 |
_UI_Perspective_label = <%=genModel.getModelName()%> |
| 87 |
|
| 88 |
_UI_Browse_label = &Browse... |
| 89 |
_UI_File_label = &File |
| 90 |
_UI_Question_title = Question |
| 91 |
_WARN_FileConflict = The file "{0}" already exists. Do you want to replace the existing file? |
| 92 |
_UI_Error_title = Error |
| 93 |
_WARN_No_Editor = There is no editor registered for the file "{0}". |
| 94 |
|
| 95 |
_UI_Application_title = <%=genModel.getModelName()%> Application |
| 96 |
_UI_Menu_File_label = &File |
| 97 |
_UI_Menu_New_label = &New |
| 98 |
_UI_Menu_Open_label = &Open... |
| 99 |
_UI_Menu_Open_description = Opens a model object file |
| 100 |
_UI_Menu_OpenURI_label = &Open URI... |
| 101 |
_UI_Menu_OpenURI_description = Opens a model object loading it from a URI |
| 102 |
_UI_Menu_Edit_label = &Edit |
| 103 |
_UI_Menu_Window_label = &Window |
| 104 |
_UI_Menu_Help_label = &Help |
| 105 |
_UI_Menu_About_label = <%=genModel.getModelName()%> &About... |
| 106 |
_UI_About_title = <%=genModel.getModelName()%> Application |
| 107 |
_UI_About_text = <%=genModel.getModelName()%> Application about box goes here. |
| 108 |
|
| 109 |
<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {if (genPackage.isGenerateModelWizard()) {%> |
| 110 |
_UI_<%=genPackage.getModelWizardClassName()%>_ActionSet_label = <%=genPackage.getPrefix()%> Model Action Set |
| 111 |
<%}}%> |
| 112 |
|
| 113 |
<%}%> |
| 114 |
<%}%> |