Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2008-04-15 20:23:47 +0000
committerChris Goldthorpe2008-04-15 20:23:47 +0000
commit285d0cc22460c83375f720da745ce2d98db7b6ff (patch)
treec99acdcecba29fe860c0ff7e8eb6165abda05c4b /org.eclipse.ui.cheatsheets
parentd5a12f8d8afb2ba3ceab3ef925ce3d912912e6bc (diff)
downloadeclipse.platform.ua-285d0cc22460c83375f720da745ce2d98db7b6ff.tar.gz
eclipse.platform.ua-285d0cc22460c83375f720da745ce2d98db7b6ff.tar.xz
eclipse.platform.ua-285d0cc22460c83375f720da745ce2d98db7b6ff.zip
Bug 226992 – Update to use showView command instead of view id
Diffstat (limited to 'org.eclipse.ui.cheatsheets')
-rw-r--r--org.eclipse.ui.cheatsheets/plugin.properties2
-rw-r--r--org.eclipse.ui.cheatsheets/plugin.xml28
2 files changed, 16 insertions, 14 deletions
diff --git a/org.eclipse.ui.cheatsheets/plugin.properties b/org.eclipse.ui.cheatsheets/plugin.properties
index d12e0aa92..dc0fb8985 100644
--- a/org.eclipse.ui.cheatsheets/plugin.properties
+++ b/org.eclipse.ui.cheatsheets/plugin.properties
@@ -22,8 +22,6 @@ PROVIDER_NAME = Eclipse.org
CHEAT_SHEETS = Cheat Sheets
CHEAT_SHEET_CONTENT = Cheat Sheet Content
CHEAT_SHEET_ITEM_EXTENSION = Cheat Sheet Item Extension
-CHEAT_SHEETS_VIEW_COMMAND_NAME = Cheat Sheets
-CHEAT_SHEETS_VIEW_COMMAND_DESCRIPTION = Show the Cheat Sheets view
searchParticipant.name = Cheat Sheets
diff --git a/org.eclipse.ui.cheatsheets/plugin.xml b/org.eclipse.ui.cheatsheets/plugin.xml
index 76c7b2c52..9676a76b7 100644
--- a/org.eclipse.ui.cheatsheets/plugin.xml
+++ b/org.eclipse.ui.cheatsheets/plugin.xml
@@ -43,12 +43,6 @@
<extension
point="org.eclipse.ui.commands">
<command
- name="%CHEAT_SHEETS_VIEW_COMMAND_NAME"
- description="%CHEAT_SHEETS_VIEW_COMMAND_DESCRIPTION"
- categoryId="org.eclipse.ui.category.views"
- id="org.eclipse.ui.cheatsheets.views.CheatSheetView">
- </command>
- <command
categoryId="org.eclipse.ui.category.help"
defaultHandler="org.eclipse.ui.internal.cheatsheets.handlers.OpenCheatSheetHandler"
description="%command.openCheatSheet.description"
@@ -170,18 +164,28 @@
<extension
point="org.eclipse.ui.bindings">
<key
- sequence="M2+M3+Q H"
- commandId="org.eclipse.ui.cheatsheets.views.CheatSheetView"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ commandId="org.eclipse.ui.views.showView"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="M2+M3+Q H">
+ <parameter
+ id="org.eclipse.ui.views.showView.viewId"
+ value="org.eclipse.ui.cheatsheets.views.CheatSheetView">
+ </parameter>
+ </key>
<key
platform="carbon"
sequence="M2+M3+Q H"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
+ commandId="org.eclipse.ui.views.showView"
platform="carbon"
- sequence="M1+M3+Q H"
- commandId="org.eclipse.ui.cheatsheets.views.CheatSheetView"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="M1+M3+Q H">
+ <parameter
+ id="org.eclipse.ui.views.showView.viewId"
+ value="org.eclipse.ui.cheatsheets.views.CheatSheetView">
+ </parameter>
+ </key>
</extension>
<extension
point="org.eclipse.ui.activitySupport">

Back to the top