diff options
author | nickb | 2007-07-25 23:00:00 +0000 |
---|---|---|
committer | nickb | 2007-07-25 23:00:00 +0000 |
commit | 4297193e78acf0e2ff7bfa6b6b75fead298b9593 (patch) | |
tree | 87a53bce2842ba3ff0901f76a764e949120a6b7c | |
parent | b174721b773d438375f7fe1a1a8ce792fd286b11 (diff) | |
download | org.eclipse.emf-4297193e78acf0e2ff7bfa6b6b75fead298b9593.tar.gz org.eclipse.emf-4297193e78acf0e2ff7bfa6b6b75fead298b9593.tar.xz org.eclipse.emf-4297193e78acf0e2ff7bfa6b6b75fead298b9593.zip |
[196408] backport from R2_1_maintenance -- CHKPII (translation) compliance & copyright updates
6 files changed, 73 insertions, 134 deletions
diff --git a/plugins/org.eclipse.emf.ecore/plugin.properties b/plugins/org.eclipse.emf.ecore/plugin.properties index f7ecb86a7..a1659a7b3 100644 --- a/plugins/org.eclipse.emf.ecore/plugin.properties +++ b/plugins/org.eclipse.emf.ecore/plugin.properties @@ -1,7 +1,7 @@ # /** # * <copyright> # * -# * Copyright (c) 2002-2005 IBM Corporation and others. +# * Copyright (c) 2002-2007 IBM Corporation and others. # * All rights reserved. This program and the accompanying materials # * are made available under the terms of the Eclipse Public License v1.0 # * which accompanies this distribution, and is available at @@ -12,7 +12,7 @@ # * # * </copyright> # * -# * $Id: plugin.properties,v 1.4.2.4 2007/06/07 16:38:27 emerks Exp $ +# * $Id: plugin.properties,v 1.4.2.5 2007/07/25 23:00:00 nickb Exp $ # */ # NLS_MESSAGEFORMAT_VAR @@ -101,4 +101,8 @@ parser.descape.4=Invalid Unicode code point. parser.descape.5=An anchor must not be here. parser.process.1=This expression is not supported in the current option setting. +_UI_PackageRegistry_extensionpoint = EMF Generated Package Registry +_UI_URIExtensionParserRegistry_extensionpoint = EMF URI Extension Parser Registry +_UI_URIProtocolParserRegistry_extensionpoint = EMF URI Protocol Parser Registry +_UI_URIMappingRegistry_extensionpoint = EMF URI Mapping Registry diff --git a/plugins/org.eclipse.emf.ecore/plugin.xml b/plugins/org.eclipse.emf.ecore/plugin.xml index 66710d21d..740611596 100644 --- a/plugins/org.eclipse.emf.ecore/plugin.xml +++ b/plugins/org.eclipse.emf.ecore/plugin.xml @@ -5,7 +5,7 @@ /** * <copyright> * - * Copyright (c) 2002-2005 IBM Corporation and others. + * Copyright (c) 2002-2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -16,7 +16,7 @@ * * </copyright> * - * $Id: plugin.xml,v 1.6.2.5 2007/06/07 16:38:27 emerks Exp $ + * $Id: plugin.xml,v 1.6.2.6 2007/07/25 23:00:00 nickb Exp $ */ --> @@ -40,7 +40,7 @@ </library> </runtime> - <extension-point name="EMF Generated Package Registry" id="generated_package"/> + <extension-point id="generated_package" name="%_UI_PackageRegistry_extensionpoint" /> <!-- An EMF generated package can be registered with the EPackage.Registry.INSTANCE as follows: @@ -49,7 +49,7 @@ </extension> --> - <extension-point name="EMF URI Extension Parser Registry" id="extension_parser"/> + <extension-point id="extension_parser" name="%_UI_URIExtensionParserRegistry_extensionpoint" /> <!-- An EMF Resource.Factory can be registered with the Resource.Factory.Registry.INSTANCE as an extension parser as follows: @@ -59,7 +59,7 @@ </extension> --> - <extension-point name="EMF URI Protocol Parser Registry" id="protocol_parser"/> + <extension-point id="protocol_parser" name="%_UI_URIProtocolParserRegistry_extensionpoint" /> <!-- An EMF Resource.Factory can be registered with the Resource.Factory.Registry.INSTANCE as a protocol parser as follows: @@ -68,7 +68,7 @@ </extension> --> - <extension-point name="EMF URI Mapping Registry" id="uri_mapping"/> + <extension-point id="uri_mapping" name="%_UI_URIMappingRegistry_extensionpoint" /> <!-- A URI mapping can be registered with the URIConverter.URI_MAP as follows: diff --git a/plugins/org.eclipse.emf.mapping.ecore2ecore.editor/plugin.properties b/plugins/org.eclipse.emf.mapping.ecore2ecore.editor/plugin.properties index b5a5d8ebb..fbac61955 100644 --- a/plugins/org.eclipse.emf.mapping.ecore2ecore.editor/plugin.properties +++ b/plugins/org.eclipse.emf.mapping.ecore2ecore.editor/plugin.properties @@ -1,5 +1,5 @@ #/* -# * Copyright (c) 2004 IBM Corporation and others. +# * Copyright (c) 2004-2007 IBM Corporation and others. # * All rights reserved. This program and the accompanying materials # * are made available under the terms of the Eclipse Public License v1.0 # * which accompanies this distribution, and is available at @@ -8,7 +8,7 @@ # * Contributors: # * IBM - Initial API and implementation # * -# * $Id: plugin.properties,v 1.2.2.2 2007/06/02 05:34:49 nickb Exp $ +# * $Id: plugin.properties,v 1.2.2.3 2007/07/25 23:00:00 nickb Exp $ # */ # NLS_MESSAGEFORMAT_VAR @@ -75,3 +75,20 @@ _UI_SelectOutputEcoreModels_label = Select the output Ecore model(s) _UI_ShowPropertiesView_menu_item = Show &Properties View _UI_RefreshViewer_menu_item = &Refresh _UI_BuildingMappingFromTo_message = Building mapping from {0} to {1}... + +_UI_Ecore2EcoreEditor_menu_item = &Ecore to Ecore Mapping Editor +_UI_RemoveMapping_menu_item = &Remove Mapping +_UI_RemoveMapping_tooltip = Remove the mapping associated with the selected objects. +_UI_MatchMappingByType_menu_item = Match Mapping by &Type +_UI_MatchMappingByType_tooltip = Create child mappings automatically by type. +_UI_MatchMappingByName_menu_item = Match Mapping by &Name +_UI_MatchMappingByName_tooltip = Create child mappings automatically by name. +_UI_CreateOneSideMapping_menu_item = Create &One-sided Mapping +_UI_CreateOneSideMapping_tooltip = Create a new mapping for the selected object. +_UI_CreateMapping_menu_item = Create &Mapping +_UI_CreateMapping_tooltip = Create a new mapping between the selected objects. +_UI_AddOutputRoot_menu_item = Add &Output Root... +_UI_AddOutputRoot_tooltip = Add new output root. +_UI_AddInputRoot_menu_item = Add &Input Root... +_UI_AddInputRoot_tooltip = Add new input root. +_UI_MapToEcore_menu_item = Map to Ecore... diff --git a/plugins/org.eclipse.emf.mapping.ecore2ecore.editor/plugin.xml b/plugins/org.eclipse.emf.mapping.ecore2ecore.editor/plugin.xml index 79f91efa9..5e73a410c 100644 --- a/plugins/org.eclipse.emf.mapping.ecore2ecore.editor/plugin.xml +++ b/plugins/org.eclipse.emf.mapping.ecore2ecore.editor/plugin.xml @@ -5,7 +5,7 @@ /** * <copyright> * - * Copyright (c) 2004 IBM Corporation and others. + * Copyright (c) 2004-2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -16,7 +16,7 @@ * * </copyright> * - * $Id: plugin.xml,v 1.5.2.2 2007/07/24 23:54:26 nickb Exp $ + * $Id: plugin.xml,v 1.5.2.3 2007/07/25 23:00:00 nickb Exp $ */ --> @@ -41,124 +41,39 @@ </runtime> <extension point="org.eclipse.ui.newWizards"> - <category - name="%_UI_Wizard_category" - id="org.eclipse.emf.ecore.Wizard.category.ID"> - </category> - <wizard - name="%_UI_Ecore2EcoreModelWizard_label" - icon="icons/full/ctool16/NewEcore2Ecore.gif" - category="org.eclipse.emf.ecore.Wizard.category.ID" - class="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreModelWizard" - id="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreModelWizardID"> - <description>%_UI_Ecore2EcoreModelWizard_description</description> - <selection class="org.eclipse.core.resources.IResource"/> - </wizard> - </extension> + <category name="%_UI_Wizard_category" id="org.eclipse.emf.ecore.Wizard.category.ID" /> + <wizard name="%_UI_Ecore2EcoreModelWizard_label" icon="icons/full/ctool16/NewEcore2Ecore.gif" category="org.eclipse.emf.ecore.Wizard.category.ID" class="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreModelWizard" id="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreModelWizardID"> + <description>%_UI_Ecore2EcoreModelWizard_description</description> + <selection class="org.eclipse.core.resources.IResource" /> + </wizard> + </extension> - <extension point="org.eclipse.ui.editors"> - <editor - name="%_UI_Ecore2EcoreEditor_label" - extensions="ecore2ecore" - icon="icons/full/obj16/Ecore2EcoreModelFile.gif" - contributorClass="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreActionBarContributor" - class="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreEditor" - id="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreEditorID"> - </editor> - </extension> + <extension point="org.eclipse.ui.editors"> + <editor name="%_UI_Ecore2EcoreEditor_label" extensions="ecore2ecore" icon="icons/full/obj16/Ecore2EcoreModelFile.gif" contributorClass="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreActionBarContributor" class="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreEditor" id="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreEditorID" /> + </extension> - <extension point="org.eclipse.ui.editorActions"> - <editorContribution - targetID="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreEditorID" - id="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID"> - <menu - label="&Ecore to Ecore Mapping Editor" - path="additions" - id="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID"> - <separator name="settings"/> - <separator name="actions"/> - <separator name="global-actions"/> - <separator name="additions"/> - <separator name="additions-end"/> - </menu> - <action - label="&Remove Mapping" - icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/RemoveOneToOneMapping.gif" - class="org.eclipse.emf.mapping.action.RemoveMappingAction" - tooltip="Remove the mapping associated with the selected objects." - menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" - toolbarPath="Normal/mapping-additions" - id="org.eclipse.emf.mapping.action.RemoveMappingActionID"> - </action> - <action - label="Match Mapping by &Type" - icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/MatchByType.gif" - class="org.eclipse.emf.mapping.action.TypeMatchMappingAction" - tooltip="Create child mappings automatically by type." - menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" - toolbarPath="Normal/mapping-additions" - id="org.eclipse.emf.mapping.action.TypeMatchMappingActionID"> - </action> - <action - label="Match Mapping by &Name" - icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/MatchByName.gif" - class="org.eclipse.emf.mapping.action.NameMatchMappingAction" - tooltip="Create child mappings automatically by name." - menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" - toolbarPath="Normal/mapping-additions" - id="org.eclipse.emf.mapping.action.NameMatchMappingActionID"> - </action> - <action - label="Create &One-sided Mapping" - icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/CreateOneToNoneMapping.gif" - class="org.eclipse.emf.mapping.action.CreateOneSidedMappingAction" - tooltip="Create a new mapping for the selected object." - menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" - toolbarPath="Normal/mapping-additions" - id="org.eclipse.emf.mapping.action.CreateOneSidedMappingActionID"> - </action> - <action - label="Create &Mapping" - icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/CreateOneToOneMapping.gif" - class="org.eclipse.emf.mapping.action.CreateMappingAction" - tooltip="Create a new mapping between the selected objects." - menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" - toolbarPath="Normal/mapping-additions" - id="org.eclipse.emf.mapping.action.CreateMappingActionID"> - </action> - <action - label="Add &Output Root..." - icon="platform:/plugin/org.eclipse.emf.mapping.ui/icons/full/ctool16/AddRootBottom.gif" - class="org.eclipse.emf.mapping.ecore2ecore.action.AddOutputRootAction" - tooltip="Add new output root." - menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" - toolbarPath="Normal/mapping-additions" - id="org.eclipse.emf.mapping.ecore2ecore.action.AddOuputRootActionID"> - </action> - <action - label="Add &Input Root..." - icon="platform:/plugin/org.eclipse.emf.mapping.ui/icons/full/ctool16/AddRootTop.gif" - class="org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootAction" - tooltip="Add new input root." - menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" - toolbarPath="Normal/mapping-additions" - id="org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootActionID"> - </action> - </editorContribution> - </extension> + <extension point="org.eclipse.ui.editorActions"> + <editorContribution targetID="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreEditorID" id="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID"> + <menu label="%_UI_Ecore2EcoreEditor_menu_item" path="additions" id="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID"> + <separator name="settings" /> + <separator name="actions" /> + <separator name="global-actions" /> + <separator name="additions" /> + <separator name="additions-end" /> + </menu> + <action label="%_UI_RemoveMapping_menu_item" icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/RemoveOneToOneMapping.gif" class="org.eclipse.emf.mapping.action.RemoveMappingAction" tooltip="%_UI_RemoveMapping_tooltip" menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" toolbarPath="Normal/mapping-additions" id="org.eclipse.emf.mapping.action.RemoveMappingActionID" /> + <action label="%_UI_MatchMappingByType_menu_item" icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/MatchByType.gif" class="org.eclipse.emf.mapping.action.TypeMatchMappingAction" tooltip="%_UI_MatchMappingByType_tooltip" menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" toolbarPath="Normal/mapping-additions" id="org.eclipse.emf.mapping.action.TypeMatchMappingActionID" /> + <action label="%_UI_MatchMappingByName_menu_item" icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/MatchByName.gif" class="org.eclipse.emf.mapping.action.NameMatchMappingAction" tooltip="%_UI_MatchMappingByName_tooltip" menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" toolbarPath="Normal/mapping-additions" id="org.eclipse.emf.mapping.action.NameMatchMappingActionID" /> + <action label="%_UI_CreateOneSideMapping_menu_item" icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/CreateOneToNoneMapping.gif" class="org.eclipse.emf.mapping.action.CreateOneSidedMappingAction" tooltip="%_UI_CreateOneSideMapping_tooltip" menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" toolbarPath="Normal/mapping-additions" id="org.eclipse.emf.mapping.action.CreateOneSidedMappingActionID" /> + <action label="%_UI_CreateMapping_menu_item" icon="platform:/plugin/org.eclipse.emf.mapping/icons/full/ctool16/CreateOneToOneMapping.gif" class="org.eclipse.emf.mapping.action.CreateMappingAction" tooltip="%_UI_CreateMapping_tooltip" menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" toolbarPath="Normal/mapping-additions" id="org.eclipse.emf.mapping.action.CreateMappingActionID" /> + <action label="%_UI_AddOutputRoot_menu_item" icon="platform:/plugin/org.eclipse.emf.mapping.ui/icons/full/ctool16/AddRootBottom.gif" class="org.eclipse.emf.mapping.ecore2ecore.action.AddOutputRootAction" tooltip="%_UI_AddOutputRoot_tooltip" menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" toolbarPath="Normal/mapping-additions" id="org.eclipse.emf.mapping.ecore2ecore.action.AddOuputRootActionID" /> + <action label="%_UI_AddInputRoot_menu_item" icon="platform:/plugin/org.eclipse.emf.mapping.ui/icons/full/ctool16/AddRootTop.gif" class="org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootAction" tooltip="%_UI_AddInputRoot_tooltip" menubarPath="org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreMenuID/actions" toolbarPath="Normal/mapping-additions" id="org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootActionID" /> + </editorContribution> + </extension> - <extension point="org.eclipse.ui.popupMenus"> - <objectContribution - objectClass="org.eclipse.core.resources.IFile" - nameFilter="*.ecore" - id="org.eclipse.emf.mapping.ecore2ecore.editor.MapToEcoreActionID"> - <action - label="Map to Ecore..." - class="org.eclipse.emf.mapping.ecore2ecore.action.MapToEcoreActionDelegate" - menubarPath="additions" - enablesFor="1" - id="org.eclipse.emf.mapping.ecore2ecore.editor.MapToEcoreActionID"> - </action> - </objectContribution> - </extension> + <extension point="org.eclipse.ui.popupMenus"> + <objectContribution objectClass="org.eclipse.core.resources.IFile" nameFilter="*.ecore" id="org.eclipse.emf.mapping.ecore2ecore.editor.MapToEcoreActionID"> + <action label="%_UI_MapToEcore_menu_item" class="org.eclipse.emf.mapping.ecore2ecore.action.MapToEcoreActionDelegate" menubarPath="additions" enablesFor="1" id="org.eclipse.emf.mapping.ecore2ecore.editor.MapToEcoreActionID" /> + </objectContribution> + </extension> </plugin> diff --git a/plugins/org.eclipse.emf.mapping/plugin.properties b/plugins/org.eclipse.emf.mapping/plugin.properties index 42e2ad152..01841a6b4 100644 --- a/plugins/org.eclipse.emf.mapping/plugin.properties +++ b/plugins/org.eclipse.emf.mapping/plugin.properties @@ -1,7 +1,7 @@ # /** # * <copyright> # * -# * Copyright (c) 2002-2004 IBM Corporation and others. +# * Copyright (c) 2002-2007 IBM Corporation and others. # * All rights reserved. This program and the accompanying materials # * are made available under the terms of the Eclipse Public License v1.0 # * which accompanies this distribution, and is available at @@ -12,7 +12,7 @@ # * # * </copyright> # * -# * $Id: plugin.properties,v 1.3.2.3 2007/06/02 06:15:55 nickb Exp $ +# * $Id: plugin.properties,v 1.3.2.4 2007/07/25 23:00:00 nickb Exp $ # */ # NLS_MESSAGEFORMAT_VAR @@ -92,3 +92,6 @@ _UI_MappingStrategy_type = Strategy _UI_Unknown_feature = Unspecified _UI_ComplexTypeConverter_type = Complex Type Converter _UI_FunctionNamePair_type = Function Name Pair + +_UI_MappingDomainConfiguration_extensionpoint = Mapping Domain Configuration + diff --git a/plugins/org.eclipse.emf.mapping/plugin.xml b/plugins/org.eclipse.emf.mapping/plugin.xml index 5ac134ed2..031a61c2a 100644 --- a/plugins/org.eclipse.emf.mapping/plugin.xml +++ b/plugins/org.eclipse.emf.mapping/plugin.xml @@ -5,7 +5,7 @@ /** * <copyright> * - * Copyright (c) 2002-2004 IBM Corporation and others. + * Copyright (c) 2002-2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -16,7 +16,7 @@ * * </copyright> * - * $Id: plugin.xml,v 1.4.2.2 2007/07/24 23:54:27 nickb Exp $ + * $Id: plugin.xml,v 1.4.2.3 2007/07/25 23:00:00 nickb Exp $ */ --> @@ -39,7 +39,7 @@ </library> </runtime> - <extension-point name="Mapping Domain Configuration" id="configuration" /> + <extension-point name="%_UI_MappingDomainConfiguration_extensionpoint" id="configuration" /> <extension point="org.eclipse.emf.ecore.generated_package"> <package |