Note that when you create new menu items for designer verbs, you also attach a click handler for the menu item.
请注意,当您为设计器谓词创建新的菜单项时,您还为该菜单项附加了一个单击处理程序。
When a user selects a menu item from a designer context menu, the custom handler is called to execute the verb associated with the menu item.
当用户从设计器上下文菜单中选择菜单项时,系统将调用该自定义处理程序,以执行与该菜单项关联的谓词。
For example, the Eclipse platform defines an extension point to add a menu item to any menu.
例如,Eclipse平台可以定义一个用于将菜单项添加到菜单中的扩展点。
Click on the Feedback menu item on the left panel menu (Figure 1) and provide all the associated information about your current situation.
单击左面板菜单上的feedback菜单项(图1),并提供所有关于当前情况的关联信息。
From this perspective, a context menu is a tag that contains a table with one row for each menu item.
照这样看来,快捷菜单就是包含一个table表单的,每一个菜单项就是这个table表单中的一行。
Edit Properties Mode is initiated by selecting it from any context menu on the Windows Forms designer or by clicking the menu item of the same name.
首先在Windows窗体设计器的上下文菜单中点击选择与其同名的菜单项使编辑属性模式被激活。
On the "hidden" menu, create a separate Category List menu Item for Collie and Beagle. Set the parameters for each of these to the desired values to control the display.
在“hidden”菜单中,创建两个菜单项,分别关联至“Collie”和“Beagle”这两个分类,并按照我们的呈现需求为它们设置参数。
To create a File menu with an Exit menu item, add the code in Listing 11 to Gwitter.groovy
为了创建包含Exit菜单项的File 菜单,在Gwitter.groovy 中添加清单11 中的代码
To build a pivot table in Excel, you select the data columns to be used in the pivot table, then select the PivotTable Report menu item from the data menu.
要在Excel中构建pivot表,您需要选择将用在pivot表中的数据列,然后从Data菜单选择PivotTablereport菜单项。
You need to add an action so that the menu item for the About dialog will appear in the menu bar of your product, such as Help > About.
您需要添加一个动作,使About 对话框的菜单项出现在产品菜单栏中,如Help >About。
The easiest way to harvest and promote a unit to the palette is to right-click on the unit and, from the drop-down menu, select the Add to palette menu item.
使用单元的最简单方式,是右键点击单元,并从下拉菜单中选择addto palette菜单项。
The outer element specifies the existing target menu item in Firefox, by ID - menu_ToolsPopup is the "Tools" menu.
outer元素根据ID指定Firefox中的现有目标菜单项—menu _ ToolsPopup是“Tools”菜单。
Now that our project is all set up, you only have to select the Run menu item from the project context menu to re-launch Felix.
现在项目已经设置完毕,选择“Run”菜单直接启动Felix。
For the purposes of this article, a menu item is an object that has a caption and a URL attribute that describes where the menu item should go when clicked.
出于本书的需要,菜单条目是一个具有标题和UR l属性(描述单击时菜单条目的去向)的对象。
In the Tools menu, you can create an action menu item that opens a related application (see figure 3).
在Tools菜单中,您可以创建打开相关应用程序的操作菜单项(见图3)。
For the context menu to work, you need to fill the ContextMenuItems collection with menu item objects, adjust some visual styles, and add at least one control to the BoundControls collection.
要使用快捷菜单,你需要使用menu item对象填充ContextMenuItems集合,调整一些可视化样式,至少添加一个控件到BoundControls集合中。
This menu-URL causes a new top-level menu to display before the Help menu containing one menu-item with our sample command.
这个菜单url将在Help菜单之前显示一个新的顶级菜单,Help菜单中包含一个菜单项和示例命令。
It's "Menu Item" parameter will be the "Submit an Article" menu item on the "hidden menu".
通过参数设置将该菜单项关联至我们之前创建的“hiddenmenu”中的“提交文章”。
To edit the padding around the menu items, right-click on the menu or menu item and select "Edit Menu Padding".
要编辑菜单项周围填充,右键菜单或菜单项,然后选择“编辑菜单填充点击”。
To add or remove menu items, right-click on a menu item and use the Add Menu Item and Delete Menu Item commands.
要添加或删除菜单项,菜单项上单击鼠标右键,使用添加菜单项和删除菜单项命令。
If a menu key other than F9 has been selected then this menu item will behave accordingly.
如果一个菜单键除了F 9选择,那么这个菜单项目就因此而可以运转啦。
From the Main menu, type "1" to choose the menu item, Create a new cluster or add a cluster node.
从主菜单,键入“1”选择菜单选项,创建一个新的集群或增加集群节点。
In case of an item that hides a sub menu, the sub menu is displayed if the pointer hovers over the item long enough or moves close to the triangle indicating the sub menu.
对于子菜单中的条目,如果鼠标停留在子菜单上面的时间够长或者靠近指示子菜单的三角形,子菜单就会被显示出来。
If there's not enough room in the action bar for the action item, the menu item appears in the overflow menu and only the title appears.
如果没有操作项的空间,菜单项会出现在溢出菜单中,此时只显示标题。
As the name implies, it is a menu title-directly on the menu bar next to other menu titles-that behaves like a menu item.
正如其名字所示,菜单标题——在菜单栏上直接与其他菜单标题相邻——行为与下拉菜单的菜单项相同。
This add-in shows the underlying code model objects for a selected node in . NET Reflector. The menu item is registered under the "Tools" menu.
这部下的代码模型为在.NET反射器的一个所选节点反对的扩展程序展示。菜单项目登记在之下“用工具加工”菜单。
Click here to show the cursor keys to select the menu item of the context and the object attributes, that is, to display the shortcut menu item.
按此键可以显示光标选中项目的上下文的菜单和该对象的属性,也就是可以显示项目的快捷菜单。
From the menu, we can press cursor key to choice a menu item, and press ENTER to select it and run its route.
并可用光标键进行菜单项的选择、用回车键选中井驱动相应的子程序。
From the menu, we can press cursor key to choice a menu item, and press ENTER to select it and run its route.
并可用光标键进行菜单项的选择、用回车键选中井驱动相应的子程序。
应用推荐