在这种环境中,LLSD对象用来传递定义菜单项的XML文件中所指定的任何其他数据。
In context, an LLSD object is used to pass in any additional data specified in the XML file defining a menu item.
这些限制决定了这种类型的动作如何定义,以及这种类型作为工具栏小部件的菜单项如何运行。
These constraints determine how the actions of this type can be defined and how this type will work as a menu option within the toolbar widget.
例如,扩展点可以定义修改主机插件的菜单项的方式。
For example, an extension point can define a means for modifying a host plug-in's menu item.
该自定义单击处理程序可为所有菜单项处理单击事件(请参见示例应用程序中的方法MenuItemClickHandler)。
The custom click handler handles clicking events for all menu items (see the method MenuItemClickHandler in the sample application).
除了普通的菜单定义,您还可以定义规则来启用菜单项的有条件可视性。
In addition to the normal menu definition, you can define rules to enable the conditional visibility of menu entries.
当用户从设计器上下文菜单中选择菜单项时,系统将调用该自定义处理程序,以执行与该菜单项关联的谓词。
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.
菜单项定义的其余部分在下面的行中,没有大括号定义;菜单项以下个菜单定义的开始而结束。
The remainder of the menu entry definition appears on the following lines, with no curly braces defining it; an entry ends with the start of the next menu definition.
例如,Eclipse平台可以定义一个用于将菜单项添加到菜单中的扩展点。
For example, the Eclipse platform defines an extension point to add a menu item to any menu.
这是一个用户自定义的值,用这个值来表示这个菜单项。
This is a user-defined value that is used to represent the menu item.
text属性定义MenuItem的名称,action 属性包含一个决定菜单项行为的操作。
The text attribute defines the name of the MenuItem, and the action attribute contains an operation that determines the item's behavior.
可以在“设置”菜单中的“编辑器”菜单项中高度自定义。
It can be highly customized under the "Settings" menu, in the "Editor" Settings.
传递自定义信息到一个菜单项的整数。
如果我们觉得它放的不是地方,通过增加它的重量,我们还可以将它往下移动。重量是菜单项定义中的另一个键。
If we don't like where it is placed, we can move it down by increasing its weight. Weight is another key in the menu item definition.
定义在窗口过程中使用的菜单项i D值。
为这个组,根据组的分配定义菜单项目。
According to the group assignment defined menu items can be enabled for a group.
自定义项不能进行应用程序范围的更改,例如打开任何文档时都显示一个新菜单项或功能区选项卡。
Customizations cannot make application-wide changes, such as displaying a new menu item or Ribbon tab when any document is open.
按住alt键可以在不显示“自定义”对话框的情况下拖动工具栏或菜单项。
Hold down the ALT key to drag a toolbar or menu item without displaying the Customize dialog box.
该属性定义了在菜单文件MNS中的菜单项中需要添加的返回箭头(<-)的数量。
This property defines how many back arrow special label characters (<-) are added to the menu item in the MNS file for the menu.
该属性定义了在菜单文件MNS中的菜单项中需要添加的返回箭头(<-)的数量。
This property defines how many back arrow special label characters (<-) are added to the menu item in the MNS file for the menu.
应用推荐