想要在你最喜欢的字处理器添加菜单项来加密文档吗?添加它。
Want to add a menu item to encrypt your documents in your favorite word processor? Add it.
要添加或删除菜单项,菜单项上单击鼠标右键,使用添加菜单项和删除菜单项命令。
To add or remove menu items, right-click on a menu item and use the Add Menu Item and Delete Menu Item commands.
因此,要为插件添加菜单项,每个插件的lang子目录中必须有一个lang_menu . xml。
Therefore, to add menu items for a plug-in, a lang_menu.xml is required in each of the plug-in's lang sub-directories.
在安装插件时,除了指定要添加哪些菜单项外,plugin . xml还指定了菜单中添加菜单项的位置。
Besides specifying which menu items to add when installing a plug-in, the plugin.xml can also specify where in the menu to add the new items.
尽管在撰写本文时这节的内容还不完整,但是这节的内容对执行一些通用任务(例如添加菜单项)所使用的步骤进行了简单总结。
While incomplete as of this writing, this section gives simple summaries of the steps used to perform common tasks, such as adding a menu item.
要在右击Sametime合作伙伴时出现的上下文菜单中添加菜单项,需要创建扩展livenameactiondelegate类的类。
To add menu items to the context menu that appears when you right-click a Sametime partner, create classes that extend the LiveNameActionDelegate class.
然后,为每个菜单添加菜单项,并配置每个菜单项的的工具提示,命令名(command name)和其它所需的内容,例如快捷键和帮助主题的链接。
Next, add to each instance as many menu items as needed and configure them all with tooltips, command names, and whatever else you want to add, such as keyboard shortcuts and links to help topics.
然后,为每个菜单添加菜单项,并配置每个菜单项的的工具提示,命令名(command name)和其它所需的内容,例如快捷键和帮助主题的链接。
Next, add to each instance as many menu items as needed and configure them all with tooltips, command names, and whatever else you want to add, such as keyboard shortcuts and links to help topics.
应用推荐