Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2016-08-08 19:01:52 +0000
committerSergey Prigogin2016-08-08 19:02:17 +0000
commit739281bec71d6805edb49a057029cbd488f613db (patch)
tree909050757c51fae08b73ef14c98669ad4b8964ba /core/org.eclipse.cdt.ui.tests/plugin.xml
parent3d584f5deb77c242e4ecc307768a17a98ee1cce4 (diff)
downloadorg.eclipse.cdt-739281bec71d6805edb49a057029cbd488f613db.tar.gz
org.eclipse.cdt-739281bec71d6805edb49a057029cbd488f613db.tar.xz
org.eclipse.cdt-739281bec71d6805edb49a057029cbd488f613db.zip
Remove Function Bodies and Remove Unused Declarations refactorings.
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/plugin.xml')
-rw-r--r--core/org.eclipse.cdt.ui.tests/plugin.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/plugin.xml b/core/org.eclipse.cdt.ui.tests/plugin.xml
index 0d2e6d193f1..d5c5d3bf83c 100644
--- a/core/org.eclipse.cdt.ui.tests/plugin.xml
+++ b/core/org.eclipse.cdt.ui.tests/plugin.xml
@@ -238,4 +238,49 @@
</filesystem>
</extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <category
+ id="org.eclipse.ui.tests.category.codeReduction"
+ name="%category.CodeReduction"/>
+ <command
+ name="%command.RemoveFunctionBodies.name"
+ categoryId="org.eclipse.ui.tests.category.codeReduction"
+ id="org.eclipse.cdt.ui.tests.removeFunctionBodies"/>
+ <command
+ name="%command.RemoveUnusedDeclarations.name"
+ categoryId="org.eclipse.ui.tests.category.codeReduction"
+ id="org.eclipse.cdt.ui.tests.removeUnusedDeclarations"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.cdt.ui.tests.reducer.RemoveFunctionBodiesHandler"
+ commandId="org.eclipse.cdt.ui.tests.removeFunctionBodies"/>
+ <handler
+ class="org.eclipse.cdt.ui.tests.reducer.RemoveUnusedDeclarationsHandler"
+ commandId="org.eclipse.cdt.ui.tests.removeUnusedDeclarations"/>
+ </extension>
+
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:#CEditorContext?after=org.eclipse.cdt.ui.source.menu">
+ <menu
+ id="org.eclipse.cdt.ui.tests.reduceCode"
+ label="%menu.ReduceCode.label">
+ <command
+ commandId="org.eclipse.cdt.ui.tests.removeFunctionBodies"
+ label="%command.RemoveFunctionBodies.label"
+ style="push">
+ </command>
+ <command
+ commandId="org.eclipse.cdt.ui.tests.removeUnusedDeclarations"
+ label="%command.RemoveUnusedDeclarations.label"
+ style="push">
+ </command>
+ </menu>
+ </menuContribution>
+ </extension>
+
</plugin>

Back to the top