mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
bug 277871 - Externalize strings in plugin.xml and MANIFEST.MF for memory plugins
This commit is contained in:
parent
83fd77b56d
commit
542350b520
13 changed files with 97 additions and 27 deletions
|
@ -1,10 +1,11 @@
|
|||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Memory Browser
|
||||
Bundle-Name: %pluginName
|
||||
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-Vendor: org.eclipse
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
Require-Bundle: org.eclipse.ui,
|
||||
org.eclipse.core.runtime,
|
||||
org.eclipse.debug.core;bundle-version="3.5.0",
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#
|
||||
# Contributors:
|
||||
# Ted R Williams (Wind River) - initial implementation
|
||||
# IBM Corporation
|
||||
################################################################################
|
||||
|
||||
|
||||
|
@ -16,5 +17,6 @@ bin.includes = plugin.xml,\
|
|||
META-INF/,\
|
||||
.,\
|
||||
icons/,\
|
||||
about.html
|
||||
about.html,\
|
||||
plugin.properties
|
||||
src.includes = about.html
|
||||
|
|
|
@ -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
|
|
@ -15,7 +15,7 @@
|
|||
<extension
|
||||
point="org.eclipse.ui.views">
|
||||
<view
|
||||
name="Memory Browser"
|
||||
name="%view.name.0"
|
||||
icon="icons/memorybrowser_view.gif"
|
||||
category="org.eclipse.debug.ui"
|
||||
class="org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Memory Search
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.search;singleton:=true
|
||||
Bundle-Version: 1.2.0.qualifier
|
||||
Bundle-Localization: plugin
|
||||
|
@ -13,5 +13,5 @@ Require-Bundle: org.eclipse.debug.core,
|
|||
org.eclipse.search;bundle-version="3.4.0"
|
||||
Eclipse-LazyStart: true
|
||||
Bundle-Activator: org.eclipse.cdt.debug.ui.memory.search.MemorySearchPlugin
|
||||
Bundle-Vendor: Eclipse.org
|
||||
Bundle-Vendor: %providerName
|
||||
Import-Package: org.eclipse.debug.ui.memory
|
||||
|
|
|
@ -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...
|
|
@ -9,7 +9,7 @@
|
|||
class="org.eclipse.cdt.debug.ui.memory.search.FindAction"
|
||||
enablesFor="1"
|
||||
id="org.eclipse.cdt.debug.ui.memory.search.FindAction"
|
||||
label="Find Next"
|
||||
label="%action.label.0"
|
||||
menubarPath="additions">
|
||||
</action>
|
||||
</viewContribution>
|
||||
|
@ -20,7 +20,7 @@
|
|||
class="org.eclipse.cdt.debug.ui.memory.search.FindAction"
|
||||
enablesFor="1"
|
||||
id="org.eclipse.cdt.debug.ui.memory.search.FindAction"
|
||||
label="Find/Replace..."
|
||||
label="%action.label.1"
|
||||
menubarPath="additions">
|
||||
</action>
|
||||
</viewContribution>
|
||||
|
@ -32,7 +32,7 @@
|
|||
class="org.eclipse.cdt.debug.ui.memory.search.FindAction"
|
||||
enablesFor="1"
|
||||
id="org.eclipse.cdt.debug.ui.memory.search.FindAction"
|
||||
label="Find Next"
|
||||
label="%action.label.2"
|
||||
menubarPath="additions">
|
||||
</action>
|
||||
</viewContribution>
|
||||
|
@ -43,7 +43,7 @@
|
|||
class="org.eclipse.cdt.debug.ui.memory.search.FindAction"
|
||||
enablesFor="1"
|
||||
id="org.eclipse.cdt.debug.ui.memory.search.FindAction"
|
||||
label="Find/Replace..."
|
||||
label="%action.label.3"
|
||||
menubarPath="additions">
|
||||
</action>
|
||||
</viewContribution>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Traditional Memory Rendering
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.traditional;singleton:=true
|
||||
Bundle-Version: 1.2.0.qualifier
|
||||
Bundle-Localization: plugin
|
||||
|
@ -13,4 +13,4 @@ Require-Bundle: org.eclipse.debug.core,
|
|||
org.eclipse.search;bundle-version="3.4.0"
|
||||
Eclipse-LazyStart: true
|
||||
Bundle-Activator: org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingPlugin
|
||||
Bundle-Vendor: Eclipse.org
|
||||
Bundle-Vendor: %providerName
|
||||
|
|
|
@ -1 +1,16 @@
|
|||
TraditionalRenderingPreferenceActionName=Traditional Rendering Preferences...
|
||||
###############################################################################
|
||||
# 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...
|
||||
providerName = Eclipse CDT
|
||||
pluginName = Traditional Memory Rendering
|
||||
renderingType.name = Traditional
|
||||
page.name = Traditional Memory Rendering
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<extension point="org.eclipse.debug.ui.memoryRenderings">
|
||||
<renderingType
|
||||
name="Traditional"
|
||||
name="%renderingType.name"
|
||||
id="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRendering"
|
||||
class="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingTypeDelegate">
|
||||
</renderingType>
|
||||
|
@ -23,7 +23,7 @@
|
|||
class="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingPreferencePage"
|
||||
id="org.eclipse.cdt.debug.ui.memory.traditional.TraditionalRenderingPreferencePage"
|
||||
helpContextId="TraditionalRenderingPreferencePage_context"
|
||||
name="Traditional Memory Rendering"/>
|
||||
name="%page.name"/>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.core.runtime.preferences">
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Memory Transport Plug-in
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.transport;singleton:=true
|
||||
Bundle-Version: 1.2.0.qualifier
|
||||
Bundle-Localization: plugin
|
||||
Bundle-Vendor: Eclipse.org
|
||||
Bundle-Vendor: %providerName
|
||||
Require-Bundle: org.eclipse.debug.core,
|
||||
org.eclipse.debug.ui,
|
||||
org.eclipse.core.runtime,
|
||||
|
|
|
@ -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
|
||||
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
|
|
@ -1,41 +1,41 @@
|
|||
<?eclipse version="3.0"?>
|
||||
<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
|
||||
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">
|
||||
|
||||
<importer
|
||||
name="SRecordImporter"
|
||||
name="%importer.name.0"
|
||||
id="org.eclipse.cdt.debug.ui.memory.transport.SRecordImporter"
|
||||
class="org.eclipse.cdt.debug.ui.memory.transport.SRecordImporter">
|
||||
</importer>
|
||||
<exporter
|
||||
name="SRecordExporter"
|
||||
name="%exporter.name.0"
|
||||
id="org.eclipse.cdt.debug.ui.memory.transport.SRecordExporter"
|
||||
class="org.eclipse.cdt.debug.ui.memory.transport.SRecordExporter">
|
||||
</exporter>
|
||||
|
||||
<importer
|
||||
name="PlainTextImporter"
|
||||
name="%importer.name.1"
|
||||
id="org.eclipse.cdt.debug.ui.memory.transport.PlainTextImporter"
|
||||
class="org.eclipse.cdt.debug.ui.memory.transport.PlainTextImporter">
|
||||
</importer>
|
||||
<exporter
|
||||
name="PlainTextExporter"
|
||||
name="%exporter.name.1"
|
||||
id="org.eclipse.cdt.debug.ui.memory.transport.PlainTextExporter"
|
||||
class="org.eclipse.cdt.debug.ui.memory.transport.PlainTextExporter">
|
||||
</exporter>
|
||||
|
||||
<importer
|
||||
name="RAWBinaryImporter"
|
||||
name="%importer.name.2"
|
||||
id="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryImporter"
|
||||
class="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryImporter">
|
||||
</importer>
|
||||
<exporter
|
||||
name="RAWBInaryExporter"
|
||||
name="%exporter.name.2"
|
||||
id="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryExporter"
|
||||
class="org.eclipse.cdt.debug.ui.memory.transport.RAWBinaryExporter">
|
||||
</exporter>
|
||||
|
|
Loading…
Add table
Reference in a new issue