From d91b53a16b32bbc669018cccc5d50677c53cdba9 Mon Sep 17 00:00:00 2001 From: Alena Laskavaia Date: Mon, 31 May 2010 01:42:48 +0000 Subject: Externalized strings in manifest --- .../META-INF/MANIFEST.MF | 6 +- .../OSGI-INF/l10n/bundle.properties | 3 + .../build.properties | 3 +- .../META-INF/MANIFEST.MF | 4 +- .../OSGI-INF/l10n/bundle.properties | 37 ++++++++++++ .../build.properties | 3 +- codan/org.eclipse.cdt.codan.checkers/plugin.xml | 68 +++++++++++----------- .../META-INF/MANIFEST.MF | 4 +- .../OSGI-INF/l10n/bundle.properties | 3 + .../build.properties | 3 +- .../META-INF/MANIFEST.MF | 9 ++- .../OSGI-INF/l10n/bundle.properties | 3 + .../build.properties | 3 +- .../META-INF/MANIFEST.MF | 4 +- .../OSGI-INF/l10n/bundle.properties | 9 +++ codan/org.eclipse.cdt.codan.core/build.properties | 3 +- codan/org.eclipse.cdt.codan.core/plugin.xml | 12 ++-- .../META-INF/MANIFEST.MF | 7 ++- .../OSGI-INF/l10n/bundle.properties | 3 + .../build.properties | 3 +- .../META-INF/MANIFEST.MF | 2 + .../META-INF/MANIFEST.MF | 1 + .../OSGI-INF/l10n/bundle.properties | 3 +- codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml | 2 +- .../org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF | 1 + 25 files changed, 139 insertions(+), 60 deletions(-) create mode 100644 codan/org.eclipse.cdt.codan.checkers.ui/OSGI-INF/l10n/bundle.properties create mode 100644 codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties create mode 100644 codan/org.eclipse.cdt.codan.core.cxx/OSGI-INF/l10n/bundle.properties create mode 100644 codan/org.eclipse.cdt.codan.core.test/OSGI-INF/l10n/bundle.properties create mode 100644 codan/org.eclipse.cdt.codan.core/OSGI-INF/l10n/bundle.properties create mode 100644 codan/org.eclipse.cdt.codan.examples/OSGI-INF/l10n/bundle.properties (limited to 'codan') diff --git a/codan/org.eclipse.cdt.codan.checkers.ui/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.checkers.ui/META-INF/MANIFEST.MF index aa9d69e46a2..1aeed6b9cfc 100644 --- a/codan/org.eclipse.cdt.codan.checkers.ui/META-INF/MANIFEST.MF +++ b/codan/org.eclipse.cdt.codan.checkers.ui/META-INF/MANIFEST.MF @@ -1,6 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Codan Checkers Ui +Bundle-Name: %Bundle-Name Bundle-SymbolicName: org.eclipse.cdt.codan.checkers.ui;singleton:=true Bundle-Version: 1.0.0.qualifier Bundle-Activator: org.eclipse.cdt.codan.internal.checkers.ui.CheckersUiActivator @@ -12,4 +12,6 @@ Require-Bundle: org.eclipse.ui, org.eclipse.ui.ide Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Bundle-Vendor: Eclipse CDT +Bundle-Vendor: %Bundle-Vendor +Export-Package: org.eclipse.cdt.codan.internal.checkers.ui;x-internal:=true, + org.eclipse.cdt.codan.internal.checkers.ui.quickfix;x-internal:=true diff --git a/codan/org.eclipse.cdt.codan.checkers.ui/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.checkers.ui/OSGI-INF/l10n/bundle.properties new file mode 100644 index 00000000000..3be1dbbf43b --- /dev/null +++ b/codan/org.eclipse.cdt.codan.checkers.ui/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,3 @@ +#Properties file for org.eclipse.cdt.codan.checkers.ui +Bundle-Vendor = Eclipse CDT +Bundle-Name = Codan Checkers Ui \ No newline at end of file diff --git a/codan/org.eclipse.cdt.codan.checkers.ui/build.properties b/codan/org.eclipse.cdt.codan.checkers.ui/build.properties index 60150095638..5a5b4e42c36 100644 --- a/codan/org.eclipse.cdt.codan.checkers.ui/build.properties +++ b/codan/org.eclipse.cdt.codan.checkers.ui/build.properties @@ -3,4 +3,5 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ - + OSGI-INF/l10n/bundle.properties + diff --git a/codan/org.eclipse.cdt.codan.checkers/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.checkers/META-INF/MANIFEST.MF index c6640f43123..6d6406e39e6 100644 --- a/codan/org.eclipse.cdt.codan.checkers/META-INF/MANIFEST.MF +++ b/codan/org.eclipse.cdt.codan.checkers/META-INF/MANIFEST.MF @@ -1,6 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Codan Checkers +Bundle-Name: %Bundle-Name Bundle-SymbolicName: org.eclipse.cdt.codan.checkers;singleton:=true Bundle-Version: 1.0.0.qualifier Bundle-Activator: org.eclipse.cdt.codan.checkers.CodanCheckersActivator @@ -11,6 +11,6 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.cdt.codan.core.cxx;bundle-version="1.0.0" Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Bundle-Vendor: Eclipse CDT +Bundle-Vendor: %Bundle-Vendor Export-Package: org.eclipse.cdt.codan.checkers, org.eclipse.cdt.codan.internal.checkers;x-friends:="org.eclipse.cdt.codan.checkers.ui" diff --git a/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties new file mode 100644 index 00000000000..1a50ce29872 --- /dev/null +++ b/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,37 @@ +#Properties file for org.eclipse.cdt.codan.checkers +Bundle-Vendor = Eclipse CDT +Bundle-Name = Codan Checkers +checker.name.AssignmentInCondition = Assignment in condition +problem.description.AssignmentInCondition = Finds statements like 'if (a=b)' +problem.messagePattern.AssignmentInCondition = Possible assignment in condition ''{0}'' +problem.name.AssignmentInCondition = Assignment in condition +checker.name.StatementHasNoEffect = StatementHasNoEffectChecker +problem.description.StatementHasNoEffect = Finds statements like 'a;' or '-a;' or 'a-b;' which do no seems to have any side effect therefore suspicious +problem.messagePattern.StatementHasNoEffect = Statement has no effect ''{0}'' +problem.name.StatementHasNoEffect = Statement has no effect +checker.name.NonVirtualDescructor = NonVirtualDescructorChecker +problem.description.NonVirtualDescructor = If destructor is not declared virtual - destructor of derived class would not be called. +problem.messagePattern.NonVirtualDescructor = Class ''{0}'' has virtual method ''{1}'' but non-virtual destructor ''{2}'' +problem.name.NonVirtualDescructor = Class has a virtual method and non-virtual destructor +checker.name.CatchByReference = CatchByReferenceChecker +problem.description.CatchByReference = Catching by reference is recommended by C++ experts, "Throw by value, catch by reference". For one thing, this avoids copying and potentially slicing the exception. +problem.messagePattern.CatchByReference = Catching by reference is recommended ''{0}'' +problem.name.CatchByReference = Catching by reference is recommended +checker.name.SuggestedParenthesis = SuggestedParenthesisChecker +problem.description.SuggestedParenthesis = This checker finds problems related to either lack of understanding precedence of operators or misspelling of operators in expression. For example (!a<10) or (a && b & c) +problem.messagePattern.SuggestedParenthesis = Suggested parenthesis around expression ''{0}'' +problem.name.SuggestedParenthesis = Suggested parenthesis around expression +checker.name.NamingConventionFunction = NamingConventionFunctionChecker +problem.description.NamingConventionFunction = Finds and reports functions name of which does not match pattern parameter +problem.messagePattern.NamingConventionFunction = Bad function name "{0}" (pattern /{1}/) +problem.name.NamingConventionFunction = Name convention for function +checker.name.ReturnChecker = Return inconsistencies +problem.description.NoReturnValue = Return statment has no return value, if somebody would use return value from this function it would be random +problem.messagePattern.NoReturnValue = Return without value, in function returning non-void +problem.name.NoReturnValue = No return value +problem.description.UnusedReturnValue = Return statement has a value, but function is declared to return void. Did you mean to declare function with return value? +problem.messagePattern.UnusedReturnValue = Return has value, in function returning void +problem.name.UnusedReturnValue = Unused return value +problem.description.NoReturn = No return statement in a function which is declared to return value +problem.messagePattern.NoReturn = No return, in function returning non-void +problem.name.NoReturn = No return \ No newline at end of file diff --git a/codan/org.eclipse.cdt.codan.checkers/build.properties b/codan/org.eclipse.cdt.codan.checkers/build.properties index e9863e281ea..bbeeaf15779 100644 --- a/codan/org.eclipse.cdt.codan.checkers/build.properties +++ b/codan/org.eclipse.cdt.codan.checkers/build.properties @@ -2,4 +2,5 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ .,\ - plugin.xml + plugin.xml,\ + OSGI-INF/l10n/bundle.properties diff --git a/codan/org.eclipse.cdt.codan.checkers/plugin.xml b/codan/org.eclipse.cdt.codan.checkers/plugin.xml index 607d62fe163..d206032ecaa 100644 --- a/codan/org.eclipse.cdt.codan.checkers/plugin.xml +++ b/codan/org.eclipse.cdt.codan.checkers/plugin.xml @@ -8,13 +8,13 @@ + name="%checker.name.AssignmentInCondition"> + messagePattern="%problem.messagePattern.AssignmentInCondition" + name="%problem.name.AssignmentInCondition"> @@ -22,101 +22,101 @@ + name="%checker.name.StatementHasNoEffect"> + messagePattern="%problem.messagePattern.StatementHasNoEffect" + name="%problem.name.StatementHasNoEffect"/> + name="%checker.name.NonVirtualDescructor"> + messagePattern="%problem.messagePattern.NonVirtualDescructor" + name="%problem.name.NonVirtualDescructor"> + name="%checker.name.CatchByReference"> + name="%problem.name.CatchByReference" + messagePattern="%problem.messagePattern.CatchByReference"> + name="%checker.name.SuggestedParenthesis"> + messagePattern="%problem.messagePattern.SuggestedParenthesis" + name="%problem.name.SuggestedParenthesis"> + name="%checker.name.NamingConventionFunction"> + messagePattern="%problem.messagePattern.NamingConventionFunction" + name="%problem.name.NamingConventionFunction"> + name="%checker.name.ReturnChecker"> + messagePattern="%problem.messagePattern.NoReturnValue" + name="%problem.name.NoReturnValue"> + messagePattern="%problem.messagePattern.UnusedReturnValue" + name="%problem.name.UnusedReturnValue"> + messagePattern="%problem.messagePattern.NoReturn" + name="%problem.name.NoReturn"> diff --git a/codan/org.eclipse.cdt.codan.core.cxx/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.core.cxx/META-INF/MANIFEST.MF index 61e4337d87d..7828ebd84a6 100644 --- a/codan/org.eclipse.cdt.codan.core.cxx/META-INF/MANIFEST.MF +++ b/codan/org.eclipse.cdt.codan.core.cxx/META-INF/MANIFEST.MF @@ -1,6 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Code Analysis Core for C/C++ +Bundle-Name: %Bundle-Name Bundle-SymbolicName: org.eclipse.cdt.codan.core.cxx;singleton:=true Bundle-Version: 1.0.0.qualifier Bundle-Activator: org.eclipse.cdt.codan.core.cxx.Activator @@ -14,4 +14,4 @@ Export-Package: org.eclipse.cdt.codan.core.cxx, org.eclipse.cdt.codan.core.cxx.internal.model.cfg;x-friends:="org.eclipse.cdt.codan.core.test", org.eclipse.cdt.codan.core.cxx.model Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Bundle-Vendor: Eclipse CDT +Bundle-Vendor: %Bundle-Vendor diff --git a/codan/org.eclipse.cdt.codan.core.cxx/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.core.cxx/OSGI-INF/l10n/bundle.properties new file mode 100644 index 00000000000..2b06d5cf1bd --- /dev/null +++ b/codan/org.eclipse.cdt.codan.core.cxx/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,3 @@ +#Properties file for org.eclipse.cdt.codan.core.cxx +Bundle-Vendor = Eclipse CDT +Bundle-Name = Code Analysis Core for C/C++ \ No newline at end of file diff --git a/codan/org.eclipse.cdt.codan.core.cxx/build.properties b/codan/org.eclipse.cdt.codan.core.cxx/build.properties index 34d2e4d2dad..ef93fc5167b 100644 --- a/codan/org.eclipse.cdt.codan.core.cxx/build.properties +++ b/codan/org.eclipse.cdt.codan.core.cxx/build.properties @@ -1,4 +1,5 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ - . + .,\ + OSGI-INF/l10n/bundle.properties diff --git a/codan/org.eclipse.cdt.codan.core.test/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.core.test/META-INF/MANIFEST.MF index 9ce0786a99d..e06510d06ba 100644 --- a/codan/org.eclipse.cdt.codan.core.test/META-INF/MANIFEST.MF +++ b/codan/org.eclipse.cdt.codan.core.test/META-INF/MANIFEST.MF @@ -1,6 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Codan Core Tests +Bundle-Name: %Bundle-Name Bundle-SymbolicName: org.eclipse.cdt.codan.core.test Bundle-Version: 1.0.0.qualifier Bundle-Activator: org.eclipse.cdt.codan.core.test.CodanCoreTestActivator @@ -14,4 +14,9 @@ Require-Bundle: org.eclipse.core.runtime, org.junit Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Bundle-Vendor: Eclipse CDT +Bundle-Vendor: %Bundle-Vendor +Export-Package: org.eclipse.cdt.codan.core.cfg, + org.eclipse.cdt.codan.core.cxx, + org.eclipse.cdt.codan.core.internal.checkers, + org.eclipse.cdt.codan.core.param, + org.eclipse.cdt.codan.core.test diff --git a/codan/org.eclipse.cdt.codan.core.test/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.core.test/OSGI-INF/l10n/bundle.properties new file mode 100644 index 00000000000..0f15e57d415 --- /dev/null +++ b/codan/org.eclipse.cdt.codan.core.test/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,3 @@ +#Properties file for org.eclipse.cdt.codan.core.test +Bundle-Name = Codan Core Tests +Bundle-Vendor = Eclipse CDT \ No newline at end of file diff --git a/codan/org.eclipse.cdt.codan.core.test/build.properties b/codan/org.eclipse.cdt.codan.core.test/build.properties index 70d23e090b5..029ae1b3860 100644 --- a/codan/org.eclipse.cdt.codan.core.test/build.properties +++ b/codan/org.eclipse.cdt.codan.core.test/build.properties @@ -3,5 +3,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ src/,\ - test.xml + test.xml,\ + OSGI-INF/ jre.compilation.profile = J2SE-1.5 diff --git a/codan/org.eclipse.cdt.codan.core/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.core/META-INF/MANIFEST.MF index 19e8d1b062b..33aacc35dd8 100644 --- a/codan/org.eclipse.cdt.codan.core/META-INF/MANIFEST.MF +++ b/codan/org.eclipse.cdt.codan.core/META-INF/MANIFEST.MF @@ -1,10 +1,10 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Code Analysis Core +Bundle-Name: %Bundle-Name Bundle-SymbolicName: org.eclipse.cdt.codan.core;singleton:=true Bundle-Version: 1.0.0.qualifier Bundle-Activator: org.eclipse.cdt.codan.core.CodanCorePlugin -Bundle-Vendor: Eclipse CDT +Bundle-Vendor: %Bundle-Vendor Require-Bundle: org.eclipse.core.runtime, org.eclipse.core.resources Bundle-ActivationPolicy: lazy diff --git a/codan/org.eclipse.cdt.codan.core/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.core/OSGI-INF/l10n/bundle.properties new file mode 100644 index 00000000000..085a44ad4e8 --- /dev/null +++ b/codan/org.eclipse.cdt.codan.core/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,9 @@ +#Properties file for org.eclipse.cdt.codan.core +Bundle-Vendor = Eclipse CDT +Bundle-Name = Code Analysis Core +extension.name.Builder = Code Analysis Project Builder +extension.name.Nature = Code Analysis Nature +extension.name.Marker = Code Analysis Problem +category.name.ProgrammingErrors = Potential programming problems +category.name.CodeStyle = Coding Style +extension-point.name.CodeAnalysis = Code Analysis Checkers \ No newline at end of file diff --git a/codan/org.eclipse.cdt.codan.core/build.properties b/codan/org.eclipse.cdt.codan.core/build.properties index 5952bfea885..674b2e57ace 100644 --- a/codan/org.eclipse.cdt.codan.core/build.properties +++ b/codan/org.eclipse.cdt.codan.core/build.properties @@ -3,5 +3,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ - schema/ + schema/,\ + OSGI-INF/l10n/bundle.properties src.includes = schema/ diff --git a/codan/org.eclipse.cdt.codan.core/plugin.xml b/codan/org.eclipse.cdt.codan.core/plugin.xml index 3257042185e..1b051a34cf5 100644 --- a/codan/org.eclipse.cdt.codan.core/plugin.xml +++ b/codan/org.eclipse.cdt.codan.core/plugin.xml @@ -1,11 +1,11 @@ - + @@ -16,7 +16,7 @@ @@ -59,11 +59,11 @@ diff --git a/codan/org.eclipse.cdt.codan.examples/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.examples/META-INF/MANIFEST.MF index d230e8e3dee..bbf70317270 100644 --- a/codan/org.eclipse.cdt.codan.examples/META-INF/MANIFEST.MF +++ b/codan/org.eclipse.cdt.codan.examples/META-INF/MANIFEST.MF @@ -1,10 +1,10 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Code Analysis Checker Examples +Bundle-Name: %Bundle-Name Bundle-SymbolicName: org.eclipse.cdt.codan.examples;singleton:=true Bundle-Version: 1.0.0.qualifier Bundle-Activator: org.eclipse.cdt.codan.examples.Activator -Bundle-Vendor: Eclipse CDT +Bundle-Vendor: %Bundle-Vendor Require-Bundle: org.eclipse.core.runtime, org.eclipse.cdt.codan.core.cxx;bundle-version="1.0.0", org.eclipse.cdt.codan.core;bundle-version="1.0.0", @@ -13,3 +13,6 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.cdt.codan.ui;bundle-version="1.0.0" Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.cdt.codan.examples, + org.eclipse.cdt.codan.examples.checkers, + org.eclipse.cdt.codan.examples.uicontrib diff --git a/codan/org.eclipse.cdt.codan.examples/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.examples/OSGI-INF/l10n/bundle.properties new file mode 100644 index 00000000000..87d46a5969b --- /dev/null +++ b/codan/org.eclipse.cdt.codan.examples/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,3 @@ +#Properties file for org.eclipse.cdt.codan.examples +Bundle-Vendor = Eclipse CDT +Bundle-Name = Code Analysis Checker Examples \ No newline at end of file diff --git a/codan/org.eclipse.cdt.codan.examples/build.properties b/codan/org.eclipse.cdt.codan.examples/build.properties index e9863e281ea..bbeeaf15779 100644 --- a/codan/org.eclipse.cdt.codan.examples/build.properties +++ b/codan/org.eclipse.cdt.codan.examples/build.properties @@ -2,4 +2,5 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ .,\ - plugin.xml + plugin.xml,\ + OSGI-INF/l10n/bundle.properties diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF index eb3c510d920..4671df836a0 100644 --- a/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF +++ b/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF @@ -15,3 +15,5 @@ Require-Bundle: org.eclipse.ui, org.eclipse.ui.editors;bundle-version="3.6.0" Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.cdt.codan.ui.cfgview;x-internal:=true, + org.eclipse.cdt.codan.ui.cfgview.views;x-internal:=true diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.ui.cxx/META-INF/MANIFEST.MF index 3eb301b0eae..8f08b1e859c 100644 --- a/codan/org.eclipse.cdt.codan.ui.cxx/META-INF/MANIFEST.MF +++ b/codan/org.eclipse.cdt.codan.ui.cxx/META-INF/MANIFEST.MF @@ -17,3 +17,4 @@ Require-Bundle: org.eclipse.ui, org.eclipse.jface.text Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.cdt.codan.internal.ui.cxx;x-internal:=true diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.ui.cxx/OSGI-INF/l10n/bundle.properties index a209d46e405..939620fee89 100644 --- a/codan/org.eclipse.cdt.codan.ui.cxx/OSGI-INF/l10n/bundle.properties +++ b/codan/org.eclipse.cdt.codan.ui.cxx/OSGI-INF/l10n/bundle.properties @@ -1,4 +1,5 @@ #Properties file for org.eclipse.cdt.codan.ui.cxx command.name = Run C/C++ Code Analysis Bundle-Vendor = Eclipse CDT -Bundle-Name = Codan Analysis UI for C/C++ \ No newline at end of file +Bundle-Name = Codan Analysis UI for C/C++ +command.mnemonic = C \ No newline at end of file diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml b/codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml index 0a1b18e23cf..11bcb69075b 100644 --- a/codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml +++ b/codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml @@ -16,7 +16,7 @@ commandId="org.eclipse.cdt.codan.commands.runCodanCommand" id="org.eclipse.cdt.codan.ui.cxx.menus.runCodanCxxCommand" label="%command.name" - mnemonic="C"> + mnemonic="%command.mnemonic"> diff --git a/codan/org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF index aa9828031a8..7192ca687dc 100644 --- a/codan/org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF +++ b/codan/org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF @@ -22,6 +22,7 @@ Export-Package: org.eclipse.cdt.codan.internal.ui;x-friends:="org.eclipse.cdt.co org.eclipse.cdt.codan.internal.ui.dialogs;x-friends:="org.eclipse.cdt.codan.ui.cxx", org.eclipse.cdt.codan.internal.ui.preferences;x-friends:="org.eclipse.cdt.codan.ui.cxx", org.eclipse.cdt.codan.internal.ui.views;x-internal:=true, + org.eclipse.cdt.codan.internal.ui.widgets;x-internal:=true, org.eclipse.cdt.codan.ui, org.eclipse.cdt.codan.ui.handlers -- cgit v1.2.3