我想为我的eclipse插件添加一个快捷方式,以显示带有现有绑定的快捷菜单.它应该像JDT中的"Refactor"快捷菜单一样工作.
JDT中快捷菜单的快捷方式:
JDT快捷菜单:
我已经添加了一个绑定和一个命令,但似乎缺少了一些东西.该删除的东西入境也工作了上下文菜单,只是这个快捷方式即可快速菜单丢失.有人怎么做?
<extension point="org.eclipse.ui.bindings">
<key
commandId="myplugin.refactoring.actions.DeleteSomething"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+5">
</key>
<key
commandId="myplugin.refactoring.quickMenu"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+9">
</key>
Run Code Online (Sandbox Code Playgroud)
<extension point="org.eclipse.ui.commands">
<command
categoryId="myplugin.category.refactor"
description="Delete Something"
id="myplugin.refactoring.actions.DeleteSomething"
name="Extract Method">
</command>
<command
categoryId="myplugin.category.refactor"
id="myplugin.refactoring.quickMenu"
name="Show Refactor Quick Menu">
</command>
<category
id="myplugin.category.refactor"
name="Refactor">
</category>
Run Code Online (Sandbox Code Playgroud)
有没有办法检测一个部分的标题UITableView
当前是否正在浮动?我想将表视图滚动到标题位置,只有它是浮动的.
提前致谢!