1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

bug 277871 - Externalize strings in plugin.xml and MANIFEST.MF for memory plugins

This commit is contained in:
Vivian Kong 2009-05-27 15:55:44 +00:00
parent 83fd77b56d
commit 542350b520
13 changed files with 97 additions and 27 deletions

View file

@ -1,10 +1,11 @@
Manifest-Version: 1.0 Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: Memory Browser Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.memorybrowser;singleton:=true Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.memorybrowser;singleton:=true
Bundle-Version: 1.2.0 Bundle-Version: 1.2.0.qualifier
Bundle-Activator: org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowserPlugin Bundle-Activator: org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowserPlugin
Bundle-Vendor: org.eclipse Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui, Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime, org.eclipse.core.runtime,
org.eclipse.debug.core;bundle-version="3.5.0", org.eclipse.debug.core;bundle-version="3.5.0",

View file

@ -7,6 +7,7 @@
# #
# Contributors: # Contributors:
# Ted R Williams (Wind River) - initial implementation # Ted R Williams (Wind River) - initial implementation
# IBM Corporation
################################################################################ ################################################################################
@ -16,5 +17,6 @@ bin.includes = plugin.xml,\
META-INF/,\ META-INF/,\
.,\ .,\
icons/,\ icons/,\
about.html about.html,\
plugin.properties
src.includes = about.html src.includes = about.html

View file

@ -0,0 +1,14 @@
###############################################################################
# Copyright (c) 2009 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
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
#Properties file for org.eclipse.cdt.debug.ui.memory.memorybrowser
providerName = Eclipse CDT
pluginName = Memory Browser
view.name.0 = Memory Browser

View file

@ -15,7 +15,7 @@
<extension <extension
point="org.eclipse.ui.views"> point="org.eclipse.ui.views">
<view <view
name="Memory Browser" name="%view.name.0"
icon="icons/memorybrowser_view.gif" icon="icons/memorybrowser_view.gif"
category="org.eclipse.debug.ui" category="org.eclipse.debug.ui"
class="org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser" class="org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser"

View file

@ -1,6 +1,6 @@
Manifest-Version: 1.0 Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: Memory Search Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.search;singleton:=true Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.search;singleton:=true
Bundle-Version: 1.2.0.qualifier Bundle-Version: 1.2.0.qualifier
Bundle-Localization: plugin Bundle-Localization: plugin
@ -13,5 +13,5 @@ Require-Bundle: org.eclipse.debug.core,
org.eclipse.search;bundle-version="3.4.0" org.eclipse.search;bundle-version="3.4.0"
Eclipse-LazyStart: true Eclipse-LazyStart: true
Bundle-Activator: org.eclipse.cdt.debug.ui.memory.search.MemorySearchPlugin Bundle-Activator: org.eclipse.cdt.debug.ui.memory.search.MemorySearchPlugin
Bundle-Vendor: Eclipse.org Bundle-Vendor: %providerName
Import-Package: org.eclipse.debug.ui.memory Import-Package: org.eclipse.debug.ui.memory

View file

@ -0,0 +1,17 @@
###############################################################################
# Copyright (c) 2009 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
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
#Properties file for org.eclipse.cdt.debug.ui.memory.search
providerName = Eclipse CDT
pluginName = Memory Search
action.label.0 = Find Next
action.label.1 = Find/Replace...
action.label.2 = Find Next
action.label.3 = Find/Replace...

View file

@ -9,7 +9,7 @@
class="org.eclipse.cdt.debug.ui.memory.search.FindAction" class="org.eclipse.cdt.debug.ui.memory.search.FindAction"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.ui.memory.search.FindAction" id="org.eclipse.cdt.debug.ui.memory.search.FindAction"
label="Find Next" label="%action.label.0"
menubarPath="additions"> menubarPath="additions">
</action> </action>
</viewContribution> </viewContribution>
@ -20,7 +20,7 @@
class="org.eclipse.cdt.debug.ui.memory.search.FindAction" class="org.eclipse.cdt.debug.ui.memory.search.FindAction"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.ui.memory.search.FindAction" id="org.eclipse.cdt.debug.ui.memory.search.FindAction"
label="Find/Replace..." label="%action.label.1"
menubarPath="additions"> menubarPath="additions">
</action> </action>
</viewContribution> </viewContribution>
@ -32,7 +32,7 @@
class="org.eclipse.cdt.debug.ui.memory.search.FindAction" class="org.eclipse.cdt.debug.ui.memory.search.FindAction"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.ui.memory.search.FindAction" id="org.eclipse.cdt.debug.ui.memory.search.FindAction"
label="Find Next" label="%action.label.2"
menubarPath="additions"> menubarPath="additions">
</action> </action>
</viewContribution> </viewContribution>
@ -43,7 +43,7 @@
class="org.eclipse.cdt.debug.ui.memory.search.FindAction" class="org.eclipse.cdt.debug.ui.memory.search.FindAction"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.ui.memory.search.FindAction" id="org.eclipse.cdt.debug.ui.memory.search.FindAction"
label="Find/Replace..." label="%action.label.3"
menubarPath="additions"> menubarPath="additions">
</action> </action>
</viewContribution> </viewContribution>

View file

@ -1,6 +1,6 @@
Manifest-Version: 1.0 Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: Traditional Memory Rendering Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.traditional;singleton:=true Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.traditional;singleton:=true
Bundle-Version: 1.2.0.qualifier Bundle-Version: 1.2.0.qualifier
Bundle-Localization: plugin Bundle-Localization: plugin
@ -13,4 +13,4 @@ Require-Bundle: org.eclipse.debug.core,
org.eclipse.search;bundle-version="3.4.0" org.eclipse.search;bundle-version="3.4.0"
Eclipse-LazyStart: true Eclipse-LazyStart: true
Bundle-Activator: org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingPlugin Bundle-Activator: org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingPlugin
Bundle-Vendor: Eclipse.org Bundle-Vendor: %providerName

View file

@ -1 +1,16 @@
###############################################################################
# Copyright (c) 2009 Wind River Systems 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
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Ted R Williams (Wind River) - initial API and implementation
# IBM Corporation
###############################################################################
TraditionalRenderingPreferenceActionName=Traditional Rendering Preferences... TraditionalRenderingPreferenceActionName=Traditional Rendering Preferences...
providerName = Eclipse CDT
pluginName = Traditional Memory Rendering
renderingType.name = Traditional
page.name = Traditional Memory Rendering

View file

@ -3,7 +3,7 @@
<extension point="org.eclipse.debug.ui.memoryRenderings"> <extension point="org.eclipse.debug.ui.memoryRenderings">
<renderingType <renderingType
name="Traditional" name="%renderingType.name"
id="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRendering" id="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRendering"
class="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingTypeDelegate"> class="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingTypeDelegate">
</renderingType> </renderingType>
@ -23,7 +23,7 @@
class="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingPreferencePage" class="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingPreferencePage"
id="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingPreferencePage" id="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingPreferencePage"
helpContextId="TraditionalRenderingPreferencePage_context" helpContextId="TraditionalRenderingPreferencePage_context"
name="Traditional Memory Rendering"/> name="%page.name"/>
</extension> </extension>
<extension <extension
point="org.eclipse.core.runtime.preferences"> point="org.eclipse.core.runtime.preferences">

View file

@ -1,10 +1,10 @@
Manifest-Version: 1.0 Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: Memory Transport Plug-in Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.transport;singleton:=true Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.transport;singleton:=true
Bundle-Version: 1.2.0.qualifier Bundle-Version: 1.2.0.qualifier
Bundle-Localization: plugin Bundle-Localization: plugin
Bundle-Vendor: Eclipse.org Bundle-Vendor: %providerName
Require-Bundle: org.eclipse.debug.core, Require-Bundle: org.eclipse.debug.core,
org.eclipse.debug.ui, org.eclipse.debug.ui,
org.eclipse.core.runtime, org.eclipse.core.runtime,

View file

@ -1,2 +1,23 @@
###############################################################################
# Copyright (c) 2009 Wind River Systems 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
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Ted R Williams (Wind River) - initial API and implementation
# IBM Corporation
###############################################################################
ExportMemoryAction.label=Export ExportMemoryAction.label=Export
ImportMemoryAction.label=Import ImportMemoryAction.label=Import
providerName = Eclipse CDT
pluginName = Memory Transport Plug-in
extension.name.0 = org.eclipse.cdt.debug.ui.memory.transport.dd
importer.name.0 = SRecordImporter
exporter.name.0 = SRecordExporter
importer.name.1 = PlainTextImporter
exporter.name.1 = PlainTextExporter
importer.name.2 = RAWBinaryImporter
exporter.name.2 = RAWBInaryExporter
extension-point.name.0 = memoryTransport

View file

@ -1,41 +1,41 @@
<?eclipse version="3.0"?> <?eclipse version="3.0"?>
<plugin> <plugin>
<extension-point id="memoryTransport" name="memoryTransport" schema="schema/MemoryTransport.exsd"/> <extension-point id="memoryTransport" name="%extension-point.name.0" schema="schema/MemoryTransport.exsd"/>
<extension <extension
id="org.eclipse.cdt.debug.ui.memory.transport.dd" id="org.eclipse.cdt.debug.ui.memory.transport.dd"
name="org.eclipse.cdt.debug.ui.memory.transport.dd" name="%extension.name.0"
point="org.eclipse.cdt.debug.ui.memory.transport.memoryTransport"> point="org.eclipse.cdt.debug.ui.memory.transport.memoryTransport">
<importer <importer
name="SRecordImporter" name="%importer.name.0"
id="org.eclipse.cdt.debug.ui.memory.transport.SRecordImporter" id="org.eclipse.cdt.debug.ui.memory.transport.SRecordImporter"
class="org.eclipse.cdt.debug.ui.memory.transport.SRecordImporter"> class="org.eclipse.cdt.debug.ui.memory.transport.SRecordImporter">
</importer> </importer>
<exporter <exporter
name="SRecordExporter" name="%exporter.name.0"
id="org.eclipse.cdt.debug.ui.memory.transport.SRecordExporter" id="org.eclipse.cdt.debug.ui.memory.transport.SRecordExporter"
class="org.eclipse.cdt.debug.ui.memory.transport.SRecordExporter"> class="org.eclipse.cdt.debug.ui.memory.transport.SRecordExporter">
</exporter> </exporter>
<importer <importer
name="PlainTextImporter" name="%importer.name.1"
id="org.eclipse.cdt.debug.ui.memory.transport.PlainTextImporter" id="org.eclipse.cdt.debug.ui.memory.transport.PlainTextImporter"
class="org.eclipse.cdt.debug.ui.memory.transport.PlainTextImporter"> class="org.eclipse.cdt.debug.ui.memory.transport.PlainTextImporter">
</importer> </importer>
<exporter <exporter
name="PlainTextExporter" name="%exporter.name.1"
id="org.eclipse.cdt.debug.ui.memory.transport.PlainTextExporter" id="org.eclipse.cdt.debug.ui.memory.transport.PlainTextExporter"
class="org.eclipse.cdt.debug.ui.memory.transport.PlainTextExporter"> class="org.eclipse.cdt.debug.ui.memory.transport.PlainTextExporter">
</exporter> </exporter>
<importer <importer
name="RAWBinaryImporter" name="%importer.name.2"
id="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryImporter" id="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryImporter"
class="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryImporter"> class="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryImporter">
</importer> </importer>
<exporter <exporter
name="RAWBInaryExporter" name="%exporter.name.2"
id="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryExporter" id="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryExporter"
class="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryExporter"> class="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryExporter">
</exporter> </exporter>