icommandids.java
来自「mywork是rcp开发的很好的例子」· Java 代码 · 共 16 行
JAVA
16 行
package net.sf.p2pim;/** * Interface defining the application's command IDs. * Key bindings can be defined for specific commands. * To associate an action with a command, use IAction.setActionDefinitionId(commandId). * * @see org.eclipse.jface.action.IAction#setActionDefinitionId(String) */public interface ICommandIds { public static final String CMD_OPEN = "MyWork_p2pim.open"; public static final String CMD_OPEN_MESSAGE = "MyWork_p2pim.openMessage"; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?