[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[eclipse-dev] Show View menu and commands
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=90959
[Commands] parameters: Duplicate commands for opening views: should
old-style be deleted?
In 3.4 the Show View menu has been updated to use the
org.eclipse.ui.views.showView command. The old pattern of using a command
with the commandId == the view ID is no longer necessary and those commands
can be removed. The keybindings can then be converted from the old form to
the new form:
old:
<key
sequence="M2+M3+Q C"
commandId="org.eclipse.ui.console.ConsoleView"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
new:
<key
commandId="org.eclipse.ui.views.showView"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+Q C">
<parameter
id="org.eclipse.ui.views.showView.viewId"
value="org.eclipse.ui.console.ConsoleView">
</parameter>
</key>
Any keys bound to the commandId==viewId commands will be converted to the
parameterized version when they are loaded in 3.4, and those bindings will
continue to work. But they should be converted to the correct form for 3.4
if possible.
PW