從MMenuElement一個javadoc說:MMenuElement助記符下E4模型使用
String org.eclipse.e4.ui.model.application.ui.menu.MMenuElement.getMnemonics()
Returns the value of the 'Mnemonics' attribute.
If the meaning of the 'Mnemonics' attribute isn't clear, there really should be more of a description here...
Returns:
the value of the 'Mnemonics' attribute.
我強烈懷疑,認爲Mnemonics
屬性有事情做熱式快捷鍵,像Swing或AWT。但是,仍然不清楚如何在Eclipse4平臺上正確使用它們。例如,如何將Alt+F
分配給「文件」菜單項?
任何人都可以提供關於此主題的線索,示例或HOWTO嗎?
謝謝,這清除了一些事情。無論如何,儘管我已經嘗試將mnenonics設置爲一個角色,並將「&」添加到文本中,但對我而言,這兩者都不起作用。也許我錯過了一些重要的... – manuna