跟踪设计器谓词并显示上下文菜单。
在显示上下文菜单时,此变量是选择变量。
This variable is the selection available while a context menu is showing.
还是它只显示上下文菜单,而无需更新选择?
Or does it only show the context menu without updating the selection?
右键单击鼠标动作的结果是选择一个组件还是显示上下文菜单?
Does the right-click mouse action select the component and show the context menu?
因此,我将剩下的一点儿实现留到示例应用程序中,而重点讨论如何显示上下文菜单。
As such, I'll defer what little implementation is left to the sample application and instead focus on how to show context menus.
我们希望对一个或多个选中的方法显示上下文菜单选项,这些菜单选项允许我们只用一个操作就可以更改方法的可视性。
We want to show context menu choices for one or more selected methods that allow us to change their visibility with a single action.
我们知道,一个Windows外壳扩展即是一个进程内的COM服务器,它在Windows资源管理器执行某种动作时装入内存——如显示上下文菜单。
As you know, a Windows shell extension is a COM in-process server that Windows Explorer loads when it is about to perform a certain action on a document-for example, displaying its context menu.
它可以作为单独的工具栏显示,也可能会出现于上下文菜单。
该实现的核心在于显示正确的上下文菜单。
The core of this implementation lies in showing the correct context menu.
内容扩展告诉框架如何在视图中显示内容,而动作扩展告诉框架哪些选项对视图(上下文菜单等)可用。
The content extensions tell the framework how to display content in the view, and the action extensions tell the framework what options are available to the view (context menus, etc.).
图19显示最终的上下文菜单。
此外,它还定义了相关方法,以便跟踪设计器谓词,以及为支持这些方法的设计器显示设计器上下文菜单。
In addition, it defines methods to track designer verbs and to show designer context menus for designers that support them.
可通过使用上下文敏感的菜单来执行SQL,以执行整个文件或仅突出显示的部分文本。
You can execute the SQL by using the context-sensitive menus to execute either the entire file or just the highlighted text.
这些引用将显示为链接,并提供上下文菜单和丰富的鼠标悬停提示。
These references are rendered as links and offer a context menu and a rich hover.
要定制某个视图显示的属性,请打开视图,右击任何一个属性列,并选择上下文菜单中的选项,如图16 所示。
To customize the attributes that are displayed for a particular view, open the view, right-click on any attribute column, and select the option in the context menu, as shown in Figure 16.
也可在某联系人的上下文菜单中添加选项,以便显示联系人列表中所选人员的雇员信息。
Or you can add a new choice on a Contact's context menu that brings up his employee information for the selected member of the Contacts list.
RMC会显示出你可以创建的各种不同指导的上下文菜单。
RMC presents you with a context menu of the different types of guidance you can create here.
当我讨论如何显示正确的设计器上下文菜单时,我将在IMenuCommandService的讨论中使用该属性。
I'll use this property in my discussion of IMenuCommandService when I talk about showing the correct designer context menu.
使用服务器上下文菜单启动WebSphereApplicationServer管理控制台,应该看到如下消息(此消息将在单个行上显示)。
Launch the WebSphere Application server admin console using the server context menu, and you should see a message similar to the following appear (this message will display on a single line).
从ExecutionStatistics视图中选择项目,然后就可以显示鼠标右键上下文菜单(见图23)。
Select an item from the Execution Statistics view, and display the right-click context menu (Figure 23).
然后,使用设置Includeinrightmousebuttonmenu启用上下文菜单中要显示的各项动作。
Then you turn on individual actions to display in the context menu using the setting Include in right mouse button menu.
WebSphereCommerce动态上下文是一组动作列表(或者显示在菜单上的一个动作列表),用户可以选择某一个来执行。
WebSphere Commerce dynamic context is a list of grouped actions (or a list of actions shown up on the menu) that users can choose to perform.
图16中突出显示的是cafeteria,接下来选择了Dictionary上下文菜单。
In figure 16, cafeteria is highlighted, followed by the Dictionary context menu being selected.
还为希望显示给LotusSametime用户的上下文菜单选项定义了标签。
You also define the label for your context menu option that you want to appear to the Lotus Sametime user.
它负责跟踪菜单命令和设计器谓词(操作),并且在用户选择特定设计器时显示正确的上下文菜单。
It is responsible for tracking menu commands and designer verbs (actions), and showing the correct context menu when a user chooses a particular designer.
作出连接线后会出现一个上下文菜单,能够创建的关系类型会显示在这个上下文菜单里。
The types of relationships that you can create are available in the context menu that appears when the connector is dropped.
可以通过上下文菜单关闭大多数在Windows任务条上显示图标的程序。
You can close most programs that display ICONS in the Windows taskbar from their context menus.
图1中的上下文菜单显示用于一条邮件消息(来自Galley Sarai)的窗口。
The context menu in figure 1 shows the window that displays for a mail message (from Galley Sarai in this case).
右键单击该服务,然后选择上下文菜单中的“属性”菜单项,此时显示该服务的属性窗口。
Right-click on the service and choose Properties from the context menu, to get the properties window for the service (Figure 2).
可以在mypackage突出显示时使用上下文菜单完成此任务。
You can do this using the context menu while mypackage is highlighted.
应用推荐